From 8ea4240f57b683d58272347ae0a762a648c164f0 Mon Sep 17 00:00:00 2001 From: MajorLift Date: Wed, 17 Jul 2024 18:11:15 +0000 Subject: [PATCH] deploy: f84abee104d5d237d2bcb70b70d774e39a051119 --- snaps-simulator/staging/main.js | 10 +-- .../staging/vendor/vendor-manifest.json | 2 +- snaps-simulator/staging/vendor/vendor.js | 88 +++++++++---------- 3 files changed, 50 insertions(+), 50 deletions(-) diff --git a/snaps-simulator/staging/main.js b/snaps-simulator/staging/main.js index 4f0e9357f2..1339b7dd26 100644 --- a/snaps-simulator/staging/main.js +++ b/snaps-simulator/staging/main.js @@ -1,11 +1,11 @@ -(()=>{var e={7209:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectMultiplex=void 0;let i=r(7525),o=n(r(9928)),a=r(9067),s=Symbol("IGNORE_SUBSTREAM");class l extends i.Duplex{constructor(e={}){super(Object.assign(Object.assign({},e),{objectMode:!0})),this._substreams={}}createStream(e){if(this.destroyed)throw Error(`ObjectMultiplex - parent stream for name "${e}" already destroyed`);if(this._readableState.ended||this._writableState.ended)throw Error(`ObjectMultiplex - parent stream for name "${e}" already ended`);if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);let t=new a.Substream({parent:this,name:e});return this._substreams[e]=t,function(e,t){let r=(0,o.default)(t);(0,i.finished)(e,{readable:!1},r),(0,i.finished)(e,{writable:!1},r)}(this,e=>t.destroy(e||void 0)),t}ignoreStream(e){if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);this._substreams[e]=s}_read(){}_write(e,t,r){let{name:n,data:i}=e;if(!n)return console.warn(`ObjectMultiplex - malformed chunk without name "${e}"`),r();let o=this._substreams[n];return o?o!==s&&o.push(i):console.warn(`ObjectMultiplex - orphaned data for stream "${n}"`),r()}}t.ObjectMultiplex=l},9067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Substream=void 0;let n=r(7525);class i extends n.Duplex{constructor({parent:e,name:t}){super({objectMode:!0}),this._parent=e,this._name=t}_read(){}_write(e,t,r){this._parent.push({name:this._name,data:e}),r()}}t.Substream=i},9952:(e,t,r)=>{"use strict";let n=r(7209);e.exports=n.ObjectMultiplex},470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasePostMessageStream=void 0;let n=r(7525),i=()=>void 0;class o extends n.Duplex{constructor(e){super(Object.assign({objectMode:!0},e)),this._init=!1,this._haveSyn=!1,this._log=()=>null}_handshake(){this._write("SYN",null,i),this.cork()}_onData(e){if(this._init)try{this.push(e),this._log(e,!1)}catch(e){this.emit("error",e)}else"SYN"===e?(this._haveSyn=!0,this._write("ACK",null,i)):"ACK"===e&&(this._init=!0,this._haveSyn||this._write("ACK",null,i),this.uncork())}_read(){}_write(e,t,r){"ACK"!==e&&"SYN"!==e&&this._log(e,!0),this._postMessage(e),r()}_setLogger(e){this._log=e}}t.BasePostMessageStream=o},6993:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerParentPostMessageStream=void 0;let i=r(470),o=r(7131);class a extends i.BasePostMessageStream{constructor(e){var{worker:t}=e;super(n(e,["worker"])),this._target=o.DEDICATED_WORKER_NAME,this._worker=t,this._worker.onmessage=this._onMessage.bind(this),this._handshake()}_postMessage(e){this._worker.postMessage({target:this._target,data:e})}_onMessage(e){let t=e.data;(0,o.isValidStreamMessage)(t)&&this._onData(t.data)}_destroy(){this._worker.onmessage=null,this._worker=null}}t.WebWorkerParentPostMessageStream=a},672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerPostMessageStream=void 0;let n=r(470),i=r(7131);class o extends n.BasePostMessageStream{constructor(e={}){if("undefined"==typeof self||"undefined"==typeof WorkerGlobalScope)throw Error("WorkerGlobalScope not found. This class should only be instantiated in a WebWorker.");super(e),this._name=i.DEDICATED_WORKER_NAME,self.addEventListener("message",this._onMessage.bind(this)),this._handshake()}_postMessage(e){self.postMessage({data:e})}_onMessage(e){let t=e.data;(0,i.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){}}t.WebWorkerPostMessageStream=o},5968:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(2121),t),i(r(672),t),i(r(6993),t),i(r(7410),t),i(r(470),t)},7410:function(e,t,r){"use strict";var n,i,o=this&&this.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},a=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserRuntimePostMessageStream=void 0;let l=r(470),u=r(7131);class c extends l.BasePostMessageStream{constructor(e){var{name:t,target:r}=e;super(s(e,["name","target"])),n.set(this,void 0),i.set(this,void 0),o(this,n,t,"f"),o(this,i,r,"f"),this._onMessage=this._onMessage.bind(this),this._getRuntime().onMessage.addListener(this._onMessage),this._handshake()}_postMessage(e){this._getRuntime().sendMessage({target:a(this,i,"f"),data:e})}_onMessage(e){(0,u.isValidStreamMessage)(e)&&e.target===a(this,n,"f")&&this._onData(e.data)}_getRuntime(){var e,t;if("chrome"in globalThis&&"function"==typeof(null===(e=null==chrome?void 0:chrome.runtime)||void 0===e?void 0:e.sendMessage))return chrome.runtime;if("browser"in globalThis&&"function"==typeof(null===(t=null==browser?void 0:browser.runtime)||void 0===t?void 0:t.sendMessage))return browser.runtime;throw Error("browser.runtime.sendMessage is not a function. This class should only be instantiated in a web extension.")}_destroy(){this._getRuntime().onMessage.removeListener(this._onMessage)}}t.BrowserRuntimePostMessageStream=c,n=new WeakMap,i=new WeakMap},7131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidStreamMessage=t.DEDICATED_WORKER_NAME=void 0;let n=r(5554);t.DEDICATED_WORKER_NAME="dedicatedWorker",t.isValidStreamMessage=function(e){return(0,n.isObject)(e)&&!!e.data&&("number"==typeof e.data||"object"==typeof e.data||"string"==typeof e.data)}},2121:function(e,t,r){"use strict";var n,i,o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.WindowPostMessageStream=void 0;let a=r(5554),s=r(470),l=r(7131),u=null===(n=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"source"))||void 0===n?void 0:n.get;(0,a.assert)(u,"MessageEvent.prototype.source getter is not defined.");let c=null===(i=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"origin"))||void 0===i?void 0:i.get;(0,a.assert)(c,"MessageEvent.prototype.origin getter is not defined.");class p extends s.BasePostMessageStream{constructor(e){var{name:t,target:r,targetOrigin:n=location.origin,targetWindow:i=window}=e;if(super(o(e,["name","target","targetOrigin","targetWindow"])),"undefined"==typeof window||"function"!=typeof window.postMessage)throw Error("window.postMessage is not a function. This class should only be instantiated in a Window.");this._name=t,this._target=r,this._targetOrigin=n,this._targetWindow=i,this._onMessage=this._onMessage.bind(this),window.addEventListener("message",this._onMessage,!1),this._handshake()}_postMessage(e){this._targetWindow.postMessage({target:this._target,data:e},this._targetOrigin)}_onMessage(e){let t=e.data;("*"===this._targetOrigin||c.call(e)===this._targetOrigin)&&u.call(e)===this._targetWindow&&(0,l.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){window.removeEventListener("message",this._onMessage,!1)}}t.WindowPostMessageStream=p},8792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(function(e){return e&&e.__esModule?e:{default:e}})(r(5130)).default.call(void 0,"metamask");t.createProjectLogger=function(e){return n.extend(e)},t.createModuleLogger=function(e,t){return e.extend(t)}},668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=(e,t,r)=>{if(!t.has(e))throw TypeError("Cannot "+r)};t.__privateGet=(e,t,n)=>(r(e,t,"read from private field"),n?n.call(e):t.get(e)),t.__privateAdd=(e,t,r)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,r)},t.__privateSet=(e,t,n,i)=>(r(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n)},7665:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4966),i=r(7699),o=r(676),a=o.refine.call(void 0,o.string.call(void 0),"Version",e=>null!==i.valid.call(void 0,e)||`Expected SemVer version, got "${e}"`),s=o.refine.call(void 0,o.string.call(void 0),"Version range",e=>null!==i.validRange.call(void 0,e)||`Expected SemVer range, got "${e}"`);t.VersionStruct=a,t.VersionRangeStruct=s,t.isValidSemVerVersion=function(e){return o.is.call(void 0,e,a)},t.isValidSemVerRange=function(e){return o.is.call(void 0,e,s)},t.assertIsSemVerVersion=function(e){n.assertStruct.call(void 0,e,a)},t.assertIsSemVerRange=function(e){n.assertStruct.call(void 0,e,s)},t.gtVersion=function(e,t){return i.gt.call(void 0,e,t)},t.gtRange=function(e,t){return i.gtr.call(void 0,e,t)},t.satisfiesVersionRange=function(e,t){return i.satisfies.call(void 0,e,t,{includePrerelease:!0})}},5709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=((r=n||{})[r.Millisecond=1]="Millisecond",r[r.Second=1e3]="Second",r[r.Minute=6e4]="Minute",r[r.Hour=36e5]="Hour",r[r.Day=864e5]="Day",r[r.Week=6048e5]="Week",r[r.Year=31536e6]="Year",r),i=e=>Number.isInteger(e)&&e>=0,o=(e,t)=>{if(!i(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};t.Duration=n,t.inMilliseconds=function(e,t){return o(e,"count"),e*t},t.timeSince=function(e){return o(e,"timestamp"),Date.now()-e}},2694:()=>{},8826:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4966),i=r(676);t.base64=(e,t={})=>{let r,o;let a=function(e,t){return null!=e?e:t()}(t.paddingRequired,()=>!1),s=function(e,t){return null!=e?e:t()}(t.characterSet,()=>"base64");return"base64"===s?r=String.raw`[A-Za-z0-9+\/]`:(n.assert.call(void 0,"base64url"===s),r=String.raw`[-_A-Za-z0-9]`),o=a?RegExp(`^(?:${r}{4})*(?:${r}{3}=|${r}{2}==)?$`,"u"):RegExp(`^(?:${r}{4})*(?:${r}{2,3}|${r}{3}=|${r}{2}==)?$`,"u"),i.pattern.call(void 0,e,o)}},4966:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(6472),i=r(676);function o(e,t){return"string"==typeof function(e){let t;let r=e[0],n=1;for(;nr.call(t,...e)),t=void 0)}return r}([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.constructor,"optionalAccess",e=>e.name])?new e({message:t}):e({message:t})}var a=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};t.AssertionError=a,t.assert=function(e,t="Assertion failed.",r=a){if(!e){if(t instanceof Error)throw t;throw o(r,t)}},t.assertStruct=function(e,t,r="Assertion failed",s=a){try{i.assert.call(void 0,e,t)}catch(e){throw o(s,`${r}: ${n.getErrorMessage.call(void 0,e).replace(/\.$/u,"")}.`)}},t.assertExhaustive=function(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},1715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferredPromise=function({suppressUnhandledRejection:e=!1}={}){let t,r;let n=new Promise((e,n)=>{t=e,r=n});return e&&n.catch(e=>{}),{promise:n,resolve:t,reject:r}}},8351:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7580),i=r(4966),o=r(676),a=o.union.call(void 0,[o.number.call(void 0),o.bigint.call(void 0),o.string.call(void 0),n.StrictHexStruct]),s=o.coerce.call(void 0,o.number.call(void 0),a,Number),l=o.coerce.call(void 0,o.bigint.call(void 0),a,BigInt);o.union.call(void 0,[n.StrictHexStruct,o.instance.call(void 0,Uint8Array)]);var u=o.coerce.call(void 0,o.instance.call(void 0,Uint8Array),o.union.call(void 0,[n.StrictHexStruct]),n.hexToBytes),c=o.coerce.call(void 0,n.StrictHexStruct,o.instance.call(void 0,Uint8Array),n.bytesToHex);t.createNumber=function(e){try{let t=o.create.call(void 0,e,s);return i.assert.call(void 0,Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof o.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}},t.createBigInt=function(e){try{return o.create.call(void 0,e,l)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}},t.createBytes=function(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return o.create.call(void 0,e,u)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}},t.createHex=function(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return o.create.call(void 0,e,c)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}},631:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(8826),i=r(676),o=i.size.call(void 0,n.base64.call(void 0,i.string.call(void 0),{paddingRequired:!0}),44,44);t.ChecksumStruct=o},7121:()=>{},6472:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(5064),i=r(9498);function o(e){return"object"==typeof e&&null!==e&&"code"in e}function a(e){return"object"==typeof e&&null!==e&&"message"in e}t.isErrorWithCode=o,t.isErrorWithMessage=a,t.isErrorWithStack=function(e){return"object"==typeof e&&null!==e&&"stack"in e},t.getErrorMessage=function(e){return a(e)&&"string"==typeof e.message?e.message:n.isNullOrUndefined.call(void 0,e)?"":String(e)},t.wrapError=function(e,t){if(e instanceof Error||n.isObject.call(void 0,e)&&"Error"===e.constructor.name){let r;return r=2===Error.length?Error(t,{cause:e}):new i.ErrorWithCause(t,{cause:e}),o(e)&&(r.code=e.code),r}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},8823:()=>{},3775:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4966),i=r(5064),o=r(676),a=e=>o.object.call(void 0,e);function s({path:e,branch:t}){let r=e[e.length-1];return i.hasProperty.call(void 0,t[t.length-2],r)}function l(e){return new o.Struct({...e,type:`optional ${e.type}`,validator:(t,r)=>!s(r)||e.validator(t,r),refiner:(t,r)=>!s(r)||e.refiner(t,r)})}var u=o.union.call(void 0,[o.literal.call(void 0,null),o.boolean.call(void 0),o.define.call(void 0,"finite number",e=>o.is.call(void 0,e,o.number.call(void 0))&&Number.isFinite(e)),o.string.call(void 0),o.array.call(void 0,o.lazy.call(void 0,()=>u)),o.record.call(void 0,o.string.call(void 0),o.lazy.call(void 0,()=>u))]),c=o.coerce.call(void 0,u,o.any.call(void 0),e=>(n.assertStruct.call(void 0,e,u),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t}))));function p(e){return o.create.call(void 0,e,c)}var _=o.literal.call(void 0,"2.0"),d=o.nullable.call(void 0,o.union.call(void 0,[o.number.call(void 0),o.string.call(void 0)])),f=a({code:o.integer.call(void 0),message:o.string.call(void 0),data:l(c),stack:l(o.string.call(void 0))}),m=o.union.call(void 0,[o.record.call(void 0,o.string.call(void 0),c),o.array.call(void 0,c)]),h=a({id:d,jsonrpc:_,method:o.string.call(void 0),params:l(m)}),y=a({jsonrpc:_,method:o.string.call(void 0),params:l(m)}),g=o.object.call(void 0,{id:d,jsonrpc:_,result:o.optional.call(void 0,o.unknown.call(void 0)),error:o.optional.call(void 0,f)}),b=a({id:d,jsonrpc:_,result:c}),v=a({id:d,jsonrpc:_,error:f}),x=o.union.call(void 0,[b,v]);t.object=a,t.exactOptional=l,t.UnsafeJsonStruct=u,t.JsonStruct=c,t.isValidJson=function(e){try{return p(e),!0}catch(e){return!1}},t.getSafeJson=p,t.getJsonSize=function(e){n.assertStruct.call(void 0,e,c,"Invalid JSON value");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength},t.jsonrpc2="2.0",t.JsonRpcVersionStruct=_,t.JsonRpcIdStruct=d,t.JsonRpcErrorStruct=f,t.JsonRpcParamsStruct=m,t.JsonRpcRequestStruct=h,t.JsonRpcNotificationStruct=y,t.isJsonRpcNotification=function(e){return o.is.call(void 0,e,y)},t.assertIsJsonRpcNotification=function(e,t){n.assertStruct.call(void 0,e,y,"Invalid JSON-RPC notification",t)},t.isJsonRpcRequest=function(e){return o.is.call(void 0,e,h)},t.assertIsJsonRpcRequest=function(e,t){n.assertStruct.call(void 0,e,h,"Invalid JSON-RPC request",t)},t.PendingJsonRpcResponseStruct=g,t.JsonRpcSuccessStruct=b,t.JsonRpcFailureStruct=v,t.JsonRpcResponseStruct=x,t.isPendingJsonRpcResponse=function(e){return o.is.call(void 0,e,g)},t.assertIsPendingJsonRpcResponse=function(e,t){n.assertStruct.call(void 0,e,g,"Invalid pending JSON-RPC response",t)},t.isJsonRpcResponse=function(e){return o.is.call(void 0,e,x)},t.assertIsJsonRpcResponse=function(e,t){n.assertStruct.call(void 0,e,x,"Invalid JSON-RPC response",t)},t.isJsonRpcSuccess=function(e){return o.is.call(void 0,e,b)},t.assertIsJsonRpcSuccess=function(e,t){n.assertStruct.call(void 0,e,b,"Invalid JSON-RPC success response",t)},t.isJsonRpcFailure=function(e){return o.is.call(void 0,e,v)},t.assertIsJsonRpcFailure=function(e,t){n.assertStruct.call(void 0,e,v,"Invalid JSON-RPC failure response",t)},t.isJsonRpcError=function(e){return o.is.call(void 0,e,f)},t.assertIsJsonRpcError=function(e,t){n.assertStruct.call(void 0,e,f,"Invalid JSON-RPC error",t)},t.getJsonRpcIdValidator=function(e){let{permitEmptyString:t,permitFractions:r,permitNull:n}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(r||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||n&&null===e)}},7580:(e,t,r)=>{"use strict";var n=r(8834).Buffer;Object.defineProperty(t,"__esModule",{value:!0});var i=r(4966),o=r(125),a=r(676),s=r(6237),l=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function u(e){return e instanceof Uint8Array}function c(e){i.assert.call(void 0,u(e),"Value must be a Uint8Array.")}function p(e){if(c(e),0===e.length)return"0x";let t=l(),r=Array(e.length);for(let n=0;nr.call(t,...e)),t=void 0)}return r}([e,"optionalAccess",e=>e.toLowerCase,"optionalCall",e=>e()]))return new Uint8Array;E(e);let t=C(e).toLowerCase(),r=t.length%2==0?t:`0${t}`,n=new Uint8Array(r.length/2);for(let e=0;e=BigInt(0),"Value must be a non-negative bigint.");let t=e.toString(16);return d(t)}function m(e){i.assert.call(void 0,"number"==typeof e,"Value must be a number."),i.assert.call(void 0,e>=0,"Value must be a non-negative number."),i.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead.");let t=e.toString(16);return d(t)}function h(e){return i.assert.call(void 0,"string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function y(e){if("bigint"==typeof e)return f(e);if("number"==typeof e)return m(e);if("string"==typeof e)return e.startsWith("0x")?d(e):h(e);if(u(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}var g=a.pattern.call(void 0,a.string.call(void 0),/^(?:0x)?[0-9a-f]+$/iu),b=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-f]+$/iu),v=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-f]{40}$/u),x=a.pattern.call(void 0,a.string.call(void 0),/^0x[0-9a-fA-F]{40}$/u);function D(e){return a.is.call(void 0,e,g)}function S(e){return a.is.call(void 0,e,b)}function E(e){i.assert.call(void 0,D(e),"Value must be a hexadecimal string.")}function T(e){i.assert.call(void 0,a.is.call(void 0,e,x),"Invalid hex address.");let t=C(e.toLowerCase()),r=C(p(o.keccak_256.call(void 0,t)));return`0x${t.split("").map((e,t)=>{let n=r[t];return i.assert.call(void 0,a.is.call(void 0,n,a.string.call(void 0)),"Hash shorter than address."),parseInt(n,16)>7?e.toUpperCase():e}).join("")}`}function w(e){return!!a.is.call(void 0,e,x)&&T(e)===e}function A(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`}function C(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}t.HexStruct=g,t.StrictHexStruct=b,t.HexAddressStruct=v,t.HexChecksumAddressStruct=x,t.isHexString=D,t.isStrictHexString=S,t.assertIsHexString=E,t.assertIsStrictHexString=function(e){i.assert.call(void 0,S(e),'Value must be a hexadecimal string, starting with "0x".')},t.isValidHexAddress=function(e){return a.is.call(void 0,e,v)||w(e)},t.getChecksumAddress=T,t.isValidChecksumAddress=w,t.add0x=A,t.remove0x=C,t.isBytes=u,t.assertIsBytes=c,t.bytesToHex=p,t.bytesToBigInt=_,t.bytesToSignedBigInt=function(e){c(e);let t=BigInt(0);for(let r of e)t=(t<0,"Byte length must be greater than 0."),i.assert.call(void 0,function(e,t){i.assert.call(void 0,t>0);let r=e>>BigInt(31);return!((~e&r)+(e&~r)>>BigInt(8*t+-1))}(e,t),"Byte length is too small to represent the given value.");let r=e,n=new Uint8Array(t);for(let e=0;e>=BigInt(8);return n.reverse()},t.numberToBytes=m,t.stringToBytes=h,t.base64ToBytes=function(e){return i.assert.call(void 0,"string"==typeof e,"Value must be a string."),s.base64.decode(e)},t.valueToBytes=y,t.concatBytes=function(e){let t=Array(e.length),r=0;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,n=((r=n||{})[r.Null=4]="Null",r[r.Comma=1]="Comma",r[r.Wrapper=1]="Wrapper",r[r.True=4]="True",r[r.False=5]="False",r[r.Quote=1]="Quote",r[r.Colon=1]="Colon",r[r.Date=24]="Date",r),i=/"|\\|\n|\r|\t/gu;function o(e){return 127>=e.charCodeAt(0)}t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.isNullOrUndefined=function(e){return null==e},t.isObject=function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)},t.hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t),t.getKnownPropertyNames=function(e){return Object.getOwnPropertyNames(e)},t.JsonSize=n,t.ESCAPE_CHARACTERS_REGEXP=i,t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}},t.isASCII=o,t.calculateStringSize=function(e){var t;let r=e.split("").reduce((e,t)=>o(t)?e+1:e+2,0);return r+(null!=(t=e.match(i))?t:[]).length},t.calculateNumberSize=function(e){return e.toString().length}},7473:()=>{},1817:()=>{},2025:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(7580),i=r(4966);t.numberToHex=e=>(i.assert.call(void 0,"number"==typeof e,"Value must be a number."),i.assert.call(void 0,e>=0,"Value must be a non-negative number."),i.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),n.add0x.call(void 0,e.toString(16))),t.bigIntToHex=e=>(i.assert.call(void 0,"bigint"==typeof e,"Value must be a bigint."),i.assert.call(void 0,e>=0,"Value must be a non-negative bigint."),n.add0x.call(void 0,e.toString(16))),t.hexToNumber=e=>{n.assertIsHexString.call(void 0,e);let t=parseInt(e,16);return i.assert.call(void 0,Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},t.hexToBigInt=e=>(n.assertIsHexString.call(void 0,e),BigInt(n.add0x.call(void 0,e)))},7863:(e,t,r)=>{"use strict";function n(e){let t;let r=e[0],n=1;for(;nr.call(t,...e)),t=void 0)}return r}Object.defineProperty(t,"__esModule",{value:!0});var i,o=r(676),a=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,s=/^[-a-z0-9]{3,8}$/u,l=/^[-_a-zA-Z0-9]{1,32}$/u,u=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,c=/^[-.%a-zA-Z0-9]{1,128}$/u,p=o.pattern.call(void 0,o.string.call(void 0),a),_=o.pattern.call(void 0,o.string.call(void 0),s),d=o.pattern.call(void 0,o.string.call(void 0),l),f=o.pattern.call(void 0,o.string.call(void 0),u),m=o.pattern.call(void 0,o.string.call(void 0),c),h=((i=h||{}).Eip155="eip155",i);function y(e){return o.is.call(void 0,e,_)}function g(e){return o.is.call(void 0,e,d)}t.CAIP_CHAIN_ID_REGEX=a,t.CAIP_NAMESPACE_REGEX=s,t.CAIP_REFERENCE_REGEX=l,t.CAIP_ACCOUNT_ID_REGEX=u,t.CAIP_ACCOUNT_ADDRESS_REGEX=c,t.CaipChainIdStruct=p,t.CaipNamespaceStruct=_,t.CaipReferenceStruct=d,t.CaipAccountIdStruct=f,t.CaipAccountAddressStruct=m,t.KnownCaipNamespace=h,t.isCaipChainId=function(e){return o.is.call(void 0,e,p)},t.isCaipNamespace=y,t.isCaipReference=g,t.isCaipAccountId=function(e){return o.is.call(void 0,e,f)},t.isCaipAccountAddress=function(e){return o.is.call(void 0,e,m)},t.parseCaipChainId=function(e){let t=a.exec(e);if(!n([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP chain ID.");return{namespace:t.groups.namespace,reference:t.groups.reference}},t.parseCaipAccountId=function(e){let t=u.exec(e);if(!n([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}},t.toCaipChainId=function(e,t){if(!y(e))throw Error(`Invalid "namespace", must match: ${s.toString()}`);if(!g(t))throw Error(`Invalid "reference", must match: ${l.toString()}`);return`${e}:${t}`}},5760:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,i,o=r(668),a=class{constructor(e){o.__privateAdd.call(void 0,this,n,void 0),o.__privateSet.call(void 0,this,n,new Map(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,n).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,n)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,n).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,n).forEach((r,n,i)=>e.call(t,r,n,this))}get(e){return o.__privateGet.call(void 0,this,n).get(e)}has(e){return o.__privateGet.call(void 0,this,n).has(e)}keys(){return o.__privateGet.call(void 0,this,n).keys()}values(){return o.__privateGet.call(void 0,this,n).values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}};n=new WeakMap;var s=class{constructor(e){o.__privateAdd.call(void 0,this,i,void 0),o.__privateSet.call(void 0,this,i,new Set(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,i).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,i)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,i).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,i).forEach((r,n,i)=>e.call(t,r,n,this))}has(e){return o.__privateGet.call(void 0,this,i).has(e)}keys(){return o.__privateGet.call(void 0,this,i).keys()}values(){return o.__privateGet.call(void 0,this,i).values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};i=new WeakMap,Object.freeze(a),Object.freeze(a.prototype),Object.freeze(s),Object.freeze(s.prototype),t.FrozenMap=a,t.FrozenSet=s},5554:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),r(2694);var n=r(2025);r(8823);var i=r(1715),o=r(5709);r(1817);var a=r(7665),s=r(3775);r(7473);var l=r(8792),u=r(7863),c=r(631),p=r(8826),_=r(8351),d=r(7580),f=r(4966),m=r(6472),h=r(5064),y=r(5760);r(668),r(7121),t.AssertionError=f.AssertionError,t.CAIP_ACCOUNT_ADDRESS_REGEX=u.CAIP_ACCOUNT_ADDRESS_REGEX,t.CAIP_ACCOUNT_ID_REGEX=u.CAIP_ACCOUNT_ID_REGEX,t.CAIP_CHAIN_ID_REGEX=u.CAIP_CHAIN_ID_REGEX,t.CAIP_NAMESPACE_REGEX=u.CAIP_NAMESPACE_REGEX,t.CAIP_REFERENCE_REGEX=u.CAIP_REFERENCE_REGEX,t.CaipAccountAddressStruct=u.CaipAccountAddressStruct,t.CaipAccountIdStruct=u.CaipAccountIdStruct,t.CaipChainIdStruct=u.CaipChainIdStruct,t.CaipNamespaceStruct=u.CaipNamespaceStruct,t.CaipReferenceStruct=u.CaipReferenceStruct,t.ChecksumStruct=c.ChecksumStruct,t.Duration=o.Duration,t.ESCAPE_CHARACTERS_REGEXP=h.ESCAPE_CHARACTERS_REGEXP,t.FrozenMap=y.FrozenMap,t.FrozenSet=y.FrozenSet,t.HexAddressStruct=d.HexAddressStruct,t.HexChecksumAddressStruct=d.HexChecksumAddressStruct,t.HexStruct=d.HexStruct,t.JsonRpcErrorStruct=s.JsonRpcErrorStruct,t.JsonRpcFailureStruct=s.JsonRpcFailureStruct,t.JsonRpcIdStruct=s.JsonRpcIdStruct,t.JsonRpcNotificationStruct=s.JsonRpcNotificationStruct,t.JsonRpcParamsStruct=s.JsonRpcParamsStruct,t.JsonRpcRequestStruct=s.JsonRpcRequestStruct,t.JsonRpcResponseStruct=s.JsonRpcResponseStruct,t.JsonRpcSuccessStruct=s.JsonRpcSuccessStruct,t.JsonRpcVersionStruct=s.JsonRpcVersionStruct,t.JsonSize=h.JsonSize,t.JsonStruct=s.JsonStruct,t.KnownCaipNamespace=u.KnownCaipNamespace,t.PendingJsonRpcResponseStruct=s.PendingJsonRpcResponseStruct,t.StrictHexStruct=d.StrictHexStruct,t.UnsafeJsonStruct=s.UnsafeJsonStruct,t.VersionRangeStruct=a.VersionRangeStruct,t.VersionStruct=a.VersionStruct,t.add0x=d.add0x,t.assert=f.assert,t.assertExhaustive=f.assertExhaustive,t.assertIsBytes=d.assertIsBytes,t.assertIsHexString=d.assertIsHexString,t.assertIsJsonRpcError=s.assertIsJsonRpcError,t.assertIsJsonRpcFailure=s.assertIsJsonRpcFailure,t.assertIsJsonRpcNotification=s.assertIsJsonRpcNotification,t.assertIsJsonRpcRequest=s.assertIsJsonRpcRequest,t.assertIsJsonRpcResponse=s.assertIsJsonRpcResponse,t.assertIsJsonRpcSuccess=s.assertIsJsonRpcSuccess,t.assertIsPendingJsonRpcResponse=s.assertIsPendingJsonRpcResponse,t.assertIsSemVerRange=a.assertIsSemVerRange,t.assertIsSemVerVersion=a.assertIsSemVerVersion,t.assertIsStrictHexString=d.assertIsStrictHexString,t.assertStruct=f.assertStruct,t.base64=p.base64,t.base64ToBytes=d.base64ToBytes,t.bigIntToBytes=d.bigIntToBytes,t.bigIntToHex=n.bigIntToHex,t.bytesToBase64=d.bytesToBase64,t.bytesToBigInt=d.bytesToBigInt,t.bytesToHex=d.bytesToHex,t.bytesToNumber=d.bytesToNumber,t.bytesToSignedBigInt=d.bytesToSignedBigInt,t.bytesToString=d.bytesToString,t.calculateNumberSize=h.calculateNumberSize,t.calculateStringSize=h.calculateStringSize,t.concatBytes=d.concatBytes,t.createBigInt=_.createBigInt,t.createBytes=_.createBytes,t.createDataView=d.createDataView,t.createDeferredPromise=i.createDeferredPromise,t.createHex=_.createHex,t.createModuleLogger=l.createModuleLogger,t.createNumber=_.createNumber,t.createProjectLogger=l.createProjectLogger,t.exactOptional=s.exactOptional,t.getChecksumAddress=d.getChecksumAddress,t.getErrorMessage=m.getErrorMessage,t.getJsonRpcIdValidator=s.getJsonRpcIdValidator,t.getJsonSize=s.getJsonSize,t.getKnownPropertyNames=h.getKnownPropertyNames,t.getSafeJson=s.getSafeJson,t.gtRange=a.gtRange,t.gtVersion=a.gtVersion,t.hasProperty=h.hasProperty,t.hexToBigInt=n.hexToBigInt,t.hexToBytes=d.hexToBytes,t.hexToNumber=n.hexToNumber,t.inMilliseconds=o.inMilliseconds,t.isASCII=h.isASCII,t.isBytes=d.isBytes,t.isCaipAccountAddress=u.isCaipAccountAddress,t.isCaipAccountId=u.isCaipAccountId,t.isCaipChainId=u.isCaipChainId,t.isCaipNamespace=u.isCaipNamespace,t.isCaipReference=u.isCaipReference,t.isErrorWithCode=m.isErrorWithCode,t.isErrorWithMessage=m.isErrorWithMessage,t.isErrorWithStack=m.isErrorWithStack,t.isHexString=d.isHexString,t.isJsonRpcError=s.isJsonRpcError,t.isJsonRpcFailure=s.isJsonRpcFailure,t.isJsonRpcNotification=s.isJsonRpcNotification,t.isJsonRpcRequest=s.isJsonRpcRequest,t.isJsonRpcResponse=s.isJsonRpcResponse,t.isJsonRpcSuccess=s.isJsonRpcSuccess,t.isNonEmptyArray=h.isNonEmptyArray,t.isNullOrUndefined=h.isNullOrUndefined,t.isObject=h.isObject,t.isPendingJsonRpcResponse=s.isPendingJsonRpcResponse,t.isPlainObject=h.isPlainObject,t.isStrictHexString=d.isStrictHexString,t.isValidChecksumAddress=d.isValidChecksumAddress,t.isValidHexAddress=d.isValidHexAddress,t.isValidJson=s.isValidJson,t.isValidSemVerRange=a.isValidSemVerRange,t.isValidSemVerVersion=a.isValidSemVerVersion,t.jsonrpc2=s.jsonrpc2,t.numberToBytes=d.numberToBytes,t.numberToHex=n.numberToHex,t.object=s.object,t.parseCaipAccountId=u.parseCaipAccountId,t.parseCaipChainId=u.parseCaipChainId,t.remove0x=d.remove0x,t.satisfiesVersionRange=a.satisfiesVersionRange,t.signedBigIntToBytes=d.signedBigIntToBytes,t.stringToBytes=d.stringToBytes,t.timeSince=o.timeSince,t.toCaipChainId=u.toCaipChainId,t.valueToBytes=d.valueToBytes,t.wrapError=m.wrapError},3525:(e,t)=>{"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`boolean expected, not ${e}`)}function i(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function o(e,...t){if(!i(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function l(e,t){o(e);let r=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let r=BigInt(4294967296-1),n=BigInt(32);function i(e,t=!1){return t?{h:Number(e&r),l:Number(e>>n&r)}:{h:0|Number(e>>n&r),l:0|Number(e&r)}}function o(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=a;let s=(e,t,r)=>e>>>r;t.shrSH=s;let l=(e,t,r)=>e<<32-r|t>>>r;t.shrSL=l;let u=(e,t,r)=>e>>>r|t<<32-r;t.rotrSH=u;let c=(e,t,r)=>e<<32-r|t>>>r;t.rotrSL=c;let p=(e,t,r)=>e<<64-r|t>>>r-32;t.rotrBH=p;let _=(e,t,r)=>e>>>r-32|t<<64-r;t.rotrBL=_;let d=(e,t)=>t;t.rotr32H=d;let f=(e,t)=>e;t.rotr32L=f;let m=(e,t,r)=>e<>>32-r;t.rotlSH=m;let h=(e,t,r)=>t<>>32-r;t.rotlSL=h;let y=(e,t,r)=>t<>>64-r;t.rotlBH=y;let g=(e,t,r)=>e<>>64-r;function b(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/4294967296|0)|0,l:0|i}}t.rotlBL=g,t.add=b;let v=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);t.add3L=v;let x=(e,t,r,n)=>t+r+n+(e/4294967296|0)|0;t.add3H=x;let D=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);t.add4L=D;let S=(e,t,r,n,i)=>t+r+n+i+(e/4294967296|0)|0;t.add4H=S;let E=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);t.add5L=E;let T=(e,t,r,n,i,o)=>t+r+n+i+o+(e/4294967296|0)|0;t.add5H=T,t.default={fromBig:i,split:o,toBig:a,shrSH:s,shrSL:l,rotrSH:u,rotrSL:c,rotrBH:p,rotrBL:_,rotr32H:d,rotr32L:f,rotlSH:m,rotlSL:h,rotlBH:y,rotlBL:g,add:b,add3L:v,add3H:x,add4L:D,add4H:S,add5H:T,add5L:E}},825:(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},125:(e,t,r)=>{"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;let n=r(3525),i=r(1655),o=r(64),a=[],s=[],l=[],u=BigInt(0),c=BigInt(1),p=BigInt(2),_=BigInt(7),d=BigInt(256),f=BigInt(113);for(let e=0,t=c,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],a.push(2*(5*n+r)),s.push((e+1)*(e+2)/2%64);let i=u;for(let e=0;e<7;e++)(t=(t<>_)*f)%d)&p&&(i^=c<<(c<r>32?(0,i.rotlBH)(e,t,r):(0,i.rotlSH)(e,t,r),g=(e,t,r)=>r>32?(0,i.rotlBL)(e,t,r):(0,i.rotlSL)(e,t,r);function b(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],a=r[i+1],s=y(o,a,1)^r[n],l=g(o,a,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=l}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=s[r],o=y(t,i,n),l=g(t,i,n),u=a[r];t=e[u],i=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=m[n],e[1]^=h[n]}r.fill(0)}t.keccakP=b;class v extends o.Hash{constructor(e,t,r,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(r),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),b(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);let{blockLen:t,state:r}=this;e=(0,o.toBytes)(e);let i=e.length;for(let n=0;n=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw 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){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new v(t,r,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=v;let x=(e,t,r)=>(0,o.wrapConstructor)(()=>new v(t,e,r));t.sha3_224=x(6,144,28),t.sha3_256=x(6,136,32),t.sha3_384=x(6,104,48),t.sha3_512=x(6,72,64),t.keccak_224=x(1,144,28),t.keccak_256=x(1,136,32),t.keccak_384=x(1,104,48),t.keccak_512=x(1,72,64);let D=(e,t,r)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new v(t,e,void 0===n.dkLen?r:n.dkLen,!0));t.shake128=D(31,168,16),t.shake256=D(31,136,32)},64:(e,t,r)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;let n=r(825),i=r(3525);t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name},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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.rotl=(e,t)=>e<>>32-t>>>0,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,t.byteSwapIfBE=t.isLE?e=>e:e=>(0,t.byteSwap)(e),t.byteSwap32=function(e){for(let r=0;rt.toString(16).padStart(2,"0"));t.bytesToHex=function(e){(0,i.bytes)(e);let t="";for(let r=0;r=a._0&&e<=a._9?e-a._0:e>=a._A&&e<=a._F?e-(a._A-10):e>=a._a&&e<=a._f?e-(a._a-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t{};async function u(e,r,n){let i=Date.now();for(let o=0;o=0&&ee().update(p(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},6237:(e,t)=>{"use strict";function r(...e){let t=(e,t)=>r=>e(t(r)),n=Array.from(e).reverse().reduce((e,r)=>e?t(e,r.encode):r.encode,void 0),i=e.reduce((e,r)=>e?t(e,r.decode):r.decode,void 0);return{encode:n,decode:i}}function n(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})}}}function i(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function a(e){if("function"!=typeof e)throw Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function s(e,t,r){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,i=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,a=!0;for(let i=n;it?l(t,e%t):e,u=(e,t)=>e+(t-l(e,t));function c(e,t,r,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw Error(`convertRadix2: wrong to=${r}`);if(u(t,r)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${u(t,r)}`);let i=0,o=0,a=2**r-1,s=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!n&&i)throw Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}function p(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return s(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(s(t,e,256))}}}function _(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return c(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(c(r,e,8,t))}}}function d(e){if("function"!=typeof e)throw Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function f(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(r){if(!(r instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!(r instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=r.slice(0,-e),i=t(n).slice(0,e),o=r.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),t.base64=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),i("")),t.base64url=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),i("")),t.base64urlnopad=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));let m=e=>r(p(58),n(e),i(""));t.base58=m("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=m("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=m("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");let h=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let r="";for(let n=0;nr(f(4,t=>e(e(t))),t.base58);let y=r(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),g=[996825010,642813549,513874426,1027748829,705979059];function b(e){let t=e>>25,r=(33554431&e)<<5;for(let e=0;e>e&1)==1&&(r^=g[e]);return r}function v(e,t,r=1){let n=e.length,i=1;for(let t=0;t126)throw Error(`Invalid prefix (${e})`);i=b(i)^r>>5}i=b(i);for(let t=0;tr)throw TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);let n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw Error("String must be lowercase or uppercase");e=n;let i=e.lastIndexOf("1");if(0===i||-1===i)throw Error('Letter "1" must be present between prefix and data only');let o=e.slice(0,i),a=e.slice(i+1);if(a.length<6)throw Error("Data must be at least 6 characters long");let s=y.decode(a).slice(0,-6),l=v(o,s,t);if(!a.endsWith(l))throw Error(`Invalid checksum in ${e}: expected "${l}"`);return{prefix:o,words:s}}let s=d(a);return{encode:function(e,r,n=90){if("string"!=typeof e)throw Error(`bech32.encode prefix should be string, not ${typeof e}`);if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error(`bech32.encode words should be array of numbers, not ${typeof r}`);let i=e.length+7+r.length;if(!1!==n&&i>n)throw TypeError(`Length ${i} exceeds limit ${n}`);let o=e.toLowerCase(),a=v(o,r,t);return`${o}1${y.encode(r)}${a}`},decode:a,decodeToBytes:function(e){let{prefix:t,words:r}=a(e,!1);return{prefix:t,words:r,bytes:n(r)}},decodeUnsafe:s,fromWords:n,fromWordsUnsafe:o,toWords:i}}t.bech32=x("bech32"),t.bech32m=x("bech32m"),t.utf8={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},t.hex=r(_(4),n("0123456789abcdef"),i(""),a(e=>{if("string"!=typeof e||e.length%2)throw TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));let D={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";t.bytesToString=(e,t)=>{if("string"!=typeof e||!D.hasOwnProperty(e))throw TypeError(S);if(!(t instanceof Uint8Array))throw TypeError("bytesToString() expects Uint8Array");return D[e].encode(t)},t.str=t.bytesToString,t.stringToBytes=(e,t)=>{if(!D.hasOwnProperty(e))throw TypeError(S);if("string"!=typeof t)throw TypeError("stringToBytes() expects string");return D[e].decode(t)},t.bytes=t.stringToBytes},211:(e,t,r)=>{"use strict";r.d(t,{jQ:()=>ei,BX:()=>tR});var n=r(910),i=Object.prototype.toString;function o(e){return"function"==typeof e||"[object Function]"===i.call(e)}function a(e,t){var r,n,i=Array,a=Object(e);if(null==e)throw TypeError("Array.from requires an array-like object - not null or undefined");if(void 0!==t&&!o(t))throw TypeError("Array.from: when provided, the second argument must be a function");for(var s=Math.min(Math.max(isNaN(r=Number(a.length))?0:0!==r&&isFinite(r)?(r>0?1:-1)*Math.floor(Math.abs(r)):r,0),9007199254740991),l=o(i)?Object(new i(s)):Array(s),u=0;u0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),t=void 0,(e=u(e="items"))in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t,this.items=n}return e=[{key:"add",value:function(e){return!1===this.has(e)&&this.items.push(e),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(e){var t=this.items.length;return this.items=this.items.filter(function(t){return t!==e}),t!==this.items.length}},{key:"forEach",value:function(e){var t=this;this.items.forEach(function(r){e(r,r,t)})}},{key:"has",value:function(e){return -1!==this.items.indexOf(e)}},{key:"size",get:function(){return this.items.length}}],l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();let p="undefined"==typeof Set?Set:c;function _(e){var t;return null!==(t=e.localName)&&void 0!==t?t:e.tagName.toLowerCase()}var d={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},f={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function m(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!(null!==(n=f[t])&&void 0!==n&&n.has(r))})}function h(e){return null!==e&&e.nodeType===e.ELEMENT_NODE}function y(e){return h(e)&&"caption"===_(e)}function g(e){return h(e)&&"input"===_(e)}function b(e,t){if(h(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(e){return n.getElementById(e)}).filter(function(e){return null!==e})}return[]}function v(e,t){return!!h(e)&&-1!==t.indexOf(function(e){var t=function(e){var t=e.getAttribute("role");if(null!==t){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}(e);if(null===t||"presentation"===t){var r=function(e){var t=d[_(e)];if(void 0!==t)return t;switch(_(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":if(""===e.getAttribute("alt")&&!m(e,"img"))return"presentation";return"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;case"range":return"slider";case"email":case"tel":case"text":case"url":if(e.hasAttribute("list"))return"combobox";return"textbox";case"search":if(e.hasAttribute("list"))return"combobox";return"searchbox";case"number":return"spinbutton";default:return null}case"select":if(e.hasAttribute("multiple")||e.size>1)return"listbox";return"combobox"}return null}(e);if("presentation"!==t||m(e,r||""))return r}return t}(e))}function x(e,t){if(!h(e))return!1;if("range"===t)return v(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function D(e,t){var r=a(e.querySelectorAll(t));return b(e,"aria-owns").forEach(function(e){r.push.apply(r,a(e.querySelectorAll(t)))}),r}function S(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function E(e){var t=_(e);return"button"===t||"input"===t&&"hidden"!==e.getAttribute("type")||"meter"===t||"output"===t||"progress"===t||"select"===t||"textarea"===t}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new p,n=function(e){var t=(null===e.ownerDocument?e:e.ownerDocument).defaultView;if(null===t)throw TypeError("no window available");return t}(e),i=t.compute,o=void 0===i?"name":i,s=t.computedStyleSupportsPseudoElements,l=void 0===s?void 0!==t.getComputedStyle:s,u=t.getComputedStyle,c=void 0===u?n.getComputedStyle.bind(n):u,d=t.hidden,f=void 0!==d&&d;function m(e,t){var r,n="";if(h(e)&&l){var i=S(c(e,"::before"));n="".concat(i," ").concat(n)}if((h(e)&&"slot"===_(e)?0===(r=e.assignedNodes()).length?a(e.childNodes):r:a(e.childNodes).concat(b(e,"aria-owns"))).forEach(function(e){var r=w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),i="inline"!==(h(e)?c(e).getPropertyValue("display"):"inline")?" ":"";n+="".concat(i).concat(r).concat(i)}),h(e)&&l){var o=S(c(e,"::after"));n="".concat(n," ").concat(o)}return n.trim()}function T(e,t){var n=e.getAttributeNode(t);return null===n||r.has(n)||""===n.value.trim()?null:(r.add(n),n.value)}function w(e,t){if(r.has(e))return"";if(!f&&function(e,t){if(!h(e))return!1;if(e.hasAttribute("hidden")||"true"===e.getAttribute("aria-hidden"))return!0;var r=t(e);return"none"===r.getPropertyValue("display")||"hidden"===r.getPropertyValue("visibility")}(e,c)&&!t.isReferenced)return r.add(e),"";var n=h(e)?e.getAttributeNode("aria-labelledby"):null,i=null===n||r.has(n)?[]:b(e,"aria-labelledby");if("name"===o&&!t.isReferenced&&i.length>0)return r.add(n),i.map(function(e){return w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var s=t.recursion&&(v(e,["button","combobox","listbox","textbox"])||x(e,"range"))&&"name"===o;if(!s){var l=(h(e)&&e.getAttribute("aria-label")||"").trim();if(""!==l&&"name"===o)return r.add(e),l;if(!v(e,["none","presentation"])){var u=function(e){if(!h(e))return null;if(h(e)&&"fieldset"===_(e)){r.add(e);for(var t,n=a(e.childNodes),i=0;i0}).join(" ");if(g(e)&&"image"===e.type){var A=T(e,"alt");if(null!==A)return A;var C=T(e,"title");return null!==C?C:"Submit Query"}if(v(e,["button"])){var M=m(e,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==M)return M}return null}(e);if(null!==u)return r.add(e),u}}if(v(e,["menu"]))return r.add(e),"";if(s||t.isEmbeddedInLabel||t.isReferenced){if(v(e,["combobox","listbox"])){r.add(e);var p=h(e)&&"select"===_(e)?e.selectedOptions||D(e,"[selected]"):D(e,'[aria-selected="true"]');return 0===p.length?g(e)?e.value:"":a(p).map(function(e){return w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(x(e,"range"))return(r.add(e),e.hasAttribute("aria-valuetext"))?e.getAttribute("aria-valuetext"):e.hasAttribute("aria-valuenow")?e.getAttribute("aria-valuenow"):e.getAttribute("value")||"";if(v(e,["textbox"]))return r.add(e),g(e)||h(e)&&"textarea"===_(e)?e.value:e.textContent||""}if(v(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])||h(e)&&t.isReferenced||y(e)){var d=m(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});if(""!==d)return r.add(e),d}if(e.nodeType===e.TEXT_NODE)return r.add(e),e.textContent||"";if(t.recursion)return r.add(e),m(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});var S=h(e)?T(e,"title"):null;return null!==S?(r.add(e),S):(r.add(e),"")}return w(e,{isEmbeddedInLabel:!1,isReferenced:"description"===o,recursion:!1}).trim().replace(/\s\s+/g," ")}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=b(e,"aria-describedby").map(function(e){return T(e,C(C({},t),{},{compute:"description"}))}).join(" ");if(""===r){var n=e.getAttribute("title");r=null===n?"":n}return r}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])?"":T(e,t)}var j=r(1552),k=r(6954),I=r.n(k);e=r.hmd(e);var O=r(4406);function P(e){return e.replace(//g,">")}let F=(e,t,r,n,i,o,a)=>{let s=n+r.indent,l=r.colors;return e.map(e=>{let u=t[e],c=a(u,r,s,i,o);return"string"!=typeof u&&(-1!==c.indexOf("\n")&&(c=r.spacingOuter+s+c+r.spacingOuter+n),c="{"+c+"}"),r.spacingInner+n+l.prop.open+e+l.prop.close+"="+l.value.open+c+l.value.close}).join("")},L=(e,t,r,n,i,o)=>e.map(e=>{let a="string"==typeof e?R(e,t):o(e,t,r,n,i);return""===a&&"object"==typeof e&&null!==e&&3!==e.nodeType?"":t.spacingOuter+r+a}).join(""),R=(e,t)=>{let r=t.colors.content;return r.open+P(e)+r.close},z=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},B=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+""+o.close},U=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},q=/^((HTML|SVG)\w*)?Element$/,J=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,i="string"==typeof n&&n.includes("-")||"function"==typeof e.hasAttribute&&e.hasAttribute("is");return 1===r&&(q.test(t)||i)||3===r&&"Text"===t||8===r&&"Comment"===t||11===r&&"DocumentFragment"===t};function $(e){return 11===e.nodeType}let K=null,Y=null,V=null;try{let t=e&&e.require;Y=t.call(e,"fs").readFileSync,V=t.call(e,"@babel/code-frame").codeFrameColumns,K=t.call(e,"chalk")}catch{}function W(){return"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function Q(){if("undefined"==typeof window)throw Error("Could not find default container");return window.document}function H(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;if(e.ownerDocument&&null===e.ownerDocument.defaultView)throw Error("It looks like the window object is not available for the provided node.");if(e.then instanceof Function)throw Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?");if(Array.isArray(e))throw Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?");if("function"==typeof e.debug&&"function"==typeof e.logTestingPlaygroundURL)throw Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?");else throw Error("The given node is not an Element, the node type is: "+typeof e+".")}function G(e){if(!e||"function"!=typeof e.querySelector||"function"!=typeof e.querySelectorAll)throw TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+("object"==typeof e?null===e?"null":e.constructor.name:typeof e)+".")}let Z=()=>{let e;try{var t;e=JSON.parse(null==O?void 0:null==(t=O.env)?void 0:t.COLORS)}catch(e){}return"boolean"==typeof e?e:void 0!==O&&void 0!==O.versions&&void 0!==O.versions.node},{DOMCollection:X}=n.plugins;function ee(e){return 8!==e.nodeType&&(1!==e.nodeType||!e.matches(en.defaultIgnore))}function et(e,t,r){if(void 0===r&&(r={}),e||(e=Q().body),"number"!=typeof t&&(t=void 0!==O&&O.env.DEBUG_PRINT_LIMIT||7e3),0===t)return"";e.documentElement&&(e=e.documentElement);let i=typeof e;if("object"===i?i=e.constructor.name:e={},!("outerHTML"in e))throw TypeError("Expected an element or document but got "+i);let{filterNode:o=ee,...a}=r,s=n.WU(e,{plugins:[{test:e=>{var t;return(null==e?void 0:null==(t=e.constructor)?void 0:t.name)&&J(e)},serialize:(e,t,r,n,i,a)=>{if(3===e.nodeType)return R(e.data,t);if(8===e.nodeType)return z(e.data,t);let s=$(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?U(s,t):B(s,F($(e)?[]:Array.from(e.attributes).map(e=>e.name).sort(),$(e)?{}:Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),t,r+t.indent,n,i,a),L(Array.prototype.slice.call(e.childNodes||e.children).filter(o),t,r+t.indent,n,i,a),t,r)}},X],printFunctionName:!1,highlight:Z(),...a});return void 0!==t&&e.outerHTML.length>t?s.slice(0,t)+"...":s}let er=function(){let e=function(){if(!Y||!V)return"";let e=Error(),t=e.stack.split("\n").slice(1).find(e=>!e.includes("node_modules/"));return function(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[o,a,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=Y(o,"utf-8")}catch{return""}let u=V(l,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return K.dim(n)+"\n"+u+"\n"}(t)}();e?console.log(et(...arguments)+"\n\n"+e):console.log(et(...arguments))},en={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=et(t),n=Error([e,"Ignored nodes: comments, "+en.defaultIgnore+"\n"+r].filter(Boolean).join("\n\n"));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function ei(e){"function"==typeof e&&(e=e(en)),en={...en,...e}}let eo=["button","meter","output","progress","select","textarea","input"];function ea(e){return"label"===e.tagName.toLowerCase()?function e(t){return eo.includes(t.nodeName.toLowerCase())?"":3===t.nodeType?t.textContent:Array.from(t.childNodes).map(t=>e(t)).join("")}(e):e.value||e.textContent}function es(e){var t;if(void 0!==e.labels)return null!=(t=e.labels)?t:[];if(!/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)&&("INPUT"!==e.tagName||"hidden"===e.getAttribute("type")))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(t=>t.control===e)}function el(e,t,r){let{selector:n="*"}=void 0===r?{}:r,i=t.getAttribute("aria-labelledby"),o=i?i.split(" "):[];return o.length?o.map(t=>{let r=e.querySelector('[id="'+t+'"]');return r?{content:ea(r),formControl:null}:{content:"",formControl:null}}):Array.from(es(t)).map(e=>{let t=ea(e),r=Array.from(e.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(e=>e.matches(n))[0];return{content:t,formControl:r}})}function eu(e){if(null==e)throw Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function ec(e,t,r,n){if("string"!=typeof e)return!1;eu(r);let i=n(e);return"string"==typeof r||"number"==typeof r?i.toLowerCase().includes(r.toString().toLowerCase()):"function"==typeof r?r(i,t):ef(r,i)}function ep(e,t,r,n){if("string"!=typeof e)return!1;eu(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?ef(r,i):i===String(r)}function e_(e){let{trim:t=!0,collapseWhitespace:r=!0}=void 0===e?{}:e;return e=>{let n=e;return n=t?n.trim():n,n=r?n.replace(/\s+/g," "):n}}function ed(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return e_({trim:t,collapseWhitespace:r});if(void 0!==t||void 0!==r)throw Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function ef(e,t){let r=e.test(t);return e.global&&0!==e.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function em(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(e=>3===e.nodeType&&!!e.textContent).map(e=>e.textContent).join("")}let eh=function(e){let t=[];for(let[r,n]of e.entries())t=[...t,{match:function(e){let{attributes:t=[]}=e,r=t.findIndex(e=>e.value&&"type"===e.name&&"text"===e.value);r>=0&&(t=[...t.slice(0,r),...t.slice(r+1)]);let n=function(e){let{name:t,attributes:r}=e;return""+t+r.map(e=>{let{name:t,value:r,constraints:n=[]}=e,i=-1!==n.indexOf("undefined");return i?":not(["+t+"])":r?"["+t+'="'+r+'"]':"["+t+"]"}).join("")}({...e,attributes:t});return e=>(!(r>=0)||"text"===e.type)&&e.matches(n)}(r),roles:Array.from(n),specificity:function(e){let{attributes:t=[]}=e;return t.length}(r)}];return t.sort(function(e,t){let{specificity:r}=e,{specificity:n}=t;return n-r})}(j.Qv);function ey(e){if(!0===e.hidden||"true"===e.getAttribute("aria-hidden"))return!0;let t=e.ownerDocument.defaultView;return"none"===t.getComputedStyle(e).display}function eg(e,t){void 0===t&&(t={});let{isSubtreeInaccessible:r=ey}=t,n=e.ownerDocument.defaultView;if("hidden"===n.getComputedStyle(e).visibility)return!0;let i=e;for(;i;){if(r(i))return!0;i=i.parentElement}return!1}function eb(e){for(let{match:t,roles:r}of eh)if(t(e))return[...r];return[]}function ev(e,t){let r=e.getAttribute(t);return"true"===r||"false"!==r&&void 0}let ex=e_();function eD(e){return RegExp(e.toLowerCase().replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),"i")}function eS(e,t,r,n){let{variant:i,name:o}=n,a="",s={},l=[["Role","TestId"].includes(e)?r:eD(r)];o&&(s.name=eD(o)),"Role"===e&&eg(t)&&(s.hidden=!0,a="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "),Object.keys(s).length>0&&l.push(s);let u=i+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:i,warning:a,toString(){a&&console.warn(a);let[e,t]=l;return u+"("+(e="string"==typeof e?"'"+e+"'":e)+(t=t?", { "+Object.entries(t).map(e=>{let[t,r]=e;return t+": "+r}).join(", ")+" }":"")+")"}}}function eE(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function eT(e,t,r){var n,i;if(void 0===t&&(t="get"),e.matches(en.defaultIgnore))return;let o=null!=(n=e.getAttribute("role"))?n:null==(i=eb(e))?void 0:i[0];if("generic"!==o&&eE("Role",r,o))return eS("Role",e,o,{variant:t,name:N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})});let a=el(document,e).map(e=>e.content).join(" ");if(eE("LabelText",r,a))return eS("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(eE("PlaceholderText",r,s))return eS("PlaceholderText",e,s,{variant:t});let l=ex(em(e));if(eE("Text",r,l))return eS("Text",e,l,{variant:t});if(eE("DisplayValue",r,e.value))return eS("DisplayValue",e,ex(e.value),{variant:t});let u=e.getAttribute("alt");if(eE("AltText",r,u))return eS("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(eE("Title",r,c))return eS("Title",e,c,{variant:t});let p=e.getAttribute(en.testIdAttribute);if(eE("TestId",r,p))return eS("TestId",e,p,{variant:t})}function ew(e,t){e.stack=t.stack.replace(t.message,e.message)}function eA(e,t){return en.getElementError(e,t)}function eC(e,t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===n?{}:n,l=i?ep:ec,u=ed({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(t=>l(t.getAttribute(e),t,r,u))}function eM(e,t){return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o1){let e=a.map(e=>eA(null,e).message).join("\n\n");throw eA(t(r,...i)+"\n\nHere are the matching elements:\n\n"+e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",r)}return a[0]||null}}function eN(e,t){return en.getElementError("A better query is available, try this:\n"+e.toString()+"\n",t)}function ej(e){return(t,r,n,i)=>(function(e,t){let r=Error("STACK_TRACE_MESSAGE");return en.asyncWrapper(()=>(function(e,t){let{container:r=Q(),timeout:n=en.asyncUtilTimeout,showOriginalStackTrace:i=en.showOriginalStackTrace,stackTraceError:o,interval:a=50,onTimeout:s=e=>(e.message=en.getElementError(e.message,r).message,e),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if("function"!=typeof e)throw TypeError("Received `callback` arg must be a function");return new Promise(async(t,u)=>{let c,p,_;let d=!1,f="idle",m=setTimeout(function(){let e;c?(e=c,i||"TestingLibraryElementError"!==e.name||ew(e,o)):(e=Error("Timed out in waitFor."),i||ew(e,o)),y(s(e),null)},n),h=W();if(h){let{unstable_advanceTimersWrapper:e}=en;for(b();!d;){if(!W()){let e=Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||ew(e,o),u(e);return}if(await e(async()=>{jest.advanceTimersByTime(a)}),b(),d)break}}else{try{G(r)}catch(e){u(e);return}p=setInterval(g,a);let{MutationObserver:e}=H(r);(_=new e(g)).observe(r,l),b()}function y(e,r){d=!0,clearTimeout(m),h||(clearInterval(p),_.disconnect()),e?u(e):t(r)}function g(){if(!W())return b();{let e=Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||ew(e,o),u(e)}}function b(){if("pending"!==f)try{let t=function(e){try{return en._disableExpensiveErrorDiagnostics=!0,e()}finally{en._disableExpensiveErrorDiagnostics=!1}}(e);"function"==typeof(null==t?void 0:t.then)?(f="pending",t.then(e=>{f="resolved",y(null,e)},e=>{f="rejected",c=e})):y(null,t)}catch(e){c=e}}})})(e,{stackTraceError:r,...t}))})(()=>e(t,r,n),{container:t,...i})}let ek=(e,t,r)=>function(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;afunction(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a{var t;return null==(t=eT(e,r))?void 0:t.toString()}))];if(1===e.length&&!t.endsWith(eT(s[0],r).queryName))throw eN(e[0],n)}return s};function eO(e,t,r){let n=ek(eM(e,t),e.name,"query"),i=function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o({node:e,textToMatch:ea(e)})).filter(e=>{let{textToMatch:t}=e;return null!==t});return u.filter(e=>{let{node:r,textToMatch:n}=e;return s(n,r,t,l)}).map(e=>{let{node:t}=e;return t})},eF=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===r?{}:r;G(e);let l=i?ep:ec,u=ed({collapseWhitespace:o,trim:a,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(e=>es(e).length||e.hasAttribute("aria-labelledby")).reduce((r,i)=>{let o=el(e,i,{selector:n});o.filter(e=>!!e.formControl).forEach(e=>{l(e.content,e.formControl,t,u)&&e.formControl&&r.push(e.formControl)});let a=o.filter(e=>!!e.content).map(e=>e.content);return l(a.join(" "),i,t,u)&&r.push(i),a.length>1&&a.forEach((e,n)=>{l(e,i,t,u)&&r.push(i);let o=[...a];o.splice(n,1),o.length>1&&l(o.join(" "),i,t,u)&&r.push(i)}),r},[]).concat(eC("aria-label",e,t,{exact:i,normalizer:u}));return Array.from(new Set(c)).filter(e=>e.matches(n))},eL=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i(function(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null})(e,t)).filter(e=>!!e);if(n.length)throw en.getElementError(n.map(e=>"Found a label with the text of: "+t+", however the element associated with this label (<"+e+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+e+" />, you can use aria-label or aria-labelledby instead.").join("\n\n"),e);throw en.getElementError("Found a label with the text of: "+t+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',e)}throw en.getElementError("Unable to find a label with the text of: "+t,e)}return o},eR=(e,t)=>"Found multiple elements with the text of: "+t,ez=ek(eM(eF,eR),eF.name,"query"),eB=eM(eL,eR),eU=ej(eI(eL,eL.name,"findAll")),eq=ej(ek(eB,eL.name,"find")),eJ=eI(eL,eL.name,"getAll"),e$=ek(eB,eL.name,"get"),eK=eI(eF,eF.name,"queryAll"),eY=function(){for(var e=arguments.length,t=Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,(e,t)=>"Unable to find an element with the placeholder text of: "+t),eX=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,ignore:s=en.defaultIgnore,normalizer:l}=void 0===r?{}:r;G(e);let u=i?ep:ec,c=ed({collapseWhitespace:o,trim:a,normalizer:l}),p=[];return"function"==typeof e.matches&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(e=>!s||!e.matches(s)).filter(e=>u(em(e),e,t,c))},e0=eI(eX,eX.name,"queryAll"),[e1,e2,e3,e4,e6]=eO(eX,(e,t)=>"Found multiple elements with the text: "+t,function(e,t,r){void 0===r&&(r={});let{collapseWhitespace:n,trim:i,normalizer:o,selector:a}=r,s=ed({collapseWhitespace:n,trim:i,normalizer:o}),l=s(t.toString()),u=l!==t.toString();return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+((null!=a?a:"*")!=="*"?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."}),e5=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=void 0===r?{}:r;G(e);let s=n?ep:ec,l=ed({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(e=>{if("SELECT"!==e.tagName)return s(e.value,e,t,l);{let r=Array.from(e.options).filter(e=>e.selected);return r.some(e=>s(em(e),e,t,l))}})},e8=eI(e5,e5.name,"queryAll"),[e7,e9,te,tt,tr]=eO(e5,(e,t)=>"Found multiple elements with the display value: "+t+".",(e,t)=>"Unable to find an element with the display value: "+t+"."),tn=/^(img|input|area|.+-.+)$/i,ti=function(e,t,r){return void 0===r&&(r={}),G(e),eC("alt",e,t,r).filter(e=>tn.test(e.tagName))},to=eI(ti,ti.name,"queryAll"),[ta,ts,tl,tu,tc]=eO(ti,(e,t)=>"Found multiple elements with the alt text: "+t,(e,t)=>"Unable to find an element with the alt text: "+t),tp=e=>{var t;return"title"===e.tagName.toLowerCase()&&(null==(t=e.parentElement)?void 0:t.tagName.toLowerCase())==="svg"},t_=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=void 0===r?{}:r;G(e);let s=n?ep:ec,l=ed({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(e=>s(e.getAttribute("title"),e,t,l)||tp(e)&&s(em(e),e,t,l))},td=eI(t_,t_.name,"queryAll"),[tf,tm,th,ty,tg]=eO(t_,(e,t)=>"Found multiple elements with the title: "+t+".",(e,t)=>"Unable to find an element with the title: "+t+"."),tb=function(e,t,r){var n,i,o,a,s,l,u,c,p,_;let{hidden:d=en.defaultHidden,name:f,description:m,queryFallbacks:h=!1,selected:y,busy:g,checked:b,pressed:v,current:x,level:D,expanded:S,value:{now:E,min:T,max:w,text:A}={}}=void 0===r?{}:r;if(G(e),void 0!==y&&(null==(n=j.uJ.get(t))?void 0:n.props["aria-selected"])===void 0)throw Error('"aria-selected" is not supported on role "'+t+'".');if(void 0!==g&&(null==(i=j.uJ.get(t))?void 0:i.props["aria-busy"])===void 0)throw Error('"aria-busy" is not supported on role "'+t+'".');if(void 0!==b&&(null==(o=j.uJ.get(t))?void 0:o.props["aria-checked"])===void 0)throw Error('"aria-checked" is not supported on role "'+t+'".');if(void 0!==v&&(null==(a=j.uJ.get(t))?void 0:a.props["aria-pressed"])===void 0)throw Error('"aria-pressed" is not supported on role "'+t+'".');if(void 0!==x&&(null==(s=j.uJ.get(t))?void 0:s.props["aria-current"])===void 0)throw Error('"aria-current" is not supported on role "'+t+'".');if(void 0!==D&&"heading"!==t)throw Error('Role "'+t+'" cannot have "level" property.');if(void 0!==E&&(null==(l=j.uJ.get(t))?void 0:l.props["aria-valuenow"])===void 0)throw Error('"aria-valuenow" is not supported on role "'+t+'".');if(void 0!==w&&(null==(u=j.uJ.get(t))?void 0:u.props["aria-valuemax"])===void 0)throw Error('"aria-valuemax" is not supported on role "'+t+'".');if(void 0!==T&&(null==(c=j.uJ.get(t))?void 0:c.props["aria-valuemin"])===void 0)throw Error('"aria-valuemin" is not supported on role "'+t+'".');if(void 0!==A&&(null==(p=j.uJ.get(t))?void 0:p.props["aria-valuetext"])===void 0)throw Error('"aria-valuetext" is not supported on role "'+t+'".');if(void 0!==S&&(null==(_=j.uJ.get(t))?void 0:_.props["aria-expanded"])===void 0)throw Error('"aria-expanded" is not supported on role "'+t+'".');let C=new WeakMap;function k(e){return C.has(e)||C.set(e,ey(e)),C.get(e)}return Array.from(e.querySelectorAll(function(e){var t;let r='*[role~="'+e+'"]',n=null!=(t=j.UN.get(e))?t:new Set,i=new Set(Array.from(n).map(e=>{let{name:t}=e;return t}));return[r].concat(Array.from(i)).join(",")}(t))).filter(e=>{let r=e.hasAttribute("role");if(r){let r=e.getAttribute("role");if(h)return r.split(" ").filter(Boolean).some(e=>e===t);let[n]=r.split(" ");return n===t}let n=eb(e);return n.some(e=>e===t)}).filter(e=>{var t,r,n;if(void 0!==y)return y===("OPTION"===e.tagName?e.selected:ev(e,"aria-selected"));if(void 0!==g)return g===("true"===e.getAttribute("aria-busy"));if(void 0!==b)return b===("indeterminate"in e&&e.indeterminate?void 0:"checked"in e?e.checked:ev(e,"aria-checked"));if(void 0!==v)return v===ev(e,"aria-pressed");if(void 0!==x)return x===(null!=(t=null!=(r=ev(e,"aria-current"))?r:e.getAttribute("aria-current"))&&t);if(void 0!==S)return S===ev(e,"aria-expanded");if(void 0!==D)return D===function(e){let t=e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"));return t||({H1:1,H2:2,H3:3,H4:4,H5:5,H6:6})[e.tagName]}(e);if(void 0!==E||void 0!==w||void 0!==T||void 0!==A){let t=!0;return void 0!==E&&t&&(t=E===function(e){let t=e.getAttribute("aria-valuenow");return null===t?void 0:+t}(e)),void 0!==w&&t&&(t=w===function(e){let t=e.getAttribute("aria-valuemax");return null===t?void 0:+t}(e)),void 0!==T&&t&&(t=T===function(e){let t=e.getAttribute("aria-valuemin");return null===t?void 0:+t}(e)),void 0!==A&&t&&(t=ep(null!=(n=function(e){let t=e.getAttribute("aria-valuetext");return null===t?void 0:t}(e))?n:null,e,A,e=>e)),t}return!0}).filter(e=>void 0===f||ep(N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements}),e,f,e=>e)).filter(e=>void 0===m||ep(M(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements}),e,m,e=>e)).filter(e=>!1!==d||!1===eg(e,{isSubtreeInaccessible:k}))},tv=e=>void 0===e?"":"string"==typeof e?' and name "'+e+'"':" and name `"+e+"`",tx=eI(tb,tb.name,"queryAll"),[tD,tS,tE,tT,tw]=eO(tb,function(e,t,r){let{name:n}=void 0===r?{}:r;return'Found multiple elements with the role "'+t+'"'+tv(n)},function(e,t,r){let n,{hidden:i=en.defaultHidden,name:o,description:a}=void 0===r?{}:r;if(en._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+tv(o);let s="";return Array.from(e.children).forEach(e=>{s+=function(e,t){let{hidden:r,includeDescription:n}=t,i=function(e,t){let{hidden:r=!1}=void 0===t?{}:t;return(function e(t){return[t,...Array.from(t.children).reduce((t,r)=>[...t,...e(r)],[])]})(e).filter(e=>!1!==r||!1===eg(e)).reduce((e,t)=>(t.hasAttribute("role")?t.getAttribute("role").split(" ").slice(0,1):eb(t)).reduce((e,r)=>Array.isArray(e[r])?{...e,[r]:[...e[r],t]}:{...e,[r]:[t]},e),{})}(e,{hidden:r});return Object.entries(i).filter(e=>{let[t]=e;return"generic"!==t}).map(e=>{let[t,r]=e,i="-".repeat(50),o=r.map(e=>{let t='Name "'+N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})+'":\n',r=et(e.cloneNode(!1));if(n){let n='Description "'+M(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})+'":\n';return""+t+n+r}return""+t+r}).join("\n\n");return t+":\n\n"+o+"\n\n"+i}).join("\n")}(e,{hidden:i,includeDescription:void 0!==a})}),n=0===s.length?!1===i?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===i?"accessible":"available")+" roles:\n\n "+s.replace(/\n/g,"\n ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim(),("\nUnable to find an "+(!1===i?"accessible ":"")+'element with the role "'+t+'"'+(void 0===o?"":"string"==typeof o?' and name "'+o+'"':" and name `"+o+"`")+(void 0===a?"":"string"==typeof a?' and description "'+a+'"':" and description `"+a+"`")+"\n\n"+n).trim()}),tA=()=>en.testIdAttribute,tC=function(){for(var e=arguments.length,t=Array(e),r=0;r"Found multiple elements by: ["+tA()+'="'+t+'"]',(e,t)=>"Unable to find an element by: ["+tA()+'="'+t+'"]');var tP=Object.freeze({__proto__:null,queryAllByLabelText:eK,queryByLabelText:ez,getAllByLabelText:eJ,getByLabelText:e$,findAllByLabelText:eU,findByLabelText:eq,queryByPlaceholderText:eW,queryAllByPlaceholderText:eV,getByPlaceholderText:eH,getAllByPlaceholderText:eQ,findAllByPlaceholderText:eG,findByPlaceholderText:eZ,queryByText:e1,queryAllByText:e0,getByText:e3,getAllByText:e2,findAllByText:e4,findByText:e6,queryByDisplayValue:e7,queryAllByDisplayValue:e8,getByDisplayValue:te,getAllByDisplayValue:e9,findAllByDisplayValue:tt,findByDisplayValue:tr,queryByAltText:ta,queryAllByAltText:to,getByAltText:tl,getAllByAltText:ts,findAllByAltText:tu,findByAltText:tc,queryByTitle:tf,queryAllByTitle:td,getByTitle:th,getAllByTitle:tm,findAllByTitle:ty,findByTitle:tg,queryByRole:tD,queryAllByRole:tx,getAllByRole:tS,getByRole:tE,findAllByRole:tT,findByRole:tw,queryByTestId:tN,queryAllByTestId:tM,getByTestId:tk,getAllByTestId:tj,findAllByTestId:tI,findByTestId:tO});let tF={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},tL={doubleClick:"dblClick"};function tR(e,t){return en.eventWrapper(()=>{if(!t)throw Error("Unable to fire an event - please provide an event object.");if(!e)throw Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function tz(e,t,r,n){let i,{EventType:o="Event",defaultInit:a={}}=void 0===n?{}:n;if(!t)throw Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...a,...r},{target:{value:l,files:u,...c}={}}=s;void 0!==l&&function(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw Error("The given element does not have a value setter")}(t,l),void 0!==u&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=H(t),_=p[o]||p.Event;if("function"==typeof _)i=new _(e,s);else{i=p.document.createEvent(o);let{bubbles:t,cancelable:r,detail:n,...a}=s;i.initEvent(e,t,r,n),Object.keys(a).forEach(e=>{i[e]=a[e]})}return["dataTransfer","clipboardData"].forEach(e=>{let t=s[e];"object"==typeof t&&("function"==typeof p.DataTransfer?Object.defineProperty(i,e,{value:Object.getOwnPropertyNames(t).reduce((e,r)=>(Object.defineProperty(e,r,{value:t[r]}),e),new p.DataTransfer)}):Object.defineProperty(i,e,{value:t}))}),i}Object.keys(tF).forEach(e=>{let{EventType:t,defaultInit:r}=tF[e],n=e.toLowerCase();tz[e]=(e,i)=>tz(n,e,i,{EventType:t,defaultInit:r}),tR[e]=(t,r)=>tR(t,tz[e](t,r))}),Object.keys(tL).forEach(e=>{let t=tL[e];tR[e]=function(){return tR[t](...arguments)}});let tB={debug:(e,t,r)=>Array.isArray(e)?e.forEach(e=>er(e,t,r)):er(e,t,r),logTestingPlaygroundURL:function(e){var t;if(void 0===e&&(e=Q().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let r="https://testing-playground.com/#markup="+(t=e.innerHTML,I().compressToEncodedURIComponent(t.replace(/[ \t]*[\n][ \t]*/g,"\n")));return console.log("Open this URL in your browser\n\n"+r),r}};"undefined"!=typeof document&&document.body?function(e,t,r){return void 0===t&&(t=tP),void 0===r&&(r={}),Object.keys(t).reduce((r,n)=>{let i=t[n];return r[n]=i.bind(null,e),r},r)}(document.body,tP,tB):Object.keys(tP).reduce((e,t)=>(e[t]=()=>{throw TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),tB)},15:(e,t,r)=>{"use strict";e=r.nmd(e);let n=(e=0)=>t=>`\u001B[${38+e};5;${t}m`,i=(e=0)=>(t,r,n)=>`\u001B[${38+e};2;${t};${r};${n}m`;Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",t.color.ansi256=n(),t.color.ansi16m=i(),t.bgColor.ansi256=n(10),t.bgColor.ansi16m=i(10),Object.defineProperties(t,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:e=>{let t=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(e.toString(16));if(!t)return[0,0,0];let{colorString:r}=t.groups;3===r.length&&(r=r.split("").map(e=>e+e).join(""));let n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>t.rgbToAnsi256(...t.hexToRgb(e)),enumerable:!1}}),t}})},1041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printIteratorEntries=function(e,t,r,n,i,o,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let r=o(l.value[0],t,u,n,i),c=o(l.value[1],t,u,n,i);s+=u+r+a+c,(l=e.next()).done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s},t.printIteratorValues=function(e,t,r,n,i,o){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+o(s.value,t,l,n,i),(s=e.next()).done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a},t.printListItems=function(e,t,r,n,i,o){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let r=0;r{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(t=>{Object.getOwnPropertyDescriptor(e,t).enumerable&&r.push(t)}),r}},910:(e,t,r)=>{"use strict";t.WU=function(e,t){if(t&&(function(e){if(Object.keys(e).forEach(e=>{if(!k.hasOwnProperty(e))throw Error(`pretty-format: Unknown option "${e}".`)}),e.min&&void 0!==e.indent&&0!==e.indent)throw Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==e.theme){if(null===e.theme)throw Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof e.theme)throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}(t),t.plugins)){let r=C(t.plugins,e);if(null!==r)return A(r,e,R(t),"",0,[])}let r=T(e,P(t),F(t),L(t));return null!==r?r:w(e,R(t),"",0,[])},t.plugins=void 0;var n=_(r(15)),i=r(1041),o=_(r(5929)),a=_(r(453)),s=_(r(8276)),l=_(r(275)),u=_(r(5756)),c=_(r(7981)),p=_(r(2651));function _(e){return e&&e.__esModule?e:{default:e}}let d=Object.prototype.toString,f=Date.prototype.toISOString,m=Error.prototype.toString,h=RegExp.prototype.toString,y=e=>"function"==typeof e.constructor&&e.constructor.name||"Object",g=e=>"undefined"!=typeof window&&e===window,b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi;class x extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}}function D(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function S(e){return String(e).replace(b,"Symbol($1)")}function E(e){return"["+m.call(e)+"]"}function T(e,t,r,n){if(!0===e||!1===e)return""+e;if(void 0===e)return"undefined";if(null===e)return"null";let i=typeof e;if("number"===i)return Object.is(e,-0)?"-0":String(e);if("bigint"===i)return String(`${e}n`);if("string"===i)return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if("function"===i)return D(e,t);if("symbol"===i)return S(e);let o=d.call(e);return"[object WeakMap]"===o?"WeakMap {}":"[object WeakSet]"===o?"WeakSet {}":"[object Function]"===o||"[object GeneratorFunction]"===o?D(e,t):"[object Symbol]"===o?S(e):"[object Date]"===o?isNaN(+e)?"Date { NaN }":f.call(e):"[object Error]"===o?E(e):"[object RegExp]"===o?r?h.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(e):e instanceof Error?E(e):null}function w(e,t,r,n,o,a){if(-1!==o.indexOf(e))return"[Circular]";(o=o.slice()).push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&"function"==typeof e.toJSON&&!a)return M(e.toJSON(),t,r,n,o,!0);let u=d.call(e);return"[object Arguments]"===u?s?"[Arguments]":(l?"":"Arguments ")+"["+(0,i.printListItems)(e,t,r,n,o,M)+"]":"[object Array]"===u||"[object ArrayBuffer]"===u||"[object DataView]"===u||"[object Float32Array]"===u||"[object Float64Array]"===u||"[object Int8Array]"===u||"[object Int16Array]"===u||"[object Int32Array]"===u||"[object Uint8Array]"===u||"[object Uint8ClampedArray]"===u||"[object Uint16Array]"===u||"[object Uint32Array]"===u?s?"["+e.constructor.name+"]":(l?"":t.printBasicPrototype||"Array"!==e.constructor.name?e.constructor.name+" ":"")+"["+(0,i.printListItems)(e,t,r,n,o,M)+"]":"[object Map]"===u?s?"[Map]":"Map {"+(0,i.printIteratorEntries)(e.entries(),t,r,n,o,M," => ")+"}":"[object Set]"===u?s?"[Set]":"Set {"+(0,i.printIteratorValues)(e.values(),t,r,n,o,M)+"}":s||g(e)?"["+y(e)+"]":(l?"":t.printBasicPrototype||"Object"!==y(e)?y(e)+" ":"")+"{"+(0,i.printObjectProperties)(e,t,r,n,o,M)+"}"}function A(e,t,r,n,i,o){let a;try{a=null!=e.serialize?e.serialize(t,r,n,i,o,M):e.print(t,e=>M(e,r,n,i,o),e=>{let t=n+r.indent;return t+e.replace(v,"\n"+t)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(e){throw new x(e.message,e.stack)}if("string"!=typeof a)throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function C(e,t){for(let r=0;rj.reduce((t,r)=>{let i=e.theme&&void 0!==e.theme[r]?e.theme[r]:N[r],o=i&&n.default[i];if(o&&"string"==typeof o.close&&"string"==typeof o.open)t[r]=o;else throw Error(`pretty-format: Option "theme" has a key "${r}" whose value "${i}" is undefined in ansi-styles.`);return t},Object.create(null)),O=()=>j.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),P=e=>e&&void 0!==e.printFunctionName?e.printFunctionName:k.printFunctionName,F=e=>e&&void 0!==e.escapeRegex?e.escapeRegex:k.escapeRegex,L=e=>e&&void 0!==e.escapeString?e.escapeString:k.escapeString,R=e=>{var t;return{callToJSON:e&&void 0!==e.callToJSON?e.callToJSON:k.callToJSON,colors:e&&e.highlight?I(e):O(),compareKeys:e&&"function"==typeof e.compareKeys?e.compareKeys:k.compareKeys,escapeRegex:F(e),escapeString:L(e),indent:e&&e.min?"":Array((e&&void 0!==e.indent?e.indent:k.indent)+1).join(" "),maxDepth:e&&void 0!==e.maxDepth?e.maxDepth:k.maxDepth,min:e&&void 0!==e.min?e.min:k.min,plugins:e&&void 0!==e.plugins?e.plugins:k.plugins,printBasicPrototype:null===(t=null==e?void 0:e.printBasicPrototype)||void 0===t||t,printFunctionName:P(e),spacingInner:e&&e.min?" ":"\n",spacingOuter:e&&e.min?"":"\n"}},z={AsymmetricMatcher:o.default,ConvertAnsi:a.default,DOMCollection:s.default,DOMElement:l.default,Immutable:u.default,ReactElement:c.default,ReactTestComponent:p.default};t.plugins=z},5929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041),i="undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),o=i["jest-symbol-do-not-touch"]||i.Symbol;let a="function"==typeof o&&o.for?o.for("jest.asymmetricMatcher"):1267621,s=(e,t,r,i,o,a)=>{let s=e.toString();return"ArrayContaining"===s||"ArrayNotContaining"===s?++i>t.maxDepth?"["+s+"]":s+" ["+(0,n.printListItems)(e.sample,t,r,i,o,a)+"]":"ObjectContaining"===s||"ObjectNotContaining"===s?++i>t.maxDepth?"["+s+"]":s+" {"+(0,n.printObjectProperties)(e.sample,t,r,i,o,a)+"}":"StringMatching"===s||"StringNotMatching"===s||"StringContaining"===s||"StringNotContaining"===s?s+" "+a(e.sample,t,r,i,o):e.toAsymmetricMatcher()};t.serialize=s;let l=e=>e&&e.$$typeof===a;t.test=l,t.default={serialize:s,test:l}},453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=o(r(9937)),i=o(r(15));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>e.replace((0,n.default)(),e=>{switch(e){case i.default.red.close:case i.default.green.close:case i.default.cyan.close:case i.default.gray.close:case i.default.white.close:case i.default.yellow.close:case i.default.bgRed.close:case i.default.bgGreen.close:case i.default.bgYellow.close:case i.default.inverse.close:case i.default.dim.close:case i.default.bold.close:case i.default.reset.open:case i.default.reset.close:return"";case i.default.red.open:return"";case i.default.green.open:return"";case i.default.cyan.open:return"";case i.default.gray.open:return"";case i.default.white.open:return"";case i.default.yellow.open:return"";case i.default.bgRed.open:return"";case i.default.bgGreen.open:return"";case i.default.bgYellow.open:return"";case i.default.inverse.open:return"";case i.default.dim.open:return"";case i.default.bold.open:return"";default:return""}}),s=e=>"string"==typeof e&&!!e.match((0,n.default)());t.test=s;let l=(e,t,r,n,i,o)=>o(a(e),t,r,n,i);t.serialize=l,t.default={serialize:l,test:s}},8276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041);let i=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=e=>-1!==i.indexOf(e)||o.test(e),s=e=>e&&e.constructor&&!!e.constructor.name&&a(e.constructor.name);t.test=s;let l=e=>"NamedNodeMap"===e.constructor.name,u=(e,t,r,o,a,s)=>{let u=e.constructor.name;return++o>t.maxDepth?"["+u+"]":(t.min?"":u+" ")+(-1!==i.indexOf(u)?"{"+(0,n.printObjectProperties)(l(e)?Array.from(e).reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,r,o,a,s)+"}":"["+(0,n.printListItems)(Array.from(e),t,r,o,a,s)+"]")};t.serialize=u,t.default={serialize:u,test:s}},275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(3250);let i=/^((HTML|SVG)\w*)?Element$/,o=e=>{try{return"function"==typeof e.hasAttribute&&e.hasAttribute("is")}catch{return!1}},a=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,a="string"==typeof n&&n.includes("-")||o(e);return 1===r&&(i.test(t)||a)||3===r&&"Text"===t||8===r&&"Comment"===t||11===r&&"DocumentFragment"===t},s=e=>{var t;return(null==e?void 0:null===(t=e.constructor)||void 0===t?void 0:t.name)&&a(e)};function l(e){return 11===e.nodeType}t.test=s;let u=(e,t,r,i,o,a)=>{if(3===e.nodeType)return(0,n.printText)(e.data,t);if(8===e.nodeType)return(0,n.printComment)(e.data,t);let s=l(e)?"DocumentFragment":e.tagName.toLowerCase();return++i>t.maxDepth?(0,n.printElementAsLeaf)(s,t):(0,n.printElement)(s,(0,n.printProps)(l(e)?[]:Array.from(e.attributes).map(e=>e.name).sort(),l(e)?{}:Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),t,r+t.indent,i,o,a),(0,n.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,i,o,a),t,r)};t.serialize=u,t.default={serialize:u,test:s}},5756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041);let i="@@__IMMUTABLE_ORDERED__@@",o=e=>"Immutable."+e,a=e=>"["+e+"]",s=(e,t,r,i,s,l,u)=>++i>t.maxDepth?a(o(u)):o(u)+" {"+(0,n.printIteratorEntries)(e.entries(),t,r,i,s,l)+"}",l=(e,t,r,i,s,l)=>{let u=o(e._name||"Record");return++i>t.maxDepth?a(u):u+" {"+(0,n.printIteratorEntries)(function(e){let t=0;return{next(){if(t{let u=o("Seq");return++i>t.maxDepth?a(u):e["@@__IMMUTABLE_KEYED__@@"]?u+" {"+(e._iter||e._object?(0,n.printIteratorEntries)(e.entries(),t,r,i,s,l):"…")+"}":u+" ["+(e._iter||e._array||e._collection||e._iterable?(0,n.printIteratorValues)(e.values(),t,r,i,s,l):"…")+"]"},c=(e,t,r,i,s,l,u)=>++i>t.maxDepth?a(o(u)):o(u)+" ["+(0,n.printIteratorValues)(e.values(),t,r,i,s,l)+"]",p=(e,t,r,n,o,a)=>e["@@__IMMUTABLE_MAP__@@"]?s(e,t,r,n,o,a,e[i]?"OrderedMap":"Map"):e["@@__IMMUTABLE_LIST__@@"]?c(e,t,r,n,o,a,"List"):e["@@__IMMUTABLE_SET__@@"]?c(e,t,r,n,o,a,e[i]?"OrderedSet":"Set"):e["@@__IMMUTABLE_STACK__@@"]?c(e,t,r,n,o,a,"Stack"):e["@@__IMMUTABLE_SEQ__@@"]?u(e,t,r,n,o,a):l(e,t,r,n,o,a);t.serialize=p;let _=e=>e&&(!0===e["@@__IMMUTABLE_ITERABLE__@@"]||!0===e["@@__IMMUTABLE_RECORD__@@"]);t.test=_,t.default={serialize:p,test:_}},7981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(4650)),i=r(3250);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}let a=(e,t=[])=>(Array.isArray(e)?e.forEach(e=>{a(e,t)}):null!=e&&!1!==e&&t.push(e),t),s=e=>{let t=e.type;if("string"==typeof t)return t;if("function"==typeof t)return t.displayName||t.name||"Unknown";if(n.isFragment(e))return"React.Fragment";if(n.isSuspense(e))return"React.Suspense";if("object"==typeof t&&null!==t){if(n.isContextProvider(e))return"Context.Provider";if(n.isContextConsumer(e))return"Context.Consumer";if(n.isForwardRef(e)){if(t.displayName)return t.displayName;let e=t.render.displayName||t.render.name||"";return""!==e?"ForwardRef("+e+")":"ForwardRef"}if(n.isMemo(e)){let e=t.displayName||t.type.displayName||t.type.name||"";return""!==e?"Memo("+e+")":"Memo"}}return"UNDEFINED"},l=e=>{let{props:t}=e;return Object.keys(t).filter(e=>"children"!==e&&void 0!==t[e]).sort()},u=(e,t,r,n,o,u)=>++n>t.maxDepth?(0,i.printElementAsLeaf)(s(e),t):(0,i.printElement)(s(e),(0,i.printProps)(l(e),e.props,t,r+t.indent,n,o,u),(0,i.printChildren)(a(e.props.children),t,r+t.indent,n,o,u),t,r);t.serialize=u;let c=e=>null!=e&&n.isElement(e);t.test=c,t.default={serialize:u,test:c}},2651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(3250),i="undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),o=i["jest-symbol-do-not-touch"]||i.Symbol;let a="function"==typeof o&&o.for?o.for("react.test.json"):245830487,s=e=>{let{props:t}=e;return t?Object.keys(t).filter(e=>void 0!==t[e]).sort():[]},l=(e,t,r,i,o,a)=>++i>t.maxDepth?(0,n.printElementAsLeaf)(e.type,t):(0,n.printElement)(e.type,e.props?(0,n.printProps)(s(e),e.props,t,r+t.indent,i,o,a):"",e.children?(0,n.printChildren)(e.children,t,r+t.indent,i,o,a):"",t,r);t.serialize=l;let u=e=>e&&e.$$typeof===a;t.test=u,t.default={serialize:l,test:u}},2110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(//g,">")}},3250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printText=t.printProps=t.printElementAsLeaf=t.printElement=t.printComment=t.printChildren=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(2110));t.printProps=(e,t,r,n,i,o,a)=>{let s=n+r.indent,l=r.colors;return e.map(e=>{let u=t[e],c=a(u,r,s,i,o);return"string"!=typeof u&&(-1!==c.indexOf("\n")&&(c=r.spacingOuter+s+c+r.spacingOuter+n),c="{"+c+"}"),r.spacingInner+n+l.prop.open+e+l.prop.close+"="+l.value.open+c+l.value.close}).join("")},t.printChildren=(e,t,r,n,o,a)=>e.map(e=>t.spacingOuter+r+("string"==typeof e?i(e,t):a(e,t,r,n,o))).join("");let i=(e,t)=>{let r=t.colors.content;return r.open+(0,n.default)(e)+r.close};t.printText=i,t.printComment=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},t.printElement=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+""+o.close},t.printElementAsLeaf=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close}},1313:(e,t)=>{"use strict";/** @license React v17.0.2 +(()=>{var e={7209:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectMultiplex=void 0;let i=r(7525),o=n(r(9928)),a=r(9067),s=Symbol("IGNORE_SUBSTREAM");class l extends i.Duplex{constructor(e={}){super(Object.assign(Object.assign({},e),{objectMode:!0})),this._substreams={}}createStream(e){if(this.destroyed)throw Error(`ObjectMultiplex - parent stream for name "${e}" already destroyed`);if(this._readableState.ended||this._writableState.ended)throw Error(`ObjectMultiplex - parent stream for name "${e}" already ended`);if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);let t=new a.Substream({parent:this,name:e});return this._substreams[e]=t,function(e,t){let r=(0,o.default)(t);(0,i.finished)(e,{readable:!1},r),(0,i.finished)(e,{writable:!1},r)}(this,e=>t.destroy(e||void 0)),t}ignoreStream(e){if(!e)throw Error("ObjectMultiplex - name must not be empty");if(this._substreams[e])throw Error(`ObjectMultiplex - Substream for name "${e}" already exists`);this._substreams[e]=s}_read(){}_write(e,t,r){let{name:n,data:i}=e;if(!n)return console.warn(`ObjectMultiplex - malformed chunk without name "${e}"`),r();let o=this._substreams[n];return o?o!==s&&o.push(i):console.warn(`ObjectMultiplex - orphaned data for stream "${n}"`),r()}}t.ObjectMultiplex=l},9067:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Substream=void 0;let n=r(7525);class i extends n.Duplex{constructor({parent:e,name:t}){super({objectMode:!0}),this._parent=e,this._name=t}_read(){}_write(e,t,r){this._parent.push({name:this._name,data:e}),r()}}t.Substream=i},9952:(e,t,r)=>{"use strict";let n=r(7209);e.exports=n.ObjectMultiplex},470:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BasePostMessageStream=void 0;let n=r(7525),i=()=>void 0;class o extends n.Duplex{constructor(e){super(Object.assign({objectMode:!0},e)),this._init=!1,this._haveSyn=!1,this._log=()=>null}_handshake(){this._write("SYN",null,i),this.cork()}_onData(e){if(this._init)try{this.push(e),this._log(e,!1)}catch(e){this.emit("error",e)}else"SYN"===e?(this._haveSyn=!0,this._write("ACK",null,i)):"ACK"===e&&(this._init=!0,this._haveSyn||this._write("ACK",null,i),this.uncork())}_read(){}_write(e,t,r){"ACK"!==e&&"SYN"!==e&&this._log(e,!0),this._postMessage(e),r()}_setLogger(e){this._log=e}}t.BasePostMessageStream=o},6993:function(e,t,r){"use strict";var n=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerParentPostMessageStream=void 0;let i=r(470),o=r(7131);class a extends i.BasePostMessageStream{constructor(e){var{worker:t}=e;super(n(e,["worker"])),this._target=o.DEDICATED_WORKER_NAME,this._worker=t,this._worker.onmessage=this._onMessage.bind(this),this._handshake()}_postMessage(e){this._worker.postMessage({target:this._target,data:e})}_onMessage(e){let t=e.data;(0,o.isValidStreamMessage)(t)&&this._onData(t.data)}_destroy(){this._worker.onmessage=null,this._worker=null}}t.WebWorkerParentPostMessageStream=a},672:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WebWorkerPostMessageStream=void 0;let n=r(470),i=r(7131);class o extends n.BasePostMessageStream{constructor(e={}){if("undefined"==typeof self||"undefined"==typeof WorkerGlobalScope)throw Error("WorkerGlobalScope not found. This class should only be instantiated in a WebWorker.");super(e),this._name=i.DEDICATED_WORKER_NAME,self.addEventListener("message",this._onMessage.bind(this)),this._handshake()}_postMessage(e){self.postMessage({data:e})}_onMessage(e){let t=e.data;(0,i.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){}}t.WebWorkerPostMessageStream=o},5968:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(2121),t),i(r(672),t),i(r(6993),t),i(r(7410),t),i(r(470),t)},7410:function(e,t,r){"use strict";var n,i,o=this&&this.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r},a=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},s=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserRuntimePostMessageStream=void 0;let l=r(470),u=r(7131);class c extends l.BasePostMessageStream{constructor(e){var{name:t,target:r}=e;super(s(e,["name","target"])),n.set(this,void 0),i.set(this,void 0),o(this,n,t,"f"),o(this,i,r,"f"),this._onMessage=this._onMessage.bind(this),this._getRuntime().onMessage.addListener(this._onMessage),this._handshake()}_postMessage(e){this._getRuntime().sendMessage({target:a(this,i,"f"),data:e})}_onMessage(e){(0,u.isValidStreamMessage)(e)&&e.target===a(this,n,"f")&&this._onData(e.data)}_getRuntime(){var e,t;if("chrome"in globalThis&&"function"==typeof(null===(e=null==chrome?void 0:chrome.runtime)||void 0===e?void 0:e.sendMessage))return chrome.runtime;if("browser"in globalThis&&"function"==typeof(null===(t=null==browser?void 0:browser.runtime)||void 0===t?void 0:t.sendMessage))return browser.runtime;throw Error("browser.runtime.sendMessage is not a function. This class should only be instantiated in a web extension.")}_destroy(){this._getRuntime().onMessage.removeListener(this._onMessage)}}t.BrowserRuntimePostMessageStream=c,n=new WeakMap,i=new WeakMap},7131:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isValidStreamMessage=t.DEDICATED_WORKER_NAME=void 0;let n=r(5428);t.DEDICATED_WORKER_NAME="dedicatedWorker",t.isValidStreamMessage=function(e){return(0,n.isObject)(e)&&!!e.data&&("number"==typeof e.data||"object"==typeof e.data||"string"==typeof e.data)}},2121:function(e,t,r){"use strict";var n,i,o=this&&this.__rest||function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,n=Object.getOwnPropertySymbols(e);it.indexOf(n[i])&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r};Object.defineProperty(t,"__esModule",{value:!0}),t.WindowPostMessageStream=void 0;let a=r(5428),s=r(470),l=r(7131),u=null===(n=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"source"))||void 0===n?void 0:n.get;(0,a.assert)(u,"MessageEvent.prototype.source getter is not defined.");let c=null===(i=Object.getOwnPropertyDescriptor(MessageEvent.prototype,"origin"))||void 0===i?void 0:i.get;(0,a.assert)(c,"MessageEvent.prototype.origin getter is not defined.");class p extends s.BasePostMessageStream{constructor(e){var{name:t,target:r,targetOrigin:n=location.origin,targetWindow:i=window}=e;if(super(o(e,["name","target","targetOrigin","targetWindow"])),"undefined"==typeof window||"function"!=typeof window.postMessage)throw Error("window.postMessage is not a function. This class should only be instantiated in a Window.");this._name=t,this._target=r,this._targetOrigin=n,this._targetWindow=i,this._onMessage=this._onMessage.bind(this),window.addEventListener("message",this._onMessage,!1),this._handshake()}_postMessage(e){this._targetWindow.postMessage({target:this._target,data:e},this._targetOrigin)}_onMessage(e){let t=e.data;("*"===this._targetOrigin||c.call(e)===this._targetOrigin)&&u.call(e)===this._targetWindow&&(0,l.isValidStreamMessage)(t)&&t.target===this._name&&this._onData(t.data)}_destroy(){window.removeEventListener("message",this._onMessage,!1)}}t.WindowPostMessageStream=p},3525:(e,t)=>{"use strict";function r(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`boolean expected, not ${e}`)}function i(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function o(e,...t){if(!i(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function a(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");r(e.outputLen),r(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function l(e,t){o(e);let r=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let r=BigInt(4294967296-1),n=BigInt(32);function i(e,t=!1){return t?{h:Number(e&r),l:Number(e>>n&r)}:{h:0|Number(e>>n&r),l:0|Number(e&r)}}function o(e,t=!1){let r=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=a;let s=(e,t,r)=>e>>>r;t.shrSH=s;let l=(e,t,r)=>e<<32-r|t>>>r;t.shrSL=l;let u=(e,t,r)=>e>>>r|t<<32-r;t.rotrSH=u;let c=(e,t,r)=>e<<32-r|t>>>r;t.rotrSL=c;let p=(e,t,r)=>e<<64-r|t>>>r-32;t.rotrBH=p;let _=(e,t,r)=>e>>>r-32|t<<64-r;t.rotrBL=_;let d=(e,t)=>t;t.rotr32H=d;let f=(e,t)=>e;t.rotr32L=f;let m=(e,t,r)=>e<>>32-r;t.rotlSH=m;let h=(e,t,r)=>t<>>32-r;t.rotlSL=h;let y=(e,t,r)=>t<>>64-r;t.rotlBH=y;let g=(e,t,r)=>e<>>64-r;function b(e,t,r,n){let i=(t>>>0)+(n>>>0);return{h:e+r+(i/4294967296|0)|0,l:0|i}}t.rotlBL=g,t.add=b;let v=(e,t,r)=>(e>>>0)+(t>>>0)+(r>>>0);t.add3L=v;let x=(e,t,r,n)=>t+r+n+(e/4294967296|0)|0;t.add3H=x;let D=(e,t,r,n)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0);t.add4L=D;let S=(e,t,r,n,i)=>t+r+n+i+(e/4294967296|0)|0;t.add4H=S;let E=(e,t,r,n,i)=>(e>>>0)+(t>>>0)+(r>>>0)+(n>>>0)+(i>>>0);t.add5L=E;let T=(e,t,r,n,i,o)=>t+r+n+i+o+(e/4294967296|0)|0;t.add5H=T,t.default={fromBig:i,split:o,toBig:a,shrSH:s,shrSL:l,rotrSH:u,rotrSL:c,rotrBH:p,rotrBL:_,rotr32H:d,rotr32L:f,rotlSH:m,rotlSL:h,rotlBH:y,rotlBL:g,add:b,add3L:v,add3H:x,add4L:D,add4H:S,add5H:T,add5L:E}},825:(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},125:(e,t,r)=>{"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;let n=r(3525),i=r(1655),o=r(64),a=[],s=[],l=[],u=BigInt(0),c=BigInt(1),p=BigInt(2),_=BigInt(7),d=BigInt(256),f=BigInt(113);for(let e=0,t=c,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],a.push(2*(5*n+r)),s.push((e+1)*(e+2)/2%64);let i=u;for(let e=0;e<7;e++)(t=(t<>_)*f)%d)&p&&(i^=c<<(c<r>32?(0,i.rotlBH)(e,t,r):(0,i.rotlSH)(e,t,r),g=(e,t,r)=>r>32?(0,i.rotlBL)(e,t,r):(0,i.rotlSL)(e,t,r);function b(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],a=r[i+1],s=y(o,a,1)^r[n],l=g(o,a,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=l}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=s[r],o=y(t,i,n),l=g(t,i,n),u=a[r];t=e[u],i=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=m[n],e[1]^=h[n]}r.fill(0)}t.keccakP=b;class v extends o.Hash{constructor(e,t,r,i=!1,a=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=i,this.rounds=a,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(r),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),b(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);let{blockLen:t,state:r}=this;e=(0,o.toBytes)(e);let i=e.length;for(let n=0;n=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw 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){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new v(t,r,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=v;let x=(e,t,r)=>(0,o.wrapConstructor)(()=>new v(t,e,r));t.sha3_224=x(6,144,28),t.sha3_256=x(6,136,32),t.sha3_384=x(6,104,48),t.sha3_512=x(6,72,64),t.keccak_224=x(1,144,28),t.keccak_256=x(1,136,32),t.keccak_384=x(1,104,48),t.keccak_512=x(1,72,64);let D=(e,t,r)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new v(t,e,void 0===n.dkLen?r:n.dkLen,!0));t.shake128=D(31,168,16),t.shake256=D(31,136,32)},64:(e,t,r)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;let n=r(825),i=r(3525);t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name},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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.rotl=(e,t)=>e<>>32-t>>>0,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,t.byteSwapIfBE=t.isLE?e=>e:e=>(0,t.byteSwap)(e),t.byteSwap32=function(e){for(let r=0;rt.toString(16).padStart(2,"0"));t.bytesToHex=function(e){(0,i.bytes)(e);let t="";for(let r=0;r=a._0&&e<=a._9?e-a._0:e>=a._A&&e<=a._F?e-(a._A-10):e>=a._a&&e<=a._f?e-(a._a-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,r=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(r);for(let t=0,i=0;t{};async function u(e,r,n){let i=Date.now();for(let o=0;o=0&&ee().update(p(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,r)=>e(r).update(p(t)).digest(),r=e({});return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},6237:(e,t)=>{"use strict";function r(...e){let t=(e,t)=>r=>e(t(r)),n=Array.from(e).reverse().reduce((e,r)=>e?t(e,r.encode):r.encode,void 0),i=e.reduce((e,r)=>e?t(e,r.decode):r.decode,void 0);return{encode:n,decode:i}}function n(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})}}}function i(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}function a(e){if("function"!=typeof e)throw Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function s(e,t,r){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(r<2)throw Error(`convertRadix: wrong to=${r}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,i=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,a=!0;for(let i=n;it?l(t,e%t):e,u=(e,t)=>e+(t-l(e,t));function c(e,t,r,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw Error(`convertRadix2: wrong to=${r}`);if(u(t,r)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${u(t,r)}`);let i=0,o=0,a=2**r-1,s=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!n&&i)throw Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}function p(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return s(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(s(t,e,256))}}}function _(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return c(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(c(r,e,8,t))}}}function d(e){if("function"!=typeof e)throw Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function f(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(r){if(!(r instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(r).slice(0,e),i=new Uint8Array(r.length+e);return i.set(r),i.set(n,r.length),i},decode(r){if(!(r instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=r.slice(0,-e),i=t(n).slice(0,e),o=r.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),t.base64=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),i("")),t.base64url=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),i("")),t.base64urlnopad=r(_(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),i(""));let m=e=>r(p(58),n(e),i(""));t.base58=m("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=m("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=m("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");let h=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let r="";for(let n=0;nr(f(4,t=>e(e(t))),t.base58);let y=r(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),i("")),g=[996825010,642813549,513874426,1027748829,705979059];function b(e){let t=e>>25,r=(33554431&e)<<5;for(let e=0;e>e&1)==1&&(r^=g[e]);return r}function v(e,t,r=1){let n=e.length,i=1;for(let t=0;t126)throw Error(`Invalid prefix (${e})`);i=b(i)^r>>5}i=b(i);for(let t=0;tr)throw TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${r})`);let n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw Error("String must be lowercase or uppercase");e=n;let i=e.lastIndexOf("1");if(0===i||-1===i)throw Error('Letter "1" must be present between prefix and data only');let o=e.slice(0,i),a=e.slice(i+1);if(a.length<6)throw Error("Data must be at least 6 characters long");let s=y.decode(a).slice(0,-6),l=v(o,s,t);if(!a.endsWith(l))throw Error(`Invalid checksum in ${e}: expected "${l}"`);return{prefix:o,words:s}}let s=d(a);return{encode:function(e,r,n=90){if("string"!=typeof e)throw Error(`bech32.encode prefix should be string, not ${typeof e}`);if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error(`bech32.encode words should be array of numbers, not ${typeof r}`);let i=e.length+7+r.length;if(!1!==n&&i>n)throw TypeError(`Length ${i} exceeds limit ${n}`);let o=e.toLowerCase(),a=v(o,r,t);return`${o}1${y.encode(r)}${a}`},decode:a,decodeToBytes:function(e){let{prefix:t,words:r}=a(e,!1);return{prefix:t,words:r,bytes:n(r)}},decodeUnsafe:s,fromWords:n,fromWordsUnsafe:o,toWords:i}}t.bech32=x("bech32"),t.bech32m=x("bech32m"),t.utf8={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},t.hex=r(_(4),n("0123456789abcdef"),i(""),a(e=>{if("string"!=typeof e||e.length%2)throw TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));let D={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";t.bytesToString=(e,t)=>{if("string"!=typeof e||!D.hasOwnProperty(e))throw TypeError(S);if(!(t instanceof Uint8Array))throw TypeError("bytesToString() expects Uint8Array");return D[e].encode(t)},t.str=t.bytesToString,t.stringToBytes=(e,t)=>{if(!D.hasOwnProperty(e))throw TypeError(S);if("string"!=typeof t)throw TypeError("stringToBytes() expects string");return D[e].decode(t)},t.bytes=t.stringToBytes},211:(e,t,r)=>{"use strict";r.d(t,{jQ:()=>ei,BX:()=>tR});var n=r(910),i=Object.prototype.toString;function o(e){return"function"==typeof e||"[object Function]"===i.call(e)}function a(e,t){var r,n,i=Array,a=Object(e);if(null==e)throw TypeError("Array.from requires an array-like object - not null or undefined");if(void 0!==t&&!o(t))throw TypeError("Array.from: when provided, the second argument must be a function");for(var s=Math.min(Math.max(isNaN(r=Number(a.length))?0:0!==r&&isFinite(r)?(r>0?1:-1)*Math.floor(Math.abs(r)):r,0),9007199254740991),l=o(i)?Object(new i(s)):Array(s),u=0;u0&&void 0!==arguments[0]?arguments[0]:[];!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),t=void 0,(e=u(e="items"))in this?Object.defineProperty(this,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[e]=t,this.items=n}return e=[{key:"add",value:function(e){return!1===this.has(e)&&this.items.push(e),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(e){var t=this.items.length;return this.items=this.items.filter(function(t){return t!==e}),t!==this.items.length}},{key:"forEach",value:function(e){var t=this;this.items.forEach(function(r){e(r,r,t)})}},{key:"has",value:function(e){return -1!==this.items.indexOf(e)}},{key:"size",get:function(){return this.items.length}}],l(r.prototype,e),t&&l(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();let p="undefined"==typeof Set?Set:c;function _(e){var t;return null!==(t=e.localName)&&void 0!==t?t:e.tagName.toLowerCase()}var d={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},f={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function m(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!(null!==(n=f[t])&&void 0!==n&&n.has(r))})}function h(e){return null!==e&&e.nodeType===e.ELEMENT_NODE}function y(e){return h(e)&&"caption"===_(e)}function g(e){return h(e)&&"input"===_(e)}function b(e,t){if(h(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(e){return n.getElementById(e)}).filter(function(e){return null!==e})}return[]}function v(e,t){return!!h(e)&&-1!==t.indexOf(function(e){var t=function(e){var t=e.getAttribute("role");if(null!==t){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}(e);if(null===t||"presentation"===t){var r=function(e){var t=d[_(e)];if(void 0!==t)return t;switch(_(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":if(""===e.getAttribute("alt")&&!m(e,"img"))return"presentation";return"img";case"input":var r=e.type;switch(r){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return r;case"range":return"slider";case"email":case"tel":case"text":case"url":if(e.hasAttribute("list"))return"combobox";return"textbox";case"search":if(e.hasAttribute("list"))return"combobox";return"searchbox";case"number":return"spinbutton";default:return null}case"select":if(e.hasAttribute("multiple")||e.size>1)return"listbox";return"combobox"}return null}(e);if("presentation"!==t||m(e,r||""))return r}return t}(e))}function x(e,t){if(!h(e))return!1;if("range"===t)return v(e,["meter","progressbar","scrollbar","slider","spinbutton"]);throw TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}function D(e,t){var r=a(e.querySelectorAll(t));return b(e,"aria-owns").forEach(function(e){r.push.apply(r,a(e.querySelectorAll(t)))}),r}function S(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function E(e){var t=_(e);return"button"===t||"input"===t&&"hidden"!==e.getAttribute("type")||"meter"===t||"output"===t||"progress"===t||"select"===t||"textarea"===t}function T(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=new p,n=function(e){var t=(null===e.ownerDocument?e:e.ownerDocument).defaultView;if(null===t)throw TypeError("no window available");return t}(e),i=t.compute,o=void 0===i?"name":i,s=t.computedStyleSupportsPseudoElements,l=void 0===s?void 0!==t.getComputedStyle:s,u=t.getComputedStyle,c=void 0===u?n.getComputedStyle.bind(n):u,d=t.hidden,f=void 0!==d&&d;function m(e,t){var r,n="";if(h(e)&&l){var i=S(c(e,"::before"));n="".concat(i," ").concat(n)}if((h(e)&&"slot"===_(e)?0===(r=e.assignedNodes()).length?a(e.childNodes):r:a(e.childNodes).concat(b(e,"aria-owns"))).forEach(function(e){var r=w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),i="inline"!==(h(e)?c(e).getPropertyValue("display"):"inline")?" ":"";n+="".concat(i).concat(r).concat(i)}),h(e)&&l){var o=S(c(e,"::after"));n="".concat(n," ").concat(o)}return n.trim()}function T(e,t){var n=e.getAttributeNode(t);return null===n||r.has(n)||""===n.value.trim()?null:(r.add(n),n.value)}function w(e,t){if(r.has(e))return"";if(!f&&function(e,t){if(!h(e))return!1;if(e.hasAttribute("hidden")||"true"===e.getAttribute("aria-hidden"))return!0;var r=t(e);return"none"===r.getPropertyValue("display")||"hidden"===r.getPropertyValue("visibility")}(e,c)&&!t.isReferenced)return r.add(e),"";var n=h(e)?e.getAttributeNode("aria-labelledby"):null,i=null===n||r.has(n)?[]:b(e,"aria-labelledby");if("name"===o&&!t.isReferenced&&i.length>0)return r.add(n),i.map(function(e){return w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var s=t.recursion&&(v(e,["button","combobox","listbox","textbox"])||x(e,"range"))&&"name"===o;if(!s){var l=(h(e)&&e.getAttribute("aria-label")||"").trim();if(""!==l&&"name"===o)return r.add(e),l;if(!v(e,["none","presentation"])){var u=function(e){if(!h(e))return null;if(h(e)&&"fieldset"===_(e)){r.add(e);for(var t,n=a(e.childNodes),i=0;i0}).join(" ");if(g(e)&&"image"===e.type){var A=T(e,"alt");if(null!==A)return A;var C=T(e,"title");return null!==C?C:"Submit Query"}if(v(e,["button"])){var M=m(e,{isEmbeddedInLabel:!1,isReferenced:!1});if(""!==M)return M}return null}(e);if(null!==u)return r.add(e),u}}if(v(e,["menu"]))return r.add(e),"";if(s||t.isEmbeddedInLabel||t.isReferenced){if(v(e,["combobox","listbox"])){r.add(e);var p=h(e)&&"select"===_(e)?e.selectedOptions||D(e,"[selected]"):D(e,'[aria-selected="true"]');return 0===p.length?g(e)?e.value:"":a(p).map(function(e){return w(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(x(e,"range"))return(r.add(e),e.hasAttribute("aria-valuetext"))?e.getAttribute("aria-valuetext"):e.hasAttribute("aria-valuenow")?e.getAttribute("aria-valuenow"):e.getAttribute("value")||"";if(v(e,["textbox"]))return r.add(e),g(e)||h(e)&&"textarea"===_(e)?e.value:e.textContent||""}if(v(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])||h(e)&&t.isReferenced||y(e)){var d=m(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});if(""!==d)return r.add(e),d}if(e.nodeType===e.TEXT_NODE)return r.add(e),e.textContent||"";if(t.recursion)return r.add(e),m(e,{isEmbeddedInLabel:t.isEmbeddedInLabel,isReferenced:!1});var S=h(e)?T(e,"title"):null;return null!==S?(r.add(e),S):(r.add(e),"")}return w(e,{isEmbeddedInLabel:!1,isReferenced:"description"===o,recursion:!1}).trim().replace(/\s\s+/g," ")}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function C(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{},r=b(e,"aria-describedby").map(function(e){return T(e,C(C({},t),{},{compute:"description"}))}).join(" ");if(""===r){var n=e.getAttribute("title");r=null===n?"":n}return r}function N(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return v(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])?"":T(e,t)}var j=r(1552),k=r(6954),I=r.n(k);e=r.hmd(e);var O=r(4406);function P(e){return e.replace(//g,">")}let F=(e,t,r,n,i,o,a)=>{let s=n+r.indent,l=r.colors;return e.map(e=>{let u=t[e],c=a(u,r,s,i,o);return"string"!=typeof u&&(-1!==c.indexOf("\n")&&(c=r.spacingOuter+s+c+r.spacingOuter+n),c="{"+c+"}"),r.spacingInner+n+l.prop.open+e+l.prop.close+"="+l.value.open+c+l.value.close}).join("")},L=(e,t,r,n,i,o)=>e.map(e=>{let a="string"==typeof e?R(e,t):o(e,t,r,n,i);return""===a&&"object"==typeof e&&null!==e&&3!==e.nodeType?"":t.spacingOuter+r+a}).join(""),R=(e,t)=>{let r=t.colors.content;return r.open+P(e)+r.close},z=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},B=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+""+o.close},U=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},q=/^((HTML|SVG)\w*)?Element$/,J=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,i="string"==typeof n&&n.includes("-")||"function"==typeof e.hasAttribute&&e.hasAttribute("is");return 1===r&&(q.test(t)||i)||3===r&&"Text"===t||8===r&&"Comment"===t||11===r&&"DocumentFragment"===t};function $(e){return 11===e.nodeType}let K=null,Y=null,V=null;try{let t=e&&e.require;Y=t.call(e,"fs").readFileSync,V=t.call(e,"@babel/code-frame").codeFrameColumns,K=t.call(e,"chalk")}catch{}function W(){return"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))}function Q(){if("undefined"==typeof window)throw Error("Could not find default container");return window.document}function H(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;if(e.ownerDocument&&null===e.ownerDocument.defaultView)throw Error("It looks like the window object is not available for the provided node.");if(e.then instanceof Function)throw Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?");if(Array.isArray(e))throw Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?");if("function"==typeof e.debug&&"function"==typeof e.logTestingPlaygroundURL)throw Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?");else throw Error("The given node is not an Element, the node type is: "+typeof e+".")}function G(e){if(!e||"function"!=typeof e.querySelector||"function"!=typeof e.querySelectorAll)throw TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+("object"==typeof e?null===e?"null":e.constructor.name:typeof e)+".")}let Z=()=>{let e;try{var t;e=JSON.parse(null==O?void 0:null==(t=O.env)?void 0:t.COLORS)}catch(e){}return"boolean"==typeof e?e:void 0!==O&&void 0!==O.versions&&void 0!==O.versions.node},{DOMCollection:X}=n.plugins;function ee(e){return 8!==e.nodeType&&(1!==e.nodeType||!e.matches(en.defaultIgnore))}function et(e,t,r){if(void 0===r&&(r={}),e||(e=Q().body),"number"!=typeof t&&(t=void 0!==O&&O.env.DEBUG_PRINT_LIMIT||7e3),0===t)return"";e.documentElement&&(e=e.documentElement);let i=typeof e;if("object"===i?i=e.constructor.name:e={},!("outerHTML"in e))throw TypeError("Expected an element or document but got "+i);let{filterNode:o=ee,...a}=r,s=n.WU(e,{plugins:[{test:e=>{var t;return(null==e?void 0:null==(t=e.constructor)?void 0:t.name)&&J(e)},serialize:(e,t,r,n,i,a)=>{if(3===e.nodeType)return R(e.data,t);if(8===e.nodeType)return z(e.data,t);let s=$(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?U(s,t):B(s,F($(e)?[]:Array.from(e.attributes).map(e=>e.name).sort(),$(e)?{}:Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),t,r+t.indent,n,i,a),L(Array.prototype.slice.call(e.childNodes||e.children).filter(o),t,r+t.indent,n,i,a),t,r)}},X],printFunctionName:!1,highlight:Z(),...a});return void 0!==t&&e.outerHTML.length>t?s.slice(0,t)+"...":s}let er=function(){let e=function(){if(!Y||!V)return"";let e=Error(),t=e.stack.split("\n").slice(1).find(e=>!e.includes("node_modules/"));return function(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[o,a,s]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],l="";try{l=Y(o,"utf-8")}catch{return""}let u=V(l,{start:{line:a,column:s}},{highlightCode:!0,linesBelow:0});return K.dim(n)+"\n"+u+"\n"}(t)}();e?console.log(et(...arguments)+"\n\n"+e):console.log(et(...arguments))},en={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=et(t),n=Error([e,"Ignored nodes: comments, "+en.defaultIgnore+"\n"+r].filter(Boolean).join("\n\n"));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function ei(e){"function"==typeof e&&(e=e(en)),en={...en,...e}}let eo=["button","meter","output","progress","select","textarea","input"];function ea(e){return"label"===e.tagName.toLowerCase()?function e(t){return eo.includes(t.nodeName.toLowerCase())?"":3===t.nodeType?t.textContent:Array.from(t.childNodes).map(t=>e(t)).join("")}(e):e.value||e.textContent}function es(e){var t;if(void 0!==e.labels)return null!=(t=e.labels)?t:[];if(!/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)&&("INPUT"!==e.tagName||"hidden"===e.getAttribute("type")))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(t=>t.control===e)}function el(e,t,r){let{selector:n="*"}=void 0===r?{}:r,i=t.getAttribute("aria-labelledby"),o=i?i.split(" "):[];return o.length?o.map(t=>{let r=e.querySelector('[id="'+t+'"]');return r?{content:ea(r),formControl:null}:{content:"",formControl:null}}):Array.from(es(t)).map(e=>{let t=ea(e),r=Array.from(e.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(e=>e.matches(n))[0];return{content:t,formControl:r}})}function eu(e){if(null==e)throw Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function ec(e,t,r,n){if("string"!=typeof e)return!1;eu(r);let i=n(e);return"string"==typeof r||"number"==typeof r?i.toLowerCase().includes(r.toString().toLowerCase()):"function"==typeof r?r(i,t):ef(r,i)}function ep(e,t,r,n){if("string"!=typeof e)return!1;eu(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?ef(r,i):i===String(r)}function e_(e){let{trim:t=!0,collapseWhitespace:r=!0}=void 0===e?{}:e;return e=>{let n=e;return n=t?n.trim():n,n=r?n.replace(/\s+/g," "):n}}function ed(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return e_({trim:t,collapseWhitespace:r});if(void 0!==t||void 0!==r)throw Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function ef(e,t){let r=e.test(t);return e.global&&0!==e.lastIndex&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function em(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(e=>3===e.nodeType&&!!e.textContent).map(e=>e.textContent).join("")}let eh=function(e){let t=[];for(let[r,n]of e.entries())t=[...t,{match:function(e){let{attributes:t=[]}=e,r=t.findIndex(e=>e.value&&"type"===e.name&&"text"===e.value);r>=0&&(t=[...t.slice(0,r),...t.slice(r+1)]);let n=function(e){let{name:t,attributes:r}=e;return""+t+r.map(e=>{let{name:t,value:r,constraints:n=[]}=e,i=-1!==n.indexOf("undefined");return i?":not(["+t+"])":r?"["+t+'="'+r+'"]':"["+t+"]"}).join("")}({...e,attributes:t});return e=>(!(r>=0)||"text"===e.type)&&e.matches(n)}(r),roles:Array.from(n),specificity:function(e){let{attributes:t=[]}=e;return t.length}(r)}];return t.sort(function(e,t){let{specificity:r}=e,{specificity:n}=t;return n-r})}(j.Qv);function ey(e){if(!0===e.hidden||"true"===e.getAttribute("aria-hidden"))return!0;let t=e.ownerDocument.defaultView;return"none"===t.getComputedStyle(e).display}function eg(e,t){void 0===t&&(t={});let{isSubtreeInaccessible:r=ey}=t,n=e.ownerDocument.defaultView;if("hidden"===n.getComputedStyle(e).visibility)return!0;let i=e;for(;i;){if(r(i))return!0;i=i.parentElement}return!1}function eb(e){for(let{match:t,roles:r}of eh)if(t(e))return[...r];return[]}function ev(e,t){let r=e.getAttribute(t);return"true"===r||"false"!==r&&void 0}let ex=e_();function eD(e){return RegExp(e.toLowerCase().replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&"),"i")}function eS(e,t,r,n){let{variant:i,name:o}=n,a="",s={},l=[["Role","TestId"].includes(e)?r:eD(r)];o&&(s.name=eD(o)),"Role"===e&&eg(t)&&(s.hidden=!0,a="Element is inaccessible. This means that the element and all its children are invisible to screen readers.\n If you are using the aria-hidden prop, make sure this is the right choice for your case.\n "),Object.keys(s).length>0&&l.push(s);let u=i+"By"+e;return{queryName:e,queryMethod:u,queryArgs:l,variant:i,warning:a,toString(){a&&console.warn(a);let[e,t]=l;return u+"("+(e="string"==typeof e?"'"+e+"'":e)+(t=t?", { "+Object.entries(t).map(e=>{let[t,r]=e;return t+": "+r}).join(", ")+" }":"")+")"}}}function eE(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function eT(e,t,r){var n,i;if(void 0===t&&(t="get"),e.matches(en.defaultIgnore))return;let o=null!=(n=e.getAttribute("role"))?n:null==(i=eb(e))?void 0:i[0];if("generic"!==o&&eE("Role",r,o))return eS("Role",e,o,{variant:t,name:N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})});let a=el(document,e).map(e=>e.content).join(" ");if(eE("LabelText",r,a))return eS("LabelText",e,a,{variant:t});let s=e.getAttribute("placeholder");if(eE("PlaceholderText",r,s))return eS("PlaceholderText",e,s,{variant:t});let l=ex(em(e));if(eE("Text",r,l))return eS("Text",e,l,{variant:t});if(eE("DisplayValue",r,e.value))return eS("DisplayValue",e,ex(e.value),{variant:t});let u=e.getAttribute("alt");if(eE("AltText",r,u))return eS("AltText",e,u,{variant:t});let c=e.getAttribute("title");if(eE("Title",r,c))return eS("Title",e,c,{variant:t});let p=e.getAttribute(en.testIdAttribute);if(eE("TestId",r,p))return eS("TestId",e,p,{variant:t})}function ew(e,t){e.stack=t.stack.replace(t.message,e.message)}function eA(e,t){return en.getElementError(e,t)}function eC(e,t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===n?{}:n,l=i?ep:ec,u=ed({collapseWhitespace:o,trim:a,normalizer:s});return Array.from(t.querySelectorAll("["+e+"]")).filter(t=>l(t.getAttribute(e),t,r,u))}function eM(e,t){return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o1){let e=a.map(e=>eA(null,e).message).join("\n\n");throw eA(t(r,...i)+"\n\nHere are the matching elements:\n\n"+e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",r)}return a[0]||null}}function eN(e,t){return en.getElementError("A better query is available, try this:\n"+e.toString()+"\n",t)}function ej(e){return(t,r,n,i)=>(function(e,t){let r=Error("STACK_TRACE_MESSAGE");return en.asyncWrapper(()=>(function(e,t){let{container:r=Q(),timeout:n=en.asyncUtilTimeout,showOriginalStackTrace:i=en.showOriginalStackTrace,stackTraceError:o,interval:a=50,onTimeout:s=e=>(e.message=en.getElementError(e.message,r).message,e),mutationObserverOptions:l={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if("function"!=typeof e)throw TypeError("Received `callback` arg must be a function");return new Promise(async(t,u)=>{let c,p,_;let d=!1,f="idle",m=setTimeout(function(){let e;c?(e=c,i||"TestingLibraryElementError"!==e.name||ew(e,o)):(e=Error("Timed out in waitFor."),i||ew(e,o)),y(s(e),null)},n),h=W();if(h){let{unstable_advanceTimersWrapper:e}=en;for(b();!d;){if(!W()){let e=Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");i||ew(e,o),u(e);return}if(await e(async()=>{jest.advanceTimersByTime(a)}),b(),d)break}}else{try{G(r)}catch(e){u(e);return}p=setInterval(g,a);let{MutationObserver:e}=H(r);(_=new e(g)).observe(r,l),b()}function y(e,r){d=!0,clearTimeout(m),h||(clearInterval(p),_.disconnect()),e?u(e):t(r)}function g(){if(!W())return b();{let e=Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return i||ew(e,o),u(e)}}function b(){if("pending"!==f)try{let t=function(e){try{return en._disableExpensiveErrorDiagnostics=!0,e()}finally{en._disableExpensiveErrorDiagnostics=!1}}(e);"function"==typeof(null==t?void 0:t.then)?(f="pending",t.then(e=>{f="resolved",y(null,e)},e=>{f="rejected",c=e})):y(null,t)}catch(e){c=e}}})})(e,{stackTraceError:r,...t}))})(()=>e(t,r,n),{container:t,...i})}let ek=(e,t,r)=>function(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;afunction(n){for(var i=arguments.length,o=Array(i>1?i-1:0),a=1;a{var t;return null==(t=eT(e,r))?void 0:t.toString()}))];if(1===e.length&&!t.endsWith(eT(s[0],r).queryName))throw eN(e[0],n)}return s};function eO(e,t,r){let n=ek(eM(e,t),e.name,"query"),i=function(t){for(var n=arguments.length,i=Array(n>1?n-1:0),o=1;o({node:e,textToMatch:ea(e)})).filter(e=>{let{textToMatch:t}=e;return null!==t});return u.filter(e=>{let{node:r,textToMatch:n}=e;return s(n,r,t,l)}).map(e=>{let{node:t}=e;return t})},eF=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,normalizer:s}=void 0===r?{}:r;G(e);let l=i?ep:ec,u=ed({collapseWhitespace:o,trim:a,normalizer:s}),c=Array.from(e.querySelectorAll("*")).filter(e=>es(e).length||e.hasAttribute("aria-labelledby")).reduce((r,i)=>{let o=el(e,i,{selector:n});o.filter(e=>!!e.formControl).forEach(e=>{l(e.content,e.formControl,t,u)&&e.formControl&&r.push(e.formControl)});let a=o.filter(e=>!!e.content).map(e=>e.content);return l(a.join(" "),i,t,u)&&r.push(i),a.length>1&&a.forEach((e,n)=>{l(e,i,t,u)&&r.push(i);let o=[...a];o.splice(n,1),o.length>1&&l(o.join(" "),i,t,u)&&r.push(i)}),r},[]).concat(eC("aria-label",e,t,{exact:i,normalizer:u}));return Array.from(new Set(c)).filter(e=>e.matches(n))},eL=function(e,t){for(var r=arguments.length,n=Array(r>2?r-2:0),i=2;i(function(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null})(e,t)).filter(e=>!!e);if(n.length)throw en.getElementError(n.map(e=>"Found a label with the text of: "+t+", however the element associated with this label (<"+e+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+e+" />, you can use aria-label or aria-labelledby instead.").join("\n\n"),e);throw en.getElementError("Found a label with the text of: "+t+', however no form control was found associated to that label. Make sure you\'re using the "for" attribute or "aria-labelledby" attribute correctly.',e)}throw en.getElementError("Unable to find a label with the text of: "+t,e)}return o},eR=(e,t)=>"Found multiple elements with the text of: "+t,ez=ek(eM(eF,eR),eF.name,"query"),eB=eM(eL,eR),eU=ej(eI(eL,eL.name,"findAll")),eq=ej(ek(eB,eL.name,"find")),eJ=eI(eL,eL.name,"getAll"),e$=ek(eB,eL.name,"get"),eK=eI(eF,eF.name,"queryAll"),eY=function(){for(var e=arguments.length,t=Array(e),r=0;r"Found multiple elements with the placeholder text of: "+t,(e,t)=>"Unable to find an element with the placeholder text of: "+t),eX=function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:a,ignore:s=en.defaultIgnore,normalizer:l}=void 0===r?{}:r;G(e);let u=i?ep:ec,c=ed({collapseWhitespace:o,trim:a,normalizer:l}),p=[];return"function"==typeof e.matches&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(e=>!s||!e.matches(s)).filter(e=>u(em(e),e,t,c))},e0=eI(eX,eX.name,"queryAll"),[e1,e2,e3,e4,e6]=eO(eX,(e,t)=>"Found multiple elements with the text: "+t,function(e,t,r){void 0===r&&(r={});let{collapseWhitespace:n,trim:i,normalizer:o,selector:a}=r,s=ed({collapseWhitespace:n,trim:i,normalizer:o}),l=s(t.toString()),u=l!==t.toString();return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+((null!=a?a:"*")!=="*"?", which matches selector '"+a+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."}),e5=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=void 0===r?{}:r;G(e);let s=n?ep:ec,l=ed({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("input,textarea,select")).filter(e=>{if("SELECT"!==e.tagName)return s(e.value,e,t,l);{let r=Array.from(e.options).filter(e=>e.selected);return r.some(e=>s(em(e),e,t,l))}})},e8=eI(e5,e5.name,"queryAll"),[e7,e9,te,tt,tr]=eO(e5,(e,t)=>"Found multiple elements with the display value: "+t+".",(e,t)=>"Unable to find an element with the display value: "+t+"."),tn=/^(img|input|area|.+-.+)$/i,ti=function(e,t,r){return void 0===r&&(r={}),G(e),eC("alt",e,t,r).filter(e=>tn.test(e.tagName))},to=eI(ti,ti.name,"queryAll"),[ta,ts,tl,tu,tc]=eO(ti,(e,t)=>"Found multiple elements with the alt text: "+t,(e,t)=>"Unable to find an element with the alt text: "+t),tp=e=>{var t;return"title"===e.tagName.toLowerCase()&&(null==(t=e.parentElement)?void 0:t.tagName.toLowerCase())==="svg"},t_=function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:a}=void 0===r?{}:r;G(e);let s=n?ep:ec,l=ed({collapseWhitespace:i,trim:o,normalizer:a});return Array.from(e.querySelectorAll("[title], svg > title")).filter(e=>s(e.getAttribute("title"),e,t,l)||tp(e)&&s(em(e),e,t,l))},td=eI(t_,t_.name,"queryAll"),[tf,tm,th,ty,tg]=eO(t_,(e,t)=>"Found multiple elements with the title: "+t+".",(e,t)=>"Unable to find an element with the title: "+t+"."),tb=function(e,t,r){var n,i,o,a,s,l,u,c,p,_;let{hidden:d=en.defaultHidden,name:f,description:m,queryFallbacks:h=!1,selected:y,busy:g,checked:b,pressed:v,current:x,level:D,expanded:S,value:{now:E,min:T,max:w,text:A}={}}=void 0===r?{}:r;if(G(e),void 0!==y&&(null==(n=j.uJ.get(t))?void 0:n.props["aria-selected"])===void 0)throw Error('"aria-selected" is not supported on role "'+t+'".');if(void 0!==g&&(null==(i=j.uJ.get(t))?void 0:i.props["aria-busy"])===void 0)throw Error('"aria-busy" is not supported on role "'+t+'".');if(void 0!==b&&(null==(o=j.uJ.get(t))?void 0:o.props["aria-checked"])===void 0)throw Error('"aria-checked" is not supported on role "'+t+'".');if(void 0!==v&&(null==(a=j.uJ.get(t))?void 0:a.props["aria-pressed"])===void 0)throw Error('"aria-pressed" is not supported on role "'+t+'".');if(void 0!==x&&(null==(s=j.uJ.get(t))?void 0:s.props["aria-current"])===void 0)throw Error('"aria-current" is not supported on role "'+t+'".');if(void 0!==D&&"heading"!==t)throw Error('Role "'+t+'" cannot have "level" property.');if(void 0!==E&&(null==(l=j.uJ.get(t))?void 0:l.props["aria-valuenow"])===void 0)throw Error('"aria-valuenow" is not supported on role "'+t+'".');if(void 0!==w&&(null==(u=j.uJ.get(t))?void 0:u.props["aria-valuemax"])===void 0)throw Error('"aria-valuemax" is not supported on role "'+t+'".');if(void 0!==T&&(null==(c=j.uJ.get(t))?void 0:c.props["aria-valuemin"])===void 0)throw Error('"aria-valuemin" is not supported on role "'+t+'".');if(void 0!==A&&(null==(p=j.uJ.get(t))?void 0:p.props["aria-valuetext"])===void 0)throw Error('"aria-valuetext" is not supported on role "'+t+'".');if(void 0!==S&&(null==(_=j.uJ.get(t))?void 0:_.props["aria-expanded"])===void 0)throw Error('"aria-expanded" is not supported on role "'+t+'".');let C=new WeakMap;function k(e){return C.has(e)||C.set(e,ey(e)),C.get(e)}return Array.from(e.querySelectorAll(function(e){var t;let r='*[role~="'+e+'"]',n=null!=(t=j.UN.get(e))?t:new Set,i=new Set(Array.from(n).map(e=>{let{name:t}=e;return t}));return[r].concat(Array.from(i)).join(",")}(t))).filter(e=>{let r=e.hasAttribute("role");if(r){let r=e.getAttribute("role");if(h)return r.split(" ").filter(Boolean).some(e=>e===t);let[n]=r.split(" ");return n===t}let n=eb(e);return n.some(e=>e===t)}).filter(e=>{var t,r,n;if(void 0!==y)return y===("OPTION"===e.tagName?e.selected:ev(e,"aria-selected"));if(void 0!==g)return g===("true"===e.getAttribute("aria-busy"));if(void 0!==b)return b===("indeterminate"in e&&e.indeterminate?void 0:"checked"in e?e.checked:ev(e,"aria-checked"));if(void 0!==v)return v===ev(e,"aria-pressed");if(void 0!==x)return x===(null!=(t=null!=(r=ev(e,"aria-current"))?r:e.getAttribute("aria-current"))&&t);if(void 0!==S)return S===ev(e,"aria-expanded");if(void 0!==D)return D===function(e){let t=e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"));return t||({H1:1,H2:2,H3:3,H4:4,H5:5,H6:6})[e.tagName]}(e);if(void 0!==E||void 0!==w||void 0!==T||void 0!==A){let t=!0;return void 0!==E&&t&&(t=E===function(e){let t=e.getAttribute("aria-valuenow");return null===t?void 0:+t}(e)),void 0!==w&&t&&(t=w===function(e){let t=e.getAttribute("aria-valuemax");return null===t?void 0:+t}(e)),void 0!==T&&t&&(t=T===function(e){let t=e.getAttribute("aria-valuemin");return null===t?void 0:+t}(e)),void 0!==A&&t&&(t=ep(null!=(n=function(e){let t=e.getAttribute("aria-valuetext");return null===t?void 0:t}(e))?n:null,e,A,e=>e)),t}return!0}).filter(e=>void 0===f||ep(N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements}),e,f,e=>e)).filter(e=>void 0===m||ep(M(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements}),e,m,e=>e)).filter(e=>!1!==d||!1===eg(e,{isSubtreeInaccessible:k}))},tv=e=>void 0===e?"":"string"==typeof e?' and name "'+e+'"':" and name `"+e+"`",tx=eI(tb,tb.name,"queryAll"),[tD,tS,tE,tT,tw]=eO(tb,function(e,t,r){let{name:n}=void 0===r?{}:r;return'Found multiple elements with the role "'+t+'"'+tv(n)},function(e,t,r){let n,{hidden:i=en.defaultHidden,name:o,description:a}=void 0===r?{}:r;if(en._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+tv(o);let s="";return Array.from(e.children).forEach(e=>{s+=function(e,t){let{hidden:r,includeDescription:n}=t,i=function(e,t){let{hidden:r=!1}=void 0===t?{}:t;return(function e(t){return[t,...Array.from(t.children).reduce((t,r)=>[...t,...e(r)],[])]})(e).filter(e=>!1!==r||!1===eg(e)).reduce((e,t)=>(t.hasAttribute("role")?t.getAttribute("role").split(" ").slice(0,1):eb(t)).reduce((e,r)=>Array.isArray(e[r])?{...e,[r]:[...e[r],t]}:{...e,[r]:[t]},e),{})}(e,{hidden:r});return Object.entries(i).filter(e=>{let[t]=e;return"generic"!==t}).map(e=>{let[t,r]=e,i="-".repeat(50),o=r.map(e=>{let t='Name "'+N(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})+'":\n',r=et(e.cloneNode(!1));if(n){let n='Description "'+M(e,{computedStyleSupportsPseudoElements:en.computedStyleSupportsPseudoElements})+'":\n';return""+t+n+r}return""+t+r}).join("\n\n");return t+":\n\n"+o+"\n\n"+i}).join("\n")}(e,{hidden:i,includeDescription:void 0!==a})}),n=0===s.length?!1===i?"There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":"There are no available roles.":("\nHere are the "+(!1===i?"accessible":"available")+" roles:\n\n "+s.replace(/\n/g,"\n ").replace(/\n\s\s\n/g,"\n\n")+"\n").trim(),("\nUnable to find an "+(!1===i?"accessible ":"")+'element with the role "'+t+'"'+(void 0===o?"":"string"==typeof o?' and name "'+o+'"':" and name `"+o+"`")+(void 0===a?"":"string"==typeof a?' and description "'+a+'"':" and description `"+a+"`")+"\n\n"+n).trim()}),tA=()=>en.testIdAttribute,tC=function(){for(var e=arguments.length,t=Array(e),r=0;r"Found multiple elements by: ["+tA()+'="'+t+'"]',(e,t)=>"Unable to find an element by: ["+tA()+'="'+t+'"]');var tP=Object.freeze({__proto__:null,queryAllByLabelText:eK,queryByLabelText:ez,getAllByLabelText:eJ,getByLabelText:e$,findAllByLabelText:eU,findByLabelText:eq,queryByPlaceholderText:eW,queryAllByPlaceholderText:eV,getByPlaceholderText:eH,getAllByPlaceholderText:eQ,findAllByPlaceholderText:eG,findByPlaceholderText:eZ,queryByText:e1,queryAllByText:e0,getByText:e3,getAllByText:e2,findAllByText:e4,findByText:e6,queryByDisplayValue:e7,queryAllByDisplayValue:e8,getByDisplayValue:te,getAllByDisplayValue:e9,findAllByDisplayValue:tt,findByDisplayValue:tr,queryByAltText:ta,queryAllByAltText:to,getByAltText:tl,getAllByAltText:ts,findAllByAltText:tu,findByAltText:tc,queryByTitle:tf,queryAllByTitle:td,getByTitle:th,getAllByTitle:tm,findAllByTitle:ty,findByTitle:tg,queryByRole:tD,queryAllByRole:tx,getAllByRole:tS,getByRole:tE,findAllByRole:tT,findByRole:tw,queryByTestId:tN,queryAllByTestId:tM,getByTestId:tk,getAllByTestId:tj,findAllByTestId:tI,findByTestId:tO});let tF={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}}},tL={doubleClick:"dblClick"};function tR(e,t){return en.eventWrapper(()=>{if(!t)throw Error("Unable to fire an event - please provide an event object.");if(!e)throw Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function tz(e,t,r,n){let i,{EventType:o="Event",defaultInit:a={}}=void 0===n?{}:n;if(!t)throw Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...a,...r},{target:{value:l,files:u,...c}={}}=s;void 0!==l&&function(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw Error("The given element does not have a value setter")}(t,l),void 0!==u&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=H(t),_=p[o]||p.Event;if("function"==typeof _)i=new _(e,s);else{i=p.document.createEvent(o);let{bubbles:t,cancelable:r,detail:n,...a}=s;i.initEvent(e,t,r,n),Object.keys(a).forEach(e=>{i[e]=a[e]})}return["dataTransfer","clipboardData"].forEach(e=>{let t=s[e];"object"==typeof t&&("function"==typeof p.DataTransfer?Object.defineProperty(i,e,{value:Object.getOwnPropertyNames(t).reduce((e,r)=>(Object.defineProperty(e,r,{value:t[r]}),e),new p.DataTransfer)}):Object.defineProperty(i,e,{value:t}))}),i}Object.keys(tF).forEach(e=>{let{EventType:t,defaultInit:r}=tF[e],n=e.toLowerCase();tz[e]=(e,i)=>tz(n,e,i,{EventType:t,defaultInit:r}),tR[e]=(t,r)=>tR(t,tz[e](t,r))}),Object.keys(tL).forEach(e=>{let t=tL[e];tR[e]=function(){return tR[t](...arguments)}});let tB={debug:(e,t,r)=>Array.isArray(e)?e.forEach(e=>er(e,t,r)):er(e,t,r),logTestingPlaygroundURL:function(e){var t;if(void 0===e&&(e=Q().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let r="https://testing-playground.com/#markup="+(t=e.innerHTML,I().compressToEncodedURIComponent(t.replace(/[ \t]*[\n][ \t]*/g,"\n")));return console.log("Open this URL in your browser\n\n"+r),r}};"undefined"!=typeof document&&document.body?function(e,t,r){return void 0===t&&(t=tP),void 0===r&&(r={}),Object.keys(t).reduce((r,n)=>{let i=t[n];return r[n]=i.bind(null,e),r},r)}(document.body,tP,tB):Object.keys(tP).reduce((e,t)=>(e[t]=()=>{throw TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),tB)},15:(e,t,r)=>{"use strict";e=r.nmd(e);let n=(e=0)=>t=>`\u001B[${38+e};5;${t}m`,i=(e=0)=>(t,r,n)=>`\u001B[${38+e};2;${t};${r};${n}m`;Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",t.color.ansi256=n(),t.color.ansi16m=i(),t.bgColor.ansi256=n(10),t.bgColor.ansi16m=i(10),Object.defineProperties(t,{rgbToAnsi256:{value:(e,t,r)=>e===t&&t===r?e<8?16:e>248?231:Math.round((e-8)/247*24)+232:16+36*Math.round(e/255*5)+6*Math.round(t/255*5)+Math.round(r/255*5),enumerable:!1},hexToRgb:{value:e=>{let t=/(?[a-f\d]{6}|[a-f\d]{3})/i.exec(e.toString(16));if(!t)return[0,0,0];let{colorString:r}=t.groups;3===r.length&&(r=r.split("").map(e=>e+e).join(""));let n=Number.parseInt(r,16);return[n>>16&255,n>>8&255,255&n]},enumerable:!1},hexToAnsi256:{value:e=>t.rgbToAnsi256(...t.hexToRgb(e)),enumerable:!1}}),t}})},1041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printIteratorEntries=function(e,t,r,n,i,o,a=": "){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;){let r=o(l.value[0],t,u,n,i),c=o(l.value[1],t,u,n,i);s+=u+r+a+c,(l=e.next()).done?t.min||(s+=","):s+=","+t.spacingInner}s+=t.spacingOuter+r}return s},t.printIteratorValues=function(e,t,r,n,i,o){let a="",s=e.next();if(!s.done){a+=t.spacingOuter;let l=r+t.indent;for(;!s.done;)a+=l+o(s.value,t,l,n,i),(s=e.next()).done?t.min||(a+=","):a+=","+t.spacingInner;a+=t.spacingOuter+r}return a},t.printListItems=function(e,t,r,n,i,o){let a="";if(e.length){a+=t.spacingOuter;let s=r+t.indent;for(let r=0;r{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(t=>{Object.getOwnPropertyDescriptor(e,t).enumerable&&r.push(t)}),r}},910:(e,t,r)=>{"use strict";t.WU=function(e,t){if(t&&(function(e){if(Object.keys(e).forEach(e=>{if(!k.hasOwnProperty(e))throw Error(`pretty-format: Unknown option "${e}".`)}),e.min&&void 0!==e.indent&&0!==e.indent)throw Error('pretty-format: Options "min" and "indent" cannot be used together.');if(void 0!==e.theme){if(null===e.theme)throw Error('pretty-format: Option "theme" must not be null.');if("object"!=typeof e.theme)throw Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}(t),t.plugins)){let r=C(t.plugins,e);if(null!==r)return A(r,e,R(t),"",0,[])}let r=T(e,P(t),F(t),L(t));return null!==r?r:w(e,R(t),"",0,[])},t.plugins=void 0;var n=_(r(15)),i=r(1041),o=_(r(5929)),a=_(r(453)),s=_(r(8276)),l=_(r(275)),u=_(r(5756)),c=_(r(7981)),p=_(r(2651));function _(e){return e&&e.__esModule?e:{default:e}}let d=Object.prototype.toString,f=Date.prototype.toISOString,m=Error.prototype.toString,h=RegExp.prototype.toString,y=e=>"function"==typeof e.constructor&&e.constructor.name||"Object",g=e=>"undefined"!=typeof window&&e===window,b=/^Symbol\((.*)\)(.*)$/,v=/\n/gi;class x extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}}function D(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function S(e){return String(e).replace(b,"Symbol($1)")}function E(e){return"["+m.call(e)+"]"}function T(e,t,r,n){if(!0===e||!1===e)return""+e;if(void 0===e)return"undefined";if(null===e)return"null";let i=typeof e;if("number"===i)return Object.is(e,-0)?"-0":String(e);if("bigint"===i)return String(`${e}n`);if("string"===i)return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if("function"===i)return D(e,t);if("symbol"===i)return S(e);let o=d.call(e);return"[object WeakMap]"===o?"WeakMap {}":"[object WeakSet]"===o?"WeakSet {}":"[object Function]"===o||"[object GeneratorFunction]"===o?D(e,t):"[object Symbol]"===o?S(e):"[object Date]"===o?isNaN(+e)?"Date { NaN }":f.call(e):"[object Error]"===o?E(e):"[object RegExp]"===o?r?h.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):h.call(e):e instanceof Error?E(e):null}function w(e,t,r,n,o,a){if(-1!==o.indexOf(e))return"[Circular]";(o=o.slice()).push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&"function"==typeof e.toJSON&&!a)return M(e.toJSON(),t,r,n,o,!0);let u=d.call(e);return"[object Arguments]"===u?s?"[Arguments]":(l?"":"Arguments ")+"["+(0,i.printListItems)(e,t,r,n,o,M)+"]":"[object Array]"===u||"[object ArrayBuffer]"===u||"[object DataView]"===u||"[object Float32Array]"===u||"[object Float64Array]"===u||"[object Int8Array]"===u||"[object Int16Array]"===u||"[object Int32Array]"===u||"[object Uint8Array]"===u||"[object Uint8ClampedArray]"===u||"[object Uint16Array]"===u||"[object Uint32Array]"===u?s?"["+e.constructor.name+"]":(l?"":t.printBasicPrototype||"Array"!==e.constructor.name?e.constructor.name+" ":"")+"["+(0,i.printListItems)(e,t,r,n,o,M)+"]":"[object Map]"===u?s?"[Map]":"Map {"+(0,i.printIteratorEntries)(e.entries(),t,r,n,o,M," => ")+"}":"[object Set]"===u?s?"[Set]":"Set {"+(0,i.printIteratorValues)(e.values(),t,r,n,o,M)+"}":s||g(e)?"["+y(e)+"]":(l?"":t.printBasicPrototype||"Object"!==y(e)?y(e)+" ":"")+"{"+(0,i.printObjectProperties)(e,t,r,n,o,M)+"}"}function A(e,t,r,n,i,o){let a;try{a=null!=e.serialize?e.serialize(t,r,n,i,o,M):e.print(t,e=>M(e,r,n,i,o),e=>{let t=n+r.indent;return t+e.replace(v,"\n"+t)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(e){throw new x(e.message,e.stack)}if("string"!=typeof a)throw Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof a}".`);return a}function C(e,t){for(let r=0;rj.reduce((t,r)=>{let i=e.theme&&void 0!==e.theme[r]?e.theme[r]:N[r],o=i&&n.default[i];if(o&&"string"==typeof o.close&&"string"==typeof o.open)t[r]=o;else throw Error(`pretty-format: Option "theme" has a key "${r}" whose value "${i}" is undefined in ansi-styles.`);return t},Object.create(null)),O=()=>j.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),P=e=>e&&void 0!==e.printFunctionName?e.printFunctionName:k.printFunctionName,F=e=>e&&void 0!==e.escapeRegex?e.escapeRegex:k.escapeRegex,L=e=>e&&void 0!==e.escapeString?e.escapeString:k.escapeString,R=e=>{var t;return{callToJSON:e&&void 0!==e.callToJSON?e.callToJSON:k.callToJSON,colors:e&&e.highlight?I(e):O(),compareKeys:e&&"function"==typeof e.compareKeys?e.compareKeys:k.compareKeys,escapeRegex:F(e),escapeString:L(e),indent:e&&e.min?"":Array((e&&void 0!==e.indent?e.indent:k.indent)+1).join(" "),maxDepth:e&&void 0!==e.maxDepth?e.maxDepth:k.maxDepth,min:e&&void 0!==e.min?e.min:k.min,plugins:e&&void 0!==e.plugins?e.plugins:k.plugins,printBasicPrototype:null===(t=null==e?void 0:e.printBasicPrototype)||void 0===t||t,printFunctionName:P(e),spacingInner:e&&e.min?" ":"\n",spacingOuter:e&&e.min?"":"\n"}},z={AsymmetricMatcher:o.default,ConvertAnsi:a.default,DOMCollection:s.default,DOMElement:l.default,Immutable:u.default,ReactElement:c.default,ReactTestComponent:p.default};t.plugins=z},5929:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041),i="undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),o=i["jest-symbol-do-not-touch"]||i.Symbol;let a="function"==typeof o&&o.for?o.for("jest.asymmetricMatcher"):1267621,s=(e,t,r,i,o,a)=>{let s=e.toString();return"ArrayContaining"===s||"ArrayNotContaining"===s?++i>t.maxDepth?"["+s+"]":s+" ["+(0,n.printListItems)(e.sample,t,r,i,o,a)+"]":"ObjectContaining"===s||"ObjectNotContaining"===s?++i>t.maxDepth?"["+s+"]":s+" {"+(0,n.printObjectProperties)(e.sample,t,r,i,o,a)+"}":"StringMatching"===s||"StringNotMatching"===s||"StringContaining"===s||"StringNotContaining"===s?s+" "+a(e.sample,t,r,i,o):e.toAsymmetricMatcher()};t.serialize=s;let l=e=>e&&e.$$typeof===a;t.test=l,t.default={serialize:s,test:l}},453:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=o(r(9937)),i=o(r(15));function o(e){return e&&e.__esModule?e:{default:e}}let a=e=>e.replace((0,n.default)(),e=>{switch(e){case i.default.red.close:case i.default.green.close:case i.default.cyan.close:case i.default.gray.close:case i.default.white.close:case i.default.yellow.close:case i.default.bgRed.close:case i.default.bgGreen.close:case i.default.bgYellow.close:case i.default.inverse.close:case i.default.dim.close:case i.default.bold.close:case i.default.reset.open:case i.default.reset.close:return"";case i.default.red.open:return"";case i.default.green.open:return"";case i.default.cyan.open:return"";case i.default.gray.open:return"";case i.default.white.open:return"";case i.default.yellow.open:return"";case i.default.bgRed.open:return"";case i.default.bgGreen.open:return"";case i.default.bgYellow.open:return"";case i.default.inverse.open:return"";case i.default.dim.open:return"";case i.default.bold.open:return"";default:return""}}),s=e=>"string"==typeof e&&!!e.match((0,n.default)());t.test=s;let l=(e,t,r,n,i,o)=>o(a(e),t,r,n,i);t.serialize=l,t.default={serialize:l,test:s}},8276:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041);let i=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,a=e=>-1!==i.indexOf(e)||o.test(e),s=e=>e&&e.constructor&&!!e.constructor.name&&a(e.constructor.name);t.test=s;let l=e=>"NamedNodeMap"===e.constructor.name,u=(e,t,r,o,a,s)=>{let u=e.constructor.name;return++o>t.maxDepth?"["+u+"]":(t.min?"":u+" ")+(-1!==i.indexOf(u)?"{"+(0,n.printObjectProperties)(l(e)?Array.from(e).reduce((e,t)=>(e[t.name]=t.value,e),{}):{...e},t,r,o,a,s)+"}":"["+(0,n.printListItems)(Array.from(e),t,r,o,a,s)+"]")};t.serialize=u,t.default={serialize:u,test:s}},275:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(3250);let i=/^((HTML|SVG)\w*)?Element$/,o=e=>{try{return"function"==typeof e.hasAttribute&&e.hasAttribute("is")}catch{return!1}},a=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,a="string"==typeof n&&n.includes("-")||o(e);return 1===r&&(i.test(t)||a)||3===r&&"Text"===t||8===r&&"Comment"===t||11===r&&"DocumentFragment"===t},s=e=>{var t;return(null==e?void 0:null===(t=e.constructor)||void 0===t?void 0:t.name)&&a(e)};function l(e){return 11===e.nodeType}t.test=s;let u=(e,t,r,i,o,a)=>{if(3===e.nodeType)return(0,n.printText)(e.data,t);if(8===e.nodeType)return(0,n.printComment)(e.data,t);let s=l(e)?"DocumentFragment":e.tagName.toLowerCase();return++i>t.maxDepth?(0,n.printElementAsLeaf)(s,t):(0,n.printElement)(s,(0,n.printProps)(l(e)?[]:Array.from(e.attributes).map(e=>e.name).sort(),l(e)?{}:Array.from(e.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}),t,r+t.indent,i,o,a),(0,n.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,i,o,a),t,r)};t.serialize=u,t.default={serialize:u,test:s}},5756:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(1041);let i="@@__IMMUTABLE_ORDERED__@@",o=e=>"Immutable."+e,a=e=>"["+e+"]",s=(e,t,r,i,s,l,u)=>++i>t.maxDepth?a(o(u)):o(u)+" {"+(0,n.printIteratorEntries)(e.entries(),t,r,i,s,l)+"}",l=(e,t,r,i,s,l)=>{let u=o(e._name||"Record");return++i>t.maxDepth?a(u):u+" {"+(0,n.printIteratorEntries)(function(e){let t=0;return{next(){if(t{let u=o("Seq");return++i>t.maxDepth?a(u):e["@@__IMMUTABLE_KEYED__@@"]?u+" {"+(e._iter||e._object?(0,n.printIteratorEntries)(e.entries(),t,r,i,s,l):"…")+"}":u+" ["+(e._iter||e._array||e._collection||e._iterable?(0,n.printIteratorValues)(e.values(),t,r,i,s,l):"…")+"]"},c=(e,t,r,i,s,l,u)=>++i>t.maxDepth?a(o(u)):o(u)+" ["+(0,n.printIteratorValues)(e.values(),t,r,i,s,l)+"]",p=(e,t,r,n,o,a)=>e["@@__IMMUTABLE_MAP__@@"]?s(e,t,r,n,o,a,e[i]?"OrderedMap":"Map"):e["@@__IMMUTABLE_LIST__@@"]?c(e,t,r,n,o,a,"List"):e["@@__IMMUTABLE_SET__@@"]?c(e,t,r,n,o,a,e[i]?"OrderedSet":"Set"):e["@@__IMMUTABLE_STACK__@@"]?c(e,t,r,n,o,a,"Stack"):e["@@__IMMUTABLE_SEQ__@@"]?u(e,t,r,n,o,a):l(e,t,r,n,o,a);t.serialize=p;let _=e=>e&&(!0===e["@@__IMMUTABLE_ITERABLE__@@"]||!0===e["@@__IMMUTABLE_RECORD__@@"]);t.test=_,t.default={serialize:p,test:_}},7981:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=o(t);if(r&&r.has(e))return r.get(e);var n={},i=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var s=i?Object.getOwnPropertyDescriptor(e,a):null;s&&(s.get||s.set)?Object.defineProperty(n,a,s):n[a]=e[a]}return n.default=e,r&&r.set(e,n),n}(r(4650)),i=r(3250);function o(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(o=function(e){return e?r:t})(e)}let a=(e,t=[])=>(Array.isArray(e)?e.forEach(e=>{a(e,t)}):null!=e&&!1!==e&&t.push(e),t),s=e=>{let t=e.type;if("string"==typeof t)return t;if("function"==typeof t)return t.displayName||t.name||"Unknown";if(n.isFragment(e))return"React.Fragment";if(n.isSuspense(e))return"React.Suspense";if("object"==typeof t&&null!==t){if(n.isContextProvider(e))return"Context.Provider";if(n.isContextConsumer(e))return"Context.Consumer";if(n.isForwardRef(e)){if(t.displayName)return t.displayName;let e=t.render.displayName||t.render.name||"";return""!==e?"ForwardRef("+e+")":"ForwardRef"}if(n.isMemo(e)){let e=t.displayName||t.type.displayName||t.type.name||"";return""!==e?"Memo("+e+")":"Memo"}}return"UNDEFINED"},l=e=>{let{props:t}=e;return Object.keys(t).filter(e=>"children"!==e&&void 0!==t[e]).sort()},u=(e,t,r,n,o,u)=>++n>t.maxDepth?(0,i.printElementAsLeaf)(s(e),t):(0,i.printElement)(s(e),(0,i.printProps)(l(e),e.props,t,r+t.indent,n,o,u),(0,i.printChildren)(a(e.props.children),t,r+t.indent,n,o,u),t,r);t.serialize=u;let c=e=>null!=e&&n.isElement(e);t.test=c,t.default={serialize:u,test:c}},2651:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.test=t.serialize=t.default=void 0;var n=r(3250),i="undefined"!=typeof globalThis?globalThis:void 0!==i?i:"undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")(),o=i["jest-symbol-do-not-touch"]||i.Symbol;let a="function"==typeof o&&o.for?o.for("react.test.json"):245830487,s=e=>{let{props:t}=e;return t?Object.keys(t).filter(e=>void 0!==t[e]).sort():[]},l=(e,t,r,i,o,a)=>++i>t.maxDepth?(0,n.printElementAsLeaf)(e.type,t):(0,n.printElement)(e.type,e.props?(0,n.printProps)(s(e),e.props,t,r+t.indent,i,o,a):"",e.children?(0,n.printChildren)(e.children,t,r+t.indent,i,o,a):"",t,r);t.serialize=l;let u=e=>e&&e.$$typeof===a;t.test=u,t.default={serialize:l,test:u}},2110:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(//g,">")}},3250:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.printText=t.printProps=t.printElementAsLeaf=t.printElement=t.printComment=t.printChildren=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(2110));t.printProps=(e,t,r,n,i,o,a)=>{let s=n+r.indent,l=r.colors;return e.map(e=>{let u=t[e],c=a(u,r,s,i,o);return"string"!=typeof u&&(-1!==c.indexOf("\n")&&(c=r.spacingOuter+s+c+r.spacingOuter+n),c="{"+c+"}"),r.spacingInner+n+l.prop.open+e+l.prop.close+"="+l.value.open+c+l.value.close}).join("")},t.printChildren=(e,t,r,n,o,a)=>e.map(e=>t.spacingOuter+r+("string"==typeof e?i(e,t):a(e,t,r,n,o))).join("");let i=(e,t)=>{let r=t.colors.content;return r.open+(0,n.default)(e)+r.close};t.printText=i,t.printComment=(e,t)=>{let r=t.colors.comment;return r.open+""+r.close},t.printElement=(e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+""+o.close},t.printElementAsLeaf=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close}},1313:(e,t)=>{"use strict";/** @license React v17.0.2 * react-is.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var r=60103,n=60106,i=60107,o=60108,a=60114,s=60109,l=60110,u=60112,c=60113,p=60120,_=60115,d=60116,f=60121,m=60122,h=60117,y=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),u=b("react.forward_ref"),c=b("react.suspense"),p=b("react.suspense_list"),_=b("react.memo"),d=b("react.lazy"),f=b("react.block"),m=b("react.server.block"),h=b("react.fundamental"),y=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case c:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case d:case _:case s:return e;default:return t}}case n:return t}}}var x=s,D=r,S=u,E=i,T=d,w=_,A=n,C=a,M=o,N=c;t.ContextConsumer=l,t.ContextProvider=x,t.Element=D,t.ForwardRef=S,t.Fragment=E,t.Lazy=T,t.Memo=w,t.Portal=A,t.Profiler=C,t.StrictMode=M,t.Suspense=N,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===d},t.isMemo=function(e){return v(e)===_},t.isPortal=function(e){return v(e)===n},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===o},t.isSuspense=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===y||e===o||e===c||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===_||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===f||e[0]===m)},t.typeOf=v},4650:(e,t,r)=>{"use strict";e.exports=r(1313)},9937:e=>{"use strict";e.exports=({onlyFirst:e=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")},9640:(e,t,r)=>{"use strict";let n;e=r.nmd(e);let i=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${n+t}m`},o=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};5;${n}m`},a=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},s=e=>e,l=(e,t,r)=>[e,t,r],u=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},c=(e,t,i,o)=>{void 0===n&&(n=r(841));let a=o?10:0,s={};for(let[r,o]of Object.entries(n)){let n="ansi16"===r?"ansi":r;r===t?s[n]=e(i,a):"object"==typeof o&&(s[n]=e(o[t],a))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",u(t.color,"ansi",()=>c(i,"ansi16",s,!1)),u(t.color,"ansi256",()=>c(o,"ansi256",s,!1)),u(t.color,"ansi16m",()=>c(a,"rgb",l,!1)),u(t.bgColor,"ansi",()=>c(i,"ansi16",s,!0)),u(t.bgColor,"ansi256",()=>c(o,"ansi256",s,!0)),u(t.bgColor,"ansi16m",()=>c(a,"rgb",l,!0)),t}})},5872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(7392));function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(s);try{for(n.s();!(t=n.n()).done;){var a=i(t.value,2),l=a[0],u=a[1];e.call(r,u,l,s)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=s.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!l.get(e)},keys:function(){return s.map(function(e){return i(e,1)[0]})},values:function(){return s.map(function(e){return i(e,2)[1]})}},u=(0,n.default)(l,l.entries());t.default=u},5096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(7392));function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(s);try{for(n.s();!(t=n.n()).done;){var a=i(t.value,2),l=a[0],u=a[1];e.call(r,u,l,s)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=s.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!l.get(e)},keys:function(){return s.map(function(e){return i(e,1)[0]})},values:function(){return s.map(function(e){return i(e,2)[1]})}},u=(0,n.default)(l,l.entries());t.default=u},9695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(3185)),i=a(r(7392)),o=a(r(9136));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(c);try{for(n.s();!(t=n.n()).done;){var i=s(t.value,2),o=i[0],a=i[1];e.call(r,a,o,c)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=c.find(function(t){return(0,n.default)(e,t[0])});return t&&t[1]},has:function(e){return!!b.get(e)},keys:function(){return c.map(function(e){return s(e,1)[0]})},values:function(){return c.map(function(e){return s(e,2)[1]})}},v=(0,i.default)(b,b.entries());t.default=v},6277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},3248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},7469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},8330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},8889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},9812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},7192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},7041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]}},5059:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},3299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},4845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},8854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=m(r(6277)),i=m(r(3248)),o=m(r(7469)),a=m(r(8330)),s=m(r(8889)),l=m(r(9812)),u=m(r(7192)),c=m(r(5518)),p=m(r(7041)),_=m(r(5059)),d=m(r(3299)),f=m(r(4845));function m(e){return e&&e.__esModule?e:{default:e}}var h=[["command",n.default],["composite",i.default],["input",o.default],["landmark",a.default],["range",s.default],["roletype",l.default],["section",u.default],["sectionhead",c.default],["select",p.default],["structure",_.default],["widget",d.default],["window",f.default]];t.default=h},5719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=q(r(9130)),i=q(r(4841)),o=q(r(6439)),a=q(r(620)),s=q(r(8967)),l=q(r(5806)),u=q(r(3015)),c=q(r(1956)),p=q(r(7440)),_=q(r(9029)),d=q(r(2688)),f=q(r(5763)),m=q(r(6256)),h=q(r(9031)),y=q(r(1999)),g=q(r(2890)),b=q(r(4209)),v=q(r(6865)),x=q(r(7825)),D=q(r(1352)),S=q(r(1340)),E=q(r(9493)),T=q(r(2012)),w=q(r(8926)),A=q(r(3888)),C=q(r(6463)),M=q(r(9741)),N=q(r(4546)),j=q(r(1453)),k=q(r(1609)),I=q(r(5241)),O=q(r(8745)),P=q(r(3789)),F=q(r(4399)),L=q(r(4519)),R=q(r(5146)),z=q(r(4121)),B=q(r(413)),U=q(r(2492));function q(e){return e&&e.__esModule?e:{default:e}}var J=[["doc-abstract",n.default],["doc-acknowledgments",i.default],["doc-afterword",o.default],["doc-appendix",a.default],["doc-backlink",s.default],["doc-biblioentry",l.default],["doc-bibliography",u.default],["doc-biblioref",c.default],["doc-chapter",p.default],["doc-colophon",_.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",m.default],["doc-credits",h.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",x.default],["doc-errata",D.default],["doc-example",S.default],["doc-footnote",E.default],["doc-foreword",T.default],["doc-glossary",w.default],["doc-glossref",A.default],["doc-index",C.default],["doc-introduction",M.default],["doc-noteref",N.default],["doc-notice",j.default],["doc-pagebreak",k.default],["doc-pagelist",I.default],["doc-part",O.default],["doc-preface",P.default],["doc-prologue",F.default],["doc-pullquote",L.default],["doc-qna",R.default],["doc-subtitle",z.default],["doc-tip",B.default],["doc-toc",U.default]];t.default=J},4635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(818)),i=a(r(989)),o=a(r(2217));function a(e){return e&&e.__esModule?e:{default:e}}var s=[["graphics-document",n.default],["graphics-object",i.default],["graphics-symbol",o.default]];t.default=s},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=ej(r(2076)),i=ej(r(6308)),o=ej(r(2480)),a=ej(r(7645)),s=ej(r(2941)),l=ej(r(7217)),u=ej(r(6045)),c=ej(r(7690)),p=ej(r(3822)),_=ej(r(7621)),d=ej(r(6802)),f=ej(r(9856)),m=ej(r(9078)),h=ej(r(1062)),y=ej(r(9145)),g=ej(r(7619)),b=ej(r(68)),v=ej(r(575)),x=ej(r(3285)),D=ej(r(5046)),S=ej(r(4846)),E=ej(r(4900)),T=ej(r(4982)),w=ej(r(5058)),A=ej(r(7466)),C=ej(r(1083)),M=ej(r(6902)),N=ej(r(6458)),j=ej(r(1538)),k=ej(r(3993)),I=ej(r(1660)),O=ej(r(7362)),P=ej(r(9645)),F=ej(r(7801)),L=ej(r(4934)),R=ej(r(7178)),z=ej(r(467)),B=ej(r(7582)),U=ej(r(6403)),q=ej(r(1683)),J=ej(r(6838)),$=ej(r(4872)),K=ej(r(9291)),Y=ej(r(1236)),V=ej(r(246)),W=ej(r(4544)),Q=ej(r(9271)),H=ej(r(4755)),G=ej(r(2089)),Z=ej(r(4698)),X=ej(r(3987)),ee=ej(r(2667)),et=ej(r(1294)),er=ej(r(1858)),en=ej(r(9714)),ei=ej(r(8549)),eo=ej(r(7928)),ea=ej(r(8417)),es=ej(r(3832)),el=ej(r(9102)),eu=ej(r(7762)),ec=ej(r(5456)),ep=ej(r(5182)),e_=ej(r(2632)),ed=ej(r(4020)),ef=ej(r(2367)),em=ej(r(6217)),eh=ej(r(4304)),ey=ej(r(1585)),eg=ej(r(6682)),eb=ej(r(160)),ev=ej(r(5528)),ex=ej(r(8913)),eD=ej(r(8950)),eS=ej(r(1608)),eE=ej(r(1455)),eT=ej(r(1450)),ew=ej(r(596)),eA=ej(r(9974)),eC=ej(r(7010)),eM=ej(r(8464)),eN=ej(r(7327));function ej(e){return e&&e.__esModule?e:{default:e}}var ek=[["alert",n.default],["alertdialog",i.default],["application",o.default],["article",a.default],["banner",s.default],["blockquote",l.default],["button",u.default],["caption",c.default],["cell",p.default],["checkbox",_.default],["code",d.default],["columnheader",f.default],["combobox",m.default],["complementary",h.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",x.default],["document",D.default],["emphasis",S.default],["feed",E.default],["figure",T.default],["form",w.default],["generic",A.default],["grid",C.default],["gridcell",M.default],["group",N.default],["heading",j.default],["img",k.default],["insertion",I.default],["link",O.default],["list",P.default],["listbox",F.default],["listitem",L.default],["log",R.default],["main",z.default],["marquee",B.default],["math",U.default],["menu",q.default],["menubar",J.default],["menuitem",$.default],["menuitemcheckbox",K.default],["menuitemradio",Y.default],["meter",V.default],["navigation",W.default],["none",Q.default],["note",H.default],["option",G.default],["paragraph",Z.default],["presentation",X.default],["progressbar",ee.default],["radio",et.default],["radiogroup",er.default],["region",en.default],["row",ei.default],["rowgroup",eo.default],["rowheader",ea.default],["scrollbar",es.default],["search",el.default],["searchbox",eu.default],["separator",ec.default],["slider",ep.default],["spinbutton",e_.default],["status",ed.default],["strong",ef.default],["subscript",em.default],["superscript",eh.default],["switch",ey.default],["tab",eg.default],["table",eb.default],["tablist",ev.default],["tabpanel",ex.default],["term",eD.default],["textbox",eS.default],["time",eE.default],["timer",eT.default],["toolbar",ew.default],["tooltip",eA.default],["tree",eC.default],["treegrid",eM.default],["treeitem",eN.default]];t.default=ek},9130:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},6439:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},5806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},3015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},7440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},5763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},6256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},4209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},6865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},3888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},6463:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},9741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},1453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},1609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]}},5241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},8745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},3789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4519:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]}},5146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]}},413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},2492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},2217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},2076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]}},2480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},7645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},2941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},7690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},3822:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},6802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},9078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]}},1062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7619:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},68:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},575:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]}},3285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},5046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},4846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},4982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},5058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7466:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},1083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]}},6902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]}},6458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1538:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]}},3993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7362:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},9645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},7801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},4934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},467:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},6838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]}},4872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},9291:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]}},1236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]}},246:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]}},4544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},4755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]}},4698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},3987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},2667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]}},1294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},1858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},9714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8549:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]}},7928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]}},8417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},3832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]}},9102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]}},5456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]}},2632:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]}},4020:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]}},6682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]}},160:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},5528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]}},8913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},8950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]}},1455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1450:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]}},596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},9974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},8464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]}},7327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]}},1552:(e,t,r)=>{"use strict";t.uJ=t.UN=t.Qv=void 0;var n=l(r(5872)),i=l(r(5096)),o=l(r(9136)),a=l(r(9695)),s=l(r(2478));function l(e){return e&&e.__esModule?e:{default:e}}n.default,i.default;var u=o.default;t.uJ=u;var c=a.default;t.Qv=c;var p=s.default;t.UN=p},2478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(7392)),i=o(r(9136));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||s(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw o}}}}(u);try{for(n.s();!(t=n.n()).done;){var i=a(t.value,2),o=i[0],l=i[1];e.call(r,l,o,u)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=u.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!_.get(e)},keys:function(){return u.map(function(e){return a(e,1)[0]})},values:function(){return u.map(function(e){return a(e,2)[1]})}},d=(0,n.default)(_,_.entries());t.default=d},9136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(8854)),i=l(r(8995)),o=l(r(5719)),a=l(r(4635)),s=l(r(7392));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=p(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||p(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=u(d);try{for(n.s();!(t=n.n()).done;){var i=c(t.value,2),o=i[0],a=i[1];e.call(r,a,o,d)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=d.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!f.get(e)},keys:function(){return d.map(function(e){return c(e,1)[0]})},values:function(){return d.map(function(e){return c(e,2)[1]})}},m=(0,s.default)(f,f.entries());t.default=m},7392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"function"==typeof Symbol&&"symbol"===i(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:n.default.bind(t)}),e};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(9163));function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}},9163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(!(t{"use strict";var n,i,o=r(4406);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=r(7515).codes,l=s.ERR_AMBIGUOUS_ARGUMENT,u=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,p=s.ERR_INVALID_RETURN_VALUE,_=s.ERR_MISSING_ARGS,d=r(4082),f=r(3335).inspect,m=r(3335).types,h=m.isPromise,y=m.isRegExp,g=Object.assign?Object.assign:r(4956).assign,b=Object.is?Object.is:r(4679);function v(){var e=r(6796);n=e.isDeepEqual,i=e.isDeepStrictEqual}var x=!1,D=e.exports=w,S={};function E(e){if(e.message instanceof Error)throw e.message;throw new d(e)}function T(e,t,r,n){if(!r){var i=!1;if(0===t)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new d({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function w(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i{"use strict";var n=r(4406);function i(e,t){for(var r=0;re.length)&&(r=e.length),e.substring(r-t.length,r)===t}var m="",h="",y="",g="",b={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function v(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){r[t]=e[t]}),Object.defineProperty(r,"message",{value:e.message}),r}function x(e){return _(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var D=function(e){var t,r;function s(e){if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s),"object"!==p(e)||null===e)throw new d("options","Object",e);var t,r=e.message,i=e.operator,l=e.stackStartFn,u=e.actual,_=e.expected,D=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)t=o(this,c(s).call(this,String(r)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(m="\x1b[34m",h="\x1b[32m",g="\x1b[39m",y="\x1b[31m"):(m="",h="",g="",y="")),"object"===p(u)&&null!==u&&"object"===p(_)&&null!==_&&"stack"in u&&u instanceof Error&&"stack"in _&&_ instanceof Error&&(u=v(u),_=v(_)),"deepStrictEqual"===i||"strictEqual"===i)t=o(this,c(s).call(this,function(e,t,r){var i="",o="",a=0,s="",l=!1,u=x(e),c=u.split("\n"),_=x(t).split("\n"),d=0,v="";if("strictEqual"===r&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===c.length&&1===_.length&&c[0]!==_[0]){var D=c[0].length+_[0].length;if(D<=10){if(("object"!==p(e)||null===e)&&("object"!==p(t)||null===t)&&(0!==e||0!==t))return"".concat(b[r],"\n\n")+"".concat(c[0]," !== ").concat(_[0],"\n")}else if("strictEqualObject"!==r&&D<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;c[0][d]===_[0][d];)d++;d>2&&(v="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",d),"^"),d=0)}}for(var S=c[c.length-1],E=_[_.length-1];S===E&&(d++<2?s="\n ".concat(S).concat(s):i=S,c.pop(),_.pop(),0!==c.length&&0!==_.length);)S=c[c.length-1],E=_[_.length-1];var T=Math.max(c.length,_.length);if(0===T){var w=u.split("\n");if(w.length>30)for(w[26]="".concat(m,"...").concat(g);w.length>27;)w.pop();return"".concat(b.notIdentical,"\n\n").concat(w.join("\n"),"\n")}d>3&&(s="\n".concat(m,"...").concat(g).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var A=0,C=b[r]+"\n".concat(h,"+ actual").concat(g," ").concat(y,"- expected").concat(g),M=" ".concat(m,"...").concat(g," Lines skipped");for(d=0;d1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(_[d-2]),A++),o+="\n ".concat(_[d-1]),A++),a=d,i+="\n".concat(y,"-").concat(g," ").concat(_[d]),A++;else if(_.length1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(c[d]),A++;else{var j=_[d],k=c[d],I=k!==j&&(!f(k,",")||k.slice(0,-1)!==j);I&&f(j,",")&&j.slice(0,-1)===k&&(I=!1,k+=","),I?(N>1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(k),i+="\n".concat(y,"-").concat(g," ").concat(j),A+=2):(o+=i,i="",(1===N||0===d)&&(o+="\n ".concat(k),A++))}if(A>20&&d30)for(E[26]="".concat(m,"...").concat(g);E.length>27;)E.pop();t=1===E.length?o(this,c(s).call(this,"".concat(S," ").concat(E[0]))):o(this,c(s).call(this,"".concat(S,"\n\n").concat(E.join("\n"),"\n")))}else{var T=x(u),w="",A=b[i];"notDeepEqual"===i||"notEqual"===i?(T="".concat(b[i],"\n\n").concat(T)).length>1024&&(T="".concat(T.slice(0,1021),"...")):(w="".concat(x(_)),T.length>512&&(T="".concat(T.slice(0,509),"...")),w.length>512&&(w="".concat(w.slice(0,509),"...")),"deepEqual"===i||"equal"===i?T="".concat(A,"\n\n").concat(T,"\n\nshould equal\n\n"):w=" ".concat(i," ").concat(w)),t=o(this,c(s).call(this,"".concat(T).concat(w)))}return Error.stackTraceLimit=D,t.generatedMessage=!r,Object.defineProperty(a(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=u,t.expected=_,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(t),l),t.stack,t.name="AssertionError",o(t)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e),t=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_.custom,value:function(e,t){return _(this,function(e){for(var t=1;t{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a,s,l={};function u(e,t,r){r||(r=Error);var a=function(r){function a(r,o,s){var l,u;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a),(l=(u=i(a).call(this,"string"==typeof t?t:t(r,o,s)))&&("object"===n(u)||"function"==typeof u)?u:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)).code=e,l}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,r),a}(r);l[e]=a}function c(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(e,t,i){if((void 0===a&&(a=r(1696)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o))?(_="must not be",t=t.replace(/^not /,"")):_="must be",l=" argument",(void 0===u||u>e.length)&&(u=e.length),e.substring(u-l.length,u)===l)d="The ".concat(e," ").concat(_," ").concat(c(t,"type"));else{var o,s,l,u,p,_,d,f=("number"!=typeof p&&(p=0),p+1>e.length||-1===e.indexOf(".",p))?"argument":"property";d='The "'.concat(e,'" ').concat(f," ").concat(_," ").concat(c(t,"type"))}return d+". Received type ".concat(n(i))},TypeError),u("ERR_INVALID_ARG_VALUE",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(3335));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(i)},TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",function(e,t,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=Array(e),n=0;n0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", ")+", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),e.exports.codes=l},6796:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},s=function(e){var t=[];return e.forEach(function(e,r){return t.push([r,e])}),t},l=Object.is?Object.is:r(4679),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:r(4782);function p(e){return e.call.bind(e)}var _=p(Object.prototype.hasOwnProperty),d=p(Object.prototype.propertyIsEnumerable),f=p(Object.prototype.toString),m=r(3335).types,h=m.isAnyArrayBuffer,y=m.isArrayBufferView,g=m.isDate,b=m.isMap,v=m.isRegExp,x=m.isSet,D=m.isNativeError,S=m.isBoxedPrimitive,E=m.isNumberObject,T=m.isStringObject,w=m.isBooleanObject,A=m.isBigIntObject,C=m.isSymbolObject,M=m.isFloat32Array,N=m.isFloat64Array;function j(e){if(0===e.length||e.length>10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=4294967296}function k(e){return Object.keys(e).filter(j).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}/*! + */var r=60103,n=60106,i=60107,o=60108,a=60114,s=60109,l=60110,u=60112,c=60113,p=60120,_=60115,d=60116,f=60121,m=60122,h=60117,y=60129,g=60131;if("function"==typeof Symbol&&Symbol.for){var b=Symbol.for;r=b("react.element"),n=b("react.portal"),i=b("react.fragment"),o=b("react.strict_mode"),a=b("react.profiler"),s=b("react.provider"),l=b("react.context"),u=b("react.forward_ref"),c=b("react.suspense"),p=b("react.suspense_list"),_=b("react.memo"),d=b("react.lazy"),f=b("react.block"),m=b("react.server.block"),h=b("react.fundamental"),y=b("react.debug_trace_mode"),g=b("react.legacy_hidden")}function v(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case i:case a:case o:case c:case p:return e;default:switch(e=e&&e.$$typeof){case l:case u:case d:case _:case s:return e;default:return t}}case n:return t}}}var x=s,D=r,S=u,E=i,T=d,w=_,A=n,C=a,M=o,N=c;t.ContextConsumer=l,t.ContextProvider=x,t.Element=D,t.ForwardRef=S,t.Fragment=E,t.Lazy=T,t.Memo=w,t.Portal=A,t.Profiler=C,t.StrictMode=M,t.Suspense=N,t.isAsyncMode=function(){return!1},t.isConcurrentMode=function(){return!1},t.isContextConsumer=function(e){return v(e)===l},t.isContextProvider=function(e){return v(e)===s},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return v(e)===u},t.isFragment=function(e){return v(e)===i},t.isLazy=function(e){return v(e)===d},t.isMemo=function(e){return v(e)===_},t.isPortal=function(e){return v(e)===n},t.isProfiler=function(e){return v(e)===a},t.isStrictMode=function(e){return v(e)===o},t.isSuspense=function(e){return v(e)===c},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===a||e===y||e===o||e===c||e===p||e===g||"object"==typeof e&&null!==e&&(e.$$typeof===d||e.$$typeof===_||e.$$typeof===s||e.$$typeof===l||e.$$typeof===u||e.$$typeof===h||e.$$typeof===f||e[0]===m)},t.typeOf=v},4650:(e,t,r)=>{"use strict";e.exports=r(1313)},9937:e=>{"use strict";e.exports=({onlyFirst:e=!1}={})=>RegExp("[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)|(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))",e?void 0:"g")},9640:(e,t,r)=>{"use strict";let n;e=r.nmd(e);let i=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${n+t}m`},o=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};5;${n}m`},a=(e,t)=>(...r)=>{let n=e(...r);return`\u001B[${38+t};2;${n[0]};${n[1]};${n[2]}m`},s=e=>e,l=(e,t,r)=>[e,t,r],u=(e,t,r)=>{Object.defineProperty(e,t,{get:()=>{let n=r();return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0}),n},enumerable:!0,configurable:!0})},c=(e,t,i,o)=>{void 0===n&&(n=r(841));let a=o?10:0,s={};for(let[r,o]of Object.entries(n)){let n="ansi16"===r?"ansi":r;r===t?s[n]=e(i,a):"object"==typeof o&&(s[n]=e(o[t],a))}return s};Object.defineProperty(e,"exports",{enumerable:!0,get:function(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};for(let[r,n]of(t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright,Object.entries(t))){for(let[r,i]of Object.entries(n))t[r]={open:`\u001B[${i[0]}m`,close:`\u001B[${i[1]}m`},n[r]=t[r],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1b[39m",t.bgColor.close="\x1b[49m",u(t.color,"ansi",()=>c(i,"ansi16",s,!1)),u(t.color,"ansi256",()=>c(o,"ansi256",s,!1)),u(t.color,"ansi16m",()=>c(a,"rgb",l,!1)),u(t.bgColor,"ansi",()=>c(i,"ansi16",s,!0)),u(t.bgColor,"ansi256",()=>c(o,"ansi256",s,!0)),u(t.bgColor,"ansi16m",()=>c(a,"rgb",l,!0)),t}})},5872:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(7392));function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(s);try{for(n.s();!(t=n.n()).done;){var a=i(t.value,2),l=a[0],u=a[1];e.call(r,u,l,s)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=s.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!l.get(e)},keys:function(){return s.map(function(e){return i(e,1)[0]})},values:function(){return s.map(function(e){return i(e,2)[1]})}},u=(0,n.default)(l,l.entries());t.default=u},5096:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=function(e){return e&&e.__esModule?e:{default:e}}(r(7392));function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||o(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(e,t){if(e){if("string"==typeof e)return a(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return a(e,t)}}function a(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=o(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}}(s);try{for(n.s();!(t=n.n()).done;){var a=i(t.value,2),l=a[0],u=a[1];e.call(r,u,l,s)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=s.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!l.get(e)},keys:function(){return s.map(function(e){return i(e,1)[0]})},values:function(){return s.map(function(e){return i(e,2)[1]})}},u=(0,n.default)(l,l.entries());t.default=u},4159:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(3185)),i=a(r(7392)),o=a(r(9136));function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||l(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function l(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=l(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}(c);try{for(n.s();!(t=n.n()).done;){var i=s(t.value,2),o=i[0],a=i[1];e.call(r,a,o,c)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=c.find(function(t){return(0,n.default)(e,t[0])});return t&&t[1]},has:function(e){return!!b.get(e)},keys:function(){return c.map(function(e){return s(e,1)[0]})},values:function(){return c.map(function(e){return s(e,2)[1]})}},v=(0,i.default)(b,b.entries());t.default=v},6277:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},3248:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},7469:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]}},8330:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},8889:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},9812:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"rel"},module:"HTML"},{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},7192:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5518:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},7041:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]}},5059:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},3299:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},4845:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]}},8854:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=m(r(6277)),i=m(r(3248)),o=m(r(7469)),a=m(r(8330)),s=m(r(8889)),l=m(r(9812)),u=m(r(7192)),c=m(r(5518)),p=m(r(7041)),_=m(r(5059)),d=m(r(3299)),f=m(r(4845));function m(e){return e&&e.__esModule?e:{default:e}}var h=[["command",n.default],["composite",i.default],["input",o.default],["landmark",a.default],["range",s.default],["roletype",l.default],["section",u.default],["sectionhead",c.default],["select",p.default],["structure",_.default],["widget",d.default],["window",f.default]];t.default=h},5719:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=q(r(9130)),i=q(r(4841)),o=q(r(6439)),a=q(r(620)),s=q(r(8967)),l=q(r(5806)),u=q(r(3015)),c=q(r(1956)),p=q(r(7440)),_=q(r(9029)),d=q(r(2688)),f=q(r(5763)),m=q(r(6256)),h=q(r(9031)),y=q(r(1999)),g=q(r(2890)),b=q(r(4209)),v=q(r(6865)),x=q(r(7825)),D=q(r(1352)),S=q(r(1340)),E=q(r(9493)),T=q(r(2012)),w=q(r(8926)),A=q(r(3888)),C=q(r(6463)),M=q(r(9741)),N=q(r(4546)),j=q(r(1453)),k=q(r(1609)),I=q(r(5241)),O=q(r(8745)),P=q(r(3789)),F=q(r(4399)),L=q(r(6321)),R=q(r(5146)),z=q(r(4121)),B=q(r(413)),U=q(r(2492));function q(e){return e&&e.__esModule?e:{default:e}}var J=[["doc-abstract",n.default],["doc-acknowledgments",i.default],["doc-afterword",o.default],["doc-appendix",a.default],["doc-backlink",s.default],["doc-biblioentry",l.default],["doc-bibliography",u.default],["doc-biblioref",c.default],["doc-chapter",p.default],["doc-colophon",_.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",m.default],["doc-credits",h.default],["doc-dedication",y.default],["doc-endnote",g.default],["doc-endnotes",b.default],["doc-epigraph",v.default],["doc-epilogue",x.default],["doc-errata",D.default],["doc-example",S.default],["doc-footnote",E.default],["doc-foreword",T.default],["doc-glossary",w.default],["doc-glossref",A.default],["doc-index",C.default],["doc-introduction",M.default],["doc-noteref",N.default],["doc-notice",j.default],["doc-pagebreak",k.default],["doc-pagelist",I.default],["doc-part",O.default],["doc-preface",P.default],["doc-prologue",F.default],["doc-pullquote",L.default],["doc-qna",R.default],["doc-subtitle",z.default],["doc-tip",B.default],["doc-toc",U.default]];t.default=J},4635:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=a(r(818)),i=a(r(989)),o=a(r(2217));function a(e){return e&&e.__esModule?e:{default:e}}var s=[["graphics-document",n.default],["graphics-object",i.default],["graphics-symbol",o.default]];t.default=s},8995:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=ej(r(2076)),i=ej(r(6308)),o=ej(r(2480)),a=ej(r(7645)),s=ej(r(2941)),l=ej(r(7217)),u=ej(r(6045)),c=ej(r(7690)),p=ej(r(3822)),_=ej(r(7621)),d=ej(r(6802)),f=ej(r(9856)),m=ej(r(9078)),h=ej(r(1062)),y=ej(r(9145)),g=ej(r(7619)),b=ej(r(68)),v=ej(r(575)),x=ej(r(3285)),D=ej(r(5046)),S=ej(r(4846)),E=ej(r(4900)),T=ej(r(4982)),w=ej(r(5058)),A=ej(r(7466)),C=ej(r(1083)),M=ej(r(6902)),N=ej(r(6458)),j=ej(r(1538)),k=ej(r(3993)),I=ej(r(1660)),O=ej(r(7362)),P=ej(r(9645)),F=ej(r(7801)),L=ej(r(4934)),R=ej(r(7178)),z=ej(r(467)),B=ej(r(7582)),U=ej(r(6403)),q=ej(r(1683)),J=ej(r(6838)),$=ej(r(4872)),K=ej(r(9291)),Y=ej(r(1236)),V=ej(r(246)),W=ej(r(4544)),Q=ej(r(9271)),H=ej(r(4755)),G=ej(r(2089)),Z=ej(r(4698)),X=ej(r(3987)),ee=ej(r(2667)),et=ej(r(1294)),er=ej(r(1858)),en=ej(r(9714)),ei=ej(r(8549)),eo=ej(r(7928)),ea=ej(r(8417)),es=ej(r(3832)),el=ej(r(9102)),eu=ej(r(7762)),ec=ej(r(5456)),ep=ej(r(5182)),e_=ej(r(2632)),ed=ej(r(4020)),ef=ej(r(2367)),em=ej(r(6217)),eh=ej(r(4304)),ey=ej(r(1585)),eg=ej(r(6682)),eb=ej(r(160)),ev=ej(r(5528)),ex=ej(r(8913)),eD=ej(r(8950)),eS=ej(r(1608)),eE=ej(r(1455)),eT=ej(r(1450)),ew=ej(r(596)),eA=ej(r(9974)),eC=ej(r(7010)),eM=ej(r(8464)),eN=ej(r(7327));function ej(e){return e&&e.__esModule?e:{default:e}}var ek=[["alert",n.default],["alertdialog",i.default],["application",o.default],["article",a.default],["banner",s.default],["blockquote",l.default],["button",u.default],["caption",c.default],["cell",p.default],["checkbox",_.default],["code",d.default],["columnheader",f.default],["combobox",m.default],["complementary",h.default],["contentinfo",y.default],["definition",g.default],["deletion",b.default],["dialog",v.default],["directory",x.default],["document",D.default],["emphasis",S.default],["feed",E.default],["figure",T.default],["form",w.default],["generic",A.default],["grid",C.default],["gridcell",M.default],["group",N.default],["heading",j.default],["img",k.default],["insertion",I.default],["link",O.default],["list",P.default],["listbox",F.default],["listitem",L.default],["log",R.default],["main",z.default],["marquee",B.default],["math",U.default],["menu",q.default],["menubar",J.default],["menuitem",$.default],["menuitemcheckbox",K.default],["menuitemradio",Y.default],["meter",V.default],["navigation",W.default],["none",Q.default],["note",H.default],["option",G.default],["paragraph",Z.default],["presentation",X.default],["progressbar",ee.default],["radio",et.default],["radiogroup",er.default],["region",en.default],["row",ei.default],["rowgroup",eo.default],["rowheader",ea.default],["scrollbar",es.default],["search",el.default],["searchbox",eu.default],["separator",ec.default],["slider",ep.default],["spinbutton",e_.default],["status",ed.default],["strong",ef.default],["subscript",em.default],["superscript",eh.default],["switch",ey.default],["tab",eg.default],["table",eb.default],["tablist",ev.default],["tabpanel",ex.default],["term",eD.default],["textbox",eS.default],["time",eE.default],["timer",eT.default],["toolbar",ew.default],["tooltip",eA.default],["tree",eC.default],["treegrid",eM.default],["treeitem",eN.default]];t.default=ek},9130:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4841:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},6439:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},620:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8967:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","content"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},5806:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},3015:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1956:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},7440:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9029:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2688:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},5763:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},6256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9031:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1999:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2890:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]}},4209:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},6865:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7825:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1352:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},1340:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9493:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2012:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8926:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},3888:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},6463:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},9741:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4546:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]}},1453:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},1609:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]}},5241:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},8745:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},3789:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},4399:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},6321:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]}},5146:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4121:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]}},413:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]}},2492:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]}},818:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},989:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},2217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]}},2076:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6308:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]}},2480:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},7645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]}},2941:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6045:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-pressed"},{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"false"}],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"aria-expanded",value:"true"}],constraints:["direct descendant of details element with the open attribute defined"],name:"summary"},module:"HTML"},{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},7690:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},3822:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["descendant of table"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7621:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},6802:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},9856:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{attributes:[{name:"scope",value:"col"}],concept:{name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},9078:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{name:"size",value:1}],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]}},1062:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9145:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["direct descendant of document"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7619:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},68:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},575:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]}},3285:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},5046:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"body"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},4846:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4900:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]}},4982:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},5058:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7466:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"span"},module:"HTML"},{concept:{name:"div"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},1083:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"grid"}],name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]}},6902:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{attributes:[{name:"role",value:"gridcell"}],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]}},6458:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1538:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]}},3993:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1660:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7362:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"area"},module:"HTML"},{concept:{attributes:[{name:"href"}],name:"link"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},9645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},7801:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"},{name:"multiple"}],name:"select"},module:"HTML"},{concept:{attributes:[{constraints:[">1"],name:"size"}],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},4934:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol, ul or menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7178:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},467:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7582:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6403:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1683:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},6838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]}},4872:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"menuitem"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]}},9291:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]}},1236:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]}},246:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]}},4544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},9271:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]}},4755:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2089:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]}},4698:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},3987:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},2667:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]}},1294:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]}},1858:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},9714:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}},{concept:{name:"frame"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},8549:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]}},7928:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]}},8417:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]}},3832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]}},9102:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]}},7762:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]}},5456:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]}},5182:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]}},2632:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]}},4020:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},2367:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},6217:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},4304:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1585:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]}},6682:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]}},160:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]}},5528:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]}},8913:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},8950:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1608:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]}},1455:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},1450:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]}},596:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]}},9974:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]}},7010:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]}},8464:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]}},7327:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]}},1552:(e,t,r)=>{"use strict";t.uJ=t.UN=t.Qv=void 0;var n=l(r(5872)),i=l(r(5096)),o=l(r(9136)),a=l(r(4159)),s=l(r(2478));function l(e){return e&&e.__esModule?e:{default:e}}n.default,i.default;var u=o.default;t.uJ=u;var c=a.default;t.Qv=c;var p=s.default;t.UN=p},2478:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=o(r(7392)),i=o(r(9136));function o(e){return e&&e.__esModule?e:{default:e}}function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||s(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){if(e){if("string"==typeof e)return l(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return l(e,t)}}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=s(e))){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){l=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw o}}}}(u);try{for(n.s();!(t=n.n()).done;){var i=a(t.value,2),o=i[0],l=i[1];e.call(r,l,o,u)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=u.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!_.get(e)},keys:function(){return u.map(function(e){return a(e,1)[0]})},values:function(){return u.map(function(e){return a(e,2)[1]})}},d=(0,n.default)(_,_.entries());t.default=d},9136:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=l(r(8854)),i=l(r(8995)),o=l(r(5719)),a=l(r(4635)),s=l(r(7392));function l(e){return e&&e.__esModule?e:{default:e}}function u(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=p(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,i=function(){};return{s:i,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:i}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw o}}}}function c(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,t)||p(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return _(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return _(e,t)}}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:null,n=u(d);try{for(n.s();!(t=n.n()).done;){var i=c(t.value,2),o=i[0],a=i[1];e.call(r,a,o,d)}}catch(e){n.e(e)}finally{n.f()}},get:function(e){var t=d.find(function(t){return t[0]===e});return t&&t[1]},has:function(e){return!!f.get(e)},keys:function(){return d.map(function(e){return c(e,1)[0]})},values:function(){return d.map(function(e){return c(e,2)[1]})}},m=(0,s.default)(f,f.entries());t.default=m},7392:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return"function"==typeof Symbol&&"symbol"===i(Symbol.iterator)&&Object.defineProperty(e,Symbol.iterator,{value:n.default.bind(t)}),e};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(9163));function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}},9163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(!(t{"use strict";var n,i,o=r(4406);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var s=r(7515).codes,l=s.ERR_AMBIGUOUS_ARGUMENT,u=s.ERR_INVALID_ARG_TYPE,c=s.ERR_INVALID_ARG_VALUE,p=s.ERR_INVALID_RETURN_VALUE,_=s.ERR_MISSING_ARGS,d=r(4082),f=r(3335).inspect,m=r(3335).types,h=m.isPromise,y=m.isRegExp,g=Object.assign?Object.assign:r(4956).assign,b=Object.is?Object.is:r(4679);function v(){var e=r(6796);n=e.isDeepEqual,i=e.isDeepStrictEqual}var x=!1,D=e.exports=w,S={};function E(e){if(e.message instanceof Error)throw e.message;throw new d(e)}function T(e,t,r,n){if(!r){var i=!1;if(0===t)i=!0,n="No value argument passed to `assert.ok()`";else if(n instanceof Error)throw n;var o=new d({actual:r,expected:!0,message:n,operator:"==",stackStartFn:e});throw o.generatedMessage=i,o}}function w(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i1?r-1:0),i=1;i{"use strict";var n=r(4406);function i(e,t){for(var r=0;re.length)&&(r=e.length),e.substring(r-t.length,r)===t}var m="",h="",y="",g="",b={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function v(e){var t=Object.keys(e),r=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){r[t]=e[t]}),Object.defineProperty(r,"message",{value:e.message}),r}function x(e){return _(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}var D=function(e){var t,r;function s(e){if(!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,s),"object"!==p(e)||null===e)throw new d("options","Object",e);var t,r=e.message,i=e.operator,l=e.stackStartFn,u=e.actual,_=e.expected,D=Error.stackTraceLimit;if(Error.stackTraceLimit=0,null!=r)t=o(this,c(s).call(this,String(r)));else if(n.stderr&&n.stderr.isTTY&&(n.stderr&&n.stderr.getColorDepth&&1!==n.stderr.getColorDepth()?(m="\x1b[34m",h="\x1b[32m",g="\x1b[39m",y="\x1b[31m"):(m="",h="",g="",y="")),"object"===p(u)&&null!==u&&"object"===p(_)&&null!==_&&"stack"in u&&u instanceof Error&&"stack"in _&&_ instanceof Error&&(u=v(u),_=v(_)),"deepStrictEqual"===i||"strictEqual"===i)t=o(this,c(s).call(this,function(e,t,r){var i="",o="",a=0,s="",l=!1,u=x(e),c=u.split("\n"),_=x(t).split("\n"),d=0,v="";if("strictEqual"===r&&"object"===p(e)&&"object"===p(t)&&null!==e&&null!==t&&(r="strictEqualObject"),1===c.length&&1===_.length&&c[0]!==_[0]){var D=c[0].length+_[0].length;if(D<=10){if(("object"!==p(e)||null===e)&&("object"!==p(t)||null===t)&&(0!==e||0!==t))return"".concat(b[r],"\n\n")+"".concat(c[0]," !== ").concat(_[0],"\n")}else if("strictEqualObject"!==r&&D<(n.stderr&&n.stderr.isTTY?n.stderr.columns:80)){for(;c[0][d]===_[0][d];)d++;d>2&&(v="\n ".concat(function(e,t){if(t=Math.floor(t),0==e.length||0==t)return"";var r=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+e.substring(0,r-e.length)}(" ",d),"^"),d=0)}}for(var S=c[c.length-1],E=_[_.length-1];S===E&&(d++<2?s="\n ".concat(S).concat(s):i=S,c.pop(),_.pop(),0!==c.length&&0!==_.length);)S=c[c.length-1],E=_[_.length-1];var T=Math.max(c.length,_.length);if(0===T){var w=u.split("\n");if(w.length>30)for(w[26]="".concat(m,"...").concat(g);w.length>27;)w.pop();return"".concat(b.notIdentical,"\n\n").concat(w.join("\n"),"\n")}d>3&&(s="\n".concat(m,"...").concat(g).concat(s),l=!0),""!==i&&(s="\n ".concat(i).concat(s),i="");var A=0,C=b[r]+"\n".concat(h,"+ actual").concat(g," ").concat(y,"- expected").concat(g),M=" ".concat(m,"...").concat(g," Lines skipped");for(d=0;d1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(_[d-2]),A++),o+="\n ".concat(_[d-1]),A++),a=d,i+="\n".concat(y,"-").concat(g," ").concat(_[d]),A++;else if(_.length1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(c[d]),A++;else{var j=_[d],k=c[d],I=k!==j&&(!f(k,",")||k.slice(0,-1)!==j);I&&f(j,",")&&j.slice(0,-1)===k&&(I=!1,k+=","),I?(N>1&&d>2&&(N>4?(o+="\n".concat(m,"...").concat(g),l=!0):N>3&&(o+="\n ".concat(c[d-2]),A++),o+="\n ".concat(c[d-1]),A++),a=d,o+="\n".concat(h,"+").concat(g," ").concat(k),i+="\n".concat(y,"-").concat(g," ").concat(j),A+=2):(o+=i,i="",(1===N||0===d)&&(o+="\n ".concat(k),A++))}if(A>20&&d30)for(E[26]="".concat(m,"...").concat(g);E.length>27;)E.pop();t=1===E.length?o(this,c(s).call(this,"".concat(S," ").concat(E[0]))):o(this,c(s).call(this,"".concat(S,"\n\n").concat(E.join("\n"),"\n")))}else{var T=x(u),w="",A=b[i];"notDeepEqual"===i||"notEqual"===i?(T="".concat(b[i],"\n\n").concat(T)).length>1024&&(T="".concat(T.slice(0,1021),"...")):(w="".concat(x(_)),T.length>512&&(T="".concat(T.slice(0,509),"...")),w.length>512&&(w="".concat(w.slice(0,509),"...")),"deepEqual"===i||"equal"===i?T="".concat(A,"\n\n").concat(T,"\n\nshould equal\n\n"):w=" ".concat(i," ").concat(w)),t=o(this,c(s).call(this,"".concat(T).concat(w)))}return Error.stackTraceLimit=D,t.generatedMessage=!r,Object.defineProperty(a(t),"name",{value:"AssertionError [ERR_ASSERTION]",enumerable:!1,writable:!0,configurable:!0}),t.code="ERR_ASSERTION",t.actual=u,t.expected=_,t.operator=i,Error.captureStackTrace&&Error.captureStackTrace(a(t),l),t.stack,t.name="AssertionError",o(t)}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&u(e,t)}(s,e),t=[{key:"toString",value:function(){return"".concat(this.name," [").concat(this.code,"]: ").concat(this.message)}},{key:_.custom,value:function(e,t){return _(this,function(e){for(var t=1;t{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function o(e,t){return(o=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}var a,s,l={};function u(e,t,r){r||(r=Error);var a=function(r){function a(r,o,s){var l,u;return!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,a),(l=(u=i(a).call(this,"string"==typeof t?t:t(r,o,s)))&&("object"===n(u)||"function"==typeof u)?u:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)).code=e,l}return!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&o(e,t)}(a,r),a}(r);l[e]=a}function c(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}u("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),u("ERR_INVALID_ARG_TYPE",function(e,t,i){if((void 0===a&&(a=r(1696)),a("string"==typeof e,"'name' must be a string"),"string"==typeof t&&(o="not ",t.substr(!s||s<0?0:+s,o.length)===o))?(_="must not be",t=t.replace(/^not /,"")):_="must be",l=" argument",(void 0===u||u>e.length)&&(u=e.length),e.substring(u-l.length,u)===l)d="The ".concat(e," ").concat(_," ").concat(c(t,"type"));else{var o,s,l,u,p,_,d,f=("number"!=typeof p&&(p=0),p+1>e.length||-1===e.indexOf(".",p))?"argument":"property";d='The "'.concat(e,'" ').concat(f," ").concat(_," ").concat(c(t,"type"))}return d+". Received type ".concat(n(i))},TypeError),u("ERR_INVALID_ARG_VALUE",function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"is invalid";void 0===s&&(s=r(3335));var i=s.inspect(t);return i.length>128&&(i="".concat(i.slice(0,128),"...")),"The argument '".concat(e,"' ").concat(n,". Received ").concat(i)},TypeError,RangeError),u("ERR_INVALID_RETURN_VALUE",function(e,t,r){var i;return i=r&&r.constructor&&r.constructor.name?"instance of ".concat(r.constructor.name):"type ".concat(n(r)),"Expected ".concat(e,' to be returned from the "').concat(t,'"')+" function but got ".concat(i,".")},TypeError),u("ERR_MISSING_ARGS",function(){for(var e=arguments.length,t=Array(e),n=0;n0,"At least one arg needs to be specified");var i="The ",o=t.length;switch(t=t.map(function(e){return'"'.concat(e,'"')}),o){case 1:i+="".concat(t[0]," argument");break;case 2:i+="".concat(t[0]," and ").concat(t[1]," arguments");break;default:i+=t.slice(0,o-1).join(", ")+", and ".concat(t[o-1]," arguments")}return"".concat(i," must be specified")},TypeError),e.exports.codes=l},6796:(e,t,r)=>{"use strict";function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=[],n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return r}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance")}()}function i(e){return(i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var o=void 0!==/a/g.flags,a=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},s=function(e){var t=[];return e.forEach(function(e,r){return t.push([r,e])}),t},l=Object.is?Object.is:r(4679),u=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},c=Number.isNaN?Number.isNaN:r(4782);function p(e){return e.call.bind(e)}var _=p(Object.prototype.hasOwnProperty),d=p(Object.prototype.propertyIsEnumerable),f=p(Object.prototype.toString),m=r(3335).types,h=m.isAnyArrayBuffer,y=m.isArrayBufferView,g=m.isDate,b=m.isMap,v=m.isRegExp,x=m.isSet,D=m.isNativeError,S=m.isBoxedPrimitive,E=m.isNumberObject,T=m.isStringObject,w=m.isBooleanObject,A=m.isBigIntObject,C=m.isSymbolObject,M=m.isFloat32Array,N=m.isFloat64Array;function j(e){if(0===e.length||e.length>10)return!0;for(var t=0;t57)return!0}return 10===e.length&&e>=4294967296}function k(e){return Object.keys(e).filter(j).concat(u(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh @@ -186,7 +186,7 @@ ${e}`}}}}),ic=b({"src/language-yaml/loc.js"(e,t){E(),t.exports={locStart:functio * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var n=r(8775),i=r(5669);function o(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function a(e){if(o(e)!==e)throw Error("Unable to find node on an unmounted component.")}var s=Object.assign;function l(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function u(){return!0}function c(){return!1}function p(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?u:c,this.isPropagationStopped=c,this}return s(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=u)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=u)},persist:function(){},isPersistent:u}),t}var _={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},d=p(_),f=s({},_,{view:0,detail:0});p(f);var m,h,y,g=s({},f,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:S,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==y&&(y&&"mousemove"===e.type?(m=e.screenX-y.screenX,h=e.screenY-y.screenY):h=m=0,y=e),m)},movementY:function(e){return"movementY"in e?e.movementY:h}});p(g),p(s({},g,{dataTransfer:0})),p(s({},f,{relatedTarget:0})),p(s({},_,{animationName:0,elapsedTime:0,pseudoElement:0})),p(s({},_,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),p(s({},_,{data:0}));var b={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},x={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=x[e])&&!!t[e]}function S(){return D}function E(e,t,r,n,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}p(s({},f,{key:function(e){if(e.key){var t=b[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=l(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?v[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:S,charCode:function(e){return"keypress"===e.type?l(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?l(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),p(s({},g,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),p(s({},f,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:S})),p(s({},_,{propertyName:0,elapsedTime:0,pseudoElement:0})),p(s({},g,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));var T=!1,w=null,A=!1,C=null,M={onError:function(e){T=!0,w=e}};function N(e,t,r,n,i,o,a,s,l){T=!1,w=null,E.apply(M,arguments)}var j=Array.isArray,k=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,I=k[0],O=k[1],P=k[2],F=k[3],L=k[4],R=n.unstable_act;function z(){}function B(e,t,r){var n=e.type||"unknown-event";e.currentTarget=O(r),function(e,t,r,n,i,o,a,s,l){if(N.apply(this,arguments),T){if(T){var u=w;T=!1,w=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");A||(A=!0,C=u)}}(n,t,void 0,e),e.currentTarget=null}function U(e,t){var r=e.stateNode;if(!r)return null;var n=P(r);if(!n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function q(e,t,r){var n=r._reactName;"captured"===t&&(n+="Capture"),(t=U(e,n))&&(null==r._dispatchListeners&&(r._dispatchListeners=[]),null==r._dispatchInstances&&(r._dispatchInstances=[]),r._dispatchListeners.push(t),r._dispatchInstances.push(e))}var J={},$=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e){J[e]=function(t,r){if(n.isValidElement(t))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if((!(a=o=t)||1!==a.nodeType||!a.tagName)&&null!=o&&"function"==typeof o.render&&"function"==typeof o.setState)throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var o,a,l,u,c="on"+e[0].toUpperCase()+e.slice(1),p=new z;p.target=t,p.type=e.toLowerCase();var _=I(t),f=new d(c,p.type,_,p,t);f.persist(),s(f,r),$.has(e)?f&&f._reactName&&(l=f._targetInst,u=null,l&&f&&f._reactName&&(u=U(l,f._reactName))&&(null==f._dispatchListeners&&(f._dispatchListeners=[]),null==f._dispatchInstances&&(f._dispatchInstances=[]),f._dispatchListeners.push(u),f._dispatchInstances.push(l))):f&&f._reactName&&function(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&5!==e.tag)e=e||null}for(e=n.length;0{"use strict";var n=r(5669);t.s=n.createRoot,n.hydrateRoot},856:(e,t,r)=>{"use strict";e.exports=r(8751)},1837:(e,t,r)=>{"use strict";/** + */var n=r(6764),i=r(3047);function o(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do 0!=(4098&(t=e).flags)&&(r=t.return),e=t.return;while(e)}return 3===t.tag?r:null}function a(e){if(o(e)!==e)throw Error("Unable to find node on an unmounted component.")}var s=Object.assign;function l(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function u(){return!0}function c(){return!1}function p(e){function t(t,r,n,i,o){for(var a in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=i,this.target=o,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(i):i[a]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?u:c,this.isPropagationStopped=c,this}return s(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=u)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=u)},persist:function(){},isPersistent:u}),t}var _={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},d=p(_),f=s({},_,{view:0,detail:0});p(f);var m,h,y,g=s({},f,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:S,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==y&&(y&&"mousemove"===e.type?(m=e.screenX-y.screenX,h=e.screenY-y.screenY):h=m=0,y=e),m)},movementY:function(e){return"movementY"in e?e.movementY:h}});p(g),p(s({},g,{dataTransfer:0})),p(s({},f,{relatedTarget:0})),p(s({},_,{animationName:0,elapsedTime:0,pseudoElement:0})),p(s({},_,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}})),p(s({},_,{data:0}));var b={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},v={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},x={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function D(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=x[e])&&!!t[e]}function S(){return D}function E(e,t,r,n,i,o,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(r,u)}catch(e){this.onError(e)}}p(s({},f,{key:function(e){if(e.key){var t=b[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=l(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?v[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:S,charCode:function(e){return"keypress"===e.type?l(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?l(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}})),p(s({},g,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),p(s({},f,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:S})),p(s({},_,{propertyName:0,elapsedTime:0,pseudoElement:0})),p(s({},g,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}));var T=!1,w=null,A=!1,C=null,M={onError:function(e){T=!0,w=e}};function N(e,t,r,n,i,o,a,s,l){T=!1,w=null,E.apply(M,arguments)}var j=Array.isArray,k=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.Events,I=k[0],O=k[1],P=k[2],F=k[3],L=k[4],R=n.unstable_act;function z(){}function B(e,t,r){var n=e.type||"unknown-event";e.currentTarget=O(r),function(e,t,r,n,i,o,a,s,l){if(N.apply(this,arguments),T){if(T){var u=w;T=!1,w=null}else throw Error("clearCaughtError was called but no error was captured. This error is likely caused by a bug in React. Please file an issue.");A||(A=!0,C=u)}}(n,t,void 0,e),e.currentTarget=null}function U(e,t){var r=e.stateNode;if(!r)return null;var n=P(r);if(!n)return null;switch(r=n[t],t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error("Expected `"+t+"` listener to be a function, instead got a value of `"+typeof r+"` type.");return r}function q(e,t,r){var n=r._reactName;"captured"===t&&(n+="Capture"),(t=U(e,n))&&(null==r._dispatchListeners&&(r._dispatchListeners=[]),null==r._dispatchInstances&&(r._dispatchInstances=[]),r._dispatchListeners.push(t),r._dispatchInstances.push(e))}var J={},$=new Set(["mouseEnter","mouseLeave","pointerEnter","pointerLeave"]);"blur cancel click close contextMenu copy cut auxClick doubleClick dragEnd dragStart drop focus input invalid keyDown keyPress keyUp mouseDown mouseUp paste pause play pointerCancel pointerDown pointerUp rateChange reset resize seeked submit touchCancel touchEnd touchStart volumeChange drag dragEnter dragExit dragLeave dragOver mouseMove mouseOut mouseOver pointerMove pointerOut pointerOver scroll toggle touchMove wheel abort animationEnd animationIteration animationStart canPlay canPlayThrough durationChange emptied encrypted ended error gotPointerCapture load loadedData loadedMetadata loadStart lostPointerCapture playing progress seeking stalled suspend timeUpdate transitionEnd waiting mouseEnter mouseLeave pointerEnter pointerLeave change select beforeInput compositionEnd compositionStart compositionUpdate".split(" ").forEach(function(e){J[e]=function(t,r){if(n.isValidElement(t))throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a React element. Pass the DOM node you wish to simulate the event on instead. Note that TestUtils.Simulate will not work if you are using shallow rendering.");if((!(a=o=t)||1!==a.nodeType||!a.tagName)&&null!=o&&"function"==typeof o.render&&"function"==typeof o.setState)throw Error("TestUtils.Simulate expected a DOM node as the first argument but received a component instance. Pass the DOM node you wish to simulate the event on instead.");var o,a,l,u,c="on"+e[0].toUpperCase()+e.slice(1),p=new z;p.target=t,p.type=e.toLowerCase();var _=I(t),f=new d(c,p.type,_,p,t);f.persist(),s(f,r),$.has(e)?f&&f._reactName&&(l=f._targetInst,u=null,l&&f&&f._reactName&&(u=U(l,f._reactName))&&(null==f._dispatchListeners&&(f._dispatchListeners=[]),null==f._dispatchInstances&&(f._dispatchInstances=[]),f._dispatchListeners.push(u),f._dispatchInstances.push(l))):f&&f._reactName&&function(e,t,r){for(var n=[];e;){n.push(e);do e=e.return;while(e&&5!==e.tag)e=e||null}for(e=n.length;0{"use strict";var n=r(3047);t.s=n.createRoot,n.hydrateRoot},856:(e,t,r)=>{"use strict";e.exports=r(8751)},1837:(e,t,r)=>{"use strict";/** * @license React * react-jsx-runtime.production.min.js * @@ -194,7 +194,7 @@ ${e}`}}}}),ic=b({"src/language-yaml/loc.js"(e,t){E(),t.exports={locStart:functio * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var n=r(8775),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},2322:(e,t,r)=>{"use strict";e.exports=r(1837)},4452:e=>{"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){function t(t,n,i){return e.call(this,"string"==typeof r?r:r(t,n,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(i="not ",t.substr(!o||o<0?0:+o,i.length)===i)?(u="must not be",t=t.replace(/^not /,"")):u="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)c="The ".concat(e," ").concat(u," ").concat(n(t,"type"));else{var i,o,a,s,l,u,c,p=("number"!=typeof l&&(l=0),l+1>e.length||-1===e.indexOf(".",l))?"argument":"property";c='The "'.concat(e,'" ').concat(p," ").concat(u," ").concat(n(t,"type"))}return c+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},7073:(e,t,r)=>{"use strict";var n=r(4406),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(8051),a=r(2557);r(1285)(c,o);for(var s=i(a.prototype),l=0;l{"use strict";e.exports=i;var n=r(7640);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(1285)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},8051:(e,t,r)=>{"use strict";var n,i,o,a,s,l=r(4406);e.exports=T,T.ReadableState=E,r(2699).EventEmitter;var u=function(e,t){return e.listeners(t).length},c=r(5010),p=r(8834).Buffer,_=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=r(6602);i=d&&d.debuglog?d.debuglog("stream"):function(){};var f=r(6637),m=r(2262),h=r(7605).getHighWaterMark,y=r(4452).q,g=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,v=y.ERR_METHOD_NOT_IMPLEMENTED,x=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(1285)(T,c);var D=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function E(e,t,i){n=n||r(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=r(214).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function T(e){if(n=n||r(7073),!(this instanceof T))return new T(e);var t=this instanceof n;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,r,n,o){i("readableAddChunk",t);var a,s,l,u,c,d=e._readableState;if(null===t)d.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?M(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}}(e,d);else{if(o||(a=d,s=t,p.isBuffer(s)||s instanceof _||"string"==typeof s||void 0===s||a.objectMode||(l=new g("chunk",["string","Buffer","Uint8Array"],s)),c=l),c)D(e,c);else if(d.objectMode||t&&t.length>0){if("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===p.prototype||(u=t,t=p.from(u)),n)d.endEmitted?D(e,new x):A(e,d,t,!0);else if(d.ended)D(e,new b);else{if(d.destroyed)return!1;d.reading=!1,d.decoder&&!r?(t=d.decoder.write(t),d.objectMode||0!==t.length?A(e,d,t,!1):j(e,d)):A(e,d,t,!1)}}else n||(d.reading=!1,j(e,d))}return!d.ended&&(d.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(N,e))}function N(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function j(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(k,e,t))}function k(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function O(e){i("readable nexttick read 0"),e.read(0)}function P(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function R(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(z,t,e))}function z(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?R(this):M(this),null;if(0===(e=C(e,r))&&r.ended)return 0===r.length&&R(this),null;var o=r.needReadable;return i("need readable",o),(0===r.length||r.length-e0?L(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&R(this)),null!==t&&this.emit("data",t),t},T.prototype._read=function(e){D(this,new v("_read()"))},T.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,t);var o=t&&!1===t.end||e===l.stdout||e===l.stderr?m:a;function a(){i("onend"),e.end()}n.endEmitted?l.nextTick(o):r.once("end",o),e.on("unpipe",function t(o,l){i("onunpipe"),o===r&&l&&!1===l.hasUnpiped&&(l.hasUnpiped=!0,i("cleanup"),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("drain",s),e.removeListener("error",_),e.removeListener("unpipe",t),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",p),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s())});var s=function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(r,"data")&&(e.flowing=!0,F(r))};e.on("drain",s);var c=!1;function p(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==B(n.pipes,e))&&!c&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function _(t){i("onerror",t),m(),e.removeListener("error",_),0===u(e,"error")&&D(e,t)}function d(){e.removeListener("finish",f),m()}function f(){i("onfinish"),e.removeListener("close",d),m()}function m(){i("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",_),e.once("close",d),e.once("finish",f),e.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?M(this):n.reading||l.nextTick(O,this)),r},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var r=c.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(I,this),r},T.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(I,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,l.nextTick(P,this,e))),e.paused=!1,this},T.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a{"use strict";e.exports=c;var n=r(4452).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(7073);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";var n,i,o=r(4406);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=T,T.WritableState=E;var s={deprecate:r(5803)},l=r(5010),u=r(8834).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},p=r(2262),_=r(7605).getHighWaterMark,d=r(4452).q,f=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,y=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,D=p.errorOrDestroy;function S(){}function E(e,t,i){n=n||r(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=_(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new h;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(o.nextTick(i,t),o.nextTick(j,e,r),e._writableState.errorEmitted=!0,D(e,t)):(i(t),e._writableState.errorEmitted=!0,D(e,t),j(e,r));else{var a=M(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(e,r),n?o.nextTick(A,e,r,a,i):A(e,r,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function T(e){var t=this instanceof(n=n||r(7073));if(!t&&!i.call(T,this))return new T(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function w(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),j(e,t)}function C(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var o=0,s=!0;r;)n[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;n.allBuffers=s,w(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,p=t.objectMode?1:l.length;if(w(e,t,!1,p,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function M(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final(function(r){t.pendingcb--,r&&D(e,r),t.prefinished=!0,e.emit("prefinish"),j(e,t)})}function j(e,t){var r=M(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(N,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(1285)(T,l),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===T&&e&&e._writableState instanceof E}})):i=function(e){return e instanceof this},T.prototype.pipe=function(){D(this,new y)},T.prototype.write=function(e,t,r){var n,i,a,s,l,p,_,d=this._writableState,m=!1,h=!d.objectMode&&(n=e,u.isBuffer(n)||n instanceof c);return h&&!u.isBuffer(e)&&(i=e,e=u.from(i)),("function"==typeof t&&(r=t,t=null),h?t="buffer":t||(t=d.defaultEncoding),"function"!=typeof r&&(r=S),d.ending)?(a=r,D(this,s=new v),o.nextTick(a,s)):(h||(l=e,p=r,null===l?_=new b:"string"==typeof l||d.objectMode||(_=new f("chunk",["string","Buffer"],l)),!_||(D(this,_),o.nextTick(p,_),0)))&&(d.pendingcb++,m=function(e,t,r,n,i,o){if(!r){var a,s,l=(a=n,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof a||(a=u.from(a,s)),a);n!==l&&(r=!0,i="buffer",n=l)}var c=t.objectMode?1:n.length;t.length+=c;var p=t.length-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,r){r(new m("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,r){var n,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,j(this,i),n&&(i.finished?o.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=p.destroy,T.prototype._undestroy=p.undestroy,T.prototype._destroy=function(e,t){t(e)}},1029:(e,t,r)=>{"use strict";var n,i=r(4406);function o(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(9885),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),_=Symbol("handlePromise"),d=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[d].read();null!==r&&(e[p]=null,e[s]=null,e[l]=null,t(f(r,!1)))}}function h(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((o(n={get stream(){return this[d]},next:function(){var e,t,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){i.nextTick(function(){r[u]?t(r[u]):e(f(void 0,!0))})});var o=this[p];if(o)t=new Promise((e=this,function(t,r){o.then(function(){if(e[c]){t(f(void 0,!0));return}e[_](t,r)},r)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(f(a,!1));t=new Promise(this[_])}return this[p]=t,t}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(f(void 0,!0))})})}),n),y);e.exports=function(e){var t,r=Object.create(g,(o(t={},d,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,_,{value:function(e,t){var n=r[d].read();n?(r[p]=null,r[s]=null,r[l]=null,e(f(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[p]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[p]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[p]=null,r[s]=null,r[l]=null,n(f(void 0,!0))),r[c]=!0}),e.on("readable",h.bind(null,r)),r}},6637:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n=s.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,r=o,s.prototype.copy.call(t,n,r),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],o(r.prototype,e),t&&o(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}()},2262:(e,t,r)=>{"use strict";var n=r(4406);function i(e,t){a(e,t),o(e)}function o(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,e)):n.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t?(n.nextTick(o,r),t(e)):n.nextTick(o,r)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},9885:(e,t,r)=>{"use strict";var n=r(4452).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),r=0;r{e.exports=function(){throw Error("Readable.from is not available in the browser")}},3495:(e,t,r)=>{"use strict";var n,i=r(4452).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),p=0;p0},function(e){if(e)return o(e);p=!0,o()}),f=!1,function(t){if(!p&&!f){if(f=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();o(t||new a("pipe"))}}});return c.reduce(u)}},7605:(e,t,r)=>{"use strict";var n=r(4452).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var a=i?r:"highWaterMark";throw new n(a,o)}return Math.floor(o)}return e.objectMode?16:16384}}},5010:(e,t,r)=>{e.exports=r(2699).EventEmitter},7525:(e,t,r)=>{(t=e.exports=r(8051)).Stream=t,t.Readable=t,t.Writable=r(2557),t.Duplex=r(7073),t.Transform=r(7640),t.PassThrough=r(5163),t.finished=r(9885),t.pipeline=r(3495)},8146:(e,t,r)=>{"use strict";t.F=void 0;let n=r(7525);class i extends n.Readable{constructor(e){super(),this.bytesRead=0,this.released=!1,this.reader=e.getReader()}async _read(){if(this.released){this.push(null);return}this.pendingRead=this.reader.read();let e=await this.pendingRead;delete this.pendingRead,e.done||this.released?this.push(null):(this.bytesRead+=e.value.length,this.push(e.value))}async waitForReadToComplete(){this.pendingRead&&await this.pendingRead}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=!0,await this.waitForReadToComplete(),await this.reader.releaseLock()}}t.F=i},961:(e,t,r)=>{"use strict";var n=r(8462).functionsHaveConfigurableNames(),i=Object,o=TypeError;e.exports=function(){if(this!=null&&this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e},n&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2201:(e,t,r)=>{"use strict";var n=r(4926),i=r(9429),o=r(961),a=r(4366),s=r(698),l=i(a());n(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},4366:(e,t,r)=>{"use strict";var n=r(961),i=r(4926).supportsDescriptors,o=Object.getOwnPropertyDescriptor;e.exports=function(){if(i&&"gim"===/a/mig.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return n}},698:(e,t,r)=>{"use strict";var n=r(4926).supportsDescriptors,i=r(4366),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,u=/a/;e.exports=function(){if(!n||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=l(u),r=o(t,"flags");return r&&r.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},7152:(e,t,r)=>{"use strict";var n=r(8834).Buffer;function i(e){return e instanceof n?n.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){if((e=e||{}).circles)return function(e){var t=[],r=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,e);if(o instanceof Map)return new Map(n(Array.from(o),e));if(o instanceof Set)return new Set(n(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=i(l);else{var u=t.indexOf(l);-1!==u?a[s]=r[u]:a[s]=e(l)}}return t.pop(),r.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,e);if(o instanceof Map)return new Map(n(Array.from(o),e));if(o instanceof Set)return new Set(n(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o)if(!1!==Object.hasOwnProperty.call(o,s)){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=i(l);else{var u=t.indexOf(l);-1!==u?a[s]=r[u]:a[s]=e(l)}}return t.pop(),r.pop(),a};function n(e,n){for(var o=Object.keys(e),a=Array(o.length),s=0;s{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var n=r(8834),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},3321:(e,t,r)=>{let n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof i){if(!!t.loose===e.loose)return e;e=e.value}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=r(1388),{safeRe:a,t:s}=r(4808),l=r(8117),u=r(952),c=r(2435),p=r(6843)},6843:(e,t,r)=>{class n{constructor(e,t){if(t=a(t),e instanceof n){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new n(e.raw,t)}if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=(this.options.includePrerelease&&m)|(this.options.loose&&h),r=t+":"+e,n=o.get(r);if(n)return n;let i=this.options.loose,a=i?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];l("hyphen replace",e=e.replace(a,N(this.options.includePrerelease))),l("comparator trim",e=e.replace(c[p.COMPARATORTRIM],_)),l("tilde trim",e=e.replace(c[p.TILDETRIM],d)),l("caret trim",e=e.replace(c[p.CARETTRIM],f));let u=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>M(e,this.options));i&&(u=u.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE])))),l("range list",u);let g=new Map,b=u.map(e=>new s(e,this.options));for(let e of b){if(y(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");let x=[...g.values()];return o.set(r,x),x}intersects(e,t){if(!(e instanceof n))throw TypeError("a Range is required");return this.set.some(r=>b(r,t)&&e.set.some(e=>b(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,b=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r},v=(e,t)=>(l("comp",e,t),l("caret",e=E(e,t)),l("tildes",e=D(e,t)),l("xrange",e=w(e,t)),l("stars",e=C(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,D=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{let r=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return l("tilde",e,t,r,n,i,o),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,l("tilde return",a),a})},E=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{l("caret",e,t);let r=t.loose?c[p.CARETLOOSE]:c[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let s;return l("caret",e,t,r,i,o,a),x(r)?s="":x(i)?s=`>=${r}.0.0${n} <${+r+1}.0.0-0`:x(o)?s="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(l("replaceCaret pr",a),s="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(l("no pr"),s="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),l("caret return",s),s})},w=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();let r=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(r,(r,n,i,o,a,s)=>{l("xRange",e,r,n,i,o,a,s);let u=x(i),c=u||x(o),p=c||x(a);return"="===n&&p&&(n=""),s=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(s="-0"),r=`${n+i}.${o}.${a}${s}`):c?r=`>=${i}.0.0${s} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),l("xRange return",r),r})},C=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),M=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),N=e=>(t,r,n,i,o,a,s,l,u,c,p,_,d)=>`${r=x(n)?"":x(i)?`>=${n}.0.0${e?"-0":""}`:x(o)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=x(u)?"":x(c)?`<${+u+1}.0.0-0`:x(p)?`<${u}.${+c+1}.0-0`:_?`<=${u}.${c}.${p}-${_}`:e?`<${u}.${c}.${+p+1}-0`:`<=${l}`}`.trim(),j=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},2435:(e,t,r)=>{let n=r(952),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(5558),{safeRe:a,t:s}=r(4808),l=r(1388),{compareIdentifiers:u}=r(4935);class c{constructor(e,t){if(t=l(t),e instanceof c){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},6694:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},8117:(e,t,r)=>{let n=r(3276),i=r(7893),o=r(6379),a=r(8463),s=r(1897),l=r(506);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return i(e,r,u);case">":return o(e,r,u);case">=":return a(e,r,u);case"<":return s(e,r,u);case"<=":return l(e,r,u);default:throw TypeError(`Invalid operator: ${t}`)}}},8686:(e,t,r)=>{let n=r(2435),i=r(9943),{safeRe:o,t:a}=r(4808);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let n;let i=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];for(;(n=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),i.lastIndex=n.index+n[1].length+n[2].length;i.lastIndex=-1}else r=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===r)return null;let s=r[2],l=r[3]||"0",u=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",p=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${s}.${l}.${u}${c}${p}`,t)}},5914:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r)=>{let i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}},5404:(e,t,r)=>{let n=r(2271);e.exports=(e,t)=>n(e,t,!0)},2271:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},6007:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),o=r.compare(i);if(0===o)return null;let a=o>0,s=a?r:i,l=a?i:r,u=!!s.prerelease.length,c=!!l.prerelease.length;if(c&&!u)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";let p=u?"pre":"";return r.major!==i.major?p+"major":r.minor!==i.minor?p+"minor":r.patch!==i.patch?p+"patch":"prerelease"}},3276:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0===n(e,t,r)},6379:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(e,t,r)>0},8463:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(e,t,r)>=0},6360:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,o).version}catch(e){return null}}},1897:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0>n(e,t,r)},506:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0>=n(e,t,r)},4551:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).major},469:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).minor},7893:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0!==n(e,t,r)},9943:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},4250:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).patch},8204:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},733:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(t,e,r)},2961:(e,t,r)=>{let n=r(5914);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},9844:(e,t,r)=>{let n=r(6843);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},1116:(e,t,r)=>{let n=r(5914);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},7230:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}},7699:(e,t,r)=>{let n=r(4808),i=r(5558),o=r(2435),a=r(4935),s=r(9943),l=r(7230),u=r(6694),c=r(6360),p=r(6007),_=r(4551),d=r(469),f=r(4250),m=r(8204),h=r(2271),y=r(733),g=r(5404),b=r(5914),v=r(1116),x=r(2961),D=r(6379),S=r(1897),E=r(3276),T=r(7893),w=r(8463),A=r(506),C=r(8117),M=r(8686),N=r(3321),j=r(6843),k=r(9844),I=r(8865),O=r(3727),P=r(4338),F=r(1542),L=r(6240),R=r(9106),z=r(995),B=r(7805),U=r(2013),q=r(1338),J=r(3122);e.exports={parse:s,valid:l,clean:u,inc:c,diff:p,major:_,minor:d,patch:f,prerelease:m,compare:h,rcompare:y,compareLoose:g,compareBuild:b,sort:v,rsort:x,gt:D,lt:S,eq:E,neq:T,gte:w,lte:A,cmp:C,coerce:M,Comparator:N,Range:j,satisfies:k,toComparators:I,maxSatisfying:O,minSatisfying:P,minVersion:F,validRange:L,outside:R,gtr:z,ltr:B,intersects:U,simplifyRange:q,subset:J,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},5558:e=>{let t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},952:(e,t,r)=>{var n=r(4406);let i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},4935:e=>{let t=/^[0-9]+$/,r=(e,r)=>{let n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:er(t,e)}},1388:e=>{let t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4808:(e,t,r)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=r(5558),a=r(952);t=e.exports={};let s=t.re=[],l=t.safeRe=[],u=t.src=[],c=t.t={},p=0,_="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[_,i]],f=e=>{for(let[t,r]of d)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},m=(e,t,r)=>{let n=f(t),i=p++;a(e,i,t),c[e]=i,u[i]=t,s[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${_}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${_}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${u[c.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[c.COERCEPLAIN]+`(?:${u[c.PRERELEASE]})?`+`(?:${u[c.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",u[c.COERCE],!0),m("COERCERTLFULL",u[c.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},293:(e,t,r)=>{"use strict";let n=r(8006),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),_=Symbol("cache"),d=Symbol("updateAgeOnGet"),f=()=>1,m=(e,t,r)=>{let n=e[_].get(t);if(n){let t=n.value;if(h(e,t)){if(g(e,n),!e[s])return}else r&&(e[d]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},h=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},y=e=>{if(e[o]>e[i])for(let t=e[p].tail;e[o]>e[i]&&null!==t;){let r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){let r=t.value;e[u]&&e[u](r.key,r.value),e[o]-=r.length,e[_].delete(r.key),e[p].removeNode(t)}};class b{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}let v=(e,t,r,n)=>{let i=r.value;h(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[i]=e.max||1/0;let t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[i]=e||1/0,y(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[o]=0,this[p].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){let n=r.prev;v(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){let n=r.next;v(this,e,r,t),r=n}}keys(){return this[p].toArray().map(e=>e.key)}values(){return this[p].toArray().map(e=>e.value)}reset(){this[u]&&this[p]&&this[p].length&&this[p].forEach(e=>this[u](e.key,e.value)),this[_]=new Map,this[p]=new n,this[o]=0}dump(){return this[p].map(e=>!h(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let n=r?Date.now():0,s=this[a](t,e);if(this[_].has(e)){if(s>this[i])return g(this,this[_].get(e)),!1;let a=this[_].get(e),l=a.value;return this[u]&&!this[c]&&this[u](e,l.value),l.now=n,l.maxAge=r,l.value=t,this[o]+=s-l.length,l.length=s,this.get(e),y(this),!0}let d=new b(e,t,s,n,r);return d.length>this[i]?(this[u]&&this[u](e,t),!1):(this[o]+=d.length,this[p].unshift(d),this[_].set(e,this[p].head),y(this),!0)}has(e){if(!this[_].has(e))return!1;let t=this[_].get(e).value;return!h(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){let e=this[p].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[_].get(e))}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[_].forEach((e,t)=>m(this,t,!1))}}},995:(e,t,r)=>{let n=r(9106);e.exports=(e,t,r)=>n(e,t,">",r)},2013:(e,t,r)=>{let n=r(6843);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},7805:(e,t,r)=>{let n=r(9106);e.exports=(e,t,r)=>n(e,t,"<",r)},3727:(e,t,r)=>{let n=r(2435),i=r(6843);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(o=e,a=new n(o,r))}),o}},4338:(e,t,r)=>{let n=r(2435),i=r(6843);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(o=e,a=new n(o,r))}),o}},1542:(e,t,r)=>{let n=r(2435),i=r(6843),o=r(6379);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r)||(r=new n("0.0.0-0"),e.test(r)))return r;r=null;for(let t=0;t{let t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||o(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!r||o(r,a))&&(r=a)}return r&&e.test(r)?r:null}},9106:(e,t,r)=>{let n=r(2435),i=r(3321),{ANY:o}=i,a=r(6843),s=r(9844),l=r(6379),u=r(1897),c=r(506),p=r(8463);e.exports=(e,t,r,_)=>{let d,f,m,h,y;switch(e=new n(e,_),t=new a(t,_),r){case">":d=l,f=c,m=u,h=">",y=">=";break;case"<":d=u,f=p,m=l,h="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,_))return!1;for(let r=0;r{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,_)?a=e:m(e.semver,s.semver,_)&&(s=e)}),a.operator===h||a.operator===y||(!s.operator||s.operator===h)&&f(e,s.semver)||s.operator===y&&m(e,s.semver))return!1}return!0}},1338:(e,t,r)=>{let n=r(9844),i=r(2271);e.exports=(e,t,r)=>{let o=[],a=null,s=null,l=e.sort((e,t)=>i(e,t,r));for(let e of l){let i=n(e,t,r);i?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length{let n=r(6843),i=r(3321),{ANY:o}=i,a=r(9844),s=r(2271),l=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],c=(e,t,r)=>{let n,i,c,d,f,m,h;if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?l:u}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=u}let y=new Set;for(let t of e)">"===t.operator||">="===t.operator?n=p(n,t,r):"<"===t.operator||"<="===t.operator?i=_(i,t,r):y.add(t.semver);if(y.size>1||n&&i&&((c=s(n.semver,i.semver,r))>0||0===c&&(">="!==n.operator||"<="!==i.operator)))return null;for(let e of y){if(n&&!a(e,String(n),r)||i&&!a(e,String(i),r))return null;for(let n of t)if(!a(e,String(n),r))return!1;return!0}let g=!!i&&!r.includePrerelease&&!!i.semver.prerelease.length&&i.semver,b=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(g&&1===g.prerelease.length&&"<"===i.operator&&0===g.prerelease[0]&&(g=!1),t)){if(h=h||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if((d=p(n,e,r))===e&&d!==n)return!1}else if(">="===n.operator&&!a(n.semver,String(e),r))return!1}if(i){if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if((f=_(i,e,r))===e&&f!==i)return!1}else if("<="===i.operator&&!a(i.semver,String(e),r))return!1}if(!e.operator&&(i||n)&&0!==c)return!1}return(!n||!m||!!i||0===c)&&(!i||!h||!!n||0===c)&&!b&&!g},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e},_=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;n:for(let n of e.set){for(let e of t.set){let t=c(n,e,r);if(i=i||null!==t,t)continue n}if(i)return!1}return!0}},8865:(e,t,r)=>{let n=r(6843);e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},6240:(e,t,r)=>{let n=r(6843);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},7669:(e,t,r)=>{"use strict";var n=r(7286),i=r(5195),o=r(1181)(),a=r(326),s=r(5408),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},4294:(e,t,r)=>{"use strict";var n=r(7286),i=r(2680),o=r(9500),a=n("%TypeError%"),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),p=i("WeakMap.prototype.has",!0),_=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},h=function(e,t){var r=m(e,t);return r&&r.value},y=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+o(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return _(t,n)}else if(r)return h(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(l){if(t)return f(t,n)}else if(r)return!!m(r,n);return!1},set:function(n,i){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),d(t,n,i)):(r||(r={key:{},next:null}),y(r,n,i))}};return n}},8672:(e,t,r)=>{"use strict";var n=r(9979),i=SyntaxError,o="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!o)throw new i("this environment lacks StopIteration");n.set(e,"[[Done]]",!1);var t={next:function(){var e=n.get(this,"[[Iterator]]"),t=n.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(n.set(e,"[[Done]]",!0),t!==o)throw t;return{done:!0,value:void 0}}}};return n.set(t,"[[Iterator]]",e),t}},4851:(e,t,r)=>{e.exports=i;var n=r(2699).EventEmitter;function i(){n.call(this)}r(1285)(i,n),i.Readable=r(8051),i.Writable=r(2557),i.Duplex=r(7073),i.Transform=r(7640),i.PassThrough=r(5163),i.finished=r(9885),i.pipeline=r(3495),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},6871:(e,t,r)=>{let{EventEmitter:n}=r(2699),i=Error("Stream was destroyed"),o=Error("Premature close"),a=r(281),s=r(2865),l=16809999,u=17423,c=16527,p=1167,_=12431,d=82975,f=32879,m=71303183,h=3276815,y=1179663,g=72482831,b=17563663,v=Symbol.asyncIterator||Symbol("asyncIterator");class x{constructor(e,{highWaterMark:t=16384,map:r=null,mapWritable:n,byteLength:i,byteLengthWritable:o}={}){this.stream=e,this.queue=new s,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=o||i||q,this.map=n||r,this.afterWrite=C.bind(this),this.afterUpdateNextTick=j.bind(this)}get ended(){return(4194304&this.stream._duplexState)!=0}push(e){return(null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0;)t.push(this.shift());for(let e=0;e0;)n.drains.shift().resolve(!1);null!==n.pipeline&&n.pipeline.done(t,e)}}function C(e){let t=this.stream;e&&t.destroy(e),t._duplexState&=100532223,null!==this.drains&&function(e){for(let t=0;t=e._readableState.highWaterMark}static isPaused(e){return(256&e._duplexState)==0}[v](){let e=this,t=null,r=null,n=null;return this.on("error",e=>{t=e}),this.on("readable",function(){null!==r&&o(e.read())}),this.on("close",function(){null!==r&&o(null)}),{[v](){return this},next:()=>new Promise(function(t,i){r=t,n=i;let a=e.read();null!==a?o(a):(8&e._duplexState)!=0&&o(null)}),return:()=>a(null),throw:e=>a(e)};function o(o){null!==n&&(t?n(t):null===o&&(16384&e._duplexState)==0?n(i):r({value:o,done:null===o}),n=r=null)}function a(t){return e.destroy(t),new Promise((r,n)=>{if(8&e._duplexState)return r({value:void 0,done:!0});e.once("close",function(){t?n(t):r({value:void 0,done:!0})})})}}}class F extends P{constructor(e){super(e),this._duplexState=1,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}class L extends F{constructor(e){super(e),this._transformState=new S(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(null!==this._transformState.data){let t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(R.bind(this))}}function R(e,t){let r=this._transformState.afterFinal;if(e)return r(e);null!=t&&this.push(t),this.push(null),r(null)}function z(e,...t){let r=Array.isArray(e)?[...e,...t]:[e,...t],n=r.length&&"function"==typeof r[r.length-1]?r.pop():null;if(r.length<2)throw Error("Pipeline requires at least 2 streams");let i=r[0],a=null,s=null;for(let e=1;e1,l),i.pipe(a)),i=a;if(n){let e=!1,t=U(a)||!!(a._writableState&&a._writableState.autoDestroy);a.on("error",e=>{null===s&&(s=e)}),a.on("finish",()=>{e=!0,t||n(s)}),t&&a.on("close",()=>n(s||(e?null:o)))}return a;function l(e){if(e&&!s)for(let t of(s=e,r))t.destroy(e)}}function B(e){return!!e._readableState||!!e._writableState}function U(e){return"number"==typeof e._duplexState&&B(e)}function q(e){return"object"==typeof e&&null!==e&&"number"==typeof e.byteLength?e.byteLength:1024}function J(){}function $(){this.destroy(Error("Stream aborted."))}e.exports={pipeline:z,pipelinePromise:function(...e){return new Promise((t,r)=>z(...e,e=>{if(e)return r(e);t()}))},isStream:B,isStreamx:U,getStreamError:function(e){let t=e._readableState&&e._readableState.error||e._writableState&&e._writableState.error;return t===i?null:t},Stream:O,Writable:class extends O{constructor(e){super(e),this._duplexState|=16385,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return(73400334&e._duplexState)!=0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let t=e._writableState,r=t.queue.length+(33554432&e._duplexState?1:0);return 0===r?Promise.resolve(!0):(null===t.drains&&(t.drains=[]),new Promise(e=>{t.drains.push({writes:r,resolve:e})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Readable:P,Duplex:F,Transform:L,PassThrough:class extends L{}}},214:(e,t,r)=>{"use strict";var n=r(7834).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:this.write=_,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6853:(e,t,r)=>{let n={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{e.exports=r(4374).constants||n}catch{e.exports=n}},9254:(e,t,r)=>{let{Writable:n,Readable:i,getStreamError:o}=r(6871),a=r(2865),s=r(2871),l=r(8066),u=s.alloc(0);class c{constructor(){this.buffered=0,this.shifted=0,this.queue=new a,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return 0===this._buffered?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(0===e)return u;let t=this._next(e);if(e===t.byteLength)return t;let r=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),r.push(t);return s.concat(r)}_next(e){let t=this.queue.peek(),r=t.byteLength-this._offset;if(e>=r){let e=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=r,this.shifted+=r,e}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}}class p extends i{constructor(e,t,r){super(),this.header=t,this.offset=r,this._parent=e}_read(e){0===this.header.size&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(o(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=f(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}}class _ extends n{constructor(e){super(e),e||(e={}),this._buffer=new c,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=d,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=l.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return(this._locked=!0,this._applyLongHeaders(),0===this._header.size||"directory"===this._header.type)?this.emit("entry",this._header,this._createStream(),this._unlockBound):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound)),!0}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=l.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=l.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=l.decodePax(e);break;case"pax-header":this._pax=null===this._paxGlobal?l.decodePax(e):Object.assign({},this._paxGlobal,l.decodePax(e))}}_consumeLongHeader(){this._longHeader=!1,this._missing=f(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(e){return this._continueWrite(e),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(null===e)return!1;this._missing-=e.byteLength;let t=this._stream.push(e);return 0===this._missing?(this._stream.push(null),t&&this._stream._detach(),t&&!1===this._locked):t}_createStream(){return new p(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(null!==this._stream){if(!1===this._consumeStream())return;continue}if(!0===this._longHeader){if(this._missing>this._buffer.buffered)break;if(!1===this._consumeLongHeader())return!1;continue}let e=this._buffer.shiftFirst(this._missing);null!==e&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(null!==this._stream||!1===this._consumeHeader())return}this._continueWrite(null)}_continueWrite(e){let t=this._callback;this._callback=d,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=0===this._missing&&0===this._buffer.buffered,e(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(o(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,r=null,n=null,i=null,o=this;return this.on("entry",function(e,o,a){i=a,o.on("error",d),t?(t({value:o,done:!1}),t=r=null):n=o}),this.on("error",t=>{e=t}),this.on("close",function(){a(e),t&&(e?r(e):t({value:void 0,done:!0}),t=r=null)}),{[Symbol.asyncIterator](){return this},next:()=>new Promise(s),return:()=>l(null),throw:e=>l(e)};function a(e){if(!i)return;let t=i;i=null,t(e)}function s(i,s){if(e)return s(e);if(n){i({value:n,done:!1}),n=null;return}t=i,r=s,a(null),o._finished&&t&&(t({value:void 0,done:!0}),t=r=null)}function l(e){return o.destroy(e),a(e),new Promise((t,r)=>{if(o.destroyed)return t({value:void 0,done:!0});o.once("close",function(){e?r(e):t({value:void 0,done:!0})})})}}}function d(){}function f(e){return(e&=511)&&512-e}e.exports=function(e){return new _(e)}},8066:(e,t,r)=>{let n=r(2871),i=n.from([117,115,116,97,114,0]),o=n.from([48,48]),a=n.from([117,115,116,97,114,32]),s=n.from([32,0]);function l(e,t,r,n){for(;rt?"7777777777777777777".slice(0,t)+" ":"0000000000000000000".slice(0,t-e.length)+e+" "}function p(e,t,r){if(128&(e=e.subarray(t,t+r))[t=0])return function(e){let t,r;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}let n=[];for(r=e.length-1;r>0;r--){let i=e[r];t?n.push(i):n.push(255-i)}let i=0,o=n.length;for(r=0;r=o?o:i>=0||(i+=o)>=0?i:0);for(;t=Math.pow(10,r)&&r++,t+r+e}t.decodeLongPath=function(e,t){return _(e,0,e.length,t)},t.encodePax=function(e){let t="";e.name&&(t+=d(" path="+e.name+"\n")),e.linkname&&(t+=d(" linkpath="+e.linkname+"\n"));let r=e.pax;if(r)for(let e in r)t+=d(" "+e+"="+r[e]+"\n");return n.from(t)},t.decodePax=function(e){let t={};for(;e.length;){let r=0;for(;r100;){let e=a.indexOf("/");if(-1===e)return null;s+=s?"/"+a.slice(0,e):a.slice(0,e),a=a.slice(e+1)}return n.byteLength(a)>100||n.byteLength(s)>155||e.linkname&&n.byteLength(e.linkname)>100?null:(n.write(r,a),n.write(r,c(4095&e.mode,6),100),n.write(r,c(e.uid,6),108),n.write(r,c(e.gid,6),116),(t=e.size).toString(8).length>11?function(e,t,r){t[r]=128;for(let n=11;n>0;n--)t[r+n]=255&e,e=Math.floor(e/256)}(t,r,124):n.write(r,c(t,11),124),n.write(r,c(e.mtime.getTime()/1e3|0,11),136),r[156]=48+function(e){switch(e){case"file":break;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}(e.type),e.linkname&&n.write(r,e.linkname,157),n.copy(i,r,257),n.copy(o,r,263),e.uname&&n.write(r,e.uname,265),e.gname&&n.write(r,e.gname,297),n.write(r,c(e.devmajor||0,6),329),n.write(r,c(e.devminor||0,6),337),s&&n.write(r,s,345),n.write(r,c(u(r),6),148),r)},t.decode=function(e,t,r){let o=0===e[156]?0:e[156]-48,l=_(e,0,100,t),c=p(e,100,8),d=p(e,108,8),f=p(e,116,8),m=p(e,124,12),h=p(e,136,12),y=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}(o),g=0===e[157]?null:_(e,157,100,t),b=_(e,265,32),v=_(e,297,32),x=p(e,329,8),D=p(e,337,8),S=u(e);if(256===S)return null;if(S!==p(e,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(n.equals(i,e.subarray(257,263)))e[345]&&(l=_(e,345,155,t)+"/"+l);else if(n.equals(a,e.subarray(257,263))&&n.equals(s,e.subarray(263,265)));else if(!r)throw Error("Invalid tar header: unknown format.");return 0===o&&l&&"/"===l[l.length-1]&&(o=5),{name:l,mode:c,uid:d,gid:f,size:m,mtime:new Date(1e3*h),type:y,linkname:g,uname:b,gname:v,devmajor:x,devminor:D,pax:null}}},2623:(e,t,r)=>{t.extract=r(9254),r(4132)},4132:(e,t,r)=>{let{Readable:n,Writable:i,getStreamError:o}=r(6871),a=r(2871),s=r(6853),l=r(8066),u=a.alloc(1024);class c extends i{constructor(e,t,r){super({mapWritable:f,eagerOpen:!0}),this.written=0,this.header=t,this._callback=r,this._linkname=null,this._isLinkname="symlink"===t.type&&!t.linkname,this._isVoid="file"!==t.type&&"contiguous-file"!==t.type,this._finished=!1,this._pack=e,this._openCallback=null,null===this._pack._stream?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(null===this._callback)return;let t=this._callback;this._callback=null,t(e)}_continueOpen(){null===this._pack._stream&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,null!==e){if(this._pack.destroying)return e(Error("pack stream destroyed"));if(this._pack._finalized)return e(Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){return this._isLinkname?(this._linkname=this._linkname?a.concat([this._linkname,e]):e,t(null)):this._isVoid?e.byteLength>0?t(Error("No body allowed for this entry")):t():(this.written+=e.byteLength,this._pack.push(e))?t():void(this._pack._drain=t)}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?a.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),d(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(Error("Size mismatch"));this._finish(),e(null)}_getError(){return o(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}}class p extends n{constructor(e){super(e),this._drain=_,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,r){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");"function"==typeof t&&(r=t,t=null),r||(r=_),e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=function(e){switch(e&s.S_IFMT){case s.S_IFBLK:return"block-device";case s.S_IFCHR:return"character-device";case s.S_IFDIR:return"directory";case s.S_IFIFO:return"fifo";case s.S_IFLNK:return"symlink"}return"file"}(e.mode)),e.mode||(e.mode="directory"===e.type?493:420),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=a.from(t));let n=new c(this,e,r);return a.isBuffer(t)?(e.size=t.byteLength,n.write(t),n.end()):n._isVoid,n}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(u),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let t=l.encode(e);if(t){this.push(t);return}}this._encodePax(e)}_encodePax(e){let t=l.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),r={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(l.encode(r)),this.push(t),d(this,t.byteLength),r.size=e.size,r.type=e.type,this.push(l.encode(r))}_doDrain(){let e=this._drain;this._drain=_,e()}_predestroy(){let e=o(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}}function _(){}function d(e,t){(t&=511)&&e.push(u.subarray(0,512-t))}function f(e){return a.isBuffer(e)?e:a.from(e)}e.exports=function(e){return new p(e)}},9085:(e,t)=>{var r,n=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,r){return t.call(e,r)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}}(),i=Math.LN2,o=Math.abs,a=Math.floor,s=Math.log,l=Math.min,u=Math.pow,c=Math.round;function p(e){if(_&&r){var t,n=_(e);for(t=0;t>r}function f(e,t){var r=32-t;return e<>>r}function m(e){return[255&e]}function h(e){return d(e[0],8)}function y(e){return[255&e]}function g(e){return f(e[0],8)}function b(e){return[(e=c(Number(e)))<0?0:e>255?255:255&e]}function v(e){return[e>>8&255,255&e]}function x(e){return d(e[0]<<8|e[1],16)}function D(e){return[e>>8&255,255&e]}function S(e){return f(e[0]<<8|e[1],16)}function E(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return d(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function w(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function A(e){return f(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function C(e,t,r){var n,c,p,_,d,f,m,h=(1<.5?t+1:t%2?t+1:t}for(e!=e?(c=(1<=u(2,1-h)?(c=l(a(s(e)/i),1023),(p=y(e/u(2,c)*u(2,r)))/u(2,r)>=2&&(c+=1,p=1),c>h?(c=(1<>=1;return(_.reverse(),a=_.join(""),s=(1<0?l*u(2,c-s)*(1+p/u(2,r)):0!==p?l*u(2,-(s-1))*(p/u(2,r)):l<0?-0:0}function N(e){return M(e,11,52)}function j(e){return C(e,11,52)}function k(e){return M(e,8,23)}function I(e){return C(e,8,23)}!function(){var e=function(e){var t;if((e=n.ToInt32(e))<0)throw RangeError("ArrayBuffer size is not a small enough positive integer");for(t=0,this.byteLength=e,this._bytes=[],this._bytes.length=e;tthis.buffer.byteLength)throw RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw TypeError("Unexpected argument type(s)")}else for(u=0,l=arguments[0],this.length=n.ToUint32(l.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0;u1e5)throw RangeError("Array too large for polyfill");for(t=0;t=this.length)){var t,r,i=[];for(t=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;t=this.length)){var r,i,o=this._pack(t);for(r=0,i=this.byteOffset+e*this.BYTES_PER_ELEMENT;rthis.length)throw RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(s=0,_=[],l=r.byteOffset;sthis.length)throw RangeError("Offset plus length of array is out of range");for(s=0;si?i:r,o=t,a=this.length;var r,i,o,a,s=(t=o<0?0:o>a?a:o)-e;return s<0&&(s=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,s)},s}var a=o(1,m,h),s=o(1,y,g),l=o(1,b,g),u=o(2,v,x),c=o(2,D,S),_=o(4,E,T),d=o(4,w,A),f=o(4,I,k),C=o(8,j,N);t.iq=t.iq||a,t.U2=t.U2||s,t.we=t.we||l,t.M2=t.M2||u,t.HA=t.HA||c,t.ZV=t.ZV||_,t._R=t._R||d,t.$L=t.$L||f,t.I=t.I||C}(),function(){function e(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,i=(r=new t.HA([4660]),18===e(new t.U2(r.buffer),0)),o=function(e,r,i){if(0==arguments.length)e=new t.eT(0);else if(!(e instanceof t.eT||"ArrayBuffer"===n.Class(e)))throw TypeError("TypeError");if(this.buffer=e||new t.eT(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=n.ToUint32(i),this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)};function a(r){return function(o,a){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");o+=this.byteOffset;var s,l=new t.U2(this.buffer,o,r.BYTES_PER_ELEMENT),u=[];for(s=0;sthis.byteLength)throw RangeError("Array index out of range");var l,u=new r([a]),c=new t.U2(u.buffer),p=[];for(l=0;l{e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},82:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},4895:(e,t,r)=>{"use strict";var n=r(2635),i=r(3138),o=r(2094),a=r(198);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),p=s(Number.prototype.valueOf),_=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(l)var f=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function h(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function v(e){return"[object WeakSet]"===c(e)}function x(e){return"[object ArrayBuffer]"===c(e)}function D(e){return"undefined"!=typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function E(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet),t.isWeakSet=function(e){return v(e)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=D,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var T="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function w(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==T&&(void 0===w.working&&(w.working=w(new T)),w.working?w(e):e instanceof T)}function C(e){return h(e,p)}function M(e){return h(e,_)}function N(e){return h(e,d)}function j(e){return l&&h(e,f)}function k(e){return u&&h(e,m)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=C,t.isStringObject=M,t.isBooleanObject=N,t.isBigIntObject=j,t.isSymbolObject=k,t.isBoxedPrimitive=function(e){return C(e)||M(e)||N(e)||j(e)||k(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(D(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},3335:(e,t,r)=>{var n=r(4406),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),_(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function p(e,t){return e}function _(e,r,n){if(e.customInspect&&r&&T(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,a,s,l,u=r.inspect(n,e);return b(u)||(u=_(e,u,n)),u}var c=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(c)return c;var p=Object.keys(r),D=(s={},p.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(p=Object.getOwnPropertyNames(r)),E(r)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return d(r);if(0===p.length){if(T(r)){var w=r.name?": "+r.name:"";return e.stylize("[Function"+w+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return d(r)}var A="",C=!1,N=["{","}"];return(m(r)&&(C=!0,N=["[","]"]),T(r)&&(A=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(A=" "+RegExp.prototype.toString.call(r)),S(r)&&(A=" "+Date.prototype.toUTCString.call(r)),E(r)&&(A=" "+d(r)),0!==p.length||C&&0!=r.length)?n<0?x(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=C?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+l.join(",\n ")+" "+o[1]:o[0]+i+" "+l.join(", ")+" "+o[1]):N[0]+A+N[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),M(n,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=y(r)?_(e,l.value,null):_(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function v(e){return void 0===e}function x(e){return D(e)&&"[object RegExp]"===w(e)}function D(e){return"object"==typeof e&&null!==e}function S(e){return D(e)&&"[object Date]"===w(e)}function E(e){return D(e)&&("[object Error]"===w(e)||e instanceof Error)}function T(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){}}return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(4895),t.isArray=m,t.isBoolean=h,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=x,t.types.isRegExp=x,t.isObject=D,t.isDate=S,t.types.isDate=S,t.isError=E,t.types.isNativeError=E,t.isFunction=T,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(82);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(1285),t._extend=function(e,t){if(!t||!D(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t=e[N];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o{"use strict";var n=RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=r(5890),o=["node_modules","favicon.ico"],a=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};e.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),a(t,r);if(void 0===e)return r.push("name cannot be undefined"),a(t,r);if("string"!=typeof e)return r.push("name must be a string"),a(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),o.forEach(function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")}),i({version:"*"}).forEach(function(r){e.toLowerCase()===r&&t.push(r+" is a core module name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(n);if(s){var l=s[1],u=s[2];if(encodeURIComponent(l)===l&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}},6627:(e,t,r)=>{"use strict";var n=r(6302),i=r(6550),o=r(8104),a=r(8705),s=r(4134);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:n(e)?"String":i(e)?"Number":o(e)?"Boolean":a(e)?"Symbol":s(e)?"BigInt":void 0}},4647:(e,t,r)=>{"use strict";var n=r(7968),i=r(3328),o=r(6927),a=r(7938);e.exports=function(e){if(e&&"object"==typeof e){if(n(e))return"Map";if(i(e))return"Set";if(o(e))return"WeakMap";if(a(e))return"WeakSet"}return!1}},2094:(e,t,r)=>{"use strict";var n=r(3243),i=r(711),o=r(2680),a=r(326),s=o("Object.prototype.toString"),l=r(7226)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),p=o("String.prototype.slice"),_={},d=Object.getPrototypeOf;l&&a&&d&&n(c,function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=d(t),n=a(r,Symbol.toStringTag);n||(n=a(d(r),Symbol.toStringTag)),_[e]=n.get}}});var f=function(e){var t=!1;return n(_,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},m=r(198);e.exports=function(e){return!!m(e)&&(l&&Symbol.toStringTag in e?f(e):p(s(e),8,-1))}},8892:e=>{e.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw TypeError("need wrapper function");return Object.keys(t).forEach(function(e){n[e]=t[e]}),n;function n(){for(var e=Array(arguments.length),r=0;r{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},8006:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var r=0,i=arguments.length;r1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;null!==o&&n{e.exports=r(9862)(11131)},9766:(e,t,r)=>{e.exports=r(9862)(17089)},3691:(e,t,r)=>{e.exports=r(9862)(22194)},3573:(e,t,r)=>{e.exports=r(9862)(26708)},8775:(e,t,r)=>{e.exports=r(9862)(2784)},5669:(e,t,r)=>{e.exports=r(9862)(28316)},4566:(e,t,r)=>{e.exports=r(9862)(29501)},8963:(e,t,r)=>{e.exports=r(9862)(30361)},676:(e,t,r)=>{e.exports=r(9862)(37715)},859:(e,t,r)=>{e.exports=r(9862)(41014)},2414:(e,t,r)=>{e.exports=r(9862)(44714)},2483:(e,t,r)=>{e.exports=r(9862)(44898)},8445:(e,t,r)=>{e.exports=r(9862)(45056)},5873:(e,t,r)=>{e.exports=r(9862)(57879)},3664:(e,t,r)=>{e.exports=r(9862)(5895)},2618:(e,t,r)=>{e.exports=r(9862)(61199)},4458:(e,t,r)=>{e.exports=r(9862)(67085)},1474:(e,t,r)=>{e.exports=r(9862)(69234)},2787:(e,t,r)=>{e.exports=r(9862)(69378)},5086:(e,t,r)=>{e.exports=r(9862)(69566)},9573:(e,t,r)=>{e.exports=r(9862)(76034)},820:(e,t,r)=>{e.exports=r(9862)(80594)},3807:(e,t,r)=>{e.exports=r(9862)(82323)},1576:(e,t,r)=>{e.exports=r(9862)(83620)},1124:(e,t,r)=>{e.exports=r(9862)(86439)},7786:(e,t,r)=>{e.exports=r(9862)(96940)},7561:(e,t,r)=>{e.exports=r(9862)(98357)},9862:e=>{"use strict";e.exports=vendor_d71fafee4813a2e29a33},6831:()=>{},3260:()=>{},4854:()=>{},6602:()=>{},4374:()=>{}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.g.importScripts&&(e=r.g.location+"");var e,t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&!e;)e=n[i--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{"use strict";var e,t,n,i,o,a,s,l,u,c,p,_,d,f,m,h,y,g,b,v,x,D,S,E,T,w,A,C,M,N,j,k,I,O,P,F,L,R=r(2322),z=r(772),B=r(7029),U=r(8775),q=r(9573),J=r(5086),$=(0,J.createSlice)({name:"configuration",initialState:{open:!1,snapId:"local:http://localhost:8080",snapVersion:void 0,srp:"test test test test test test test test test test test ball",sesEnabled:!0},reducers:{openConfigurationModal:function(e){e.open=!0},setOpen:function(e,t){e.open=t.payload},setSnapId:function(e,t){e.snapId=t.payload},setSnapVersion:function(e,t){e.snapVersion=t.payload},setSrp:function(e,t){e.srp=t.payload},setSesEnabled:function(e,t){e.sesEnabled=t.payload}}}),K=$.actions,Y=K.openConfigurationModal,V=K.setOpen,W=K.setSnapId,Q=K.setSnapVersion;K.setSrp,K.setSesEnabled;var H=$.reducer,G=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.open}),Z=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapId}),X=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapVersion}),ee=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.srp}),et=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.sesEnabled}),er=r(2414),en=er.useDispatch;(function(e){e.OnRpcRequest="onRpcRequest",e.OnSignature="onSignature",e.OnTransaction="onTransaction",e.OnCronjob="onCronjob",e.OnInstall="onInstall",e.OnUpdate="onUpdate",e.OnNameLookup="onNameLookup",e.OnKeyringRequest="onKeyringRequest",e.OnHomePage="onHomePage",e.OnUserInput="onUserInput"})(e||(e={})),Object.values(e);var ei=r(3807);let eo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuNzAxMSAwLjExNjY5OUMxLjYxNjI4IDAuMTE2Njk5IDEuMDQ4NzYgMC42NzQxNzcgMS4wNDg3NiAxLjc1Mzk4VjIuODI4NzVDMS4wNDg3NiAzLjE0NTE2IDEuMjM5NjEgMy4zMzYwMSAxLjU1MDk5IDMuMzM2MDFDMS44NTczNSAzLjMzNjAxIDIuMDQ4MiAzLjE0NTE2IDIuMDQ4MiAyLjgyODc1VjEuODQ0MzhDMi4wNDgyIDEuMzU3MjEgMi4zMDQzNCAxLjExNjE0IDIuNzY2MzkgMS4xMTYxNEgxMS4yMjlDMTEuNjkxMSAxLjExNjE0IDExLjk0NzIgMS4zNTcyMSAxMS45NDcyIDEuODQ0MzhWMi44Mjg3NUMxMS45NDcyIDMuMTQ1MTYgMTIuMTQzMSAzLjMzNjAxIDEyLjQ0OTQgMy4zMzYwMUMxMi43NjA4IDMuMzM2MDEgMTIuOTUxNyAzLjE0NTE2IDEyLjk1MTcgMi44Mjg3NVYxLjc1Mzk4QzEyLjk1MTcgMC42NzkxOTkgMTIuMzg0MSAwLjExNjY5OSAxMS4yOTQzIDAuMTE2Njk5SDIuNzAxMVpNNi45OTAxNiA3LjExNzgyQzcuMzE2NjIgNy4xMTc4MiA3LjQ5NzQyIDYuOTAxODYgNy40OTc0MiA2LjU1NTMyVjMuMjkwODFIOC41OTczMUM4Ljg0MzQgMy4yOTA4MSA5LjAxNDE2IDMuMTM1MTEgOS4wMTQxNiAyLjg5NDA0QzkuMDE0MTYgMi42NDI5MyA4Ljg0MzQgMi40OTcyOCA4LjU5NzMxIDIuNDk3MjhINS40MDMxMUM1LjE1NzAyIDIuNDk3MjggNC45ODYyNiAyLjY0MjkzIDQuOTg2MjYgMi44OTQwNEM0Ljk4NjI2IDMuMTM1MTEgNS4xNTcwMiAzLjI5MDgxIDUuNDAzMTEgMy4yOTA4MUg2LjQ5Mjk2VjYuNTU1MzJDNi40OTI5NiA2Ljg5NjgzIDYuNjY4NzQgNy4xMTc4MiA2Ljk5MDE2IDcuMTE3ODJaTTEuNTUwOTkgNS40MzAzMkMxLjk0Nzc1IDUuNDMwMzIgMi4yNzQyIDUuMTAzODYgMi4yNzQyIDQuNzAyMDhDMi4yNzQyIDQuMzA1MzIgMS45NDc3NSAzLjk3Mzg0IDEuNTUwOTkgMy45NzM4NEMxLjE0OTIgMy45NzM4NCAwLjgyMjc1NCA0LjMwNTMyIDAuODIyNzU0IDQuNzAyMDhDMC44MjI3NTQgNS4xMDM4NiAxLjE0OTIgNS40MzAzMiAxLjU1MDk5IDUuNDMwMzJaTTEyLjQ0OTQgNS40MzAzMkMxMi44NDYyIDUuNDMwMzIgMTMuMTcyNiA1LjEwMzg2IDEzLjE3MjYgNC43MDIwOEMxMy4xNzI2IDQuMzA1MzIgMTIuODQ2MiAzLjk3Mzg0IDEyLjQ0OTQgMy45NzM4NEMxMi4wNDc2IDMuOTczODQgMTEuNzIxMiA0LjMwMDI5IDExLjcyMTIgNC43MDIwOEMxMS43MjEyIDUuMTAzODYgMTIuMDQ3NiA1LjQzMDMyIDEyLjQ0OTQgNS40MzAzMlpNMi43MDExIDkuNTAzNDJIMTEuMjk0M0MxMi4zODQxIDkuNTAzNDIgMTIuOTUxNyA4Ljk0MDkyIDEyLjk1MTcgNy44NjYxNFY2LjU5MDQ3QzEyLjk1MTcgNi4yNzQwNyAxMi43NTU4IDYuMDgzMjIgMTIuNDQ5NCA2LjA4MzIyQzEyLjEzOCA2LjA4MzIyIDExLjk0NzIgNi4yNzQwNyAxMS45NDcyIDYuNTkwNDdWNy43NzU3NEMxMS45NDcyIDguMjYyOTEgMTEuNjkxMSA4LjUwMzk4IDExLjIyOSA4LjUwMzk4SDIuNzY2MzlDMi4zMDQzNCA4LjUwMzk4IDIuMDQ4MiA4LjI2MjkxIDIuMDQ4MiA3Ljc3NTc0VjYuNTkwNDdDMi4wNDgyIDYuMjc0MDcgMS44NTczNSA2LjA4MzIyIDEuNTUwOTkgNi4wODMyMkMxLjIzOTYxIDYuMDgzMjIgMS4wNDg3NiA2LjI3NDA3IDEuMDQ4NzYgNi41OTA0N1Y3Ljg2NjE0QzEuMDQ4NzYgOC45NDA5MiAxLjYxNjI4IDkuNTAzNDIgMi43MDExIDkuNTAzNDJaIiBmaWxsPSIjOUZBNkFFIi8+Cjwvc3ZnPgo=";var ea={alert:{alt:"Alert",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMjIuMzU5NiAxOC4wNzVMMjEuNDkyOSAxNi42OTE3QzIxLjMxMDkgMTYuMzgzMyAyMS4xNDYyIDE1LjggMjEuMTQ2MiAxNS40NTgzVjEzLjM1QzIxLjE0NjIgMTEuMzkxNyAxOS45NTAxIDkuNjk5OTkgMTguMjI1MyA4LjkwODMyQzE3Ljc3NDcgOC4xNDE2NiAxNi45NDI2IDcuNjY2NjYgMTUuOTg5MiA3LjY2NjY2QzE1LjA0NDUgNy42NjY2NiAxNC4xOTUxIDguMTU4MzIgMTMuNzQ0NCA4LjkzMzMyQzEyLjA1NDMgOS43NDE2NiAxMC44ODQyIDExLjQxNjcgMTAuODg0MiAxMy4zNVYxNS40NTgzQzEwLjg4NDIgMTUuOCAxMC43MTk1IDE2LjM4MzMgMTAuNTM3NSAxNi42ODMzTDkuNjYyMTQgMTguMDc1QzkuMzE1NDYgMTguNjMzMyA5LjIzNzQ1IDE5LjI1IDkuNDU0MTMgMTkuODE2N0M5LjY2MjE0IDIwLjM3NSAxMC4xNTYyIDIwLjgwODMgMTAuNzk3NSAyMS4wMTY3QzEyLjQ3OSAyMS41NjY3IDE0LjI0NzEgMjEuODMzMyAxNi4wMTUyIDIxLjgzMzNDMTcuNzgzMyAyMS44MzMzIDE5LjU1MTQgMjEuNTY2NyAyMS4yMzI5IDIxLjAyNUMyMS44Mzk2IDIwLjgzMzMgMjIuMzA3NiAyMC4zOTE3IDIyLjUzMyAxOS44MTY3QzIyLjc1ODMgMTkuMjQxNyAyMi42OTc2IDE4LjYwODMgMjIuMzU5NiAxOC4wNzVaIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTE4LjQ1MDQgMjIuNjc1QzE4LjA4NjQgMjMuNjQxNyAxNy4xMjQzIDI0LjMzMzMgMTUuOTk3NiAyNC4zMzMzQzE1LjMxMjkgMjQuMzMzMyAxNC42MzY5IDI0LjA2NjcgMTQuMTYwMiAyMy41OTE3QzEzLjg4MjggMjMuMzQxNyAxMy42NzQ4IDIzLjAwODMgMTMuNTUzNSAyMi42NjY3QzEzLjY2NjEgMjIuNjgzMyAxMy43Nzg4IDIyLjY5MTcgMTMuOTAwMSAyMi43MDgzQzE0LjA5OTUgMjIuNzMzMyAxNC4zMDc1IDIyLjc1ODMgMTQuNTE1NSAyMi43NzVDMTUuMDA5NSAyMi44MTY3IDE1LjUxMjIgMjIuODQxNyAxNi4wMTQ5IDIyLjg0MTdDMTYuNTA5IDIyLjg0MTcgMTcuMDAzIDIyLjgxNjcgMTcuNDg4NCAyMi43NzVDMTcuNjcwNCAyMi43NTgzIDE3Ljg1MjQgMjIuNzUgMTguMDI1NyAyMi43MjVDMTguMTY0NCAyMi43MDgzIDE4LjMwMzEgMjIuNjkxNyAxOC40NTA0IDIyLjY3NVoiIGZpbGw9IiMwMzc2QzkiLz4KPC9zdmc+Cg=="},arrowRight:{alt:"Arrow pointing right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjM5OTI5IDEyQzEuMTc5NTEgMTIgMS4wMzI5OSAxMS45MzI2IDAuODg2NDY3IDExLjc5NzhDMC41OTM0MjcgMTEuNTI4MSAwLjU5MzQyNyAxMS4xMjM2IDAuODg2NDY3IDEwLjg1MzlMNS42NDgzNyA2LjQ3MTkxQzUuNzk0ODkgNi4zMzcwOCA1Ljg2ODE1IDYuMjAyMjUgNS44NjgxNSA2QzUuODY4MTUgNS43OTc3NSA1Ljc5NDg5IDUuNjYyOTIgNS42NDgzNyA1LjUyODA5TDAuODg2NDY3IDEuMTQ2MDdDMC41OTM0MjcgMC44NzY0MDQgMC41OTM0MjcgMC40NzE5MSAwLjg4NjQ2NyAwLjIwMjI0N0MxLjE3OTUxIC0wLjA2NzQxNTcgMS42MTkwNyAtMC4wNjc0MTU3IDEuOTEyMTEgMC4yMDIyNDdMNi42NzQwMSA0LjU4NDI3QzcuMTEzNTcgNC45ODg3NiA3LjMzMzM1IDUuNDYwNjcgNy4zMzMzNSA2QzcuMzMzMzUgNi41MzkzMiA3LjExMzU3IDcuMDc4NjUgNi42NzQwMSA3LjQxNTczTDEuOTEyMTEgMTEuNzk3OEMxLjc2NTU5IDExLjkzMjYgMS42MTkwNyAxMiAxLjM5OTI5IDEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},arrowTopRight:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMjQ3OCA4LjM2NjQ5TDEwLjI0MTEgMS42Mjk5QzEwLjI0MTEgMS4yNDgyIDkuOTkzMzUgMC45ODAzNDcgOS41OTE1OCAwLjk4MDM0N0gyLjg1NDk0QzIuNDc5OTQgMC45ODAzNDcgMi4yMjU0OCAxLjI2ODI5IDIuMjI1NDggMS41ODk3MkMyLjIyNTQ4IDEuOTExMTUgMi41MTM0MyAyLjE4NTcgMi44MjgxNiAyLjE4NTdINS4xNTg1MUw4LjQyNjM4IDIuMDc4NTZMNy4xODA4MyAzLjE3MDA4TDAuNTQ0Njc4IDkuODE5NjNDMC40MjQxNDIgOS45NDAxNCAwLjM1NzE3OCAxMC4wOTQyIDAuMzU3MTc4IDEwLjI0MTVDMC4zNTcxNzggMTAuNTYyOSAwLjY0NTEyNCAxMC44NjQzIDAuOTc5OTQzIDEwLjg2NDNDMS4xMzM5NyAxMC44NjQzIDEuMjgxMjkgMTAuODEwNyAxLjQwMTgyIDEwLjY4MzVMOC4wNTEzNSA0LjA0MDYxTDkuMTU2MjYgMi43ODgzOEw5LjAzNTc1IDUuOTE1NjJWOC4zOTMyOUM5LjAzNTc1IDguNzA4MDMgOS4zMTAzMiA5LjAwMjY2IDkuNjM4NDMgOS4wMDI2NkM5Ljk1OTg2IDkuMDAyNjYgMTAuMjQ3OCA4LjcyODE0IDEwLjI0NzggOC4zNjY0OVoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},darkArrowTopRightIcon:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuNzQ3OCA4LjM2NjM2TDEwLjc0MTEgMS42Mjk3OEMxMC43NDExIDEuMjQ4MDggMTAuNDkzMyAwLjk4MDIyNSAxMC4wOTE2IDAuOTgwMjI1SDMuMzU0OTRDMi45Nzk5NCAwLjk4MDIyNSAyLjcyNTQ4IDEuMjY4MTcgMi43MjU0OCAxLjU4OTZDMi43MjU0OCAxLjkxMTAzIDMuMDEzNDMgMi4xODU1OCAzLjMyODE2IDIuMTg1NThINS42NTg1MUw4LjkyNjM4IDIuMDc4NDRMNy42ODA4MyAzLjE2OTk2TDEuMDQ0NjggOS44MTk1MUMwLjkyNDE0MiA5Ljk0MDAyIDAuODU3MTc4IDEwLjA5NDEgMC44NTcxNzggMTAuMjQxNEMwLjg1NzE3OCAxMC41NjI4IDEuMTQ1MTIgMTAuODY0MSAxLjQ3OTk0IDEwLjg2NDFDMS42MzM5NyAxMC44NjQxIDEuNzgxMjkgMTAuODEwNiAxLjkwMTgyIDEwLjY4MzNMOC41NTEzNSA0LjA0MDQ5TDkuNjU2MjYgMi43ODgyNkw5LjUzNTc1IDUuOTE1NDlWOC4zOTMxNkM5LjUzNTc1IDguNzA3OTEgOS44MTAzMiA5LjAwMjUzIDEwLjEzODQgOS4wMDI1M0MxMC40NTk5IDkuMDAyNTMgMTAuNzQ3OCA4LjcyODAyIDEwLjc0NzggOC4zNjYzNloiIGZpbGw9IiM1MzVBNjEiLz4KPC9zdmc+Cg=="},arrowDown:{alt:"Arrow pointing down",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuOTQ5NjQgMC44NTcxNzhDNi41MDYgMC44NTcxNzggNi4xOTYyOSAxLjE2Njg5IDYuMTk2MjkgMS42MDIxNlYxMC4wNTY0TDYuMjYzMjUgMTEuODU2TDMuNzQzNzIgOS4wOTM3NUwxLjg2ODcyIDcuMjQzOUMxLjcyNjQyIDcuMTA5OTcgMS41MzM5IDcuMDM0NjQgMS4zMzMwMSA3LjAzNDY0QzAuOTA2MTEgNy4wMzQ2NCAwLjYwNDc3MSA3LjM1MjcxIDAuNjA0NzcxIDcuNzcxMjRDMC42MDQ3NzEgNy45NzIxNCAwLjY4ODQ3NiA4LjE1NjMyIDAuODQ3NTE3IDguMzMyMDRMNi4zODg4MSAxMy44NzM0QzYuNTQ3ODUgMTQuMDQwNyA2Ljc0MDM4IDE0LjEzMjggNi45NDk2NCAxNC4xMzI4QzcuMTUwNTMgMTQuMTMyOCA3LjM1MTQyIDE0LjA0MDcgNy41MTA0NiAxMy44NzM0TDEzLjA0MzQgOC4zMzIwNEMxMy4yMTA4IDguMTU2MzIgMTMuMjk0NSA3Ljk3MjE0IDEzLjI5NDUgNy43NzEyNEMxMy4yOTQ1IDcuMzUyNzEgMTIuOTg0OCA3LjAzNDY0IDEyLjU2NjMgNy4wMzQ2NEMxMi4zNjU0IDcuMDM0NjQgMTIuMTY0NSA3LjEwOTk3IDEyLjAzMDYgNy4yNDM5TDEwLjE1NTYgOS4wOTM3NUw3LjYzNjAyIDExLjg0NzdMNy42OTQ2MiAxMC4wNTY0VjEuNjAyMTZDNy42OTQ2MiAxLjE2Njg5IDcuMzg0OSAwLjg1NzE3OCA2Ljk0OTY0IDAuODU3MTc4Wk0xLjI5MTE1IDE0LjExNjFDMC44NjQyNTggMTQuMTE2MSAwLjU3MTI4OSAxNC40MjU4IDAuNTcxMjg5IDE0Ljg2MTFDMC41NzEyODkgMTUuMjk2MyAwLjg2NDI1OCAxNS42MTQ1IDEuMjkxMTUgMTUuNjE0NUgxMi41ODNDMTMuMDE4MyAxNS42MTQ1IDEzLjMxOTYgMTUuMjk2MyAxMy4zMTk2IDE0Ljg2MTFDMTMuMzE5NiAxNC40MjU4IDEzLjAxODMgMTQuMTE2MSAxMi41ODMgMTQuMTE2MUgxLjI5MTE1WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},textBubble:{alt:"Text bubble",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xOC42OTI1IDE2LjNWMTkuMzUyNUMxOC42OTI1IDE5LjYyMjUgMTguNjYyNSAxOS44Nzc1IDE4LjU5NSAyMC4xMUMxOC4zMTc1IDIxLjIxMjUgMTcuNDAyNSAyMS45MDI1IDE2LjE0MjUgMjEuOTAyNUgxNC4xMDI1TDExLjgzNzUgMjMuNDFDMTEuNSAyMy42NDI1IDExLjA1IDIzLjM5NSAxMS4wNSAyMi45OVYyMS45MDI1QzEwLjI4NSAyMS45MDI1IDkuNjQ3NSAyMS42NDc1IDkuMjA1IDIxLjIwNUM4Ljc1NSAyMC43NTUgOC41IDIwLjExNzUgOC41IDE5LjM1MjVWMTYuM0M4LjUgMTQuODc1IDkuMzg1IDEzLjg5MjUgMTAuNzUgMTMuNzY1QzEwLjg0NzUgMTMuNzU3NSAxMC45NDUgMTMuNzUgMTEuMDUgMTMuNzVIMTYuMTQyNUMxNy42NzI1IDEzLjc1IDE4LjY5MjUgMTQuNzcgMTguNjkyNSAxNi4zWiIgZmlsbD0iIzAzNzZDOSIvPgo8cGF0aCBkPSJNMjAuMzEyNSAxOC43QzIxLjI2NSAxOC43IDIyLjA2NzUgMTguMzg1IDIyLjYyMjUgMTcuODIyNUMyMy4xODUgMTcuMjY3NSAyMy41IDE2LjQ2NSAyMy41IDE1LjUxMjVWMTEuNjg3NUMyMy41IDkuOTI1IDIyLjA3NSA4LjUgMjAuMzEyNSA4LjVIMTMuOTM3NUMxMi4xNzUgOC41IDEwLjc1IDkuOTI1IDEwLjc1IDExLjY4NzVWMTIuMjVDMTAuNzUgMTIuNDYgMTAuOTE1IDEyLjYyNSAxMS4xMjUgMTIuNjI1SDE2LjE0MjVDMTguMTc1IDEyLjYyNSAxOS44MTc1IDE0LjI2NzUgMTkuODE3NSAxNi4zVjE4LjMyNUMxOS44MTc1IDE4LjUzNSAxOS45ODI1IDE4LjcgMjAuMTkyNSAxOC43SDIwLjMxMjVaIiBmaWxsPSIjMDM3NkM5Ii8+Cjwvc3ZnPgo="},configuration:{alt:"Configuration",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjA5MSA2LjM0OTI3QzE2LjI4MTkgNi4zNDkyNyAxNS41NDIyIDUuMTI4NzkgMTYuNDQxOCAzLjYzMTc5QzE2Ljk2MTUgMi43NjQxIDE2LjY1MTcgMS42NTgwNCAxNS43NDIxIDEuMTYyMjJMMTQuMDEzIDAuMjE4MjU4QzEzLjIyMzQgLTAuMjI5ODg4IDEyLjIwMzkgMC4wMzcwOTI1IDExLjczNDEgMC43OTAzNThMMTEuNjI0MiAwLjk3MTUyM0MxMC43MjQ2IDIuNDY4NTIgOS4yNDUzOCAyLjQ2ODUyIDguMzM1ODMgMC45NzE1MjNMOC4yMjU4OSAwLjc5MDM1OEM3Ljc3NjExIDAuMDM3MDkyNSA2Ljc1NjYyIC0wLjIyOTg4OCA1Ljk2NzAyIDAuMjE4MjU4TDQuMjM3ODggMS4xNjIyMkMzLjMyODM0IDEuNjU4MDQgMy4wMTg0OSAyLjc3MzY0IDMuNTM4MjMgMy42NDEzM0M0LjQ0Nzc4IDUuMTI4NzkgMy43MDgxNSA2LjM0OTI3IDEuODk5MDUgNi4zNDkyN0MwLjg1OTU3IDYuMzQ5MjcgMCA3LjE1OTc0IDAgOC4xNjA5MlY5LjgzOTA4QzAgMTAuODMwNyAwLjg0OTU3NSAxMS42NTA3IDEuODk5MDUgMTEuNjUwN0MzLjcwODE1IDExLjY1MDcgNC40NDc3OCAxMi44NzEyIDMuNTM4MjMgMTQuMzY4MkMzLjAxODQ5IDE1LjIzNTkgMy4zMjgzNCAxNi4zNDIgNC4yMzc4OCAxNi44Mzc4TDUuOTY3MDIgMTcuNzgxN0M2Ljc1NjYyIDE4LjIyOTkgNy43NzYxMSAxNy45NjI5IDguMjQ1ODggMTcuMjA5Nkw4LjM1NTgyIDE3LjAyODVDOS4yNTUzNyAxNS41MzE1IDEwLjczNDYgMTUuNTMxNSAxMS42NDQyIDE3LjAyODVMMTEuNzU0MSAxNy4yMDk2QzEyLjIyMzkgMTcuOTYyOSAxMy4yNDM0IDE4LjIyOTkgMTQuMDMzIDE3Ljc4MTdMMTUuNzYyMSAxNi44Mzc4QzE2LjY3MTcgMTYuMzQyIDE2Ljk4MTUgMTUuMjI2NCAxNi40NjE4IDE0LjM2ODJDMTUuNTUyMiAxMi44NzEyIDE2LjI5MTkgMTEuNjUwNyAxOC4xMDEgMTEuNjUwN0MxOS4xNDA0IDExLjY1MDcgMjAgMTAuODQwMyAyMCA5LjgzOTA4VjguMTYwOTJDMTkuOTkgNy4xNjkyOCAxOS4xNDA0IDYuMzQ5MjcgMTguMDkxIDYuMzQ5MjdaTTkuOTk1IDEyLjA5ODlDOC4yMDU5IDEyLjA5ODkgNi43NDY2MyAxMC43MDY4IDYuNzQ2NjMgOUM2Ljc0NjYzIDcuMjkzMjMgOC4yMDU5IDUuOTAxMTIgOS45OTUgNS45MDExMkMxMS43ODQxIDUuOTAxMTIgMTMuMjQzNCA3LjI5MzIzIDEzLjI0MzQgOUMxMy4yNDM0IDEwLjcwNjggMTEuNzg0MSAxMi4wOTg5IDkuOTk1IDEyLjA5ODlaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo=",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjI4NjkgMjEuNzA3N0gxMi4xMzUxQzEyLjY1NzQgMjEuNzA3NyAxMy4wMzkxIDIxLjM5NjMgMTMuMTQ5NiAyMC44ODRMMTMuNjcyIDE4LjY3NDJDMTQuMDYzNyAxOC41NDM2IDE0LjQ0NTQgMTguMzkyOSAxNC43NzY4IDE4LjIzMjJMMTYuNzE1NSAxOS40MTc1QzE3LjE0NzQgMTkuNjg4NyAxNy42Mzk2IDE5LjY0ODUgMTguMDAxMiAxOS4yODY5TDE5LjI5NyAxOC4wMDEyQzE5LjY1ODYgMTcuNjM5NiAxOS43MDg4IDE3LjExNzIgMTkuNDE3NSAxNi42ODUzTDE4LjIzMjIgMTQuNzY2OEMxOC40MDMgMTQuNDE1MyAxOC41NTM2IDE0LjA1MzYgMTguNjY0MSAxMy42OTJMMjAuODk0MSAxMy4xNTk2QzIxLjQwNjMgMTMuMDQ5MiAyMS43MDc3IDEyLjY2NzUgMjEuNzA3NyAxMi4xNDUxVjEwLjMyN0MyMS43MDc3IDkuODE0ODEgMjEuNDA2MyA5LjQzMzEzIDIwLjg5NDEgOS4zMjI2NEwxOC42ODQyIDguNzkwMjVDMTguNTUzNiA4LjM3ODQyIDE4LjM5MjkgOC4wMDY3NiAxOC4yNTIzIDcuNjk1MzhMMTkuNDM3NiA1Ljc0NjcyQzE5LjcxODggNS4zMTQ4IDE5LjY4ODcgNC44MjI2MiAxOS4zMTcgNC40NjFMMTguMDAxMiAzLjE2NTI1QzE3LjYyOTYgMi44MjM3MyAxNy4xODc2IDIuNzYzNDYgMTYuNzQ1NiAzLjAxNDU4TDE0Ljc3NjggNC4yMjk5OEMxNC40NTU0IDQuMDU5MjIgMTQuMDgzOCAzLjkwODU1IDEzLjY3MiAzLjc3Nzk3TDEzLjE0OTYgMS41MzgwMkMxMy4wMzkxIDEuMDI1NzQgMTIuNjU3NCAwLjcxNDM1NSAxMi4xMzUxIDAuNzE0MzU1SDEwLjI4NjlDOS43NjQ1OCAwLjcxNDM1NSA5LjM4MjkgMS4wMjU3NCA5LjI2MjM1IDEuNTM4MDJMOC43NDAwMiAzLjc1Nzg4QzguMzQ4MjggMy44ODg0NiA3Ljk2NjU5IDQuMDM5MTQgNy42MjUwNyA0LjIxOTkzTDUuNjc2NDEgMy4wMTQ1OEM1LjIzNDQ1IDIuNzYzNDYgNC43ODI0MyAyLjgxMzY5IDQuNDEwNzggMy4xNjUyNUwzLjEwNDk4IDQuNDYxQzIuNzMzMzMgNC44MjI2MiAyLjY5MzE1IDUuMzE0OCAyLjk4NDQ1IDUuNzQ2NzJMNC4xNTk2NyA3LjY5NTM4QzQuMDI5MDkgOC4wMDY3NiAzLjg2ODM4IDguMzc4NDIgMy43Mzc3OSA4Ljc5MDI1TDEuNTI3OTcgOS4zMjI2NEMxLjAxNTY5IDkuNDMzMTMgMC43MTQzNTUgOS44MTQ4MSAwLjcxNDM1NSAxMC4zMjdWMTIuMTQ1MUMwLjcxNDM1NSAxMi42Njc1IDEuMDE1NjkgMTMuMDQ5MiAxLjUyNzk3IDEzLjE1OTZMMy43NTc4OCAxMy42OTJDMy44NjgzOCAxNC4wNTM2IDQuMDE5MDQgMTQuNDE1MyA0LjE3OTc2IDE0Ljc2NjhMMy4wMDQ1NCAxNi42ODUzQzIuNzAzMTkgMTcuMTE3MiAyLjc2MzQ2IDE3LjYzOTYgMy4xMjUwNyAxOC4wMDEyTDQuNDEwNzggMTkuMjg2OUM0Ljc3MjQgMTkuNjQ4NSA1LjI3NDYyIDE5LjY4ODcgNS43MDY1NCAxOS40MTc1TDcuNjM1MTIgMTguMjMyMkM3Ljk3NjY0IDE4LjM5MjkgOC4zNDgyOCAxOC41NDM2IDguNzQwMDIgMTguNjc0Mkw5LjI2MjM1IDIwLjg4NEM5LjM4MjkgMjEuMzk2MyA5Ljc2NDU4IDIxLjcwNzcgMTAuMjg2OSAyMS43MDc3Wk0xMS4yMTEgMTQuNzU2OEM5LjI2MjM1IDE0Ljc1NjggNy42NjUyNSAxMy4xNDk2IDcuNjY1MjUgMTEuMjAxQzcuNjY1MjUgOS4yNjIzNSA5LjI2MjM1IDcuNjY1MjUgMTEuMjExIDcuNjY1MjVDMTMuMTU5NiA3LjY2NTI1IDE0Ljc1NjggOS4yNjIzNSAxNC43NTY4IDExLjIwMUMxNC43NTY4IDEzLjE0OTYgMTMuMTU5NiAxNC43NTY4IDExLjIxMSAxNC43NTY4WiIgZmlsbD0iIzlGQTZBRSIvPgo8L3N2Zz4K"},play:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUiIHk9IjAuMDkwODIwMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiMwMzc2QzkiLz4KICA8cGF0aCBkPSJNMTguNSAxMi4wOTA4TDkuNSAxNy4yODdMOS41IDYuODk0NjdMMTguNSAxMi4wOTA4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="},playMuted:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNCQkMwQzUiLz4KPHBhdGggZD0iTTE4IDEyTDkgMTcuMTk2Mkw5IDYuODAzODVMMTggMTJaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo="},playSuccess:{alt:"Success",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV83OTk1KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjNTc5RjZFIi8+CjxyZWN0IHg9IjMiIHk9IjIuOTk5OTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgcng9IjkuMDAwMDIiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMS45NTk5IDIyLjIwNTNDMTcuNTY0OCAyMi4yMDUzIDIyLjIwNTQgMTcuNTU0NyAyMi4yMDU0IDExLjk1OThDMjIuMjA1NCA2LjM1NDkxIDE3LjU1NDggMS43MTQyNyAxMS45NDk5IDEuNzE0MjdDNi4zNTQ5OSAxLjcxNDI3IDEuNzE0MzYgNi4zNTQ5MSAxLjcxNDM2IDExLjk1OThDMS43MTQzNiAxNy41NTQ3IDYuMzY1MDQgMjIuMjA1MyAxMS45NTk5IDIyLjIwNTNaTTEwLjgzNDkgMTYuODcxN0MxMC40OTM0IDE2Ljg3MTcgMTAuMjEyMSAxNi43MzEgOS45NTA5OSAxNi4zNzk1TDcuNDI5NzcgMTMuMjg1N0M3LjI3OTEgMTMuMDg0OCA3LjE4ODcgMTIuODYzOCA3LjE4ODcgMTIuNjMyOEM3LjE4ODcgMTIuMTgwOCA3LjU0MDI3IDExLjgwOTEgNy45OTIyNyAxMS44MDkxQzguMjgzNTcgMTEuODA5MSA4LjUwNDU1IDExLjg5OTYgOC43NTU2NiAxMi4yMzFMMTAuNzk0OCAxNC44NjI3TDE1LjA4MzggNy45NzIxQzE1LjI3NDYgNy42NzA3NiAxNS41MzU4IDcuNTEwMDUgMTUuNzk3IDcuNTEwMDVDMTYuMjM4OSA3LjUxMDA1IDE2LjY1MDggNy44MTEzOCAxNi42NTA4IDguMjgzNDhDMTYuNjUwOCA4LjUwNDQ3IDE2LjUyMDIgOC43MzU1IDE2LjM5OTYgOC45NDY0M0wxMS42Nzg3IDE2LjM3OTVDMTEuNDY3NyAxNi43MTEgMTEuMTc2NSAxNi44NzE3IDEwLjgzNDkgMTYuODcxN1oiIGZpbGw9IiM1NzlGNkUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMzVfNzk5NSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},playError:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV84MDM5KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjRDM0QzQ2Ii8+CjxyZWN0IHg9IjguNDI4NTkiIHk9IjIuMTQyODkiIHdpZHRoPSI2LjY2NjY1IiBoZWlnaHQ9IjE4LjMzMzMiIHJ4PSIzLjMzMzMyIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMy4zODAzIDIxLjIwNTNIMjAuNjc5NEMyMi41NzY3IDIxLjIwNTMgMjMuNzI2MiAxOS44ODgzIDIzLjcyNjIgMTguMTgwN0MyMy43MjYyIDE3LjY1NjMgMjMuNTY5OSAxNy4xMDkzIDIzLjI5MSAxNi42MTgzTDE0LjYzMDMgMS41MjkwNEMxNC4wNDk5IDAuNTEzNDE0IDEzLjA1NjYgMi4yODg4MmUtMDUgMTIuMDI5OCAyLjI4ODgyZS0wNUMxMS4wMDMgMi4yODg4MmUtMDUgOS45OTg1NSAwLjUxMzQxNCA5LjQyOTM5IDEuNTI5MDRMMC43Njg3MDIgMTYuNjE4M0MwLjQ2NzM2MyAxNy4xMjA1IDAuMzMzNDM1IDE3LjY1NjMgMC4zMzM0MzUgMTguMTgwN0MwLjMzMzQzNSAxOS44ODgzIDEuNDgyOTggMjEuMjA1MyAzLjM4MDMgMjEuMjA1M1pNMTIuMDQxIDEzLjc1QzExLjQ2MDYgMTMuNzUgMTEuMTM3IDEzLjQxNTEgMTEuMTI1OCAxMi44MjM2TDEwLjk4MDcgNi43NTIyM0MxMC45Njk2IDYuMTYwNzIgMTEuNDA0OCA1LjczNjYyIDEyLjAyOTggNS43MzY2MkMxMi42MzI1IDUuNzM2NjIgMTMuMTAxMiA2LjE3MTg4IDEzLjA5MDEgNi43NjMzOUwxMi45MjI3IDEyLjgyMzZDMTIuOTExNSAxMy40MjY0IDEyLjU4NzkgMTMuNzUgMTIuMDQxIDEzLjc1Wk0xMi4wNDEgMTcuNDg4OEMxMS4zNzEzIDE3LjQ4ODggMTAuNzkxIDE2Ljk1MzEgMTAuNzkxIDE2LjI5NDZDMTAuNzkxIDE1LjYyNDkgMTEuMzYwMiAxNS4wODkzIDEyLjA0MSAxNS4wODkzQzEyLjcxMDYgMTUuMDg5MyAxMy4yNzk5IDE1LjYxMzggMTMuMjc5OSAxNi4yOTQ2QzEzLjI3OTkgMTYuOTY0MyAxMi42OTk1IDE3LjQ4ODggMTIuMDQxIDE3LjQ4ODhaIiBmaWxsPSIjRDM0QzQ2Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTM1XzgwMzkiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K"},dot:{alt:"OK",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI0IiBjeT0iNCIgcj0iNCIgZmlsbD0iIzU3OUY2RSIvPgo8L3N2Zz4K"},errorTriangle:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuOTcwOTUgMTMuNDM3NUgxMi4zNTA0QzEzLjQ4ODggMTMuNDM3NSAxNC4xNzg1IDEyLjY0NzMgMTQuMTc4NSAxMS42MjI3QzE0LjE3ODUgMTEuMzA4MSAxNC4wODQ4IDEwLjk3OTkgMTMuOTE3NCAxMC42ODUzTDguNzIwOTQgMS42MzE2OUM4LjM3MjcxIDEuMDIyMzEgNy43NzY3NiAwLjcxNDI3OSA3LjE2MDY1IDAuNzE0Mjc5QzYuNTQ0NTkgMC43MTQyNzkgNS45NDE5MSAxLjAyMjMxIDUuNjAwNDEgMS42MzE2OUwwLjQwMzk4MyAxMC42ODUzQzAuMjIzMTc5IDEwLjk4NjYgMC4xNDI4MjIgMTEuMzA4MSAwLjE0MjgyMiAxMS42MjI3QzAuMTQyODIyIDEyLjY0NzMgMC44MzI1NTQgMTMuNDM3NSAxLjk3MDk1IDEzLjQzNzVaTTcuMTY3MzkgOC45NjQyOEM2LjgxOTE2IDguOTY0MjggNi42MjQ5OSA4Ljc2MzM2IDYuNjE4MjUgOC40MDg0NUw2LjUzMTIyIDQuNzY1NjJDNi41MjQ1NCA0LjQxMDcxIDYuNzg1NjggNC4xNTYyNCA3LjE2MDY1IDQuMTU2MjRDNy41MjIzMSA0LjE1NjI0IDcuODAzNTEgNC40MTc0IDcuNzk2ODIgNC43NzIzMUw3LjY5NjQyIDguNDA4NDVDNy42ODk2OCA4Ljc3MDExIDcuNDk1NTEgOC45NjQyOCA3LjE2NzM5IDguOTY0MjhaTTcuMTY3MzkgMTEuMjA3NkM2Ljc2NTU2IDExLjIwNzYgNi40MTczOSAxMC44ODYyIDYuNDE3MzkgMTAuNDkxMUM2LjQxNzM5IDEwLjA4OTIgNi43NTg4OCA5Ljc2Nzg4IDcuMTY3MzkgOS43Njc4OEM3LjU2OTE2IDkuNzY3ODggNy45MTA3MSAxMC4wODI2IDcuOTEwNzEgMTAuNDkxMUM3LjkxMDcxIDEwLjg5MjggNy41NjI0OCAxMS4yMDc2IDcuMTY3MzkgMTEuMjA3NloiIGZpbGw9IiNEMzRDNDYiLz4KPC9zdmc+Cg=="},computer:{alt:"Computer",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAzNSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy41ODUxIDIyLjg3MTNIMzAuNTk5QzMyLjg5NzYgMjIuODcxMyAzNC4wOTQ3IDIxLjY4OCAzNC4wOTQ3IDE5LjM3NTZWMy43ODc1NkMzNC4wOTQ3IDEuNDg4OCAzMi44OTc2IDAuMzA1NDIgMzAuNTk5IDAuMzA1NDJIMy41ODUxQzEuMjg2MzQgMC4zMDU0MiAwLjA4OTM1NTUgMS40ODg4IDAuMDg5MzU1NSAzLjc4NzU2VjE5LjM3NTZDMC4wODkzNTU1IDIxLjY4OCAxLjI4NjM0IDIyLjg3MTMgMy41ODUxIDIyLjg3MTNaTTMuNjI1OTEgMjAuNjgxNEMyLjcyODE3IDIwLjY4MTQgMi4yNzkzIDIwLjIzMjYgMi4yNzkzIDE5LjM0ODNWMy44MjgzN0MyLjI3OTMgMi45MzA2MyAyLjcyODE3IDIuNDk1MzYgMy42MjU5MSAyLjQ5NTM2SDMwLjU1ODFDMzEuNDU1OCAyLjQ5NTM2IDMxLjkwNDggMi45MzA2MyAzMS45MDQ4IDMuODI4MzdWMTkuMzQ4M0MzMS45MDQ4IDIwLjIzMjYgMzEuNDU1OCAyMC42ODE0IDMwLjU1ODEgMjAuNjgxNEgzLjYyNTkxWk0xMC4yNTAxIDI3LjQ4MjVIMjMuOTMzOUMyNC41MzI0IDI3LjQ4MjUgMjUuMDM1NyAyNi45OTI4IDI1LjAzNTcgMjYuMzgwNkMyNS4wMzU3IDI1Ljc2ODYgMjQuNTMyNCAyNS4yNzg5IDIzLjkzMzkgMjUuMjc4OUgxMC4yNTAxQzkuNjUxNjQgMjUuMjc4OSA5LjE0ODM3IDI1Ljc2ODYgOS4xNDgzNyAyNi4zODA2QzkuMTQ4MzcgMjYuOTkyOCA5LjY1MTY0IDI3LjQ4MjUgMTAuMjUwMSAyNy40ODI1Wk0xNy43NTg2IDE3LjA3NjhDMTguMDE2OSAxNy4wNzY4IDE4LjE5MzggMTYuOSAxOC4yNDgxIDE2LjY0MTZDMTguOTk2MyAxMi42NDI1IDE5LjM2MzYgMTEuODk0NSAyMy41MjU4IDExLjMzNjdDMjMuNzk3OSAxMS4yOTU5IDIzLjk3NDYgMTEuMTA1NSAyMy45NzQ2IDEwLjg0NzFDMjMuOTc0NiAxMC41ODg2IDIzLjc5NzkgMTAuMzg0NiAyMy41MjU4IDEwLjM0MzhDMTkuMzc3MiA5Ljc4NjA5IDE4Ljg0NjcgOC45OTcxOCAxOC4yNDgxIDUuMDY2MTdDMTguMjA3NCA0Ljc5NDEyIDE4LjAxNjkgNC42MTcyOSAxNy43NTg2IDQuNjE3MjlDMTcuNTAwMSA0LjYxNzI5IDE3LjMwOTYgNC43ODA1MSAxNy4yNTUzIDUuMDUyNTZDMTYuNDkzNSA5LjA2NTE5IDE2LjEzOTggOS43ODYwOSAxMS45Nzc2IDEwLjM0MzhDMTEuNzA1NiAxMC4zODQ2IDExLjUyODcgMTAuNTg4NiAxMS41Mjg3IDEwLjg0NzFDMTEuNTI4NyAxMS4xMDU1IDExLjcwNTYgMTEuMjk1OSAxMS45Nzc2IDExLjMzNjdDMTYuMTUzNCAxMS43NTg0IDE2LjY3MDQgMTIuNjQyNSAxNy4yNTUzIDE2LjYyOEMxNy4yOTYgMTYuOSAxNy40NzI5IDE3LjA3NjggMTcuNzU4NiAxNy4wNzY4Wk0xMi4zOTkzIDE5LjI5NEMxMi41ODk3IDE5LjI5NCAxMi43MzkzIDE5LjE3MTYgMTIuNzgwMSAxOC45ODExQzEzLjE2MSAxNy4wMDg4IDEzLjAyNDkgMTYuOTEzNiAxNS4xODc3IDE2LjU4NzFDMTUuMzc4MiAxNi41NiAxNS41MDA1IDE2LjM5NjggMTUuNTAwNSAxNi4yMDYzQzE1LjUwMDUgMTYuMDI5NSAxNS4zNzgyIDE1Ljg2NjIgMTUuMTg3NyAxNS44MzlDMTMuMDI0OSAxNS40ODU0IDEzLjE2MSAxNS4zOTAyIDEyLjc4MDEgMTMuNDcyMkMxMi43MzkzIDEzLjI2ODMgMTIuNjAzMiAxMy4xMTg3IDEyLjM5OTMgMTMuMTE4N0MxMi4yMDg4IDEzLjExODcgMTIuMDg2NCAxMy4yNTQ2IDEyLjAzMjEgMTMuNDcyMkMxMS42Mzc2IDE1LjM5MDIgMTEuODAwNyAxNS40ODU0IDkuNjM4MDQgMTUuODM5QzkuNDM0MDEgMTUuODY2MiA5LjMyNTE5IDE2LjAyOTUgOS4zMjUxOSAxNi4yMDYzQzkuMzI1MTkgMTYuNDIzOSA5LjQzNDAxIDE2LjU2IDkuNjY1MjUgMTYuNTg3MUMxMS44MDA3IDE2LjkxMzYgMTEuNjM3NiAxNy4wMDg4IDEyLjAzMjEgMTguOTQwM0MxMi4wODY0IDE5LjE1OCAxMi4xOTUzIDE5LjI5NCAxMi4zOTkzIDE5LjI5NFoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},snap:{alt:"Snap",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},snapError:{alt:"Snap Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjZDczODQ3Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},copy:{alt:"Copy",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEgOC42NzVWMTEuODI1QzExIDE0LjQ1IDkuOTUgMTUuNSA3LjMyNSAxNS41SDQuMTc1QzEuNTUgMTUuNSAwLjUgMTQuNDUgMC41IDExLjgyNVY4LjY3NUMwLjUgNi4wNSAxLjU1IDUgNC4xNzUgNUg3LjMyNUM5Ljk1IDUgMTEgNi4wNSAxMSA4LjY3NVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KPC9zdmc+Cg=="},copied:{alt:"Copied",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNNy4zMjUgNUg0LjE3NUMxLjU1IDUgMC41IDYuMDUgMC41IDguNjc1VjExLjgyNUMwLjUgMTQuNDUgMS41NSAxNS41IDQuMTc1IDE1LjVINy4zMjVDOS45NSAxNS41IDExIDE0LjQ1IDExIDExLjgyNVY4LjY3NUMxMSA2LjA1IDkuOTUgNSA3LjMyNSA1Wk04LjIxNzUgOS4yMzc1TDUuNDM1IDEyLjAyQzUuMzMgMTIuMTI1IDUuMTk1IDEyLjE3NzUgNS4wNTI1IDEyLjE3NzVDNC45MSAxMi4xNzc1IDQuNzc1IDEyLjEyNSA0LjY3IDEyLjAyTDMuMjc1IDEwLjYyNUMzLjA2NSAxMC40MTUgMy4wNjUgMTAuMDc3NSAzLjI3NSA5Ljg2NzVDMy40ODUgOS42NTc1IDMuODIyNSA5LjY1NzUgNC4wMzI1IDkuODY3NUw1LjA0NSAxMC44OEw3LjQ1MjUgOC40NzI1QzcuNjYyNSA4LjI2MjUgOCA4LjI2MjUgOC4yMSA4LjQ3MjVDOC40MiA4LjY4MjUgOC40Mjc1IDkuMDI3NSA4LjIxNzUgOS4yMzc1WiIgZmlsbD0iIzZBNzM3RCIvPgo8L3N2Zz4K"},moon:{alt:"Moon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAyNyAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTIuMDE0NiAyOC4xMDkzQzE2Ljg1ODkgMjguMTA5MyAyMC43OSAyNS42NzQgMjIuNTYzNiAyMS41MTc5QzIyLjgwMTkgMjAuOTYyIDIyLjcyMjUgMjAuNTEyIDIyLjQ3MSAyMC4yNjA1QzIyLjI0NiAyMC4wMjIzIDIxLjgzNTcgMTkuOTgyNSAyMS4zNzI0IDIwLjE1NDZDMjAuMzY2NSAyMC41NTE2IDE5LjE2MiAyMC43OSAxNy42Mzk5IDIwLjc5QzExLjcxMDIgMjAuNzkgNy45MTE0OSAxNy4wODM5IDcuOTExNDkgMTEuMjg2NUM3LjkxMTQ5IDkuNjg1IDguMjE1OTEgOC4wODM0NyA4LjYyNjIyIDcuMjQ5NkM4Ljg3NzcgNi43MzM0IDguODY0NDYgNi4yNzAxNSA4LjYyNjIyIDYuMDA1NDJDOC4zNzQ3NCA1LjcxNDI0IDcuOTI0NzEgNS42MjE1OSA3LjMxNTg2IDUuODU5ODJDMy4yNTI0NCA3LjUxNDMyIDAuNDQ2NDI2IDExLjc2MyAwLjQ0NjQyNiAxNi43MDAxQzAuNDQ2NDI2IDIzLjE0NTkgNS4xOTgxMiAyOC4xMDkzIDEyLjAxNDYgMjguMTA5M1pNMTIuMDQxMSAyNi4wODQzQzYuNDAyNTkgMjYuMDg0MyAyLjQ3MTUyIDIxLjk2NzkgMi40NzE1MiAxNi41NDEzQzIuNDcxNTIgMTMuMjE4OSA0LjAyMDEyIDEwLjI2NzQgNi40ODIgOC4zODc4OUM2LjE1MTEgOS4yNjE0NSA1Ljk2NTggMTAuNTcxOCA1Ljk2NTggMTEuODQyNUM1Ljk2NTggMTguMzY3NyAxMC40NjYgMjIuNzM1NiAxNy4xMzY5IDIyLjczNTZDMTguMzE0OSAyMi43MzU2IDE5LjQwMDIgMjIuNTc2OCAxOS45Njk0IDIyLjM5MTRDMTguMzE0OSAyNC42ODEzIDE1LjM2MzMgMjYuMDg0MyAxMi4wNDExIDI2LjA4NDNaTTIxLjgzNTcgMTYuMDExOEMyMi4wODcyIDE2LjAxMTggMjIuMjU5MiAxNS44Mzk3IDIyLjI4NTYgMTUuNTc1QzIyLjcyMjUgMTIuMDQxIDIyLjg5NDUgMTEuOTQ4MyAyNi40ODE1IDExLjM2NkMyNi43NTk0IDExLjMyNjMgMjYuOTMxNSAxMS4xODA3IDI2LjkzMTUgMTAuOTI5MkMyNi45MzE1IDEwLjY3NzcgMjYuNzU5NCAxMC41MTg5IDI2LjUzNDUgMTAuNDc5MkMyMi45MjEgOS43OTA4OSAyMi43MjI1IDkuODA0MTMgMjIuMjg1NiA2LjI3MDE1QzIyLjI1OTIgNi4wMDU0MiAyMi4wODcyIDUuODMzMzYgMjEuODM1NyA1LjgzMzM2QzIxLjU5NzUgNS44MzMzNiAyMS40MjUzIDYuMDA1NDIgMjEuMzg1NyA2LjI1NjkxQzIwLjkzNTYgOS44NDM4NCAyMC44MDMyIDkuOTYyOTYgMTcuMTM2OSAxMC40NzkyQzE2LjkxMTkgMTAuNTA1NiAxNi43Mzk5IDEwLjY3NzcgMTYuNzM5OSAxMC45MjkyQzE2LjczOTkgMTEuMTY3NCAxNi45MTE5IDExLjMyNjMgMTcuMTM2OSAxMS4zNjZDMjAuODAzMiAxMi4wNjc1IDIwLjkyMjQgMTIuMDY3NSAyMS4zODU3IDE1LjYwMTRDMjEuNDI1MyAxNS44Mzk3IDIxLjU5NzUgMTYuMDExOCAyMS44MzU3IDE2LjAxMThaTTE1LjUwODkgNy4wNTEwNkMxNS42Njc4IDcuMDUxMDYgMTUuNzQ3MiA2Ljk1ODQxIDE1Ljc3MzYgNi44MTI4MkMxNi4xODM5IDQuNjAyNDEgMTYuMTcwNyA0LjU0OTQ4IDE4LjQ3MzcgNC4xMTI2OUMxOC42MTkzIDQuMDg2MjEgMTguNzI1MiAzLjk5MzU2IDE4LjcyNTIgMy44MzQ3NEMxOC43MjUyIDMuNjc1OSAxOC42MTkzIDMuNTgzMjUgMTguNDczNyAzLjU1Njc4QzE2LjE3MDcgMy4wOTM1MyAxNi4yNTAxIDMuMDQwNTggMTUuNzczNiAwLjg1NjY1NUMxNS43NDcyIDAuNzExMDYgMTUuNjY3OCAwLjYxODQwOCAxNS41MDg5IDAuNjE4NDA4QzE1LjM1IDAuNjE4NDA4IDE1LjI1NzQgMC43MTEwNiAxNS4yMzA5IDAuODU2NjU1QzE0Ljc2NzcgMy4wNDA1OCAxNC44NDcxIDMuMDkzNTMgMTIuNTQ0IDMuNTU2NzhDMTIuMzg1MiAzLjU4MzI1IDEyLjI5MjYgMy42NzU5IDEyLjI5MjYgMy44MzQ3NEMxMi4yOTI2IDMuOTkzNTYgMTIuMzg1MiA0LjA4NjIxIDEyLjU0NCA0LjExMjY5QzE0Ljg0NzEgNC41NzU5NSAxNC44MjA3IDQuNjAyNDEgMTUuMjMwOSA2LjgxMjgyQzE1LjI1NzQgNi45NTg0MSAxNS4zNSA3LjA1MTA2IDE1LjUwODkgNy4wNTEwNloiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},manifest:{alt:"Manifest",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMTIuNjY2NyA5SDE5LjMzMzNDMjAuNzEwNyA5IDIxLjYwODcgOS4zNTM1NyAyMi4xNjI0IDkuODkwMjhDMjIuNzE0MSAxMC40MjUgMjMgMTEuMjE1MiAyMyAxMi4yNVYxOS43NUMyMyAyMC43ODQ4IDIyLjcxNDEgMjEuNTc1IDIyLjE2MjQgMjIuMTA5N0MyMS42MDg3IDIyLjY0NjQgMjAuNzEwNyAyMyAxOS4zMzMzIDIzSDEyLjY2NjdDMTEuMjg5MyAyMyAxMC4zOTEzIDIyLjY0NjQgOS44Mzc1NyAyMi4xMDk3QzkuMjg1OSAyMS41NzUgOSAyMC43ODQ4IDkgMTkuNzVWMTIuMjVDOSAxMS4yMTUyIDkuMjg1OSAxMC40MjUgOS44Mzc1NyA5Ljg5MDI4QzEwLjM5MTMgOS4zNTM1NyAxMS4yODkzIDkgMTIuNjY2NyA5Wk0xNS4xMDk1IDIwLjUxOTFDMTUuNTcxOCAyMC4xMDMgMTUuNTcxOCAxOS4zOTcgMTUuMTA5NSAxOC45ODA5TDE0LjI5NzQgMTguMjVMMTUuMTA5NSAxNy41MTkxQzE1LjU3MTggMTcuMTAzIDE1LjU3MTggMTYuMzk3IDE1LjEwOTUgMTUuOTgwOUMxNC42Nzc3IDE1LjU5MjIgMTMuOTg5IDE1LjU5MjIgMTMuNTU3MiAxNS45ODA5TDExLjg5MDUgMTcuNDgwOUMxMS40MjgyIDE3Ljg5NyAxMS40MjgyIDE4LjYwMyAxMS44OTA1IDE5LjAxOTFMMTMuNTU3MiAyMC41MTkxQzEzLjc4MzcgMjAuNzIzIDE0LjA2NTEgMjAuODEyNSAxNC4zMzMzIDIwLjgxMjVDMTQuNjAxNiAyMC44MTI1IDE0Ljg4MyAyMC43MjMgMTUuMTA5NSAyMC41MTkxWk0xOC40NDI4IDIwLjUxOTFMMjAuMTA5NSAxOS4wMTkxQzIwLjU3MTggMTguNjAzIDIwLjU3MTggMTcuODk3IDIwLjEwOTUgMTcuNDgwOUwxOC40NDI4IDE1Ljk4MDlDMTguMDExIDE1LjU5MjIgMTcuMzIyMyAxNS41OTIyIDE2Ljg5MDUgMTUuOTgwOUMxNi40MjgyIDE2LjM5NyAxNi40MjgyIDE3LjEwMyAxNi44OTA1IDE3LjUxOTFMMTcuNzAyNiAxOC4yNUwxNi44OTA1IDE4Ljk4MDlDMTYuNDI4MiAxOS4zOTcgMTYuNDI4MiAyMC4xMDMgMTYuODkwNSAyMC41MTkxQzE3LjExNyAyMC43MjMgMTcuMzk4NCAyMC44MTI1IDE3LjY2NjcgMjAuODEyNUMxNy45MzQ5IDIwLjgxMjUgMTguMjE2MyAyMC43MjMgMTguNDQyOCAyMC41MTkxWk0xOS43NSAxNC40Mzc1SDIxLjQxNjdDMjEuOTgzNiAxNC40Mzc1IDIyLjU0MTcgMTQuMDA2OSAyMi41NDE3IDEzLjM3NUMyMi41NDE3IDEyLjc0MzEgMjEuOTgzNiAxMi4zMTI1IDIxLjQxNjcgMTIuMzEyNUgxOS43NUMxOS40MDAzIDEyLjMxMjUgMTkuMjA4MyAxMi4wNjgxIDE5LjIwODMgMTEuODc1VjEwLjM3NUMxOS4yMDgzIDkuNzQzMTEgMTguNjUwMyA5LjMxMjUgMTguMDgzMyA5LjMxMjVDMTcuNTE2NCA5LjMxMjUgMTYuOTU4MyA5Ljc0MzExIDE2Ljk1ODMgMTAuMzc1VjExLjg3NUMxNi45NTgzIDEzLjMzOTQgMTguMjU4IDE0LjQzNzUgMTkuNzUgMTQuNDM3NVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIvPgo8L3N2Zz4K"},gitHub:{alt:"GitHub",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDBDNS4zNyAwIDAgNS4zNyAwIDEyQzAgMTcuMzEgMy40MzUgMjEuNzk1IDguMjA1IDIzLjM4NUM4LjgwNSAyMy40OSA5LjAzIDIzLjEzIDkuMDMgMjIuODE1QzkuMDMgMjIuNTMgOS4wMTUgMjEuNTg1IDkuMDE1IDIwLjU4QzYgMjEuMTM1IDUuMjIgMTkuODQ1IDQuOTggMTkuMTdDNC44NDUgMTguODI1IDQuMjYgMTcuNzYgMy43NSAxNy40NzVDMy4zMyAxNy4yNSAyLjczIDE2LjY5NSAzLjczNSAxNi42OEM0LjY4IDE2LjY2NSA1LjM1NSAxNy41NSA1LjU4IDE3LjkxQzYuNjYgMTkuNzI1IDguMzg1IDE5LjIxNSA5LjA3NSAxOC45QzkuMTggMTguMTIgOS40OTUgMTcuNTk1IDkuODQgMTcuMjk1QzcuMTcgMTYuOTk1IDQuMzggMTUuOTYgNC4zOCAxMS4zN0M0LjM4IDEwLjA2NSA0Ljg0NSA4Ljk4NSA1LjYxIDguMTQ1QzUuNDkgNy44NDUgNS4wNyA2LjYxNSA1LjczIDQuOTY1QzUuNzMgNC45NjUgNi43MzUgNC42NSA5LjAzIDYuMTk1QzkuOTkgNS45MjUgMTEuMDEgNS43OSAxMi4wMyA1Ljc5QzEzLjA1IDUuNzkgMTQuMDcgNS45MjUgMTUuMDMgNi4xOTVDMTcuMzI1IDQuNjM1IDE4LjMzIDQuOTY1IDE4LjMzIDQuOTY1QzE4Ljk5IDYuNjE1IDE4LjU3IDcuODQ1IDE4LjQ1IDguMTQ1QzE5LjIxNSA4Ljk4NSAxOS42OCAxMC4wNSAxOS42OCAxMS4zN0MxOS42OCAxNS45NzUgMTYuODc1IDE2Ljk5NSAxNC4yMDUgMTcuMjk1QzE0LjY0IDE3LjY3IDE1LjAxNSAxOC4zOSAxNS4wMTUgMTkuNTE1QzE1LjAxNSAyMS4xMiAxNSAyMi40MSAxNSAyMi44MTVDMTUgMjMuMTMgMTUuMjI1IDIzLjUwNSAxNS44MjUgMjMuMzg1QzIwLjU2NSAyMS43OTUgMjQgMTcuMjk1IDI0IDEyQzI0IDUuMzcgMTguNjMgMCAxMiAwWiIgZmlsbD0iIzI0MjcyQSIvPgo8L3N2Zz4K",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMiAwQzUuMzcgMCAwIDUuMzcgMCAxMkMwIDE3LjMxIDMuNDM1IDIxLjc5NSA4LjIwNSAyMy4zODVDOC44MDUgMjMuNDkgOS4wMyAyMy4xMyA5LjAzIDIyLjgxNUM5LjAzIDIyLjUzIDkuMDE1IDIxLjU4NSA5LjAxNSAyMC41OEM2IDIxLjEzNSA1LjIyIDE5Ljg0NSA0Ljk4IDE5LjE3QzQuODQ1IDE4LjgyNSA0LjI2IDE3Ljc2IDMuNzUgMTcuNDc1QzMuMzMgMTcuMjUgMi43MyAxNi42OTUgMy43MzUgMTYuNjhDNC42OCAxNi42NjUgNS4zNTUgMTcuNTUgNS41OCAxNy45MUM2LjY2IDE5LjcyNSA4LjM4NSAxOS4yMTUgOS4wNzUgMTguOUM5LjE4IDE4LjEyIDkuNDk1IDE3LjU5NSA5Ljg0IDE3LjI5NUM3LjE3IDE2Ljk5NSA0LjM4IDE1Ljk2IDQuMzggMTEuMzdDNC4zOCAxMC4wNjUgNC44NDUgOC45ODUgNS42MSA4LjE0NUM1LjQ5IDcuODQ1IDUuMDcgNi42MTUgNS43MyA0Ljk2NUM1LjczIDQuOTY1IDYuNzM1IDQuNjUgOS4wMyA2LjE5NUM5Ljk5IDUuOTI1IDExLjAxIDUuNzkgMTIuMDMgNS43OUMxMy4wNSA1Ljc5IDE0LjA3IDUuOTI1IDE1LjAzIDYuMTk1QzE3LjMyNSA0LjYzNSAxOC4zMyA0Ljk2NSAxOC4zMyA0Ljk2NUMxOC45OSA2LjYxNSAxOC41NyA3Ljg0NSAxOC40NSA4LjE0NUMxOS4yMTUgOC45ODUgMTkuNjggMTAuMDUgMTkuNjggMTEuMzdDMTkuNjggMTUuOTc1IDE2Ljg3NSAxNi45OTUgMTQuMjA1IDE3LjI5NUMxNC42NCAxNy42NyAxNS4wMTUgMTguMzkgMTUuMDE1IDE5LjUxNUMxNS4wMTUgMjEuMTIgMTUgMjIuNDEgMTUgMjIuODE1QzE1IDIzLjEzIDE1LjIyNSAyMy41MDUgMTUuODI1IDIzLjM4NUMyMC41NjUgMjEuNzk1IDI0IDE3LjI5NSAyNCAxMkMyNCA1LjM3IDE4LjYzIDAgMTIgMFoiIGZpbGw9IiM5RkE2QUUiLz4KPC9zdmc+Cg=="},cronjob:{alt:"Cronjob",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xNS45MjcgMTguMDc5MkwxNS45MjcyIDE4LjA3OTRMMTguNTAxNSAxOS42MTU2QzE4LjY5NDYgMTkuNzQwNiAxOC44OTkyIDE5Ljc4MzMgMTkuMDgzNCAxOS43ODMzQzE5LjQ2NTEgMTkuNzgzMyAxOS44NDE5IDE5LjU5MTYgMjAuMDU0MiAxOS4yMzE3QzIwLjM4MSAxOC42OTIgMjAuMTk5NCAxOC4wMDEgMTkuNjYyOCAxNy42ODYyTDE3LjA4MTMgMTYuMTQ1NkwxNy4wODEzIDE2LjE0NTZMMTcuMDc2MSAxNi4xNDI2QzE3LjA1MjQgMTYuMTI4OCAxNi45OCAxNi4wNjM2IDE2LjkwODcgMTUuOTM4MkMxNi44Mzc3IDE1LjgxMzUgMTYuODE2NyAxNS43MTUgMTYuODE2NyAxNS42ODMzVjEyLjI2NjdDMTYuODE2NyAxMS42NDg5IDE2LjMwOTYgMTEuMTQxNyAxNS42OTE3IDExLjE0MTdDMTUuMDczOSAxMS4xNDE3IDE0LjU2NjcgMTEuNjQ4OSAxNC41NjY3IDEyLjI2NjdWMTUuNjgzM0MxNC41NjY3IDE2LjYwMDYgMTUuMTMzOSAxNy42MDU1IDE1LjkyNyAxOC4wNzkyWk04LjE2Njc1IDE2QzguMTY2NzUgMTEuNjg0NSAxMS42ODQ2IDguMTY2NjcgMTYuMDAwMSA4LjE2NjY3QzIwLjMxNTYgOC4xNjY2NyAyMy44MzM0IDExLjY4NDUgMjMuODMzNCAxNkMyMy44MzM0IDIwLjMxNTUgMjAuMzE1NiAyMy44MzMzIDE2LjAwMDEgMjMuODMzM0MxMS42ODQ2IDIzLjgzMzMgOC4xNjY3NSAyMC4zMTU1IDguMTY2NzUgMTZaIiBmaWxsPSIjMDM3NkM5IiBzdHJva2U9IiMwMzdERDYiLz4KPC9zdmc+Cg=="},insights:{alt:"Insights",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik04LjIxOTg5IDIxLjI5MUw4LjIxOTg4IDIxLjI5MUM4LjE4OTMyIDIxLjI1ODMgOC4xNjY3NSAyMS4yMDcgOC4xNjY3NSAyMS4xNDcxVjE5LjE4MjZDOC4xNjY3NSAxNC40ODU5IDExLjY4MzggMTAuNjgyNyAxNS45Njk5IDEwLjY2NjdMMTUuOTcwMSAxMC42NjY3QzE2Ljk5NjQgMTAuNjYyNSAxOC4wMTQzIDEwLjg3NTIgMTguOTY1NiAxMS4yOTM2QzE5LjkxNzEgMTEuNzEyMSAyMC43ODQzIDEyLjMyODcgMjEuNTE2NiAxMy4xMDk2QzIyLjI0ODkgMTMuODkwNyAyMi44MzE3IDE0LjgyMDYgMjMuMjI5OSAxNS44NDdDMjMuNjI4MSAxNi44NzM1IDIzLjgzMzQgMTcuOTc1IDIzLjgzMzQgMTkuMDg4M1YyMS4xNDcxQzIzLjgzMzQgMjEuMjA2OSAyMy44MTA5IDIxLjI1ODIgMjMuNzgwNCAyMS4yOTA5QzIzLjc1MDggMjEuMzIyNiAyMy43MTgzIDIxLjMzMzMgMjMuNjkyNCAyMS4zMzMzSDguMzA3NzdDOC4yODE4NiAyMS4zMzMzIDguMjQ5NDIgMjEuMzIyNiA4LjIxOTg5IDIxLjI5MVpNMjAuNzcwMiAxMy44Mjg0TDIwLjc3MDIgMTMuODI4NEMyMC4zMTcxIDEzLjM2NDkgMTkuNTc3OCAxMy4zNjQ5IDE5LjEyNDcgMTMuODI4NEwxOS40NzIgMTQuMTY3OEwxOS4xMjQ3IDEzLjgyODRMMTYuMTUzIDE2Ljg2ODdDMTYuMDYwMyAxNi44NTM4IDE1Ljk2NTQgMTYuODQ2MiAxNS44NjkgMTYuODQ2MkMxNC44NTU1IDE2Ljg0NjIgMTQuMDUzMiAxNy42ODM1IDE0LjA1MzIgMTguNjkyM0MxNC4wNTMyIDE5LjcwMTEgMTQuODU1NSAyMC41Mzg1IDE1Ljg2OSAyMC41Mzg1QzE2Ljg4MjUgMjAuNTM4NSAxNy42ODQ4IDE5LjcwMTEgMTcuNjg0OCAxOC42OTIzQzE3LjY4NDggMTguNjczNyAxNy42ODQ1IDE4LjY1NTIgMTcuNjg0IDE4LjYzNjdMMjAuNzcwMiAxNS40NzkzQzIxLjIxNyAxNS4wMjIxIDIxLjIxNyAxNC4yODU2IDIwLjc3MDIgMTMuODI4NFpNMjEuMjYzMiAxOC43NDM2QzIyLjAzNDUgMTguNzQzNiAyMi42NDA0IDE4LjEwNzEgMjIuNjQwNCAxNy4zNDYyQzIyLjY0MDQgMTYuNTg1MiAyMi4wMzQ1IDE1Ljk0ODcgMjEuMjYzMiAxNS45NDg3QzIwLjQ5MTkgMTUuOTQ4NyAxOS44ODYgMTYuNTg1MiAxOS44ODYgMTcuMzQ2MkMxOS44ODYgMTguMTA3MSAyMC40OTE5IDE4Ljc0MzYgMjEuMjYzMiAxOC43NDM2Wk0xMC4yOTgzIDE4Ljc0MzZDMTEuMDY5NiAxOC43NDM2IDExLjY3NTUgMTguMTA3MSAxMS42NzU1IDE3LjM0NjJDMTEuNjc1NSAxNi41ODUyIDExLjA2OTYgMTUuOTQ4NyAxMC4yOTgzIDE1Ljk0ODdDOS41MjcwNCAxNS45NDg3IDguOTIxMTMgMTYuNTg1MiA4LjkyMTEzIDE3LjM0NjJDOC45MjExMyAxOC4xMDcxIDkuNTI3MDQgMTguNzQzNiAxMC4yOTgzIDE4Ljc0MzZaTTE1LjQzMDQgMTQuMjU2NEMxNi4yMDE3IDE0LjI1NjQgMTYuODA3NiAxMy42MTk5IDE2LjgwNzYgMTIuODU5QzE2LjgwNzYgMTIuMDk4IDE2LjIwMTcgMTEuNDYxNSAxNS40MzA0IDExLjQ2MTVDMTQuNjU5MSAxMS40NjE1IDE0LjA1MzIgMTIuMDk4IDE0LjA1MzIgMTIuODU5QzE0LjA1MzIgMTMuNjE5OSAxNC42NTkxIDE0LjI1NjQgMTUuNDMwNCAxNC4yNTY0WiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},jsonRpc:{alt:"JSON-RPC",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xMS42MzA3IDE1LjQxOTNMMTAuODEyNSAxNC43NDQzVjE1LjgwNVYxOC41MDA3QzEwLjc5MTcgMTguNTAwMiAxMC43NzA5IDE4LjUgMTAuNzUgMTguNUMxMC43MjkxIDE4LjUgMTAuNzA4MyAxOC41MDAyIDEwLjY4NzUgMTguNTAwN1YxMy40OTkzQzEwLjcwODMgMTMuNDk5OCAxMC43MjkxIDEzLjUgMTAuNzUgMTMuNUMxMC43NzkxIDEzLjUgMTAuODA4MSAxMy40OTk1IDEwLjgzNyAxMy40OTg2QzEwLjkwNyAxNC4xNzc1IDExLjEzMDkgMTQuNzU3NCAxMS41NjE4IDE1LjE4ODJDMTIuMDk0NyAxNS43MjEyIDEyLjg1NTggMTUuOTM3NSAxMy43NSAxNS45Mzc1SDE4LjUwMDdDMTguNTAwMiAxNS45NTgzIDE4LjUgMTUuOTc5MSAxOC41IDE2QzE4LjUgMTYuMDIwOSAxOC41MDAyIDE2LjA0MTcgMTguNTAwNyAxNi4wNjI1SDEzLjc1QzEyLjgxNTIgMTYuMDYyNSAxMi4xMTk5IDE1LjgyMjkgMTEuNjMwNyAxNS40MTkzWk05Ljk0Nzg1IDE5LjY5NDNDMTAuMTQzMiAxOS45MTk0IDEwLjQzMDkgMjAuMDYyNSAxMC43NSAyMC4wNjI1QzExLjA2OTEgMjAuMDYyNSAxMS4zNTY4IDE5LjkxOTQgMTEuNTUyMiAxOS42OTQzQzEyLjExNTEgMTkuOTg1MSAxMi41IDIwLjU3MjYgMTIuNSAyMS4yNUMxMi41IDIyLjIxNjUgMTEuNzE2NSAyMyAxMC43NSAyM0M5Ljc4MzUgMjMgOSAyMi4yMTY1IDkgMjEuMjVDOSAyMC41NzI2IDkuMzg0ODYgMTkuOTg1MSA5Ljk0Nzg1IDE5LjY5NDNaTTEwLjc1IDExLjkzNzVDMTAuNDMwOSAxMS45Mzc1IDEwLjE0MzIgMTIuMDgwNiA5Ljk0Nzg1IDEyLjMwNTdDOS4zODQ4NiAxMi4wMTQ5IDkgMTEuNDI3NCA5IDEwLjc1QzkgOS43ODM1IDkuNzgzNSA5IDEwLjc1IDlDMTEuNzE2NSA5IDEyLjUgOS43ODM1IDEyLjUgMTAuNzVDMTIuNSAxMS40Mjc0IDEyLjExNTEgMTIuMDE0OSAxMS41NTIyIDEyLjMwNTdDMTEuMzU2OCAxMi4wODA2IDExLjA2OTEgMTEuOTM3NSAxMC43NSAxMS45Mzc1Wk0xOS42OTQzIDE2LjgwMjJDMTkuOTE5NCAxNi42MDY4IDIwLjA2MjUgMTYuMzE5MSAyMC4wNjI1IDE2QzIwLjA2MjUgMTUuNjgwOSAxOS45MTk0IDE1LjM5MzIgMTkuNjk0MyAxNS4xOTc4QzE5Ljk4NTEgMTQuNjM0OSAyMC41NzI2IDE0LjI1IDIxLjI1IDE0LjI1QzIyLjIxNjUgMTQuMjUgMjMgMTUuMDMzNSAyMyAxNkMyMyAxNi45NjY1IDIyLjIxNjUgMTcuNzUgMjEuMjUgMTcuNzVDMjAuNTcyNiAxNy43NSAxOS45ODUxIDE3LjM2NTEgMTkuNjk0MyAxNi44MDIyWiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},cross:{alt:"Cross",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NTkyMTkgMTEuNDM2NEMwLjU4MTQ0MSAxMS40MzY0IDAuNDYyOTIyIDExLjM3NzIgMC4zNDQ0MDQgMTEuMjU4N0MwLjEwNzM2NyAxMS4wMjE2IDAuMTA3MzY3IDEwLjY2NjEgMC4zNDQ0MDQgMTAuNDI5TDkuODI1ODggMC45NDc1NTNDMTAuMDYyOSAwLjcxMDUxNiAxMC40MTg1IDAuNzEwNTE2IDEwLjY1NTUgMC45NDc1NTNDMTAuODkyNiAxLjE4NDU5IDEwLjg5MjYgMS41NDAxNSAxMC42NTU1IDEuNzc3MThMMS4xNzQwMyAxMS4yNTg3QzEuMDU1NTEgMTEuMzc3MiAwLjkzNjk5NiAxMS40MzY0IDAuNzU5MjE5IDExLjQzNjRaIiBmaWxsPSIjMjQyNzJBIi8+CiAgPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IiMyNDI3MkEiLz4KPC9zdmc+Cg==",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuNzU5MjE5IDExLjQzNjRDMC41ODE0NDEgMTEuNDM2NCAwLjQ2MjkyMiAxMS4zNzcyIDAuMzQ0NDA0IDExLjI1ODdDMC4xMDczNjcgMTEuMDIxNiAwLjEwNzM2NyAxMC42NjYxIDAuMzQ0NDA0IDEwLjQyOUw5LjgyNTg4IDAuOTQ3NTUzQzEwLjA2MjkgMC43MTA1MTYgMTAuNDE4NSAwLjcxMDUxNiAxMC42NTU1IDAuOTQ3NTUzQzEwLjg5MjYgMS4xODQ1OSAxMC44OTI2IDEuNTQwMTUgMTAuNjU1NSAxLjc3NzE4TDEuMTc0MDMgMTEuMjU4N0MxLjA1NTUxIDExLjM3NzIgMC45MzY5OTYgMTEuNDM2NCAwLjc1OTIxOSAxMS40MzY0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="},drag:{alt:"Drag",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAyNyAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNS45ODA0NyAzLjA0MzgzQzIuNTM1MTYgNS4xMjk3NyAwLjI1IDkuMDMyMTEgMC4yNSAxMy44MzY4QzAuMjUgMTQuMjU4NiAwLjYxMzI4MSAxNC42MjE5IDEuMDExNzIgMTQuNjEwMkMxLjQyMTg4IDE0LjU5ODUgMS43MTQ4NCAxNC4yODIxIDEuNzI2NTYgMTMuODYwMkMxLjgzMjAzIDkuNjUzMiAzLjYzNjcyIDYuMzQ4NTIgNi41MDc4MSA0LjQ4NTIzTDUuOTgwNDcgMy4wNDM4M1pNMjAuOTQ1MyAyMi4zOTE0QzI1LjU5NzcgMjAuNzAzOSAyNy41NzgxIDE2LjQzODMgMjUuNzAzMSAxMS4yODIxTDI0LjgzNTkgOC44Nzk3N0MyMy45MTAyIDYuMzM2OCAyMi4xNjQxIDUuMjkzODMgMjAuMTEzMyA2LjAwODY3QzE5LjU2MjUgNS4yOTM4MyAxOC43MTg4IDUuMDQ3NzMgMTcuODA0NyA1LjM3NTg2QzE3LjQ2NDggNS41MDQ3NyAxNy4xNzE5IDUuNjgwNTUgMTYuODkwNiA1Ljg5MTQ4QzE2LjI5MyA1LjExODA1IDE1LjM2NzIgNC44MzY4IDE0LjQwNjIgNS4xNzY2NEMxNC4xNDg0IDUuMjcwMzkgMTMuOTAyMyA1LjQxMTAyIDEzLjY2OCA1LjU3NTA4TDEyLjMzMiAxLjkxODgzQzExLjgyODEgMC41MjQyOTUgMTAuNTYyNSAtMC4wNjE2NDE3IDkuMjYxNzIgMC40MDcxMDhDNy45NDkyMiAwLjg4NzU3NyA3LjM2MzI4IDIuMTQxNDggNy44NjcxOSAzLjUzNjAyTDExLjIwNyAxMi43MjM1QzExLjIzMDUgMTIuNzgyMSAxMS4yMTg4IDEyLjgyODkgMTEuMTYwMiAxMi44NTI0QzExLjEyNSAxMi44NzU4IDExLjA3ODEgMTIuODUyNCAxMS4wNDMgMTIuODE3Mkw5LjY3MTg4IDExLjMxNzJDOC45OTIxOSAxMC41OTA3IDguMTcxODggMTAuMzY4IDcuMzg2NzIgMTAuNjQ5M0M2LjMyMDMxIDExLjA0NzcgNS42Mjg5MSAxMi4wNjcyIDYuMDc0MjIgMTMuMjc0M0M2LjE3OTY5IDEzLjYxNDEgNi40MTQwNiAxNC4wMjQzIDYuNjgzNTkgMTQuMzY0MUwxMC42MDk0IDE5LjExMDJDMTMuNTg1OSAyMi42OTYxIDE3LjA1NDcgMjMuODA5NCAyMC45NDUzIDIyLjM5MTRaTTIwLjQ0MTQgMjAuODU2M0MxNy4zNzExIDIxLjk4MTMgMTQuNSAyMS40MDcxIDExLjc4MTIgMTguMTM3NUw3Ljg1NTQ3IDEzLjQxNDlDNy43MzgyOCAxMy4yNzQzIDcuNjU2MjUgMTMuMTQ1NCA3LjU4NTk0IDEyLjk0NjFDNy40NDUzMSAxMi41NzExIDcuNjA5MzggMTIuMTM3NSA4LjA1NDY5IDExLjk3MzVDOC40Mjk2OSAxMS44NDQ2IDguNzM0MzggMTEuOTg1MiA5LjAyNzM0IDEyLjMwMTZMMTEuNzQ2MSAxNS4xMDI0QzEyLjE5MTQgMTUuNTcxMSAxMi41ODk4IDE1LjYxOCAxMi45ODgzIDE1LjQ3NzRDMTMuNDQ1MyAxNS4zMTMzIDEzLjYzMjggMTQuODIxMSAxMy40NDUzIDE0LjMxNzJMOS4yOTY4OCAyLjkwMzJDOS4xMjEwOSAyLjQzNDQ1IDkuMzMyMDMgMS45ODkxNCA5Ljc4OTA2IDEuODI1MDhDMTAuMjM0NCAxLjY2MTAyIDEwLjY2OCAxLjg4MzY3IDEwLjgzMiAyLjM1MjQyTDEzLjc5NjkgMTAuNDk2OUMxMy45Mzc1IDEwLjg4MzYgMTQuMzcxMSAxMS4wNTk0IDE0Ljc1NzggMTAuOTE4OEMxNS4xMzI4IDEwLjc3ODIgMTUuMzQzOCAxMC4zNjggMTUuMjAzMSA5Ljk5MzA1TDE0LjEzNjcgNy4wNTE2NEMxNC4yODkxIDYuODk5MyAxNC41MjM0IDYuNzQ2OTUgMTQuNzM0NCA2LjY2NDkyQzE1LjI4NTIgNi40NjU3IDE1Ljc0MjIgNi43MTE4IDE1Ljk1MzEgNy4yODYwMkwxNi44OTA2IDkuODUyNDJDMTcuMDMxMiAxMC4yNTA4IDE3LjQ3NjYgMTAuNDAzMiAxNy44NTE2IDEwLjI2MjVDMTguMjAzMSAxMC4xMzM2IDE4LjQzNzUgOS43NDY5NSAxOC4yODUyIDkuMzM2OEwxNy41MjM0IDcuMjUwODZDMTcuNjg3NSA3LjA5ODUyIDE3LjkxMDIgNi45NDYxNyAxOC4xMzI4IDYuODY0MTRDMTguNjgzNiA2LjY2NDkyIDE5LjE0MDYgNi45MTEwMiAxOS4zNTE2IDcuNDg1MjNMMTkuOTcyNyA5LjE5NjE3QzIwLjEyNSA5LjYwNjMzIDIwLjU1ODYgOS43NTg2NyAyMC45MzM2IDkuNjE4MDVDMjEuMjk2OSA5LjQ4OTE0IDIxLjUxOTUgOS4wOTA3IDIxLjM3ODkgOC42OTIyN0wyMC45MjE5IDcuNDI2NjRDMjEuODk0NSA3LjA3NTA4IDIyLjgyMDMgNy44NzE5NSAyMy40NTMxIDkuNjI5NzdMMjQuMTkxNCAxMS42MzM2QzI1Ljc5NjkgMTYuMDYzMyAyNC4zNDM4IDE5LjQzODMgMjAuNDQxNCAyMC44NTYzWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},linkOut:{alt:"Link Out",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuNjEyOSAxNEg2LjM4NzFDMy4zNTQ4NCAxNCAyIDEyLjY0NTIgMiA5LjYxMjlWNi4zODcxQzIgMy4zNTQ4NCAzLjM1NDg0IDIgNi4zODcxIDJINy40ODM4N0M3Ljg3MDk3IDIgOC4xMjkwMyAyLjI1ODA2IDguMTI5MDMgMi42NDUxNkM4LjEyOTAzIDMuMDMyMjYgNy44NzA5NyAzLjI5MDMyIDcuNDgzODcgMy4yOTAzMkg2LjM4NzFDNC4wNjQ1MiAzLjI5MDMyIDMuMjkwMzIgNC4wNjQ1MiAzLjI5MDMyIDYuMzg3MVY5LjYxMjlDMy4yOTAzMiAxMS45MzU1IDQuMDY0NTIgMTIuNzA5NyA2LjM4NzEgMTIuNzA5N0g5LjYxMjlDMTEuOTM1NSAxMi43MDk3IDEyLjcwOTcgMTEuOTM1NSAxMi43MDk3IDkuNjEyOVY4LjUxNjEzQzEyLjcwOTcgOC4xMjkwMyAxMi45Njc3IDcuODcwOTcgMTMuMzU0OCA3Ljg3MDk3QzEzLjc0MTkgNy44NzA5NyAxNCA4LjEyOTAzIDE0IDguNTE2MTNWOS42MTI5QzE0IDEyLjY0NTIgMTIuNjQ1MiAxNCA5LjYxMjkgMTRaTTguNTE2MTMgOC4xMjkwM0M4LjMyMjU4IDguMTI5MDMgOC4xOTM1NSA4LjA2NDUyIDguMDY0NTIgNy45MzU0OEM3LjgwNjQ1IDcuNjc3NDIgNy44MDY0NSA3LjI5MDMyIDguMDY0NTIgNy4wMzIyNkwxMS44MDY1IDMuMjkwMzJIMTAuNzc0MkMxMC4zODcxIDMuMjkwMzIgMTAuMTI5IDMuMDMyMjYgMTAuMTI5IDIuNjQ1MTZDMTAuMTI5IDIuMjU4MDYgMTAuMzg3MSAyIDEwLjc3NDIgMkgxMy4zNTQ4QzEzLjc0MTkgMiAxNCAyLjI1ODA2IDE0IDIuNjQ1MTZWNS4yMjU4MUMxNCA1LjYxMjkgMTMuNzQxOSA1Ljg3MDk3IDEzLjM1NDggNS44NzA5N0MxMi45Njc3IDUuODcwOTcgMTIuNzA5NyA1LjYxMjkgMTIuNzA5NyA1LjIyNTgxVjQuMTkzNTVMOC45Njc3NCA3LjkzNTQ4QzguODM4NzEgOC4wNjQ1MiA4LjcwOTY4IDguMTI5MDMgOC41MTYxMyA4LjEyOTAzWiIgZmlsbD0iIzAzNzZDOSIvPgo8L3N2Zz4K"},heading:{alt:"Heading",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAyMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMS4yNTA2MiAzLjU4NDA1SDE4LjczOTRDMTkuNTczMiAzLjU4NDA1IDIwIDMuMTc3MSAyMCAyLjM0MzM1VjEuNTk4OTRDMjAgMC43ODUwMzkgMTkuNTczMiAwLjM2ODE2NCAxOC43Mzk0IDAuMzY4MTY0SDEuMjUwNjJDMC40MTY4NzQgMC4zNjgxNjQgMCAwLjc4NTAzOSAwIDEuNTk4OTRWMi4zNDMzNUMwIDMuMTc3MSAwLjQxNjg3NCAzLjU4NDA1IDEuMjUwNjIgMy41ODQwNVpNMS4yNTA2MiA5LjYzMjAySDguNjY1MDNDOS40OTg3MSA5LjYzMjAyIDkuOTE1NiA5LjIyNTA1IDkuOTE1NiA4LjM5MTM2VjcuNjQ2ODdDOS45MTU2IDYuODMzIDkuNDk4NzEgNi40MTYxMiA4LjY2NTAzIDYuNDE2MTJIMS4yNTA2MkMwLjQxNjg3NCA2LjQxNjEyIDAgNi44MzMgMCA3LjY0Njg3VjguMzkxMzZDMCA5LjIyNTA1IDAuNDE2ODc0IDkuNjMyMDIgMS4yNTA2MiA5LjYzMjAyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},text:{alt:"Text",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NDQ0MTYgMS45MTgxOUgxOS4yMzU3QzE5LjY1MjYgMS45MTgxOSAyMCAxLjU5MDY1IDIwIDEuMTYzODVDMjAgMC43NDY5NzcgMTkuNjUyNiAwLjQxOTQzNCAxOS4yMzU3IDAuNDE5NDM0SDAuNzQ0NDE2QzAuMzI3NTQzIDAuNDE5NDM0IDAgMC43NDY5NzcgMCAxLjE2Mzg1QzAgMS41OTA2NSAwLjMyNzU0MyAxLjkxODE5IDAuNzQ0NDE2IDEuOTE4MTlaTTAuNzQ0NDE2IDcuMTE5MThIMTkuMjM1N0MxOS42NTI2IDcuMTE5MTggMjAgNi43OTE2NCAyMCA2LjM2NDg0QzIwIDUuOTQ3OTYgMTkuNjUyNiA1LjYyMDQyIDE5LjIzNTcgNS42MjA0MkgwLjc0NDQxNkMwLjMyNzU0MyA1LjYyMDQyIDAgNS45NDc5NiAwIDYuMzY0ODRDMCA2Ljc5MTY0IDAuMzI3NTQzIDcuMTE5MTggMC43NDQ0MTYgNy4xMTkxOFpNMC43NDQ0MTYgMTIuMzIwMkgxOS4yMzU3QzE5LjY1MjYgMTIuMzIwMiAyMCAxMS45ODI3IDIwIDExLjU2NTlDMjAgMTEuMTQ5IDE5LjY1MjYgMTAuODIxNCAxOS4yMzU3IDEwLjgyMTRIMC43NDQ0MTZDMC4zMjc1NDMgMTAuODIxNCAwIDExLjE0OSAwIDExLjU2NTlDMCAxMS45ODI3IDAuMzI3NTQzIDEyLjMyMDIgMC43NDQ0MTYgMTIuMzIwMlpNMC43NDQ0MTYgMTcuNTExMkgxMS4zNjQ4QzExLjc4MTcgMTcuNTExMiAxMi4xMTkxIDE3LjE4MzcgMTIuMTE5MSAxNi43NjY4QzEyLjExOTEgMTYuMzQ5OSAxMS43ODE3IDE2LjAxMjUgMTEuMzY0OCAxNi4wMTI1SDAuNzQ0NDE2QzAuMzI3NTQzIDE2LjAxMjUgMCAxNi4zNDk5IDAgMTYuNzY2OEMwIDE3LjE4MzcgMC4zMjc1NDMgMTcuNTExMiAwLjc0NDQxNiAxNy41MTEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},copyable:{alt:"Copyable",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNjAzMDI3SDguNjc1QzYuMzYyNjkgMC42MDMwMjcgNS4yNzgyMyAxLjQyMzU5IDUuMDUyMzEgMy40MDcyOUM1LjAwNTA0IDMuODIyMjkgNS4zNDg3NCA0LjE2NTUzIDUuNzY2NDMgNC4xNjU1M0g3LjMyNUMxMC40NzUgNC4xNjU1MyAxMS45Mzc1IDUuNjI4MDMgMTEuOTM3NSA4Ljc3ODAzVjEwLjMzNjZDMTEuOTM3NSAxMC43NTQzIDEyLjI4MDcgMTEuMDk4IDEyLjY5NTcgMTEuMDUwN0MxNC42Nzk0IDEwLjgyNDggMTUuNSA5Ljc0MDM0IDE1LjUgNy40MjgwM1Y0LjI3ODAzQzE1LjUgMS42NTMwMyAxNC40NSAwLjYwMzAyNyAxMS44MjUgMC42MDMwMjdaIiBmaWxsPSIjQkJDMEM1Ii8+CiAgPHBhdGggZD0iTTcuMzI1IDUuMTAzMDNINC4xNzVDMS41NSA1LjEwMzAzIDAuNSA2LjE1MzAzIDAuNSA4Ljc3ODAzVjExLjkyOEMwLjUgMTQuNTUzIDEuNTUgMTUuNjAzIDQuMTc1IDE1LjYwM0g3LjMyNUM5Ljk1IDE1LjYwMyAxMSAxNC41NTMgMTEgMTEuOTI4VjguNzc4MDNDMTEgNi4xNTMwMyA5Ljk1IDUuMTAzMDMgNy4zMjUgNS4xMDMwM1pNOC4yMTc1IDkuMzQwNTNMNS40MzUgMTIuMTIzQzUuMzMgMTIuMjI4IDUuMTk1IDEyLjI4MDUgNS4wNTI1IDEyLjI4MDVDNC45MSAxMi4yODA1IDQuNzc1IDEyLjIyOCA0LjY3IDEyLjEyM0wzLjI3NSAxMC43MjhDMy4wNjUgMTAuNTE4IDMuMDY1IDEwLjE4MDUgMy4yNzUgOS45NzA1M0MzLjQ4NSA5Ljc2MDUzIDMuODIyNSA5Ljc2MDUzIDQuMDMyNSA5Ljk3MDUzTDUuMDQ1IDEwLjk4M0w3LjQ1MjUgOC41NzU1M0M3LjY2MjUgOC4zNjU1MyA4IDguMzY1NTMgOC4yMSA4LjU3NTUzQzguNDIgOC43ODU1MyA4LjQyNzUgOS4xMzA1MyA4LjIxNzUgOS4zNDA1M1oiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},divider:{alt:"Divider",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMiIgdmlld0JveD0iMCAwIDIwIDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTAuNzQ0NDE2IDEuNzQ5NDlIMTkuMjM1N0MxOS42NTI2IDEuNzQ5NDkgMjAgMS40MjE5NSAyMCAxLjAwNTA3QzIwIDAuNTg4MjA0IDE5LjY1MjYgMC4yNTA3MzIgMTkuMjM1NyAwLjI1MDczMkgwLjc0NDQxNkMwLjMyNzU0MyAwLjI1MDczMiAwIDAuNTg4MjA0IDAgMS4wMDUwN0MwIDEuNDIxOTUgMC4zMjc1NDMgMS43NDk0OSAwLjc0NDQxNiAxLjc0OTQ5WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},box:{alt:"Box",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMSAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy4wMzg1MSAxNS42NzI5SDE3LjUyNzlDMTkuMjg1NyAxNS42NzI5IDIwLjE1NjMgMTQuODAyMyAyMC4xNTYzIDEzLjA3OFYxMC42MDg3QzIwLjE1NjMgMTAuMTczNCAxOS45MTM1IDkuOTMwNjcgMTkuNDc4MiA5LjkzMDY3QzE5LjA0MyA5LjkzMDY3IDE4LjgwODYgMTAuMTczNCAxOC44MDg2IDEwLjYwODdWMTMuMDExQzE4LjgwODYgMTMuODgxNSAxOC4zMzE1IDE0LjMyNTIgMTcuNTExMSAxNC4zMjUySDMuMDYzNjFDMi4yMjY1NiAxNC4zMjUyIDEuNzY2MTkgMTMuODgxNSAxLjc2NjE5IDEzLjAxMVYxMC42MDg3QzEuNzY2MTkgMTAuMTczNCAxLjUxNTA2IDkuOTMwNjcgMS4wODgxNyA5LjkzMDY3QzAuNjYxMjcyIDkuOTMwNjcgMC40MTg1MjcgMTAuMTczNCAwLjQxODUyNyAxMC42MDg3VjEzLjA3OEMwLjQxODUyNyAxNC44MTA3IDEuMjk3NDQgMTUuNjcyOSAzLjAzODUxIDE1LjY3MjlaTTMuMDM4NTEgMC4yNjI2OTVDMS4yOTc0NCAwLjI2MjY5NSAwLjQxODUyNyAxLjEyNDg2IDAuNDE4NTI3IDIuODU3NTZWNC45MDgzNEMwLjQxODUyNyA1LjM0MzYxIDAuNjYxMjcyIDUuNTk0NzMgMS4wODgxNyA1LjU5NDczQzEuNTE1MDYgNS41OTQ3MyAxLjc2NjE5IDUuMzQzNjEgMS43NjYxOSA0LjkwODM0VjIuOTI0NTNDMS43NjYxOSAyLjA1Mzk5IDIuMjI2NTYgMS42MTAzNSAzLjA2MzYxIDEuNjEwMzVIMTcuNTExMUMxOC4zMzE1IDEuNjEwMzUgMTguODA4NiAyLjA1Mzk5IDE4LjgwODYgMi45MjQ1M1Y0LjkwODM0QzE4LjgwODYgNS4zNDM2MSAxOS4wNTE0IDUuNTk0NzMgMTkuNDc4MiA1LjU5NDczQzE5LjkyMTkgNS41OTQ3MyAyMC4xNTYzIDUuMzQzNjEgMjAuMTU2MyA0LjkwODM0VjIuODU3NTZDMjAuMTU2MyAxLjEzMzIzIDE5LjI4NTcgMC4yNjI2OTUgMTcuNTI3OSAwLjI2MjY5NUgzLjAzODUxWk0xLjA4ODE3IDguODQyNTNDMS42OTA4NSA4Ljg0MjUzIDIuMTc2MzQgOC4zNDg2NyAyLjE3NjM0IDcuNzQ1OTVDMi4xNzYzNCA3LjE1MTY1IDEuNjkwODUgNi42NjYxNSAxLjA4ODE3IDYuNjY2MTVDMC40OTM4NjEgNi42NjYxNSAwIDcuMTUxNjUgMCA3Ljc0NTk1QzAgOC4zNDg2NyAwLjQ5Mzg2MSA4Ljg0MjUzIDEuMDg4MTcgOC44NDI1M1pNMTkuNDc4MiA4Ljg0MjUzQzIwLjA3MjYgOC44NDI1MyAyMC41NjY0IDguMzQ4NjcgMjAuNTY2NCA3Ljc0NTk1QzIwLjU2NjQgNy4xNTE2NSAyMC4wNzI2IDYuNjY2MTUgMTkuNDc4MiA2LjY2NjE1QzE4Ljg3NTYgNi42NjYxNSAxOC4zOTAxIDcuMTQzMjggMTguMzkwMSA3Ljc0NTk1QzE4LjM5MDEgOC4zNDg2NyAxOC44NzU2IDguODQyNTMgMTkuNDc4MiA4Ljg0MjUzWk03LjU0MTg2IDExLjg5NzdDNy44NDMyMSAxMS44OTc3IDguMDUyNDMgMTEuNzU1NSA4LjE3OCAxMS4zNjJMOC43ODkwNyA5LjU3OTFIMTEuNzg1N0wxMi4zOTY4IDExLjM2MkMxMi41MjIzIDExLjc0NzEgMTIuNzM5OSAxMS44OTc3IDEzLjA0MTMgMTEuODk3N0MxMy40MDk2IDExLjg5NzcgMTMuNjYwNyAxMS42NTUgMTMuNjYwNyAxMS4zMjAyQzEzLjY2MDcgMTEuMTg2MiAxMy42MzU2IDExLjA2OSAxMy41Njg2IDEwLjg4NDlMMTEuMjI0OSA0LjU2NTE1QzExLjA1NzUgNC4xMjk4OCAxMC43Mzk0IDMuOTAzODggMTAuMjc5IDMuOTAzODhDOS44MjcgMy45MDM4OCA5LjUxNzI5IDQuMTI5ODggOS4zNTgyOSA0LjU2NTE1TDcuMDA2MTQgMTAuODg0OUM2Ljk0NzU0IDExLjA2OSA2LjkxNDA2IDExLjE4NjIgNi45MTQwNiAxMS4zMTE4QzYuOTE0MDYgMTEuNjYzNCA3LjE2NTE0IDExLjg5NzcgNy41NDE4NiAxMS44OTc3Wk05LjEzMjI5IDguNTc0NjdMMTAuMjQ1NiA1LjMzNTI0SDEwLjMzNzZMMTEuNDUwOSA4LjU3NDY3SDkuMTMyMjlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="},ui:{alt:"UI",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBvcGFjaXR5PSIwLjUiPgogICAgPHJlY3QgeT0iMC4xMDMwMjciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjMDM3REQ2IiBmaWxsLW9wYWNpdHk9IjAuMSIvPgogICAgPHBhdGggZD0iTTYuNzY3NDQgMTAuNTUwN0M2Ljc2NTY5IDEwLjU1MDcgNi43NjEzMSAxMC41NTAxIDYuNzU1OTQgMTAuNTQ0OEM2Ljc1MDU3IDEwLjUzOTQgNi43NSAxMC41MzUgNi43NSAxMC41MzMzVjkuMjI1MTJDNi43NSA3LjkxNTI1IDcuODE2NTMgNi44NTMwMyA5LjEyMjA5IDYuODUzMDNIMTAuNDMwMkMxMC40MzIgNi44NTMwMyAxMC40MzY0IDYuODUzNTkgMTAuNDQxNyA2Ljg1ODk2QzEwLjQ0NzEgNi44NjQzMyAxMC40NDc3IDYuODY4NzIgMTAuNDQ3NyA2Ljg3MDQ3QzEwLjQ0NzcgNi44NzIyMiAxMC40NDcxIDYuODc2NjEgMTAuNDQxNyA2Ljg4MTk4QzEwLjQzNjQgNi44ODczNSAxMC40MzIgNi44ODc5MSAxMC40MzAyIDYuODg3OTFIOS4xMjIwOUM3LjgzMTg1IDYuODg3OTEgNi43ODQ4OCA3LjkzNDg3IDYuNzg0ODggOS4yMjUxMlYxMC41MzMzQzYuNzg0ODggMTAuNTM1IDYuNzg0MzIgMTAuNTM5NCA2Ljc3ODk1IDEwLjU0NDhDNi43NzM1OCAxMC41NTAxIDYuNzY5MTkgMTAuNTUwNyA2Ljc2NzQ0IDEwLjU1MDdaTTE3LjIzMjYgMTAuNTUwN0MxNy4yMzA4IDEwLjU1MDcgMTcuMjI2NCAxMC41NTAxIDE3LjIyMTEgMTAuNTQ0OEMxNy4yMTU3IDEwLjUzOTQgMTcuMjE1MSAxMC41MzUgMTcuMjE1MSAxMC41MzMzVjkuMjI1MTJDMTcuMjE1MSA3LjkzNDg3IDE2LjE2ODIgNi44ODc5MSAxNC44Nzc5IDYuODg3OTFIMTMuNTY5OEMxMy41NjggNi44ODc5MSAxMy41NjM2IDYuODg3MzUgMTMuNTU4MyA2Ljg4MTk4QzEzLjU1MjkgNi44NzY2MSAxMy41NTIzIDYuODcyMjIgMTMuNTUyMyA2Ljg3MDQ3QzEzLjU1MjMgNi44Njg3MiAxMy41NTI5IDYuODY0MzMgMTMuNTU4MyA2Ljg1ODk2QzEzLjU2MzYgNi44NTM1OSAxMy41NjggNi44NTMwMyAxMy41Njk4IDYuODUzMDNIMTQuODc3OUMxNi4xODM1IDYuODUzMDMgMTcuMjUgNy45MTUyNSAxNy4yNSA5LjIyNTEyVjEwLjUzMzNDMTcuMjUgMTAuNTM1IDE3LjI0OTQgMTAuNTM5NCAxNy4yNDQxIDEwLjU0NDhDMTcuMjM4NyAxMC41NTAxIDE3LjIzNDMgMTAuNTUwNyAxNy4yMzI2IDEwLjU1MDdaTTE0Ljg3NzkgMTcuMzUzSDE0LjA5M0MxNC4wOTEzIDE3LjM1MyAxNC4wODY5IDE3LjM1MjUgMTQuMDgxNSAxNy4zNDcxQzE0LjA3NjEgMTcuMzQxNyAxNC4wNzU2IDE3LjMzNzMgMTQuMDc1NiAxNy4zMzU2QzE0LjA3NTYgMTcuMzMzOCAxNC4wNzYxIDE3LjMyOTQgMTQuMDgxNSAxNy4zMjQxQzE0LjA4NjkgMTcuMzE4NyAxNC4wOTEzIDE3LjMxODEgMTQuMDkzIDE3LjMxODFIMTQuODc3OUMxNi4xNjgyIDE3LjMxODEgMTcuMjE1MSAxNi4yNzEyIDE3LjIxNTEgMTQuOTgwOVYxNC4xOTYxQzE3LjIxNTEgMTQuMTk0MyAxNy4yMTU3IDE0LjE4OTkgMTcuMjIxMSAxNC4xODQ1QzE3LjIyNjQgMTQuMTc5MiAxNy4yMzA4IDE0LjE3ODYgMTcuMjMyNiAxNC4xNzg2QzE3LjIzNDMgMTQuMTc4NiAxNy4yMzg3IDE0LjE3OTIgMTcuMjQ0MSAxNC4xODQ1QzE3LjI0OTQgMTQuMTg5OSAxNy4yNSAxNC4xOTQzIDE3LjI1IDE0LjE5NjFWMTQuOTgwOUMxNy4yNSAxNi4yOTA4IDE2LjE4MzUgMTcuMzUzIDE0Ljg3NzkgMTcuMzUzWk0xMC40MzAyIDE3LjM1M0g5LjEyMjA5QzcuODE2NTMgMTcuMzUzIDYuNzUgMTYuMjkwOCA2Ljc1IDE0Ljk4MDlWMTMuNjcyOEM2Ljc1IDEzLjY3MSA2Ljc1MDU3IDEzLjY2NjcgNi43NTU5NCAxMy42NjEzQzYuNzYxMzEgMTMuNjU1OSA2Ljc2NTY5IDEzLjY1NTQgNi43Njc0NCAxMy42NTU0QzYuNzY5MTkgMTMuNjU1NCA2Ljc3MzU4IDEzLjY1NTkgNi43Nzg5NSAxMy42NjEzQzYuNzg0MzIgMTMuNjY2NyA2Ljc4NDg4IDEzLjY3MSA2Ljc4NDg4IDEzLjY3MjhWMTQuOTgwOUM2Ljc4NDg4IDE2LjI3MTIgNy44MzE4NSAxNy4zMTgxIDkuMTIyMDkgMTcuMzE4MUgxMC40MzAyQzEwLjQzMiAxNy4zMTgxIDEwLjQzNjQgMTcuMzE4NyAxMC40NDE3IDE3LjMyNDFDMTAuNDQ3MSAxNy4zMjk0IDEwLjQ0NzcgMTcuMzMzOCAxMC40NDc3IDE3LjMzNTZDMTAuNDQ3NyAxNy4zMzczIDEwLjQ0NzEgMTcuMzQxNyAxMC40NDE3IDE3LjM0NzFDMTAuNDM2NCAxNy4zNTI1IDEwLjQzMiAxNy4zNTMgMTAuNDMwMiAxNy4zNTNaTTkuMzgzNzIgOC45NDYwNUgxMC40MzAyQzEwLjY2NTggOC45NDYwNSAxMC43ODUzIDkuMDA3MzggMTAuODQ3MiA5LjA2ODk3QzEwLjkwODcgOS4xMzAyOSAxMC45NzA5IDkuMjQ5MzMgMTAuOTcwOSA5LjQ4Njc1VjEwLjUzMzNDMTAuOTcwOSAxMC43NzA3IDEwLjkwODcgMTAuODg5NyAxMC44NDcyIDEwLjk1MUMxMC43ODUzIDExLjAxMjYgMTAuNjY1OCAxMS4wNzQgMTAuNDMwMiAxMS4wNzRIOS4zODM3MkM5LjE0ODEyIDExLjA3NCA5LjAyODY0IDExLjAxMjYgOC45NjY3OCAxMC45NTFDOC45MDUyMSAxMC44ODk3IDguODQzMDIgMTAuNzcwNyA4Ljg0MzAyIDEwLjUzMzNWOS40ODY3NUM4Ljg0MzAyIDkuMjQ5MzMgOC45MDUyMSA5LjEzMDI5IDguOTY2NzggOS4wNjg5N0M5LjAyODY0IDkuMDA3MzggOS4xNDgxMiA4Ljk0NjA1IDkuMzgzNzIgOC45NDYwNVpNMTMuNTY5OCA4Ljk0NjA1SDE0LjYxNjNDMTQuODUxOSA4Ljk0NjA1IDE0Ljk3MTQgOS4wMDczOCAxNS4wMzMyIDkuMDY4OTdDMTUuMDk0OCA5LjEzMDI5IDE1LjE1NyA5LjI0OTMzIDE1LjE1NyA5LjQ4Njc1VjEwLjUzMzNDMTUuMTU3IDEwLjc3MDcgMTUuMDk0OCAxMC44ODk3IDE1LjAzMzIgMTAuOTUxQzE0Ljk3MTQgMTEuMDEyNiAxNC44NTE5IDExLjA3NCAxNC42MTYzIDExLjA3NEgxMy41Njk4QzEzLjMzNDIgMTEuMDc0IDEzLjIxNDcgMTEuMDEyNiAxMy4xNTI4IDEwLjk1MUMxMy4wOTEzIDEwLjg4OTcgMTMuMDI5MSAxMC43NzA3IDEzLjAyOTEgMTAuNTMzM1Y5LjQ4Njc1QzEzLjAyOTEgOS4yNDkzMyAxMy4wOTEzIDkuMTMwMjkgMTMuMTUyOCA5LjA2ODk3QzEzLjIxNDcgOS4wMDczOCAxMy4zMzQyIDguOTQ2MDUgMTMuNTY5OCA4Ljk0NjA1Wk05LjM4MzcyIDEzLjEzMjFIMTAuNDMwMkMxMC42NjU4IDEzLjEzMjEgMTAuNzg1MyAxMy4xOTM0IDEwLjg0NzIgMTMuMjU1QzEwLjkwODcgMTMuMzE2MyAxMC45NzA5IDEzLjQzNTQgMTAuOTcwOSAxMy42NzI4VjE0LjcxOTNDMTAuOTcwOSAxNC45NTY3IDEwLjkwODcgMTUuMDc1OCAxMC44NDcyIDE1LjEzNzFDMTAuNzg1MyAxNS4xOTg3IDEwLjY2NTggMTUuMjYgMTAuNDMwMiAxNS4yNkg5LjM4MzcyQzkuMTQ4MTIgMTUuMjYgOS4wMjg2NCAxNS4xOTg3IDguOTY2NzggMTUuMTM3MUM4LjkwNTIxIDE1LjA3NTggOC44NDMwMiAxNC45NTY3IDguODQzMDIgMTQuNzE5M1YxMy42NzI4QzguODQzMDIgMTMuNDM1NCA4LjkwNTIxIDEzLjMxNjMgOC45NjY3OCAxMy4yNTVDOS4wMjg2NCAxMy4xOTM0IDkuMTQ4MTIgMTMuMTMyMSA5LjM4MzcyIDEzLjEzMjFaTTEzLjU2OTggMTMuMTMyMUgxNC42MTYzQzE0Ljg1MTkgMTMuMTMyMSAxNC45NzE0IDEzLjE5MzQgMTUuMDMzMiAxMy4yNTVDMTUuMDk0OCAxMy4zMTYzIDE1LjE1NyAxMy40MzU0IDE1LjE1NyAxMy42NzI4VjE0LjcxOTNDMTUuMTU3IDE0Ljk1NjcgMTUuMDk0OCAxNS4wNzU4IDE1LjAzMzIgMTUuMTM3MUMxNC45NzE0IDE1LjE5ODcgMTQuODUxOSAxNS4yNiAxNC42MTYzIDE1LjI2SDEzLjU2OThDMTMuMzM0MiAxNS4yNiAxMy4yMTQ3IDE1LjE5ODcgMTMuMTUyOCAxNS4xMzcxQzEzLjA5MTMgMTUuMDc1OCAxMy4wMjkxIDE0Ljk1NjcgMTMuMDI5MSAxNC43MTkzVjEzLjY3MjhDMTMuMDI5MSAxMy40MzU0IDEzLjA5MTMgMTMuMzE2MyAxMy4xNTI4IDEzLjI1NUMxMy4yMTQ3IDEzLjE5MzQgMTMuMzM0MiAxMy4xMzIxIDEzLjU2OTggMTMuMTMyMVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIgc3Ryb2tlLXdpZHRoPSIwLjc1Ii8+CiAgPC9nPgo8L3N2Zz4K"},image:{alt:"Image",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4Ljg3NTYgMTIuNTE0NUwxMy45MDM0IDcuODQzNzFDMTMuNTI2OCA3LjUwODkyIDEzLjA5MTUgNy4zMjQ3OCAxMi42Mzk1IDcuMzI0NzhDMTIuMTc5MSA3LjMyNDc4IDExLjc2OSA3LjQ4Mzc4IDExLjM4MzkgNy44MjdMNy42MDA0MyAxMS4yMDg3TDYuMDUxOSA5LjgxMDg1QzUuNzAwMzQgOS40OTI3MSA1LjMxNTI5IDkuMzMzNzEgNC45MjE4NyA5LjMzMzcxQzQuNTQ1MiA5LjMzMzcxIDQuMTkzNjQgOS40ODQzNSAzLjg0MjA4IDkuODAyNDJMMC42NTI5MDEgMTIuNjgxOUMwLjcwMzEyNSAxNC4xOTcgMS4zMjI1NCAxNC45NjcxIDIuNTY5NzYgMTQuOTY3MUgxNi41OTg4QzE4LjExMzkgMTQuOTY3MSAxOC44NzU2IDE0LjEyMTYgMTguODc1NiAxMi41MTQ1Wk02LjIzNjA1IDcuOTI3NDJDNy4zMTU4NiA3LjkyNzQyIDguMjAzMTQgNy4wNDAxNyA4LjIwMzE0IDUuOTUyQzguMjAzMTQgNC44NzIyIDcuMzE1ODYgMy45NzY1NiA2LjIzNjA1IDMuOTc2NTZDNS4xNDc4OCAzLjk3NjU2IDQuMjYwNiA0Ljg3MjIgNC4yNjA2IDUuOTUyQzQuMjYwNiA3LjA0MDE3IDUuMTQ3ODggNy45Mjc0MiA2LjIzNjA1IDcuOTI3NDJaTTIuNjI4MzUgMTUuNTUzSDE3LjEwOTRDMTguODY3MiAxNS41NTMgMTkuNzM3NyAxNC42OTA5IDE5LjczNzcgMTIuOTY2NVYyLjczNzcyQzE5LjczNzcgMS4wMTMzOSAxOC44NjcyIDAuMTQyODUzIDE3LjEwOTQgMC4xNDI4NTNIMi42MjgzNUMwLjg3ODkwNyAwLjE0Mjg1MyAwIDEuMDEzMzkgMCAyLjczNzcyVjEyLjk2NjVDMCAxNC42OTA5IDAuODc4OTA3IDE1LjU1MyAyLjYyODM1IDE1LjU1M1pNMi42NDUwOSAxNC4yMDU0QzEuODA4MDQgMTQuMjA1NCAxLjM0NzY2IDEzLjc2MTcgMS4zNDc2NiAxMi44OTEyVjIuODEzMDVDMS4zNDc2NiAxLjk0MjUyIDEuODA4MDQgMS40OTA1MSAyLjY0NTA5IDEuNDkwNTFIMTcuMDkyNkMxNy45MjEzIDEuNDkwNTEgMTguMzkwMSAxLjk0MjUyIDE4LjM5MDEgMi44MTMwNVYxMi44OTEyQzE4LjM5MDEgMTMuNzYxNyAxNy45MjEzIDE0LjIwNTQgMTcuMDkyNiAxNC4yMDU0SDIuNjQ1MDlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="},button:{alt:"Button",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDkgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjMzODEzIDkuMjExOThDMS41NDkwNyA5LjIxMTk4IDEuNzM0OSA5LjEzNjY1IDEuOTY1OTIgOS4wMDEwNUw3Ljg5NzI5IDUuNTcwOEM4LjMyOTIxIDUuMzE5NjggOC41MTAwMSA1LjEyMzgxIDguNTEwMDEgNC44MDc0MUM4LjUxMDAxIDQuNDkxIDguMzI5MjEgNC4zMDAxNSA3Ljg5NzI5IDQuMDQ0MDFMMS45NjU5MiAwLjYxMzc3QzEuNzM0OSAwLjQ3ODE2NyAxLjU0OTA3IDAuNDAyODMyIDEuMzM4MTMgMC40MDI4MzJDMC45MjYzMDQgMC40MDI4MzIgMC42MzUwMSAwLjcxOTIzOCAwLjYzNTAxIDEuMjE2NDVWOC4zOTgzN0MwLjYzNTAxIDguOTAwNiAwLjkyNjMwNCA5LjIxMTk4IDEuMzM4MTMgOS4yMTE5OFoiIGZpbGw9IiM5RkE2QUUiLz4KPC9zdmc+Cg=="},form:{alt:"Form",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjQzOTgyIDIuNTk3NTJMMS44NTY2NyAyLjI5MTE2TDIuMjYzNDggMi41OTc1MkMyLjQzNDI0IDIuNzIzMDcgMi42MzAxMSAyLjU4NzQ3IDIuNTY0ODIgMi4zOTY2MkwyLjM5OTA4IDEuODk0MzlMMi44MTA5MSAxLjU4ODAzQzIuOTY2NjEgMS40NzI1MiAyLjkwMTMyIDEuMjUxNTMgMi43MTA0NyAxLjI1MTUzSDIuMTk4MTlMMi4wMjc0MyAwLjcxNDE0NkMxLjk3MjE5IDAuNTQ4NDEgMS43NDExNiAwLjU0ODQxIDEuNjg1OTEgMC43MTQxNDZMMS41MTUxNSAxLjI1MTUzSDAuOTk3ODU1QzAuODAxOTg1IDEuMjUxNTMgMC43MzY2OTUgMS40NzI1MiAwLjg5MjM4NyAxLjU4ODAzTDEuMzA5MjQgMS44OTQzOUwxLjE0ODUyIDIuMzk2NjJDMS4wODMyMyAyLjU4NzQ3IDEuMjc0MDggMi43MjMwNyAxLjQzOTgyIDIuNTk3NTJaTTQuMzk3OTcgMi4yMDA3NUgxMC43MDZDMTAuOTc3MiAyLjIwMDc1IDExLjE4ODEgMS45ODk4MiAxMS4xODgxIDEuNzE4NjFDMTEuMTg4MSAxLjQ0NzQxIDEwLjk3NzIgMS4yMzY0NyAxMC43MDYgMS4yMzY0N0g0LjM5Nzk3QzQuMTI2NzYgMS4yMzY0NyAzLjkxNTgyIDEuNDQ3NDEgMy45MTU4MiAxLjcxODYxQzMuOTE1ODIgMS45ODk4MiA0LjEyNjc2IDIuMjAwNzUgNC4zOTc5NyAyLjIwMDc1Wk0xLjQzOTgyIDUuNjgxMjJMMS44NTY2NyA1LjM3NDg2TDIuMjYzNDggNS42ODEyMkMyLjQzNDI0IDUuODExOCAyLjYzMDExIDUuNjcxMTggMi41NjQ4MiA1LjQ4MDMzTDIuMzk5MDggNC45NzgxTDIuODEwOTEgNC42NzE3NEMyLjk2NjYxIDQuNTU2MjIgMi45MDEzMiA0LjMzNTI0IDIuNzEwNDcgNC4zMzUyNEgyLjE5ODE5TDIuMDI3NDMgMy43OTc4NUMxLjk3MjE5IDMuNjMyMTIgMS43NDExNiAzLjYzMjEyIDEuNjg1OTEgMy43OTc4NUwxLjUxNTE1IDQuMzM1MjRIMC45OTc4NTVDMC44MDE5ODUgNC4zMzUyNCAwLjczNjY5NSA0LjU1NjIyIDAuODkyMzg3IDQuNjcxNzRMMS4zMDkyNCA0Ljk3ODFMMS4xNDg1MiA1LjQ4MDMzQzEuMDgzMjMgNS42NzExOCAxLjI3NDA4IDUuODA2NzggMS40Mzk4MiA1LjY4MTIyWk00LjM5Nzk3IDUuMjg5NDhIMTAuNzA2QzEwLjk3NzIgNS4yODk0OCAxMS4xODgxIDUuMDc4NTQgMTEuMTg4MSA0LjgwNzM0QzExLjE4ODEgNC41MzYxMyAxMC45NzcyIDQuMzI1MiAxMC43MDYgNC4zMjUySDQuMzk3OTdDNC4xMjY3NiA0LjMyNTIgMy45MTU4MiA0LjUzNjEzIDMuOTE1ODIgNC44MDczNEMzLjkxNTgyIDUuMDc4NTQgNC4xMjY3NiA1LjI4OTQ4IDQuMzk3OTcgNS4yODk0OFpNMS40Mzk4MiA4Ljc3NDk3TDEuODU2NjcgOC40Njg2MUwyLjI2MzQ4IDguNzc0OTdDMi40MzQyNCA4LjkwNTU1IDIuNjMwMTEgOC43NjQ5MyAyLjU2NDgyIDguNTc0MDhMMi4zOTkwOCA4LjA3MTg1TDIuODEwOTEgNy43NjU0OUMyLjk2NjYxIDcuNjQ5OTcgMi45MDEzMiA3LjQyODk5IDIuNzEwNDcgNy40Mjg5OUgyLjE5ODE5TDIuMDI3NDMgNi44OTE2QzEuOTcyMTkgNi43MjU4NyAxLjc0MTE2IDYuNzI1ODcgMS42ODU5MSA2Ljg5MTZMMS41MTUxNSA3LjQyODk5SDAuOTk3ODU1QzAuODAxOTg1IDcuNDI4OTkgMC43MzY2OTUgNy42NDk5NyAwLjg5MjM4NyA3Ljc2NTQ5TDEuMzA5MjQgOC4wNzE4NUwxLjE0ODUyIDguNTc0MDhDMS4wODMyMyA4Ljc2NDkzIDEuMjc0MDggOC45MDA1MyAxLjQzOTgyIDguNzc0OTdaTTQuMzk3OTcgOC4zNzgyMUgxMC43MDZDMTAuOTc3MiA4LjM3ODIxIDExLjE4ODEgOC4xNjcyNyAxMS4xODgxIDcuODk2MDdDMTEuMTg4MSA3LjYyNDg2IDEwLjk3NzIgNy40MTM5MiAxMC43MDYgNy40MTM5Mkg0LjM5Nzk3QzQuMTI2NzYgNy40MTM5MiAzLjkxNTgyIDcuNjI0ODYgMy45MTU4MiA3Ljg5NjA3QzMuOTE1ODIgOC4xNjcyNyA0LjEyNjc2IDguMzc4MjEgNC4zOTc5NyA4LjM3ODIxWiIgZmlsbD0iIzlGQTZBRSIvPgo8L3N2Zz4K"},input:{alt:"Input",src:eo},field:{alt:"Field",src:eo}},es=(0,U.forwardRef)(function(e,t){var r=e.icon,n=e.alt,i=void 0===n?ea[r].alt:n,o=e.width,a=void 0===o?"32px":o,s=e.height,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["icon","alt","width","height"]),u=(0,ei.useColorMode)().colorMode,c=ea[r],p=c.src,_=(0,z.hasProperty)(c,"srcDark")?c.srcDark:c.src;return(0,R.jsx)(ei.Image,function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);rr=>e(t(r)),r=Array.from(e).reverse().reduce((e,r)=>e?t(e,r.encode):r.encode,void 0),n=e.reduce((e,r)=>e?t(e,r.decode):r.decode,void 0);return{encode:r,decode:n}}function eT(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})}}}function ew(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}let eA=(e,t)=>t?eA(t,e%t):e,eC=(e,t)=>e+(t-eA(e,t));function eM(e,t,r,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw Error(`convertRadix2: wrong to=${r}`);if(eC(t,r)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${eC(t,r)}`);let i=0,o=0,a=2**r-1,s=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!n&&i)throw Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}let eN=eE(function(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(eC(8,e)>32||eC(e,8)>32)throw Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return eM(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(eM(r,e,8,t))}}}(6),eT("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),function(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}(6),ew(""));var ej=r(5695),ek=r.n(ej),eI=r(9189),eO=r.n(eI);function eP(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function eF(e,...t){if(!(e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function eL(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function eR(e,t){eF(e);let r=t.outputLen;if(e.lengthnew Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),eB=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),eU=(e,t)=>e<<32-t|e>>>t,eq=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],eJ=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function e$(e){for(let t=0;te().update(eK(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}let eW=(e,t,r)=>e&t^~e&r,eQ=(e,t,r)=>e&t^e&r^t&r;class eH extends eY{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=eB(this.buffer)}update(e){eL(this);let{view:t,buffer:r,blockLen:n}=this;e=eK(e);let i=e.length;for(let o=0;on-o&&(this.process(r,0),o=0);for(let e=o;e>i&o),s=Number(r&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,a,n),e.setUint32(t+u,s,n)})(r,n-8,BigInt(8*this.length),i),this.process(r,0);let a=eB(e),s=this.outputLen;if(s%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=s/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e>>3,i=eU(r,17)^eU(r,19)^r>>>10;eX[e]=i+eX[e-7]+n+eX[e-16]|0}let{A:r,B:n,C:i,D:o,E:a,F:s,G:l,H:u}=this;for(let e=0;e<64;e++){let t=eU(a,6)^eU(a,11)^eU(a,25),c=u+t+eW(a,s,l)+eG[e]+eX[e]|0,p=eU(r,2)^eU(r,13)^eU(r,22),_=p+eQ(r,n,i)|0;u=l,l=s,s=a,a=o+c|0,o=i,i=n,n=r,r=c+_|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,o=o+this.D|0,a=a+this.E|0,s=s+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(r,n,i,o,a,s,l,u)}roundClean(){eX.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let e1=eV(()=>new e0);var e2=r(7152),e3=r.n(e2)()({proto:!1,circles:!1});function e4(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&void 0!==arguments[0]?arguments[0]:{};return(0,eS.refine)((0,eS.union)([(0,eS.string)(),(0,eS.instance)(URL)]),"uri",function(t){try{var r=new URL(t),n=(0,eS.type)(e);return(0,eS.assert)(r,n),!0}catch(e){return'Expected URL, got "'.concat(t.toString(),'".')}})};function ts(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}RegExp("^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$","u"),function(e){e.Installing="installing",e.Updating="updating",e.Running="running",e.Stopped="stopped",e.Crashed="crashed"}(l||(l={})),function(e){e.Start="START",e.Stop="STOP",e.Crash="CRASH",e.Update="UPDATE"}(u||(u={})),th(Error);function tv(){var e;return(e=function(e){var t,r,n,i,o,a,s;return tg(this,function(l){switch(l.label){case 0:var u;return t=e.manifest,r=e.sourceCode,n=e.svgIcon,i=e.auxiliaryFiles,o=e.localizationFiles,a=[(u=t.clone(),delete u.result.source.shasum,u.value=ek()(u.result),u),r,n].concat(tf(i),tf(o)).filter(function(e){return void 0!==e}),s=eN.encode,[4,function(e){return ti.apply(this,arguments)}(a)];case 1:return[2,s.apply(eN,[l.sent()])]}})},tv=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){tu(o,n,i,a,s,"next",e)}function s(e){tu(o,n,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var tx=(0,eS.pattern)((0,eS.string)(),RegExp("^[\\x21-\\x7E]*$","u")),tD=ta({protocol:(0,eS.enums)(["http:","https:"]),hostname:(0,eS.enums)(["localhost","127.0.0.1","[::1]"]),hash:(0,eS.empty)((0,eS.string)()),search:(0,eS.empty)((0,eS.string)())}),tS=(0,eS.refine)(tx,"local Snap Id",function(e){if(!e.startsWith(o.local))return'Expected local snap ID, got "'.concat(e,'".');var t=td((0,eS.validate)(e.slice(o.local.length),tD),1)[0];return null==t||t}),tE=(0,eS.intersection)([tx,ta({protocol:(0,eS.literal)(o.npm),pathname:(0,eS.refine)((0,eS.string)(),"package name",function(e){var t,r,n,i,o;return tg(this,function(a){switch(a.label){case 0:if(t=e.startsWith("/")?e.slice(1):e,n=(r=eO()(t)).errors,i=r.validForNewPackages,o=r.warnings,i)return[3,4];if(void 0!==n)return[3,2];return(0,z.assert)(void 0!==o),[5,tb(o)];case 1:return a.sent(),[3,4];case 2:return[5,tb(n)];case 3:a.sent(),a.label=4;case 4:return[2,!0]}})}),search:(0,eS.empty)((0,eS.string)()),hash:(0,eS.empty)((0,eS.string)())})]),tT=(0,eS.intersection)([tx,ta({protocol:(0,eS.enums)(["http:","https:"]),search:(0,eS.empty)((0,eS.string)()),hash:(0,eS.empty)((0,eS.string)())})]),tw=(0,eS.union)([tE,tS]);function tA(e){var t=Object.values(o).find(function(t){return e.startsWith(t)});if(void 0!==t)return t;throw Error('Invalid or no prefix found for "'.concat(e,'"'))}function tC(e){return e.replace(tA(e),"")}function tM(e){return(0,z.getSafeJson)(JSON.parse(e))}function tN(e){var t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength}var tj=r(4458);function tk(e,t){return e.length===t.length&&e.every(function(e,r){return e===t[r]})}var tI=r(3601),tO=(0,eS.object)({jsonrpc:(0,eS.optional)(z.JsonRpcVersionStruct),id:(0,eS.optional)(z.JsonRpcIdStruct),method:(0,eS.string)(),params:(0,eS.optional)(z.JsonRpcParamsStruct)}),tP=(0,eS.refine)((0,eS.string)(),"CronExpression",function(e){try{return(0,tI.parseExpression)(e),!0}catch(e){return!1}}),tF=(0,eS.object)({expression:tP,request:tO}),tL=(0,eS.array)(tF),tR="1399742832'",tz=r(2483),tB=(0,eS.array)((0,eS.refine)((0,eS.string)(),"Allowed origin",function(e){return!(e.split("*").length-1>2)||'No more than two wildcards ("*") are allowed in an origin specifier.'})),tU=(0,eS.refine)((0,eS.object)({dapps:(0,eS.optional)((0,eS.boolean)()),snaps:(0,eS.optional)((0,eS.boolean)()),allowedOrigins:(0,eS.optional)(tB)}),"RPC origins",function(e){return!0===e.snaps||!0===e.dapps||!!e.allowedOrigins&&e.allowedOrigins.length>0||"Must specify at least one JSON-RPC origin."}),tq=(0,eS.object)({allowedOrigins:(0,eS.optional)(tB)}),tJ=RegExp("^(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})$","u"),t$=RegExp("^(?(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})):(?[a-zA-Z0-9]{1,64})$","u"),tK=RegExp("^(?[a-zA-Z0-9]{1,64})$","u"),tY=(0,eS.size)((0,eS.string)(),1,40),tV=(0,eS.define)("Chain ID",(0,eS.string)().validator),tW=(0,eS.pattern)(tV,tJ),tQ=(0,eS.pattern)((0,eS.string)(),t$);(0,eS.array)(tQ),(0,eS.pattern)((0,eS.string)(),tK);var tH=(0,eS.object)({id:tW,name:tY});function tG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r2)||void 0===arguments[2]||arguments[2],o=(l=JSON.stringify(t.value),u=t4.red,i?u(l):l),a=function(e){var t,r,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return"never"===e.type||0===e.path.length?"":"At path: ".concat((t=e.path.join("."),r=t4.bold,n?r(t):t)," — ")}(t,i);if("union"===t.type){var s=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Array.isArray(e.schema)?e.schema.map(function(e){var r,n;return r=e.type,n=t4.green,t?n(r):r}):null}(t.path.reduce(function(t,r){return(0,z.isObject)(e.schema)&&e.schema[r]?e.schema[r]:t},e),i);return s?"".concat(a,"Expected the value to be one of: ").concat(s.join(", "),", but received: ").concat(o,"."):"".concat(a).concat(t.message,".")}if("literal"===t.type){var l,u,c,p,_=t.message.replace(RegExp("the literal `(.+)`,","u"),"the value to be `".concat((c=t4.green,i?c("$1"):"$1"),"`,")).replace(RegExp(", but received: (.+)","u"),", but received: ".concat((p=t4.red,i?p("$1"):"$1")));return"".concat(a).concat(_,".")}if("never"===t.type)return"Unknown key: ".concat((d=t.path.join("."),f=t4.bold,i?f(d):d),", received: ").concat(o,".");if("size"===t.refinement){var d,f,m,h,y,g=t.message.replace(RegExp("length between `(\\d+)` and `(\\d+)`","u"),"length between ".concat((m=t4.green,i?m("$1"):"$1")," and ").concat((h=t4.green,i?h("$2"):"$2"),",")).replace(RegExp("length of `(\\d+)`","u"),"length of ".concat((y=t4.red,i?y("$1"):"$1"))).replace(RegExp("a array","u"),"an array");return"".concat(a).concat(g,".")}return"".concat(a,"Expected a value of type ").concat((r=t.type,n=t4.green,i?n(r):r),", but received: ").concat(o,".")}function re(){for(var e,t,r=arguments.length,n=Array(r),i=0;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(s.value.refiner(e,t))];case 3:u.sent(),u.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return l=u.sent(),i=!0,o=l,[3,8];case 7:try{r||null==a.return||a.return()}finally{if(i)throw o}return[7];case 8:return[2]}})}},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e))}var rt=[tR,"572232532'"],rr=[60],rn=rr.map(function(e){return["m","44'","".concat(e,"'")]}),ri=(0,eS.refine)((0,eS.array)((0,eS.string)()),"BIP-32 path",function(e){return 0===e.length?"Path must be a non-empty BIP-32 derivation path array":"m"!==e[0]?'Path must start with "m".':e.length<3?"Paths must have a length of at least three.":e.slice(1).some(function(e){return!(0,tj.isValidBIP32PathSegment)(e)})?"Path must be a valid BIP-32 derivation path array.":rt.includes(e[1])?'The purpose "'.concat(e[1],'" is not allowed for entropy derivation.'):!rn.some(function(t){return tk(e.slice(0,t.length),t)})||'The path "'.concat(e.join("/"),'" is not allowed for entropy derivation.')}),ro=function(e){return(0,eS.refine)(e,"BIP-32 entropy",function(e){return!("ed25519"===e.curve&&e.path.slice(1).some(function(e){return!e.endsWith("'")}))||"Ed25519 does not support unhardened paths."})},ra=(0,eS.enums)(["ed25519","secp256k1","ed25519Bip32"]),rs=ro((0,eS.type)({path:ri,curve:ra})),rl=(0,eS.size)((0,eS.array)(rs),1,1/0),ru=(0,eS.refine)((0,eS.string)(),"SemVer range",function(e){return!!(0,z.isValidSemVerRange)(e)||"Expected a valid SemVer range."}),rc=(0,eS.refine)((0,eS.record)(tw,(0,eS.object)({version:(0,eS.optional)(ru)})),"SnapIds",function(e){return 0!==Object.keys(e).length}),rp=(0,eS.size)((0,eS.array)(tW),1,1/0),r_=(0,eS.union)([(0,eS.object)({tlds:(0,eS.size)((0,eS.array)((0,eS.string)()),1,1/0)}),(0,eS.object)({schemes:(0,eS.size)((0,eS.array)((0,eS.string)()),1,1/0)}),(0,eS.object)({tlds:(0,eS.size)((0,eS.array)((0,eS.string)()),1,1/0),schemes:(0,eS.size)((0,eS.array)((0,eS.string)()),1,1/0)})]),rd=(0,z.inMilliseconds)(5,z.Duration.Second),rf=(0,z.inMilliseconds)(3,z.Duration.Minute),rm=(0,eS.size)((0,eS.integer)(),rd,rf),rh=(0,eS.object)({maxRequestTime:(0,eS.optional)(rm)}),ry=(0,eS.object)({}),rg=(0,eS.type)({"endowment:cronjob":(0,eS.optional)(re(rh,(0,eS.object)({jobs:tL}))),"endowment:ethereum-provider":(0,eS.optional)(ry),"endowment:keyring":(0,eS.optional)(re(rh,tq)),"endowment:lifecycle-hooks":(0,eS.optional)(rh),"endowment:name-lookup":(0,eS.optional)(re(rh,(0,eS.object)({chains:(0,eS.optional)(rp),matchers:(0,eS.optional)(r_)}))),"endowment:network-access":(0,eS.optional)(ry),"endowment:page-home":(0,eS.optional)(rh),"endowment:rpc":(0,eS.optional)(re(rh,tU)),"endowment:signature-insight":(0,eS.optional)(re(rh,(0,eS.object)({allowSignatureOrigin:(0,eS.optional)((0,eS.boolean)())}))),"endowment:transaction-insight":(0,eS.optional)(re(rh,(0,eS.object)({allowTransactionOrigin:(0,eS.optional)((0,eS.boolean)())}))),"endowment:webassembly":(0,eS.optional)(ry),snap_dialog:(0,eS.optional)(ry),snap_manageState:(0,eS.optional)(ry),snap_manageAccounts:(0,eS.optional)(ry),snap_notify:(0,eS.optional)(ry),snap_getBip32Entropy:(0,eS.optional)(rl),snap_getBip32PublicKey:(0,eS.optional)(rl),snap_getBip44Entropy:(0,eS.optional)((0,eS.size)((0,eS.array)((0,eS.object)({coinType:(0,eS.size)((0,eS.integer)(),0,4294967295)})),1,1/0)),snap_getEntropy:(0,eS.optional)(ry),snap_getLocale:(0,eS.optional)(ry),wallet_snap:(0,eS.optional)(rc)}),rb=(0,eS.array)((0,eS.string)()),rv=(0,eS.record)((0,eS.intersection)([(0,eS.string)(),ta()]),(0,eS.object)({})),rx=(0,eS.object)({version:z.VersionStruct,description:(0,eS.size)((0,eS.string)(),1,280),proposedName:(0,eS.size)((0,eS.string)(),1,214),repository:(0,eS.optional)((0,eS.object)({type:(0,eS.size)((0,eS.string)(),1,1/0),url:(0,eS.size)((0,eS.string)(),1,1/0)})),source:(0,eS.object)({shasum:z.ChecksumStruct,location:(0,eS.object)({npm:(0,eS.object)({filePath:(0,eS.size)((0,eS.string)(),1,1/0),iconPath:(0,eS.optional)((0,eS.size)((0,eS.string)(),1,1/0)),packageName:to,registry:(0,eS.union)([(0,eS.literal)("https://registry.npmjs.org"),(0,eS.literal)("https://registry.npmjs.org/")])})}),files:(0,eS.optional)(rb),locales:(0,eS.optional)(rb)}),initialConnections:(0,eS.optional)(rv),initialPermissions:rg,manifestVersion:(0,eS.literal)("0.1"),$schema:(0,eS.optional)((0,eS.string)())});function rD(e){return(0,eS.create)(e,rx)}function rS(e){return((0,z.assert)(!e.startsWith("/")),(0,z.assert)(-1===e.search(RegExp(":|\\/\\/","u")),'Path "'.concat(e,'" potentially an URI instead of local relative')),e.startsWith("./"))?e.slice(2):e}var rE=r(4325),rT=r(101),rw=r.n(rT),rA=r(6692),rC=r(7525),rM=r(8146),rN=r(2623);function rj(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function rk(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){rj(o,n,i,a,s,"next",e)}function s(e){rj(o,n,i,a,s,"throw",e)}a(void 0)})}}function rI(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function rO(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function rP(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function rF(e,t){var r=rP(e,t,"get");return r.get?r.get.call(e):r.value}function rL(e,t,r){rI(e,t),t.set(e,r)}function rR(e,t,r){var n=rP(e,t,"set");return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,n,r),r}function rz(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};return(0,eS.is)(e,ta(t))}(r)||!r.toString().endsWith(".tgz"))throw Error('Failed to find valid tarball URL in NPM metadata for package "'.concat(this.meta.packageName,'".'));return(i=new URL(r)).hostname=this.meta.registry.hostname,i.protocol=this.meta.registry.protocol,[4,this.fetchNpmTarball(i)];case 3:return rR(this,rY,o.sent()),this.meta.version=n,[2]}})})).apply(this,arguments)}var rH=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rq(e,t)}(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r,i=rU(n);if(t){var o=rU(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return(e=r)&&("object"==(e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)||"function"==typeof e)?e:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)});function n(){return rO(this,n),r.apply(this,arguments)}return rB(n,[{key:"fetchNpmTarball",value:function(e){var t=this;return rk(function(){var r,n,i;return rJ(this,function(o){switch(o.label){case 0:return[4,t.meta.fetch(e.toString())];case 1:if(!(r=o.sent()).ok||!r.body)throw Error('Failed to fetch tarball for package "'.concat(t.meta.packageName,'".'));return n=r.headers.get("content-length"),(0,z.assert)(n,"Snap tarball has invalid content-length"),i=parseInt(n,10),(0,z.assert)(i<=262144e3,"Snap tarball exceeds size limit"),[2,new Promise(function(e,n){var i,o,a,s,l,u,c=new Map,p=(i=t.meta.registry,o=t.meta.packageName,a="npm://",""!==i.username&&(a+=i.username,""!==i.password&&(a+=":".concat(i.password)),a+="@"),s="".concat(a).concat(i.host,"/").concat(o,"/"),(0,z.assert)(s.endsWith("/"),"Base needs to end with '/' for relative paths to be added as children instead of siblings."),(0,z.assert)(s.startsWith("npm:"),'Protocol mismatch, expected "npm:".'),l=(0,rN.extract)(),u=0,l.on("entry",function(e,t,r){var n=e.name;if("file"===e.type){var i=n.replace(r1,"");return t.pipe(rw()({encoding:"uint8array"},function(e){try{u+=e.byteLength,(0,z.assert)(u<262144e3,"Snap tarball exceeds limit of ".concat(262144e3," bytes."));var t=new e8({value:e,path:i,data:{canonicalPath:new URL(i,s).toString()}});return(0,z.assert)(!c.has(i),"Malformed tarball, multiple files with the same path."),c.set(i,t),r()}catch(e){return l.destroy(e)}}))}return t.on("end",function(){return r()}),t.resume()}),l),_=r.body;if("pipeThrough"in _&&"DecompressionStream"in globalThis){var d=new DecompressionStream("gzip"),f=_.pipeThrough(d);(0,rC.pipeline)(r2(f),p,function(t){t?n(t):e(c)});return}(0,rC.pipeline)(r2(_),(0,rE.createGunzip)(),p,function(t){t?n(t):e(c)})})]}})})()}}]),n}(function(){function e(t){var r,n,i,o,a,s,l,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};rO(this,e),rI(this,rV),rV.add(this),n=void 0,(r="meta")in this?Object.defineProperty(this,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[r]=n,rL(this,rK,{writable:!0,value:void 0}),rL(this,rY,{writable:!0,value:void 0});var p=null!==(o=c.allowCustomRegistries)&&void 0!==o&&o,_=null!==(a=c.fetch)&&void 0!==a?a:globalThis.fetch.bind(globalThis),d=null!==(s=c.versionRange)&&void 0!==s?s:"*",f=(i=rk(function(e){return rJ(this,function(t){return[2,e]})}),function(e){return i.apply(this,arguments)}),m=null!==(l=c.resolveVersion)&&void 0!==l?l:f;(0,z.assertStruct)(t.toString(),tE,"Invalid Snap Id: "),""===t.host&&""===t.port&&""===t.username&&""===t.password?u=r$:(u="https://",t.username&&(u+=t.username,t.password&&(u+=":".concat(t.password)),u+="@"),u+=t.host,u=new URL(u),(0,z.assert)(p,TypeError('Custom NPM registries are disabled, tried to use "'.concat(u.toString(),'".')))),(0,z.assert)("/"===u.pathname&&""===u.search&&""===u.hash),(0,z.assert)(""!==t.pathname&&"/"!==t.pathname,TypeError("The package name in NPM location is empty."));var h=t.pathname;h.startsWith("/")&&(h=h.slice(1)),this.meta={requestedRange:d,registry:u,packageName:h,fetch:_,resolveVersion:m}}return rB(e,[{key:"manifest",value:function(){var e=this;return rk(function(){var t,r;return rJ(this,function(n){switch(n.label){case 0:if(rF(e,rK))return[2,rF(e,rK).clone()];return[4,e.fetch("snap.manifest.json")];case 1:return r=tM((t=n.sent()).toString()),t.result=rD(r),rR(e,rK,t),[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return rk(function(){var r,n;return rJ(this,function(i){switch(i.label){case 0:if(r=rS(e),rF(t,rY))return[3,2];return[4,(function(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r})(t,rV,rW).call(t)];case 1:i.sent(),(0,z.assert)(void 0!==rF(t,rY)),i.label=2;case 2:return n=rF(t,rY).get(r),(0,z.assert)(void 0!==n,TypeError('File "'.concat(e,'" not found in package.'))),[2,n.clone()]}})})()}},{key:"packageName",get:function(){return this.meta.packageName}},{key:"version",get:function(){return(0,z.assert)(void 0!==this.meta.version,"Tried to access version without first fetching NPM package."),this.meta.version}},{key:"registry",get:function(){return this.meta.registry}},{key:"versionRange",get:function(){return this.meta.requestedRange}}]),e}());function rG(e,t,r){return rZ.apply(this,arguments)}function rZ(){return(rZ=rk(function(e,t,r){var n,i;return rJ(this,function(o){switch(o.label){case 0:return[4,r(new URL(e,t).toString(),{headers:{accept:rX(t)?"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*":"application/json"}})];case 1:if(!(n=o.sent()).ok)throw Error("Failed to fetch NPM registry entry. Status code: ".concat(n.status,"."));return[4,n.json()];case 2:if(i=o.sent(),!(0,z.isObject)(i))throw Error('Failed to fetch package "'.concat(e,'" metadata from npm.'));return[2,i]}})})).apply(this,arguments)}function rX(e){return e.toString()===r$.toString()}function r0(){return(r0=rk(function(e,t,r,n){var i,o,a,s,l,u,c,p;return rJ(this,function(_){switch(_.label){case 0:if(rX(r)&&(0,z.isValidSemVerVersion)(t))return[2,{tarballURL:(0,rA.Z)(e,t),targetVersion:t}];return[4,rG(e,r,n)];case 1:var d,f;if(d=Object.keys(null!==(c=null===(i=u=_.sent())||void 0===i?void 0:i.versions)&&void 0!==c?c:{}).map(function(e){return(0,z.assertIsSemVerVersion)(e),e}),null===(p=(f=(0,eD.maxSatisfying)(d,t))?f:(0,eD.maxSatisfying)(d,t,{includePrerelease:!0})))throw Error('Failed to find a matching version in npm metadata for package "'.concat(e,'" and requested semver range "').concat(t,'".'));return[2,{tarballURL:null===(l=u)||void 0===l?void 0:null===(s=l.versions)||void 0===s?void 0:null===(a=s[p])||void 0===a?void 0:null===(o=a.dist)||void 0===o?void 0:o.tarball,targetVersion:p}]}})})).apply(this,arguments)}var r1=RegExp("^package\\/","u");function r2(e){return"function"!=typeof e.getReader?e:new rM.F(e)}function r3(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(0,R.jsx)(ei.InputRightAddon,{px:"0",bg:"chakra-body-bg",borderColor:"border.default",children:(0,R.jsx)(ei.Select,{border:"none",onChange:function(e){x(e.currentTarget.value)},value:v,children:y.map(function(e){return(0,R.jsx)("option",{value:e,children:e},"version-".concat(e))})})})]}),(0,R.jsx)(ei.FormLabel,{children:"Environment SRP"}),(0,R.jsx)(ei.Textarea,{value:n,readOnly:!0,color:"text.muted",fontSize:"sm"}),(0,R.jsxs)(ei.HStack,{alignItems:"center",justifyContent:"space-between",mb:"4",children:[(0,R.jsx)(ei.FormLabel,{mb:"0",htmlFor:"ses-switch",children:"Secure EcmaScript (SES)"}),(0,R.jsx)(ei.Switch,{id:"ses-switch",size:"lg",isChecked:i,readOnly:!0,colorScheme:"gray"})]}),(0,R.jsxs)(ei.HStack,{alignItems:"center",justifyContent:"space-between",children:[(0,R.jsx)(ei.FormLabel,{mb:"0",htmlFor:"darkmode-switch",children:"Dark Mode"}),(0,R.jsx)(ei.Switch,{id:"darkmode-switch",size:"lg",isChecked:"dark"===l,onChange:function(){u()},colorScheme:"gray"})]})]})}),(0,R.jsx)(ei.Divider,{my:"4"}),(0,R.jsx)(ei.ModalFooter,{pb:"6",pt:"2",children:(0,R.jsx)(ei.Button,{variant:"primary",fontFamily:"default",fontWeight:"semibold",fontSize:"sm",width:"100%",onClick:S,children:"Apply config"})})]})]})};function r8(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["to","isExternal","children"]);return void 0!==r&&r?(0,R.jsx)(ei.Link,nK(n$({isExternal:!0,href:t},i),{children:n})):(0,R.jsx)(ei.Link,nK(n$({as:q.Link,to:t},i),{children:n}))},nV=function(e){var t=e.path,r=e.tag,n=e.isExternal,i=e.onClick,o=e.children,a=(0,q.useMatch)(t);return(0,R.jsx)(ei.ListItem,{children:(0,R.jsx)(nY,{padding:"2",variant:a?"navigation-active":"navigation-default",to:t,display:"block",isExternal:void 0!==n&&n,onClick:i,"data-testid":"navigation-".concat(r),_hover:{textDecoration:"none",opacity:1,background:"background.hover"},children:(0,R.jsx)(ei.Stack,{direction:"row",align:"center",children:o})})})};!function(e){e.Valid="valid",e.Invalid="invalid",e.Unknown="unknown"}(_||(_={}));var nW={valid:_.Unknown,results:[]},nQ=(0,J.createSlice)({name:"manifest",initialState:nW,reducers:{setValid:function(e,t){e.valid=t.payload},setResults:function(e,t){e.results=t.payload}}}),nH=(0,J.createAction)("".concat(nQ.name,"/validateManifest")),nG=nQ.actions,nZ=nG.setValid,nX=nG.setResults,n0=nQ.reducer,n1=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.valid}),n2=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.results});function n3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n4=(n3(d={},_.Valid,"success.default"),n3(d,_.Invalid,"error.default"),d),n6=function(){var e=el(n1);return e===_.Unknown?null:(0,R.jsx)(ei.Box,{position:"absolute",bottom:"0",right:"0",width:"10px",height:"10px",background:n4[e],borderRadius:"5px"})},n5=function(e){var t=e.children,r=e.path,n=!!(0,q.useMatch)(r);return(0,R.jsx)(ei.Tag,{borderRadius:"base",variant:"code",color:n?"#0376C9":"info.default",backgroundColor:n?"rgba(3, 118, 201, 0.1)":"info.muted",children:t})},n8=[{label:"JSON-RPC",tag:"onRpcRequest",description:"Send a JSON-RPC request to the snap",icon:"jsonRpc",path:"/handler/".concat(e.OnRpcRequest)},{label:"Cronjobs",tag:"onCronjob",description:"Schedule and run periodic actions",icon:"cronjob",path:"/handler/".concat(e.OnCronjob)},{label:"Transaction",tag:"onTransaction",description:"Send a transaction to the snap",icon:"insights",path:"/handler/".concat(e.OnTransaction)},{label:"UI Builder",tag:"ui",description:"Build a user interface for the snap",icon:"ui",path:"/builder"}],n7=function(){var e=el(function(e){return e});return(0,R.jsx)(ei.Container,{as:"nav",size:"fullWidth",display:"flex",flexDirection:"column",padding:"2",flex:"1",children:(0,R.jsxs)(ei.Stack,{as:ei.List,spacing:"2",flex:"1",children:[n8.map(function(t){var r=t.condition,n=t.icon,i=t.label,o=t.tag,a=t.description,s=t.path;return r&&!r(e)?null:(0,R.jsxs)(nV,{path:s,tag:o,children:[(0,R.jsx)(es,{icon:n}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsxs)(ei.Text,{children:[(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:i})," ",(0,R.jsx)(n5,{path:s,children:o})]}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:a})]})]},s)}),(0,R.jsxs)(nV,{tag:"manifest",path:"/manifest",children:[(0,R.jsxs)(ei.Box,{position:"relative",children:[(0,R.jsx)(es,{icon:"manifest"}),(0,R.jsx)(n6,{})]}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsxs)(ei.Text,{children:[(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"Manifest"})," ",(0,R.jsx)(n5,{path:"/manifest",children:"snap.manifest.json"})]}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Validate the snap manifest"})]})]},"manifest")]})})},n9=function(){var e=en();return(0,R.jsxs)(ei.List,{borderTop:"1px solid",borderTopColor:"border.default",padding:"2",children:[(0,R.jsxs)(nV,{path:"https://github.com/MetaMask/snaps/tree/main/packages/snaps-simulator",isExternal:!0,tag:"github",children:[(0,R.jsx)(es,{icon:"gitHub",width:"24px"}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsx)(ei.Text,{children:(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"GitHub"})}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Report an issue or contribute to the project"})]})]}),(0,R.jsxs)(nV,{path:"#",onClick:function(){e(Y())},tag:"configuration",children:[(0,R.jsx)(es,{icon:"configuration",width:"24px"}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsx)(ei.Text,{children:(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"Settings"})}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Configure the simulation environment"})]})]})]})},ie=function(){return(0,R.jsxs)(ei.Flex,{width:"375px",borderRight:"muted",flexShrink:"0",flexDirection:"column",children:[(0,R.jsx)(n7,{}),(0,R.jsx)(n9,{})]})};function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,["key"])).filter(function(e){return void 0!==(function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return it(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return it(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),key:void 0===r?null:r}}}var ii=ir("Box"),io=r(3664),ia={$schema:"http://json-schema.org/draft-04/schema#",type:"object",properties:{jsonrpc:{const:"2.0"},id:{oneOf:[{type:"string"},{type:"number"},{type:"null"}]},method:{type:"string"},params:{type:["number","string","boolean","object","array","null"]}},required:["jsonrpc","id","method"],additionalProperties:!1},is=JSON.stringify({jsonrpc:"2.0",id:1,method:"subtract",params:[42,23]},null,2);function il(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["border"]),o=(0,ei.useColorMode)().colorMode;return(0,R.jsx)(ei.Box,{width:"100%",padding:"4",border:void 0===n?"1px solid":n,borderColor:"gray.muted",borderRadius:"md",flex:"1",children:(0,R.jsx)(io.default,(t=il({language:"json",editorWillMount:function(e){var t;e.editor.defineTheme("vs-dark-custom",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#24272A"}}),null===(t=e.languages.json)||void 0===t||t.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"http://json-schema.org/draft-04/schema#",fileMatch:["*"],schema:ia}]})},value:is,theme:"light"===o?"vs-light":"vs-dark-custom"},i),r=r={options:il({tabSize:2,scrollBeyondLastLine:!1,renderLineHighlight:"none",hideCursorInOverviewRuler:!0,scrollbar:{vertical:"visible",verticalScrollbarSize:5},minimap:{enabled:!1},lineNumbers:"off",automaticLayout:!0,glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0},i.options)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})},ic=ir("Heading"),ip=ir("Text"),i_=ir("Divider"),id=ir("Copyable"),im=ir("Image"),ih=ir("Button"),iy=ir("Form"),ig=ir("Field"),ib=ir("Input"),iv=r(4566),ix=(0,U.forwardRef)(function(e,t){var r,n,i=e.children,o=e.icon,a=void 0===o?"darkArrowTopRightIcon":o,s=e.iconLocation,l=void 0===s?"right":s,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children","icon","iconLocation"]);return(0,R.jsxs)(ei.Tag,(r=function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r\n\n\n\n\n\n'}),droppable:!1},{icon:"button",text:"Button",data:ih({children:"Button"}),droppable:!1},{icon:"form",text:"Form",data:iy({name:"form",children:[]}),droppable:!0},{icon:"field",text:"Field",data:ig({children:null}),droppable:!0},{icon:"input",text:"Input",data:ib({name:"input"}),droppable:!1}],iT=function(e){var t=e.nextId,r=e.incrementId;return(0,R.jsxs)(ei.Box,{marginBottom:"4",children:[(0,R.jsx)(ei.Text,{fontSize:"xs",fontWeight:"600",lineHeight:"133%",marginBottom:"1",children:"Components"}),(0,R.jsx)(ei.Flex,{as:ei.List,gap:"2",children:iE.map(function(e){return(0,R.jsx)(ei.ListItem,{children:(0,R.jsx)(iS,{incrementId:r,icon:e.icon,node:{id:t,parent:0,droppable:e.droppable,text:e.text,data:e.data}})},"component-".concat(e.text))})})]})},iw=r(859);function iA(){return(0,eS.refine)((0,eS.string)(),"SVG",function(e){return!!e.includes("e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:{};return(0,eS.object)({type:t1(e),props:(0,eS.object)(t),key:(0,eS.nullable)(iN)})}(0,eS.object)({type:(0,eS.string)(),props:(0,eS.record)((0,eS.string)(),z.JsonStruct),key:(0,eS.nullable)(iN)});var iO=iI("Button",{children:ij,name:(0,eS.optional)((0,eS.string)()),type:(0,eS.optional)(t2([t1("button"),t1("submit")])),variant:(0,eS.optional)(t2([t1("primary"),t1("destructive")])),disabled:(0,eS.optional)((0,eS.boolean)())}),iP=iI("Checkbox",{name:(0,eS.string)(),checked:(0,eS.optional)((0,eS.boolean)()),label:(0,eS.optional)((0,eS.string)()),variant:(0,eS.optional)(t2([t1("default"),t1("toggle")]))}),iF=iI("Input",{name:(0,eS.string)(),type:(0,eS.optional)(t2([t1("text"),t1("password"),t1("number")])),value:(0,eS.optional)((0,eS.string)()),placeholder:(0,eS.optional)((0,eS.string)())}),iL=iI("Option",{value:(0,eS.string)(),children:(0,eS.string)()}),iR=iI("Dropdown",{name:(0,eS.string)(),value:(0,eS.optional)((0,eS.string)()),children:ik([iL])}),iz=iI("FileInput",{name:(0,eS.string)(),accept:t2([(0,eS.optional)((0,eS.array)((0,eS.string)()))]),compact:(0,eS.optional)((0,eS.boolean)())}),iB=[iF,iO],iU=[iF,iR,iz,iP],iq=t2(iM(iU).concat(iM(iB))),iJ=t2([(0,eS.tuple)(iB)].concat(iM(iU))),i$=iI("Field",{label:(0,eS.optional)((0,eS.string)()),error:(0,eS.optional)((0,eS.string)()),children:iJ}),iK=ik([i$,(0,eS.lazy)(function(){return on})]),iY=iI("Form",{children:iK,name:(0,eS.string)()}),iV=iI("Bold",{children:ik([(0,eS.string)(),(0,eS.lazy)(function(){return iW})])}),iW=iI("Italic",{children:ik([(0,eS.string)(),(0,eS.lazy)(function(){return iV})])}),iQ=t2([iV,iW]),iH=iI("Address",{address:z.HexChecksumAddressStruct}),iG=iI("Box",{children:ik([(0,eS.lazy)(function(){return on})]),direction:(0,eS.optional)(t2([t1("horizontal"),t1("vertical")])),alignment:(0,eS.optional)(t2([t1("start"),t1("center"),t1("end"),t1("space-between"),t1("space-around")]))}),iZ=iI("Footer",{children:t2([(0,eS.tuple)([iO,iO]),iO])}),iX=iI("Container",{children:t2([(0,eS.tuple)([iG,iZ]),iG])}),i0=iI("Copyable",{value:(0,eS.string)(),sensitive:(0,eS.optional)((0,eS.boolean)())}),i1=iI("Divider"),i2=iI("Value",{value:(0,eS.string)(),extra:(0,eS.string)()}),i3=iI("Card",{image:(0,eS.optional)((0,eS.string)()),title:(0,eS.string)(),description:(0,eS.optional)((0,eS.string)()),value:(0,eS.string)(),extra:(0,eS.optional)((0,eS.string)())}),i4=iI("Heading",{children:ij}),i6=iI("Image",{src:iA(),alt:(0,eS.optional)((0,eS.string)())}),i5=iI("Link",{href:(0,eS.string)(),children:ik([iQ,(0,eS.string)()])}),i8=iI("Text",{children:ik([(0,eS.string)(),iV,iW,i5]),alignment:(0,eS.optional)(t2([t1("start"),t1("center"),t1("end")]))}),i7=t2([i8,iV,iW,i5,i6,(0,eS.boolean)()]),i9=t2([i8,iV,iW,i5,(0,eS.string)()]),oe=iI("Tooltip",{children:(0,eS.nullable)(i7),content:i9}),ot=iI("Row",{label:(0,eS.string)(),children:t2([iH,i6,i8,i2]),variant:(0,eS.optional)(t2([t1("default"),t1("warning"),t1("critical")])),tooltip:(0,eS.optional)((0,eS.string)())}),or=iI("Spinner"),on=t3([iH,iV,iG,iO,i0,i1,iR,iz,iY,i4,iF,i6,iW,i5,ot,or,i8,oe,iP,i3]),oi=t2([on,iX]),oo=t3([iO,iF,iz,i$,iY,iV,iW,iH,iG,i0,i1,i4,i6,i5,ot,or,i8,iR,iL,i2,oe,iP,iZ,iX,i3]);function oa(e){if(!(0,eS.is)(e,oo))throw Error("Expected a JSX element, but received ".concat(JSON.stringify(e),". Please refer to the documentation for the supported JSX elements and their props."))}function os(e,t,r){var n,i;if("string"==typeof e)throw Error('An HTML element ("'.concat(String(e),'") was used in a Snap component, which is not supported by Snaps UI. Please use one of the supported Snap components.'));if(!e)throw Error("A JSX fragment was used in a Snap component, which is not supported by Snaps UI. Please use one of the supported Snap components.");return e((n=function(e){for(var t=1;t"']/,ob=RegExp(og.source,"g"),ov=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ox=RegExp(ov.source,"g"),oD={"&":"&","<":"<",">":">",'"':""","'":"'"},oS=e=>oD[e];function oE(e,t){if(t){if(og.test(e))return e.replace(ob,oS)}else if(ov.test(e))return e.replace(ox,oS);return e}let oT=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,ow=/(^|[^\[])\^/g;function oA(e,t){let r="string"==typeof e?e:e.source;t=t||"";let n={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(ow,"$1"),r=r.replace(e,i),n},getRegex:()=>new RegExp(r,t)};return n}function oC(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let oM={exec:()=>null};function oN(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}),n=r.split(/ \|/),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:oj(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=oj(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=oj(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let o=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",s="",l=!1;for(;e;){let r,n=!1;if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let u=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],p=0;this.options.pedantic?(p=2,s=u.trimStart()):(p=(p=t[2].search(/[^ ]/))>4?1:p,s=u.slice(p),p+=t[1].length);let _=!1;if(!u&&/^ *$/.test(c)&&(a+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;e;){let o=e.split("\n",1)[0];if(c=o,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n.test(c)||i.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=p||!c.trim())s+="\n"+c.slice(p);else{if(_||u.search(/[^ ]/)>=4||n.test(u)||i.test(u)||r.test(u))break;s+="\n"+c}_||c.trim()||(_=!0),a+=o+"\n",e=e.substring(o.length+1),u=c.slice(p)}}!i.loose&&(l?i.loose=!0:/\n *\n *$/.test(a)&&(l=!0));let d=null;this.options.gfm&&(d=/^\[[ xX]\] /.exec(s))&&(r="[ ] "!==d[0],s=s.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:a,task:!!d,checked:r,loose:!1,text:s,tokens:[]}),i.raw+=a}i.items[i.items.length-1].raw=a.trimEnd(),i.items[i.items.length-1].text=s.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e"space"===e.type),r=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));i.loose=r}if(i.loose)for(let e=0;e$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let r=oN(t[1]),n=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(let e of r)o.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of i)o.rows.push(oN(e,o.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:oE(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;let t=oj(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return -1;let r=0;for(let n=0;n-1){let r=0===t[0].indexOf("!")?5:4,n=r+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^$/.test(e)?r.slice(1):r.slice(1,-1)),ok(t,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," "),n=t[e.toLowerCase()];if(!n){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return ok(r,n,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;let i=n[1]||n[2]||"";if(!i||!r||this.rules.inline.punctuation.exec(r)){let r=[...n[0]].length-1,i,o,a=r,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(o=[...i].length,n[3]||n[4]){a+=o;continue}if((n[5]||n[6])&&r%3&&!((r+o)%3)){s+=o;continue}if((a-=o)>0)continue;o=Math.min(o,o+a+s);let t=[...n[0]][0].length,l=e.slice(0,r+n.index+t+o);if(Math.min(r,o)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=oE(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=oE(t[1])):e=oE(t[1]),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=oE(t[0]));else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0])e=oE(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:oE(t[0]),{type:"text",raw:t[0],text:e}}}}let oO=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,oP=/(?:[*+-]|\d{1,9}[.)])/,oF=oA(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,oP).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),oL=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,oR=/(?!\s*\])(?:\\.|[^\[\]\\])+/,oz=oA(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",oR).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oB=oA(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,oP).getRegex(),oU="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",oq=/|$))/,oJ=oA("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",oq).replace("tag",oU).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),o$=oA(oL).replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex(),oK=oA(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",o$).getRegex(),oY={blockquote:oK,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:oz,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:oO,html:oJ,lheading:oF,list:oB,newline:/^(?: *(?:\n|$))+/,paragraph:o$,table:oM,text:/^[^\n]+/},oV=oA("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex(),oW={...oY,table:oV,paragraph:oA(oL).replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oV).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex()},oQ={...oY,html:oA("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",oq).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:oM,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:oA(oL).replace("hr",oO).replace("heading"," *#{1,6} *[^\n]").replace("lheading",oF).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},oH=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,oG=/^( {2,}|\\)\n(?!\s*$)/,oZ="\\p{P}\\p{S}",oX=oA(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,oZ).getRegex(),o0=oA(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,oZ).getRegex(),o1=oA("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,oZ).getRegex(),o2=oA("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,oZ).getRegex(),o3=oA(/\\([punct])/,"gu").replace(/punct/g,oZ).getRegex(),o4=oA(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),o6=oA(oq).replace("(?:-->|$)","-->").getRegex(),o5=oA("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",o6).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),o8=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,o7=oA(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",o8).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),o9=oA(/^!?\[(label)\]\[(ref)\]/).replace("label",o8).replace("ref",oR).getRegex(),ae=oA(/^!?\[(ref)\](?:\[\])?/).replace("ref",oR).getRegex(),at=oA("reflink|nolink(?!\\()","g").replace("reflink",o9).replace("nolink",ae).getRegex(),ar={_backpedal:oM,anyPunctuation:o3,autolink:o4,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:oG,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:oM,emStrongLDelim:o0,emStrongRDelimAst:o1,emStrongRDelimUnd:o2,escape:oH,link:o7,nolink:ae,punctuation:oX,reflink:o9,reflinkSearch:at,tag:o5,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\t+" ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),o=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,o,a,s;let l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,l,s))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),a=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class au{options;constructor(e){this.options=e||oy}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+"\n",n)?'
'+(r?e:oE(e,!0))+"
\n":"
"+(r?e:oE(e,!0))+"
\n"}blockquote(e){return`
+ */var n=r(6764),i=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,r){var n,o={},u=null,c=null;for(n in void 0!==r&&(u=""+r),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)a.call(t,n)&&!l.hasOwnProperty(n)&&(o[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===o[n]&&(o[n]=t[n]);return{$$typeof:i,type:e,key:u,ref:c,props:o,_owner:s.current}}t.Fragment=o,t.jsx=u,t.jsxs=u},2322:(e,t,r)=>{"use strict";e.exports=r(1837)},4452:e=>{"use strict";var t={};function r(e,r,n){n||(n=Error);var i=function(e){function t(t,n,i){return e.call(this,"string"==typeof r?r:r(t,n,i))||this}return t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e,t}(n);i.prototype.name=n.name,i.prototype.code=e,t[e]=i}function n(e,t){if(!Array.isArray(e))return"of ".concat(t," ").concat(String(e));var r=e.length;return(e=e.map(function(e){return String(e)}),r>2)?"one of ".concat(t," ").concat(e.slice(0,r-1).join(", "),", or ")+e[r-1]:2===r?"one of ".concat(t," ").concat(e[0]," or ").concat(e[1]):"of ".concat(t," ").concat(e[0])}r("ERR_INVALID_OPT_VALUE",function(e,t){return'The value "'+t+'" is invalid for option "'+e+'"'},TypeError),r("ERR_INVALID_ARG_TYPE",function(e,t,r){if("string"==typeof t&&(i="not ",t.substr(!o||o<0?0:+o,i.length)===i)?(u="must not be",t=t.replace(/^not /,"")):u="must be",a=" argument",(void 0===s||s>e.length)&&(s=e.length),e.substring(s-a.length,s)===a)c="The ".concat(e," ").concat(u," ").concat(n(t,"type"));else{var i,o,a,s,l,u,c,p=("number"!=typeof l&&(l=0),l+1>e.length||-1===e.indexOf(".",l))?"argument":"property";c='The "'.concat(e,'" ').concat(p," ").concat(u," ").concat(n(t,"type"))}return c+". Received type ".concat(typeof r)},TypeError),r("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),r("ERR_METHOD_NOT_IMPLEMENTED",function(e){return"The "+e+" method is not implemented"}),r("ERR_STREAM_PREMATURE_CLOSE","Premature close"),r("ERR_STREAM_DESTROYED",function(e){return"Cannot call "+e+" after a stream was destroyed"}),r("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),r("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),r("ERR_STREAM_WRITE_AFTER_END","write after end"),r("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),r("ERR_UNKNOWN_ENCODING",function(e){return"Unknown encoding: "+e},TypeError),r("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),e.exports.q=t},7073:(e,t,r)=>{"use strict";var n=r(4406),i=Object.keys||function(e){var t=[];for(var r in e)t.push(r);return t};e.exports=c;var o=r(8051),a=r(2557);r(1285)(c,o);for(var s=i(a.prototype),l=0;l{"use strict";e.exports=i;var n=r(7640);function i(e){if(!(this instanceof i))return new i(e);n.call(this,e)}r(1285)(i,n),i.prototype._transform=function(e,t,r){r(null,e)}},8051:(e,t,r)=>{"use strict";var n,i,o,a,s,l=r(4406);e.exports=T,T.ReadableState=E,r(2699).EventEmitter;var u=function(e,t){return e.listeners(t).length},c=r(5010),p=r(8834).Buffer,_=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},d=r(6602);i=d&&d.debuglog?d.debuglog("stream"):function(){};var f=r(6637),m=r(2262),h=r(7605).getHighWaterMark,y=r(4452).q,g=y.ERR_INVALID_ARG_TYPE,b=y.ERR_STREAM_PUSH_AFTER_EOF,v=y.ERR_METHOD_NOT_IMPLEMENTED,x=y.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;r(1285)(T,c);var D=m.errorOrDestroy,S=["error","close","destroy","pause","resume"];function E(e,t,i){n=n||r(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=h(this,e,"readableHighWaterMark",i),this.buffer=new f,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(o||(o=r(214).s),this.decoder=new o(e.encoding),this.encoding=e.encoding)}function T(e){if(n=n||r(7073),!(this instanceof T))return new T(e);var t=this instanceof n;this._readableState=new E(e,this,t),this.readable=!0,e&&("function"==typeof e.read&&(this._read=e.read),"function"==typeof e.destroy&&(this._destroy=e.destroy)),c.call(this)}function w(e,t,r,n,o){i("readableAddChunk",t);var a,s,l,u,c,d=e._readableState;if(null===t)d.reading=!1,function(e,t){if(i("onEofChunk"),!t.ended){if(t.decoder){var r=t.decoder.end();r&&r.length&&(t.buffer.push(r),t.length+=t.objectMode?1:r.length)}t.ended=!0,t.sync?M(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,N(e)))}}(e,d);else{if(o||(a=d,s=t,p.isBuffer(s)||s instanceof _||"string"==typeof s||void 0===s||a.objectMode||(l=new g("chunk",["string","Buffer","Uint8Array"],s)),c=l),c)D(e,c);else if(d.objectMode||t&&t.length>0){if("string"==typeof t||d.objectMode||Object.getPrototypeOf(t)===p.prototype||(u=t,t=p.from(u)),n)d.endEmitted?D(e,new x):A(e,d,t,!0);else if(d.ended)D(e,new b);else{if(d.destroyed)return!1;d.reading=!1,d.decoder&&!r?(t=d.decoder.write(t),d.objectMode||0!==t.length?A(e,d,t,!1):j(e,d)):A(e,d,t,!1)}}else n||(d.reading=!1,j(e,d))}return!d.ended&&(d.lengtht.highWaterMark){var r;t.highWaterMark=((r=e)>=1073741824?r=1073741824:(r--,r|=r>>>1,r|=r>>>2,r|=r>>>4,r|=r>>>8,r|=r>>>16,r++),r)}return e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)}function M(e){var t=e._readableState;i("emitReadable",t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(i("emitReadable",t.flowing),t.emittedReadable=!0,l.nextTick(N,e))}function N(e){var t=e._readableState;i("emitReadable_",t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit("readable"),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,F(e)}function j(e,t){t.readingMore||(t.readingMore=!0,l.nextTick(k,e,t))}function k(e,t){for(;!t.reading&&!t.ended&&(t.length0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount("data")>0&&e.resume()}function O(e){i("readable nexttick read 0"),e.read(0)}function P(e,t){i("resume",t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit("resume"),F(e),t.flowing&&!t.reading&&e.read(0)}function F(e){var t=e._readableState;for(i("flow",t.flowing);t.flowing&&null!==e.read(););}function L(e,t){var r;return 0===t.length?null:(t.objectMode?r=t.buffer.shift():!e||e>=t.length?(r=t.decoder?t.buffer.join(""):1===t.buffer.length?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):r=t.buffer.consume(e,t.decoder),r)}function R(e){var t=e._readableState;i("endReadable",t.endEmitted),t.endEmitted||(t.ended=!0,l.nextTick(z,t,e))}function z(e,t){if(i("endReadableNT",e.endEmitted,e.length),!e.endEmitted&&0===e.length&&(e.endEmitted=!0,t.readable=!1,t.emit("end"),e.autoDestroy)){var r=t._writableState;(!r||r.autoDestroy&&r.finished)&&t.destroy()}}function B(e,t){for(var r=0,n=e.length;r=r.highWaterMark:r.length>0)||r.ended))return i("read: emitReadable",r.length,r.ended),0===r.length&&r.ended?R(this):M(this),null;if(0===(e=C(e,r))&&r.ended)return 0===r.length&&R(this),null;var o=r.needReadable;return i("need readable",o),(0===r.length||r.length-e0?L(e,r):null)?(r.needReadable=r.length<=r.highWaterMark,e=0):(r.length-=e,r.awaitDrain=0),0===r.length&&(r.ended||(r.needReadable=!0),n!==e&&r.ended&&R(this)),null!==t&&this.emit("data",t),t},T.prototype._read=function(e){D(this,new v("_read()"))},T.prototype.pipe=function(e,t){var r=this,n=this._readableState;switch(n.pipesCount){case 0:n.pipes=e;break;case 1:n.pipes=[n.pipes,e];break;default:n.pipes.push(e)}n.pipesCount+=1,i("pipe count=%d opts=%j",n.pipesCount,t);var o=t&&!1===t.end||e===l.stdout||e===l.stderr?m:a;function a(){i("onend"),e.end()}n.endEmitted?l.nextTick(o):r.once("end",o),e.on("unpipe",function t(o,l){i("onunpipe"),o===r&&l&&!1===l.hasUnpiped&&(l.hasUnpiped=!0,i("cleanup"),e.removeListener("close",d),e.removeListener("finish",f),e.removeListener("drain",s),e.removeListener("error",_),e.removeListener("unpipe",t),r.removeListener("end",a),r.removeListener("end",m),r.removeListener("data",p),c=!0,n.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&s())});var s=function(){var e=r._readableState;i("pipeOnDrain",e.awaitDrain),e.awaitDrain&&e.awaitDrain--,0===e.awaitDrain&&u(r,"data")&&(e.flowing=!0,F(r))};e.on("drain",s);var c=!1;function p(t){i("ondata");var o=e.write(t);i("dest.write",o),!1===o&&((1===n.pipesCount&&n.pipes===e||n.pipesCount>1&&-1!==B(n.pipes,e))&&!c&&(i("false write response, pause",n.awaitDrain),n.awaitDrain++),r.pause())}function _(t){i("onerror",t),m(),e.removeListener("error",_),0===u(e,"error")&&D(e,t)}function d(){e.removeListener("finish",f),m()}function f(){i("onfinish"),e.removeListener("close",d),m()}function m(){i("unpipe"),r.unpipe(e)}return r.on("data",p),function(e,t,r){if("function"==typeof e.prependListener)return e.prependListener(t,r);e._events&&e._events[t]?Array.isArray(e._events[t])?e._events[t].unshift(r):e._events[t]=[r,e._events[t]]:e.on(t,r)}(e,"error",_),e.once("close",d),e.once("finish",f),e.emit("pipe",r),n.flowing||(i("pipe resume"),r.resume()),e},T.prototype.unpipe=function(e){var t=this._readableState,r={hasUnpiped:!1};if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes||(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit("unpipe",this,r)),this;if(!e){var n=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var o=0;o0,!1!==n.flowing&&this.resume()):"readable"!==e||n.endEmitted||n.readableListening||(n.readableListening=n.needReadable=!0,n.flowing=!1,n.emittedReadable=!1,i("on readable",n.length,n.reading),n.length?M(this):n.reading||l.nextTick(O,this)),r},T.prototype.addListener=T.prototype.on,T.prototype.removeListener=function(e,t){var r=c.prototype.removeListener.call(this,e,t);return"readable"===e&&l.nextTick(I,this),r},T.prototype.removeAllListeners=function(e){var t=c.prototype.removeAllListeners.apply(this,arguments);return("readable"===e||void 0===e)&&l.nextTick(I,this),t},T.prototype.resume=function(){var e=this._readableState;return e.flowing||(i("resume"),e.flowing=!e.readableListening,e.resumeScheduled||(e.resumeScheduled=!0,l.nextTick(P,this,e))),e.paused=!1,this},T.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),!1!==this._readableState.flowing&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this},T.prototype.wrap=function(e){var t=this,r=this._readableState,n=!1;for(var o in e.on("end",function(){if(i("wrapped end"),r.decoder&&!r.ended){var e=r.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on("data",function(o){i("wrapped data"),r.decoder&&(o=r.decoder.write(o)),(!r.objectMode||null!=o)&&(r.objectMode||o&&o.length)&&(t.push(o)||(n=!0,e.pause()))}),e)void 0===this[o]&&"function"==typeof e[o]&&(this[o]=function(t){return function(){return e[t].apply(e,arguments)}}(o));for(var a=0;a{"use strict";e.exports=c;var n=r(4452).q,i=n.ERR_METHOD_NOT_IMPLEMENTED,o=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,s=n.ERR_TRANSFORM_WITH_LENGTH_0,l=r(7073);function u(e,t){var r=this._transformState;r.transforming=!1;var n=r.writecb;if(null===n)return this.emit("error",new o);r.writechunk=null,r.writecb=null,null!=t&&this.push(t),n(e);var i=this._readableState;i.reading=!1,(i.needReadable||i.length{"use strict";var n,i,o=r(4406);function a(e){var t=this;this.next=null,this.entry=null,this.finish=function(){(function(e,t,r){var n=e.entry;for(e.entry=null;n;){var i=n.callback;t.pendingcb--,i(void 0),n=n.next}t.corkedRequestsFree.next=e})(t,e)}}e.exports=T,T.WritableState=E;var s={deprecate:r(5803)},l=r(5010),u=r(8834).Buffer,c=(void 0!==r.g?r.g:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{}).Uint8Array||function(){},p=r(2262),_=r(7605).getHighWaterMark,d=r(4452).q,f=d.ERR_INVALID_ARG_TYPE,m=d.ERR_METHOD_NOT_IMPLEMENTED,h=d.ERR_MULTIPLE_CALLBACK,y=d.ERR_STREAM_CANNOT_PIPE,g=d.ERR_STREAM_DESTROYED,b=d.ERR_STREAM_NULL_VALUES,v=d.ERR_STREAM_WRITE_AFTER_END,x=d.ERR_UNKNOWN_ENCODING,D=p.errorOrDestroy;function S(){}function E(e,t,i){n=n||r(7073),e=e||{},"boolean"!=typeof i&&(i=t instanceof n),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=_(this,e,"writableHighWaterMark",i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var s=!1===e.decodeStrings;this.decodeStrings=!s,this.defaultEncoding=e.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){(function(e,t){var r=e._writableState,n=r.sync,i=r.writecb;if("function"!=typeof i)throw new h;if(r.writing=!1,r.writecb=null,r.length-=r.writelen,r.writelen=0,t)--r.pendingcb,n?(o.nextTick(i,t),o.nextTick(j,e,r),e._writableState.errorEmitted=!0,D(e,t)):(i(t),e._writableState.errorEmitted=!0,D(e,t),j(e,r));else{var a=M(r)||e.destroyed;a||r.corked||r.bufferProcessing||!r.bufferedRequest||C(e,r),n?o.nextTick(A,e,r,a,i):A(e,r,a,i)}})(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=!1!==e.emitClose,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new a(this)}function T(e){var t=this instanceof(n=n||r(7073));if(!t&&!i.call(T,this))return new T(e);this._writableState=new E(e,this,t),this.writable=!0,e&&("function"==typeof e.write&&(this._write=e.write),"function"==typeof e.writev&&(this._writev=e.writev),"function"==typeof e.destroy&&(this._destroy=e.destroy),"function"==typeof e.final&&(this._final=e.final)),l.call(this)}function w(e,t,r,n,i,o,a){t.writelen=n,t.writecb=a,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new g("write")):r?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function A(e,t,r,n){r||0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit("drain")),t.pendingcb--,n(),j(e,t)}function C(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var n=Array(t.bufferedRequestCount),i=t.corkedRequestsFree;i.entry=r;for(var o=0,s=!0;r;)n[o]=r,r.isBuf||(s=!1),r=r.next,o+=1;n.allBuffers=s,w(e,t,!0,t.length,n,"",i.finish),t.pendingcb++,t.lastBufferedRequest=null,i.next?(t.corkedRequestsFree=i.next,i.next=null):t.corkedRequestsFree=new a(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,c=r.callback,p=t.objectMode?1:l.length;if(w(e,t,!1,p,l,u,c),r=r.next,t.bufferedRequestCount--,t.writing)break}null===r&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}function M(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function N(e,t){e._final(function(r){t.pendingcb--,r&&D(e,r),t.prefinished=!0,e.emit("prefinish"),j(e,t)})}function j(e,t){var r=M(t);if(r&&(t.prefinished||t.finalCalled||("function"!=typeof e._final||t.destroyed?(t.prefinished=!0,e.emit("prefinish")):(t.pendingcb++,t.finalCalled=!0,o.nextTick(N,e,t))),0===t.pendingcb&&(t.finished=!0,e.emit("finish"),t.autoDestroy))){var n=e._readableState;(!n||n.autoDestroy&&n.endEmitted)&&e.destroy()}return r}r(1285)(T,l),E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(E.prototype,"buffer",{get:s.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch(e){}}(),"function"==typeof Symbol&&Symbol.hasInstance&&"function"==typeof Function.prototype[Symbol.hasInstance]?(i=Function.prototype[Symbol.hasInstance],Object.defineProperty(T,Symbol.hasInstance,{value:function(e){return!!i.call(this,e)||this===T&&e&&e._writableState instanceof E}})):i=function(e){return e instanceof this},T.prototype.pipe=function(){D(this,new y)},T.prototype.write=function(e,t,r){var n,i,a,s,l,p,_,d=this._writableState,m=!1,h=!d.objectMode&&(n=e,u.isBuffer(n)||n instanceof c);return h&&!u.isBuffer(e)&&(i=e,e=u.from(i)),("function"==typeof t&&(r=t,t=null),h?t="buffer":t||(t=d.defaultEncoding),"function"!=typeof r&&(r=S),d.ending)?(a=r,D(this,s=new v),o.nextTick(a,s)):(h||(l=e,p=r,null===l?_=new b:"string"==typeof l||d.objectMode||(_=new f("chunk",["string","Buffer"],l)),!_||(D(this,_),o.nextTick(p,_),0)))&&(d.pendingcb++,m=function(e,t,r,n,i,o){if(!r){var a,s,l=(a=n,s=i,t.objectMode||!1===t.decodeStrings||"string"!=typeof a||(a=u.from(a,s)),a);n!==l&&(r=!0,i="buffer",n=l)}var c=t.objectMode?1:n.length;t.length+=c;var p=t.length-1))throw new x(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(T.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(T.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),T.prototype._write=function(e,t,r){r(new m("_write()"))},T.prototype._writev=null,T.prototype.end=function(e,t,r){var n,i=this._writableState;return"function"==typeof e?(r=e,e=null,t=null):"function"==typeof t&&(r=t,t=null),null!=e&&this.write(e,t),i.corked&&(i.corked=1,this.uncork()),i.ending||(n=r,i.ending=!0,j(this,i),n&&(i.finished?o.nextTick(n):this.once("finish",n)),i.ended=!0,this.writable=!1),this},Object.defineProperty(T.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}}),Object.defineProperty(T.prototype,"destroyed",{enumerable:!1,get:function(){return void 0!==this._writableState&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),T.prototype.destroy=p.destroy,T.prototype._undestroy=p.undestroy,T.prototype._destroy=function(e,t){t(e)}},1029:(e,t,r)=>{"use strict";var n,i=r(4406);function o(e,t,r){var n;return(t="symbol"==typeof(n=function(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(t,"string"))?n:String(n))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a=r(9885),s=Symbol("lastResolve"),l=Symbol("lastReject"),u=Symbol("error"),c=Symbol("ended"),p=Symbol("lastPromise"),_=Symbol("handlePromise"),d=Symbol("stream");function f(e,t){return{value:e,done:t}}function m(e){var t=e[s];if(null!==t){var r=e[d].read();null!==r&&(e[p]=null,e[s]=null,e[l]=null,t(f(r,!1)))}}function h(e){i.nextTick(m,e)}var y=Object.getPrototypeOf(function(){}),g=Object.setPrototypeOf((o(n={get stream(){return this[d]},next:function(){var e,t,r=this,n=this[u];if(null!==n)return Promise.reject(n);if(this[c])return Promise.resolve(f(void 0,!0));if(this[d].destroyed)return new Promise(function(e,t){i.nextTick(function(){r[u]?t(r[u]):e(f(void 0,!0))})});var o=this[p];if(o)t=new Promise((e=this,function(t,r){o.then(function(){if(e[c]){t(f(void 0,!0));return}e[_](t,r)},r)}));else{var a=this[d].read();if(null!==a)return Promise.resolve(f(a,!1));t=new Promise(this[_])}return this[p]=t,t}},Symbol.asyncIterator,function(){return this}),o(n,"return",function(){var e=this;return new Promise(function(t,r){e[d].destroy(null,function(e){if(e){r(e);return}t(f(void 0,!0))})})}),n),y);e.exports=function(e){var t,r=Object.create(g,(o(t={},d,{value:e,writable:!0}),o(t,s,{value:null,writable:!0}),o(t,l,{value:null,writable:!0}),o(t,u,{value:null,writable:!0}),o(t,c,{value:e._readableState.endEmitted,writable:!0}),o(t,_,{value:function(e,t){var n=r[d].read();n?(r[p]=null,r[s]=null,r[l]=null,e(f(n,!1))):(r[s]=e,r[l]=t)},writable:!0}),t));return r[p]=null,a(e,function(e){if(e&&"ERR_STREAM_PREMATURE_CLOSE"!==e.code){var t=r[l];null!==t&&(r[p]=null,r[s]=null,r[l]=null,t(e)),r[u]=e;return}var n=r[s];null!==n&&(r[p]=null,r[s]=null,r[l]=null,n(f(void 0,!0))),r[c]=!0}),e.on("readable",h.bind(null,r)),r}},6637:(e,t,r)=>{"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function i(e){for(var t=1;t0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:"unshift",value:function(e){var t={data:e,next:this.head};0===this.length&&(this.tail=t),this.head=t,++this.length}},{key:"shift",value:function(){if(0!==this.length){var e=this.head.data;return 1===this.length?this.head=this.tail=null:this.head=this.head.next,--this.length,e}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(e){if(0===this.length)return"";for(var t=this.head,r=""+t.data;t=t.next;)r+=e+t.data;return r}},{key:"concat",value:function(e){if(0===this.length)return s.alloc(0);for(var t,r,n=s.allocUnsafe(e>>>0),i=this.head,o=0;i;)t=i.data,r=o,s.prototype.copy.call(t,n,r),o+=i.data.length,i=i.next;return n}},{key:"consume",value:function(e,t){var r;return ei.length?i.length:e;if(o===i.length?n+=i:n+=i.slice(0,e),0==(e-=o)){o===i.length?(++r,t.next?this.head=t.next:this.head=this.tail=null):(this.head=t,t.data=i.slice(o));break}++r}return this.length-=r,n}},{key:"_getBuffer",value:function(e){var t=s.allocUnsafe(e),r=this.head,n=1;for(r.data.copy(t),e-=r.data.length;r=r.next;){var i=r.data,o=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,o),0==(e-=o)){o===i.length?(++n,r.next?this.head=r.next:this.head=this.tail=null):(this.head=r,r.data=i.slice(o));break}++n}return this.length-=n,t}},{key:u,value:function(e,t){return l(this,i(i({},t),{},{depth:0,customInspect:!1}))}}],o(r.prototype,e),t&&o(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}()},2262:(e,t,r)=>{"use strict";var n=r(4406);function i(e,t){a(e,t),o(e)}function o(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit("close")}function a(e,t){e.emit("error",t)}e.exports={destroy:function(e,t){var r=this,s=this._readableState&&this._readableState.destroyed,l=this._writableState&&this._writableState.destroyed;return s||l?t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,n.nextTick(a,this,e)):n.nextTick(a,this,e)):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?r._writableState?r._writableState.errorEmitted?n.nextTick(o,r):(r._writableState.errorEmitted=!0,n.nextTick(i,r,e)):n.nextTick(i,r,e):t?(n.nextTick(o,r),t(e)):n.nextTick(o,r)})),this},undestroy:function(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)},errorOrDestroy:function(e,t){var r=e._readableState,n=e._writableState;r&&r.autoDestroy||n&&n.autoDestroy?e.destroy(t):e.emit("error",t)}}},9885:(e,t,r)=>{"use strict";var n=r(4452).q.ERR_STREAM_PREMATURE_CLOSE;function i(){}e.exports=function e(t,r,o){if("function"==typeof r)return e(t,null,r);r||(r={}),a=o||i,s=!1,o=function(){if(!s){s=!0;for(var e=arguments.length,t=Array(e),r=0;r{e.exports=function(){throw Error("Readable.from is not available in the browser")}},3495:(e,t,r)=>{"use strict";var n,i=r(4452).q,o=i.ERR_MISSING_ARGS,a=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function l(e){e()}function u(e,t){return e.pipe(t)}e.exports=function(){for(var e,t,i=arguments.length,c=Array(i),p=0;p0},function(e){if(e)return o(e);p=!0,o()}),f=!1,function(t){if(!p&&!f){if(f=!0,e.setHeader&&"function"==typeof e.abort)return e.abort();if("function"==typeof e.destroy)return e.destroy();o(t||new a("pipe"))}}});return c.reduce(u)}},7605:(e,t,r)=>{"use strict";var n=r(4452).q.ERR_INVALID_OPT_VALUE;e.exports={getHighWaterMark:function(e,t,r,i){var o=null!=t.highWaterMark?t.highWaterMark:i?t[r]:null;if(null!=o){if(!(isFinite(o)&&Math.floor(o)===o)||o<0){var a=i?r:"highWaterMark";throw new n(a,o)}return Math.floor(o)}return e.objectMode?16:16384}}},5010:(e,t,r)=>{e.exports=r(2699).EventEmitter},7525:(e,t,r)=>{(t=e.exports=r(8051)).Stream=t,t.Readable=t,t.Writable=r(2557),t.Duplex=r(7073),t.Transform=r(7640),t.PassThrough=r(5163),t.finished=r(9885),t.pipeline=r(3495)},8146:(e,t,r)=>{"use strict";t.F=void 0;let n=r(7525);class i extends n.Readable{constructor(e){super(),this.bytesRead=0,this.released=!1,this.reader=e.getReader()}async _read(){if(this.released){this.push(null);return}this.pendingRead=this.reader.read();let e=await this.pendingRead;delete this.pendingRead,e.done||this.released?this.push(null):(this.bytesRead+=e.value.length,this.push(e.value))}async waitForReadToComplete(){this.pendingRead&&await this.pendingRead}async close(){await this.syncAndRelease()}async syncAndRelease(){this.released=!0,await this.waitForReadToComplete(),await this.reader.releaseLock()}}t.F=i},961:(e,t,r)=>{"use strict";var n=r(8462).functionsHaveConfigurableNames(),i=Object,o=TypeError;e.exports=function(){if(this!=null&&this!==i(this))throw new o("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.sticky&&(e+="y"),e},n&&Object.defineProperty&&Object.defineProperty(e.exports,"name",{value:"get flags"})},2201:(e,t,r)=>{"use strict";var n=r(4926),i=r(9429),o=r(961),a=r(4366),s=r(698),l=i(a());n(l,{getPolyfill:a,implementation:o,shim:s}),e.exports=l},4366:(e,t,r)=>{"use strict";var n=r(961),i=r(4926).supportsDescriptors,o=Object.getOwnPropertyDescriptor;e.exports=function(){if(i&&"gim"===/a/mig.flags){var e=o(RegExp.prototype,"flags");if(e&&"function"==typeof e.get&&"boolean"==typeof RegExp.prototype.dotAll&&"boolean"==typeof RegExp.prototype.hasIndices){var t="",r={};if(Object.defineProperty(r,"hasIndices",{get:function(){t+="d"}}),Object.defineProperty(r,"sticky",{get:function(){t+="y"}}),"dy"===t)return e.get}}return n}},698:(e,t,r)=>{"use strict";var n=r(4926).supportsDescriptors,i=r(4366),o=Object.getOwnPropertyDescriptor,a=Object.defineProperty,s=TypeError,l=Object.getPrototypeOf,u=/a/;e.exports=function(){if(!n||!l)throw new s("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=i(),t=l(u),r=o(t,"flags");return r&&r.get===e||a(t,"flags",{configurable:!0,enumerable:!1,get:e}),e}},7152:(e,t,r)=>{"use strict";var n=r(8834).Buffer;function i(e){return e instanceof n?n.from(e):new e.constructor(e.buffer.slice(),e.byteOffset,e.length)}e.exports=function(e){if((e=e||{}).circles)return function(e){var t=[],r=[];return e.proto?function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,e);if(o instanceof Map)return new Map(n(Array.from(o),e));if(o instanceof Set)return new Set(n(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=i(l);else{var u=t.indexOf(l);-1!==u?a[s]=r[u]:a[s]=e(l)}}return t.pop(),r.pop(),a}:function e(o){if("object"!=typeof o||null===o)return o;if(o instanceof Date)return new Date(o);if(Array.isArray(o))return n(o,e);if(o instanceof Map)return new Map(n(Array.from(o),e));if(o instanceof Set)return new Set(n(Array.from(o),e));var a={};for(var s in t.push(o),r.push(a),o)if(!1!==Object.hasOwnProperty.call(o,s)){var l=o[s];if("object"!=typeof l||null===l)a[s]=l;else if(l instanceof Date)a[s]=new Date(l);else if(l instanceof Map)a[s]=new Map(n(Array.from(l),e));else if(l instanceof Set)a[s]=new Set(n(Array.from(l),e));else if(ArrayBuffer.isView(l))a[s]=i(l);else{var u=t.indexOf(l);-1!==u?a[s]=r[u]:a[s]=e(l)}}return t.pop(),r.pop(),a};function n(e,n){for(var o=Object.keys(e),a=Array(o.length),s=0;s{/*! safe-buffer. MIT License. Feross Aboukhadijeh */var n=r(8834),i=n.Buffer;function o(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(o(n,t),t.Buffer=a),a.prototype=Object.create(i.prototype),o(i,a),a.from=function(e,t,r){if("number"==typeof e)throw TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw TypeError("Argument must be a number");return n.SlowBuffer(e)}},3321:(e,t,r)=>{let n=Symbol("SemVer ANY");class i{static get ANY(){return n}constructor(e,t){if(t=o(t),e instanceof i){if(!!t.loose===e.loose)return e;e=e.value}u("comparator",e=e.trim().split(/\s+/).join(" "),t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===n?this.value="":this.value=this.operator+this.semver.version,u("comp",this)}parse(e){let t=this.options.loose?a[s.COMPARATORLOOSE]:a[s.COMPARATOR],r=e.match(t);if(!r)throw TypeError(`Invalid comparator: ${e}`);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new c(r[2],this.options.loose):this.semver=n}toString(){return this.value}test(e){if(u("Comparator.test",e,this.options.loose),this.semver===n||e===n)return!0;if("string"==typeof e)try{e=new c(e,this.options)}catch(e){return!1}return l(e,this.operator,this.semver,this.options)}intersects(e,t){if(!(e instanceof i))throw TypeError("a Comparator is required");return""===this.operator?""===this.value||new p(e.value,t).test(this.value):""===e.operator?""===e.value||new p(this.value,t).test(e.semver):!((t=o(t)).includePrerelease&&("<0.0.0-0"===this.value||"<0.0.0-0"===e.value)||!t.includePrerelease&&(this.value.startsWith("<0.0.0")||e.value.startsWith("<0.0.0")))&&!!(this.operator.startsWith(">")&&e.operator.startsWith(">")||this.operator.startsWith("<")&&e.operator.startsWith("<")||this.semver.version===e.semver.version&&this.operator.includes("=")&&e.operator.includes("=")||l(this.semver,"<",e.semver,t)&&this.operator.startsWith(">")&&e.operator.startsWith("<")||l(this.semver,">",e.semver,t)&&this.operator.startsWith("<")&&e.operator.startsWith(">"))}}e.exports=i;let o=r(1388),{safeRe:a,t:s}=r(4808),l=r(8117),u=r(952),c=r(2435),p=r(6843)},6843:(e,t,r)=>{class n{constructor(e,t){if(t=a(t),e instanceof n){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;return new n(e.raw,t)}if(e instanceof s)return this.raw=e.value,this.set=[[e]],this.format(),this;if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,this.raw=e.trim().split(/\s+/).join(" "),this.set=this.raw.split("||").map(e=>this.parseRange(e.trim())).filter(e=>e.length),!this.set.length)throw TypeError(`Invalid SemVer Range: ${this.raw}`);if(this.set.length>1){let e=this.set[0];if(this.set=this.set.filter(e=>!y(e[0])),0===this.set.length)this.set=[e];else if(this.set.length>1){for(let e of this.set)if(1===e.length&&g(e[0])){this.set=[e];break}}}this.format()}format(){return this.range=this.set.map(e=>e.join(" ").trim()).join("||").trim(),this.range}toString(){return this.range}parseRange(e){let t=(this.options.includePrerelease&&m)|(this.options.loose&&h),r=t+":"+e,n=o.get(r);if(n)return n;let i=this.options.loose,a=i?c[p.HYPHENRANGELOOSE]:c[p.HYPHENRANGE];l("hyphen replace",e=e.replace(a,N(this.options.includePrerelease))),l("comparator trim",e=e.replace(c[p.COMPARATORTRIM],_)),l("tilde trim",e=e.replace(c[p.TILDETRIM],d)),l("caret trim",e=e.replace(c[p.CARETTRIM],f));let u=e.split(" ").map(e=>v(e,this.options)).join(" ").split(/\s+/).map(e=>M(e,this.options));i&&(u=u.filter(e=>(l("loose invalid filter",e,this.options),!!e.match(c[p.COMPARATORLOOSE])))),l("range list",u);let g=new Map,b=u.map(e=>new s(e,this.options));for(let e of b){if(y(e))return[e];g.set(e.value,e)}g.size>1&&g.has("")&&g.delete("");let x=[...g.values()];return o.set(r,x),x}intersects(e,t){if(!(e instanceof n))throw TypeError("a Range is required");return this.set.some(r=>b(r,t)&&e.set.some(e=>b(e,t)&&r.every(r=>e.every(e=>r.intersects(e,t)))))}test(e){if(!e)return!1;if("string"==typeof e)try{e=new u(e,this.options)}catch(e){return!1}for(let t=0;t"<0.0.0-0"===e.value,g=e=>""===e.value,b=(e,t)=>{let r=!0,n=e.slice(),i=n.pop();for(;r&&n.length;)r=n.every(e=>i.intersects(e,t)),i=n.pop();return r},v=(e,t)=>(l("comp",e,t),l("caret",e=E(e,t)),l("tildes",e=D(e,t)),l("xrange",e=w(e,t)),l("stars",e=C(e,t)),e),x=e=>!e||"x"===e.toLowerCase()||"*"===e,D=(e,t)=>e.trim().split(/\s+/).map(e=>S(e,t)).join(" "),S=(e,t)=>{let r=t.loose?c[p.TILDELOOSE]:c[p.TILDE];return e.replace(r,(t,r,n,i,o)=>{let a;return l("tilde",e,t,r,n,i,o),x(r)?a="":x(n)?a=`>=${r}.0.0 <${+r+1}.0.0-0`:x(i)?a=`>=${r}.${n}.0 <${r}.${+n+1}.0-0`:o?(l("replaceTilde pr",o),a=`>=${r}.${n}.${i}-${o} <${r}.${+n+1}.0-0`):a=`>=${r}.${n}.${i} <${r}.${+n+1}.0-0`,l("tilde return",a),a})},E=(e,t)=>e.trim().split(/\s+/).map(e=>T(e,t)).join(" "),T=(e,t)=>{l("caret",e,t);let r=t.loose?c[p.CARETLOOSE]:c[p.CARET],n=t.includePrerelease?"-0":"";return e.replace(r,(t,r,i,o,a)=>{let s;return l("caret",e,t,r,i,o,a),x(r)?s="":x(i)?s=`>=${r}.0.0${n} <${+r+1}.0.0-0`:x(o)?s="0"===r?`>=${r}.${i}.0${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.0${n} <${+r+1}.0.0-0`:a?(l("replaceCaret pr",a),s="0"===r?"0"===i?`>=${r}.${i}.${o}-${a} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}-${a} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o}-${a} <${+r+1}.0.0-0`):(l("no pr"),s="0"===r?"0"===i?`>=${r}.${i}.${o}${n} <${r}.${i}.${+o+1}-0`:`>=${r}.${i}.${o}${n} <${r}.${+i+1}.0-0`:`>=${r}.${i}.${o} <${+r+1}.0.0-0`),l("caret return",s),s})},w=(e,t)=>(l("replaceXRanges",e,t),e.split(/\s+/).map(e=>A(e,t)).join(" ")),A=(e,t)=>{e=e.trim();let r=t.loose?c[p.XRANGELOOSE]:c[p.XRANGE];return e.replace(r,(r,n,i,o,a,s)=>{l("xRange",e,r,n,i,o,a,s);let u=x(i),c=u||x(o),p=c||x(a);return"="===n&&p&&(n=""),s=t.includePrerelease?"-0":"",u?r=">"===n||"<"===n?"<0.0.0-0":"*":n&&p?(c&&(o=0),a=0,">"===n?(n=">=",c?(i=+i+1,o=0):o=+o+1,a=0):"<="===n&&(n="<",c?i=+i+1:o=+o+1),"<"===n&&(s="-0"),r=`${n+i}.${o}.${a}${s}`):c?r=`>=${i}.0.0${s} <${+i+1}.0.0-0`:p&&(r=`>=${i}.${o}.0${s} <${i}.${+o+1}.0-0`),l("xRange return",r),r})},C=(e,t)=>(l("replaceStars",e,t),e.trim().replace(c[p.STAR],"")),M=(e,t)=>(l("replaceGTE0",e,t),e.trim().replace(c[t.includePrerelease?p.GTE0PRE:p.GTE0],"")),N=e=>(t,r,n,i,o,a,s,l,u,c,p,_,d)=>`${r=x(n)?"":x(i)?`>=${n}.0.0${e?"-0":""}`:x(o)?`>=${n}.${i}.0${e?"-0":""}`:a?`>=${r}`:`>=${r}${e?"-0":""}`} ${l=x(u)?"":x(c)?`<${+u+1}.0.0-0`:x(p)?`<${u}.${+c+1}.0-0`:_?`<=${u}.${c}.${p}-${_}`:e?`<${u}.${c}.${+p+1}-0`:`<=${l}`}`.trim(),j=(e,t,r)=>{for(let r=0;r0){let n=e[r].semver;if(n.major===t.major&&n.minor===t.minor&&n.patch===t.patch)return!0}return!1}return!0}},2435:(e,t,r)=>{let n=r(952),{MAX_LENGTH:i,MAX_SAFE_INTEGER:o}=r(5558),{safeRe:a,t:s}=r(4808),l=r(1388),{compareIdentifiers:u}=r(4935);class c{constructor(e,t){if(t=l(t),e instanceof c){if(!!t.loose===e.loose&&!!t.includePrerelease===e.includePrerelease)return e;e=e.version}else if("string"!=typeof e)throw TypeError(`Invalid version. Must be a string. Got type "${typeof e}".`);if(e.length>i)throw TypeError(`version is longer than ${i} characters`);n("SemVer",e,t),this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease;let r=e.trim().match(t.loose?a[s.LOOSE]:a[s.FULL]);if(!r)throw TypeError(`Invalid Version: ${e}`);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>o||this.major<0)throw TypeError("Invalid major version");if(this.minor>o||this.minor<0)throw TypeError("Invalid minor version");if(this.patch>o||this.patch<0)throw TypeError("Invalid patch version");r[4]?this.prerelease=r[4].split(".").map(e=>{if(/^[0-9]+$/.test(e)){let t=+e;if(t>=0&&t=0;)"number"==typeof this.prerelease[n]&&(this.prerelease[n]++,n=-2);if(-1===n){if(t===this.prerelease.join(".")&&!1===r)throw Error("invalid increment argument: identifier already exists");this.prerelease.push(e)}}if(t){let n=[t,e];!1===r&&(n=[t]),0===u(this.prerelease[0],t)?isNaN(this.prerelease[1])&&(this.prerelease=n):this.prerelease=n}break}default:throw Error(`invalid increment argument: ${e}`)}return this.raw=this.format(),this.build.length&&(this.raw+=`+${this.build.join(".")}`),this}}e.exports=c},6694:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null}},8117:(e,t,r)=>{let n=r(3276),i=r(7893),o=r(6379),a=r(8463),s=r(1897),l=r(506);e.exports=(e,t,r,u)=>{switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return n(e,r,u);case"!=":return i(e,r,u);case">":return o(e,r,u);case">=":return a(e,r,u);case"<":return s(e,r,u);case"<=":return l(e,r,u);default:throw TypeError(`Invalid operator: ${t}`)}}},8686:(e,t,r)=>{let n=r(2435),i=r(9943),{safeRe:o,t:a}=r(4808);e.exports=(e,t)=>{if(e instanceof n)return e;if("number"==typeof e&&(e=String(e)),"string"!=typeof e)return null;let r=null;if((t=t||{}).rtl){let n;let i=t.includePrerelease?o[a.COERCERTLFULL]:o[a.COERCERTL];for(;(n=i.exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),i.lastIndex=n.index+n[1].length+n[2].length;i.lastIndex=-1}else r=e.match(t.includePrerelease?o[a.COERCEFULL]:o[a.COERCE]);if(null===r)return null;let s=r[2],l=r[3]||"0",u=r[4]||"0",c=t.includePrerelease&&r[5]?`-${r[5]}`:"",p=t.includePrerelease&&r[6]?`+${r[6]}`:"";return i(`${s}.${l}.${u}${c}${p}`,t)}},5914:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r)=>{let i=new n(e,r),o=new n(t,r);return i.compare(o)||i.compareBuild(o)}},5404:(e,t,r)=>{let n=r(2271);e.exports=(e,t)=>n(e,t,!0)},2271:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r)=>new n(e,r).compare(new n(t,r))},6007:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,null,!0),i=n(t,null,!0),o=r.compare(i);if(0===o)return null;let a=o>0,s=a?r:i,l=a?i:r,u=!!s.prerelease.length,c=!!l.prerelease.length;if(c&&!u)return l.patch||l.minor?s.patch?"patch":s.minor?"minor":"major":"major";let p=u?"pre":"";return r.major!==i.major?p+"major":r.minor!==i.minor?p+"minor":r.patch!==i.patch?p+"patch":"prerelease"}},3276:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0===n(e,t,r)},6379:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(e,t,r)>0},8463:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(e,t,r)>=0},6360:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r,i,o)=>{"string"==typeof r&&(o=i,i=r,r=void 0);try{return new n(e instanceof n?e.version:e,r).inc(t,i,o).version}catch(e){return null}}},1897:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0>n(e,t,r)},506:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0>=n(e,t,r)},4551:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).major},469:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).minor},7893:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>0!==n(e,t,r)},9943:(e,t,r)=>{let n=r(2435);e.exports=(e,t,r=!1)=>{if(e instanceof n)return e;try{return new n(e,t)}catch(e){if(!r)return null;throw e}}},4250:(e,t,r)=>{let n=r(2435);e.exports=(e,t)=>new n(e,t).patch},8204:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,t);return r&&r.prerelease.length?r.prerelease:null}},733:(e,t,r)=>{let n=r(2271);e.exports=(e,t,r)=>n(t,e,r)},2961:(e,t,r)=>{let n=r(5914);e.exports=(e,t)=>e.sort((e,r)=>n(r,e,t))},9844:(e,t,r)=>{let n=r(6843);e.exports=(e,t,r)=>{try{t=new n(t,r)}catch(e){return!1}return t.test(e)}},1116:(e,t,r)=>{let n=r(5914);e.exports=(e,t)=>e.sort((e,r)=>n(e,r,t))},7230:(e,t,r)=>{let n=r(9943);e.exports=(e,t)=>{let r=n(e,t);return r?r.version:null}},7699:(e,t,r)=>{let n=r(4808),i=r(5558),o=r(2435),a=r(4935),s=r(9943),l=r(7230),u=r(6694),c=r(6360),p=r(6007),_=r(4551),d=r(469),f=r(4250),m=r(8204),h=r(2271),y=r(733),g=r(5404),b=r(5914),v=r(1116),x=r(2961),D=r(6379),S=r(1897),E=r(3276),T=r(7893),w=r(8463),A=r(506),C=r(8117),M=r(8686),N=r(3321),j=r(6843),k=r(9844),I=r(8865),O=r(3727),P=r(4338),F=r(1542),L=r(6240),R=r(9106),z=r(995),B=r(7805),U=r(2013),q=r(1338),J=r(3122);e.exports={parse:s,valid:l,clean:u,inc:c,diff:p,major:_,minor:d,patch:f,prerelease:m,compare:h,rcompare:y,compareLoose:g,compareBuild:b,sort:v,rsort:x,gt:D,lt:S,eq:E,neq:T,gte:w,lte:A,cmp:C,coerce:M,Comparator:N,Range:j,satisfies:k,toComparators:I,maxSatisfying:O,minSatisfying:P,minVersion:F,validRange:L,outside:R,gtr:z,ltr:B,intersects:U,simplifyRange:q,subset:J,SemVer:o,re:n.re,src:n.src,tokens:n.t,SEMVER_SPEC_VERSION:i.SEMVER_SPEC_VERSION,RELEASE_TYPES:i.RELEASE_TYPES,compareIdentifiers:a.compareIdentifiers,rcompareIdentifiers:a.rcompareIdentifiers}},5558:e=>{let t=Number.MAX_SAFE_INTEGER||9007199254740991;e.exports={MAX_LENGTH:256,MAX_SAFE_COMPONENT_LENGTH:16,MAX_SAFE_BUILD_LENGTH:250,MAX_SAFE_INTEGER:t,RELEASE_TYPES:["major","premajor","minor","preminor","patch","prepatch","prerelease"],SEMVER_SPEC_VERSION:"2.0.0",FLAG_INCLUDE_PRERELEASE:1,FLAG_LOOSE:2}},952:(e,t,r)=>{var n=r(4406);let i="object"==typeof n&&n.env&&n.env.NODE_DEBUG&&/\bsemver\b/i.test(n.env.NODE_DEBUG)?(...e)=>console.error("SEMVER",...e):()=>{};e.exports=i},4935:e=>{let t=/^[0-9]+$/,r=(e,r)=>{let n=t.test(e),i=t.test(r);return n&&i&&(e=+e,r=+r),e===r?0:n&&!i?-1:i&&!n?1:er(t,e)}},1388:e=>{let t=Object.freeze({loose:!0}),r=Object.freeze({});e.exports=e=>e?"object"!=typeof e?t:e:r},4808:(e,t,r)=>{let{MAX_SAFE_COMPONENT_LENGTH:n,MAX_SAFE_BUILD_LENGTH:i,MAX_LENGTH:o}=r(5558),a=r(952);t=e.exports={};let s=t.re=[],l=t.safeRe=[],u=t.src=[],c=t.t={},p=0,_="[a-zA-Z0-9-]",d=[["\\s",1],["\\d",o],[_,i]],f=e=>{for(let[t,r]of d)e=e.split(`${t}*`).join(`${t}{0,${r}}`).split(`${t}+`).join(`${t}{1,${r}}`);return e},m=(e,t,r)=>{let n=f(t),i=p++;a(e,i,t),c[e]=i,u[i]=t,s[i]=new RegExp(t,r?"g":void 0),l[i]=new RegExp(n,r?"g":void 0)};m("NUMERICIDENTIFIER","0|[1-9]\\d*"),m("NUMERICIDENTIFIERLOOSE","\\d+"),m("NONNUMERICIDENTIFIER",`\\d*[a-zA-Z-]${_}*`),m("MAINVERSION",`(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})\\.(${u[c.NUMERICIDENTIFIER]})`),m("MAINVERSIONLOOSE",`(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})\\.(${u[c.NUMERICIDENTIFIERLOOSE]})`),m("PRERELEASEIDENTIFIER",`(?:${u[c.NUMERICIDENTIFIER]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASEIDENTIFIERLOOSE",`(?:${u[c.NUMERICIDENTIFIERLOOSE]}|${u[c.NONNUMERICIDENTIFIER]})`),m("PRERELEASE",`(?:-(${u[c.PRERELEASEIDENTIFIER]}(?:\\.${u[c.PRERELEASEIDENTIFIER]})*))`),m("PRERELEASELOOSE",`(?:-?(${u[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${u[c.PRERELEASEIDENTIFIERLOOSE]})*))`),m("BUILDIDENTIFIER",`${_}+`),m("BUILD",`(?:\\+(${u[c.BUILDIDENTIFIER]}(?:\\.${u[c.BUILDIDENTIFIER]})*))`),m("FULLPLAIN",`v?${u[c.MAINVERSION]}${u[c.PRERELEASE]}?${u[c.BUILD]}?`),m("FULL",`^${u[c.FULLPLAIN]}$`),m("LOOSEPLAIN",`[v=\\s]*${u[c.MAINVERSIONLOOSE]}${u[c.PRERELEASELOOSE]}?${u[c.BUILD]}?`),m("LOOSE",`^${u[c.LOOSEPLAIN]}$`),m("GTLT","((?:<|>)?=?)"),m("XRANGEIDENTIFIERLOOSE",`${u[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`),m("XRANGEIDENTIFIER",`${u[c.NUMERICIDENTIFIER]}|x|X|\\*`),m("XRANGEPLAIN",`[v=\\s]*(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:\\.(${u[c.XRANGEIDENTIFIER]})(?:${u[c.PRERELEASE]})?${u[c.BUILD]}?)?)?`),m("XRANGEPLAINLOOSE",`[v=\\s]*(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${u[c.XRANGEIDENTIFIERLOOSE]})(?:${u[c.PRERELEASELOOSE]})?${u[c.BUILD]}?)?)?`),m("XRANGE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAIN]}$`),m("XRANGELOOSE",`^${u[c.GTLT]}\\s*${u[c.XRANGEPLAINLOOSE]}$`),m("COERCEPLAIN",`(^|[^\\d])(\\d{1,${n}})(?:\\.(\\d{1,${n}}))?(?:\\.(\\d{1,${n}}))?`),m("COERCE",`${u[c.COERCEPLAIN]}(?:$|[^\\d])`),m("COERCEFULL",u[c.COERCEPLAIN]+`(?:${u[c.PRERELEASE]})?`+`(?:${u[c.BUILD]})?`+"(?:$|[^\\d])"),m("COERCERTL",u[c.COERCE],!0),m("COERCERTLFULL",u[c.COERCEFULL],!0),m("LONETILDE","(?:~>?)"),m("TILDETRIM",`(\\s*)${u[c.LONETILDE]}\\s+`,!0),t.tildeTrimReplace="$1~",m("TILDE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAIN]}$`),m("TILDELOOSE",`^${u[c.LONETILDE]}${u[c.XRANGEPLAINLOOSE]}$`),m("LONECARET","(?:\\^)"),m("CARETTRIM",`(\\s*)${u[c.LONECARET]}\\s+`,!0),t.caretTrimReplace="$1^",m("CARET",`^${u[c.LONECARET]}${u[c.XRANGEPLAIN]}$`),m("CARETLOOSE",`^${u[c.LONECARET]}${u[c.XRANGEPLAINLOOSE]}$`),m("COMPARATORLOOSE",`^${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]})$|^$`),m("COMPARATOR",`^${u[c.GTLT]}\\s*(${u[c.FULLPLAIN]})$|^$`),m("COMPARATORTRIM",`(\\s*)${u[c.GTLT]}\\s*(${u[c.LOOSEPLAIN]}|${u[c.XRANGEPLAIN]})`,!0),t.comparatorTrimReplace="$1$2$3",m("HYPHENRANGE",`^\\s*(${u[c.XRANGEPLAIN]})\\s+-\\s+(${u[c.XRANGEPLAIN]})\\s*$`),m("HYPHENRANGELOOSE",`^\\s*(${u[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${u[c.XRANGEPLAINLOOSE]})\\s*$`),m("STAR","(<|>)?=?\\s*\\*"),m("GTE0","^\\s*>=\\s*0\\.0\\.0\\s*$"),m("GTE0PRE","^\\s*>=\\s*0\\.0\\.0-0\\s*$")},293:(e,t,r)=>{"use strict";let n=r(8006),i=Symbol("max"),o=Symbol("length"),a=Symbol("lengthCalculator"),s=Symbol("allowStale"),l=Symbol("maxAge"),u=Symbol("dispose"),c=Symbol("noDisposeOnSet"),p=Symbol("lruList"),_=Symbol("cache"),d=Symbol("updateAgeOnGet"),f=()=>1,m=(e,t,r)=>{let n=e[_].get(t);if(n){let t=n.value;if(h(e,t)){if(g(e,n),!e[s])return}else r&&(e[d]&&(n.value.now=Date.now()),e[p].unshiftNode(n));return t.value}},h=(e,t)=>{if(!t||!t.maxAge&&!e[l])return!1;let r=Date.now()-t.now;return t.maxAge?r>t.maxAge:e[l]&&r>e[l]},y=e=>{if(e[o]>e[i])for(let t=e[p].tail;e[o]>e[i]&&null!==t;){let r=t.prev;g(e,t),t=r}},g=(e,t)=>{if(t){let r=t.value;e[u]&&e[u](r.key,r.value),e[o]-=r.length,e[_].delete(r.key),e[p].removeNode(t)}};class b{constructor(e,t,r,n,i){this.key=e,this.value=t,this.length=r,this.now=n,this.maxAge=i||0}}let v=(e,t,r,n)=>{let i=r.value;h(e,i)&&(g(e,r),e[s]||(i=void 0)),i&&t.call(n,i.value,i.key,e)};e.exports=class{constructor(e){if("number"==typeof e&&(e={max:e}),e||(e={}),e.max&&("number"!=typeof e.max||e.max<0))throw TypeError("max must be a non-negative number");this[i]=e.max||1/0;let t=e.length||f;if(this[a]="function"!=typeof t?f:t,this[s]=e.stale||!1,e.maxAge&&"number"!=typeof e.maxAge)throw TypeError("maxAge must be a number");this[l]=e.maxAge||0,this[u]=e.dispose,this[c]=e.noDisposeOnSet||!1,this[d]=e.updateAgeOnGet||!1,this.reset()}set max(e){if("number"!=typeof e||e<0)throw TypeError("max must be a non-negative number");this[i]=e||1/0,y(this)}get max(){return this[i]}set allowStale(e){this[s]=!!e}get allowStale(){return this[s]}set maxAge(e){if("number"!=typeof e)throw TypeError("maxAge must be a non-negative number");this[l]=e,y(this)}get maxAge(){return this[l]}set lengthCalculator(e){"function"!=typeof e&&(e=f),e!==this[a]&&(this[a]=e,this[o]=0,this[p].forEach(e=>{e.length=this[a](e.value,e.key),this[o]+=e.length})),y(this)}get lengthCalculator(){return this[a]}get length(){return this[o]}get itemCount(){return this[p].length}rforEach(e,t){t=t||this;for(let r=this[p].tail;null!==r;){let n=r.prev;v(this,e,r,t),r=n}}forEach(e,t){t=t||this;for(let r=this[p].head;null!==r;){let n=r.next;v(this,e,r,t),r=n}}keys(){return this[p].toArray().map(e=>e.key)}values(){return this[p].toArray().map(e=>e.value)}reset(){this[u]&&this[p]&&this[p].length&&this[p].forEach(e=>this[u](e.key,e.value)),this[_]=new Map,this[p]=new n,this[o]=0}dump(){return this[p].map(e=>!h(this,e)&&{k:e.key,v:e.value,e:e.now+(e.maxAge||0)}).toArray().filter(e=>e)}dumpLru(){return this[p]}set(e,t,r){if((r=r||this[l])&&"number"!=typeof r)throw TypeError("maxAge must be a number");let n=r?Date.now():0,s=this[a](t,e);if(this[_].has(e)){if(s>this[i])return g(this,this[_].get(e)),!1;let a=this[_].get(e),l=a.value;return this[u]&&!this[c]&&this[u](e,l.value),l.now=n,l.maxAge=r,l.value=t,this[o]+=s-l.length,l.length=s,this.get(e),y(this),!0}let d=new b(e,t,s,n,r);return d.length>this[i]?(this[u]&&this[u](e,t),!1):(this[o]+=d.length,this[p].unshift(d),this[_].set(e,this[p].head),y(this),!0)}has(e){if(!this[_].has(e))return!1;let t=this[_].get(e).value;return!h(this,t)}get(e){return m(this,e,!0)}peek(e){return m(this,e,!1)}pop(){let e=this[p].tail;return e?(g(this,e),e.value):null}del(e){g(this,this[_].get(e))}load(e){this.reset();let t=Date.now();for(let r=e.length-1;r>=0;r--){let n=e[r],i=n.e||0;if(0===i)this.set(n.k,n.v);else{let e=i-t;e>0&&this.set(n.k,n.v,e)}}}prune(){this[_].forEach((e,t)=>m(this,t,!1))}}},995:(e,t,r)=>{let n=r(9106);e.exports=(e,t,r)=>n(e,t,">",r)},2013:(e,t,r)=>{let n=r(6843);e.exports=(e,t,r)=>(e=new n(e,r),t=new n(t,r),e.intersects(t,r))},7805:(e,t,r)=>{let n=r(9106);e.exports=(e,t,r)=>n(e,t,"<",r)},3727:(e,t,r)=>{let n=r(2435),i=r(6843);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||-1===a.compare(e))&&(o=e,a=new n(o,r))}),o}},4338:(e,t,r)=>{let n=r(2435),i=r(6843);e.exports=(e,t,r)=>{let o=null,a=null,s=null;try{s=new i(t,r)}catch(e){return null}return e.forEach(e=>{s.test(e)&&(!o||1===a.compare(e))&&(o=e,a=new n(o,r))}),o}},1542:(e,t,r)=>{let n=r(2435),i=r(6843),o=r(6379);e.exports=(e,t)=>{e=new i(e,t);let r=new n("0.0.0");if(e.test(r)||(r=new n("0.0.0-0"),e.test(r)))return r;r=null;for(let t=0;t{let t=new n(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":(!a||o(t,a))&&(a=t);break;case"<":case"<=":break;default:throw Error(`Unexpected operation: ${e.operator}`)}}),a&&(!r||o(r,a))&&(r=a)}return r&&e.test(r)?r:null}},9106:(e,t,r)=>{let n=r(2435),i=r(3321),{ANY:o}=i,a=r(6843),s=r(9844),l=r(6379),u=r(1897),c=r(506),p=r(8463);e.exports=(e,t,r,_)=>{let d,f,m,h,y;switch(e=new n(e,_),t=new a(t,_),r){case">":d=l,f=c,m=u,h=">",y=">=";break;case"<":d=u,f=p,m=l,h="<",y="<=";break;default:throw TypeError('Must provide a hilo val of "<" or ">"')}if(s(e,t,_))return!1;for(let r=0;r{e.semver===o&&(e=new i(">=0.0.0")),a=a||e,s=s||e,d(e.semver,a.semver,_)?a=e:m(e.semver,s.semver,_)&&(s=e)}),a.operator===h||a.operator===y||(!s.operator||s.operator===h)&&f(e,s.semver)||s.operator===y&&m(e,s.semver))return!1}return!0}},1338:(e,t,r)=>{let n=r(9844),i=r(2271);e.exports=(e,t,r)=>{let o=[],a=null,s=null,l=e.sort((e,t)=>i(e,t,r));for(let e of l){let i=n(e,t,r);i?(s=e,a||(a=e)):(s&&o.push([a,s]),s=null,a=null)}a&&o.push([a,null]);let u=[];for(let[e,t]of o)e===t?u.push(e):t||e!==l[0]?t?e===l[0]?u.push(`<=${t}`):u.push(`${e} - ${t}`):u.push(`>=${e}`):u.push("*");let c=u.join(" || "),p="string"==typeof t.raw?t.raw:String(t);return c.length{let n=r(6843),i=r(3321),{ANY:o}=i,a=r(9844),s=r(2271),l=[new i(">=0.0.0-0")],u=[new i(">=0.0.0")],c=(e,t,r)=>{let n,i,c,d,f,m,h;if(e===t)return!0;if(1===e.length&&e[0].semver===o){if(1===t.length&&t[0].semver===o)return!0;e=r.includePrerelease?l:u}if(1===t.length&&t[0].semver===o){if(r.includePrerelease)return!0;t=u}let y=new Set;for(let t of e)">"===t.operator||">="===t.operator?n=p(n,t,r):"<"===t.operator||"<="===t.operator?i=_(i,t,r):y.add(t.semver);if(y.size>1||n&&i&&((c=s(n.semver,i.semver,r))>0||0===c&&(">="!==n.operator||"<="!==i.operator)))return null;for(let e of y){if(n&&!a(e,String(n),r)||i&&!a(e,String(i),r))return null;for(let n of t)if(!a(e,String(n),r))return!1;return!0}let g=!!i&&!r.includePrerelease&&!!i.semver.prerelease.length&&i.semver,b=!!n&&!r.includePrerelease&&!!n.semver.prerelease.length&&n.semver;for(let e of(g&&1===g.prerelease.length&&"<"===i.operator&&0===g.prerelease[0]&&(g=!1),t)){if(h=h||">"===e.operator||">="===e.operator,m=m||"<"===e.operator||"<="===e.operator,n){if(b&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===b.major&&e.semver.minor===b.minor&&e.semver.patch===b.patch&&(b=!1),">"===e.operator||">="===e.operator){if((d=p(n,e,r))===e&&d!==n)return!1}else if(">="===n.operator&&!a(n.semver,String(e),r))return!1}if(i){if(g&&e.semver.prerelease&&e.semver.prerelease.length&&e.semver.major===g.major&&e.semver.minor===g.minor&&e.semver.patch===g.patch&&(g=!1),"<"===e.operator||"<="===e.operator){if((f=_(i,e,r))===e&&f!==i)return!1}else if("<="===i.operator&&!a(i.semver,String(e),r))return!1}if(!e.operator&&(i||n)&&0!==c)return!1}return(!n||!m||!!i||0===c)&&(!i||!h||!!n||0===c)&&!b&&!g},p=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n>0?e:n<0?t:">"===t.operator&&">="===e.operator?t:e},_=(e,t,r)=>{if(!e)return t;let n=s(e.semver,t.semver,r);return n<0?e:n>0?t:"<"===t.operator&&"<="===e.operator?t:e};e.exports=(e,t,r={})=>{if(e===t)return!0;e=new n(e,r),t=new n(t,r);let i=!1;n:for(let n of e.set){for(let e of t.set){let t=c(n,e,r);if(i=i||null!==t,t)continue n}if(i)return!1}return!0}},8865:(e,t,r)=>{let n=r(6843);e.exports=(e,t)=>new n(e,t).set.map(e=>e.map(e=>e.value).join(" ").trim().split(" "))},6240:(e,t,r)=>{let n=r(6843);e.exports=(e,t)=>{try{return new n(e,t).range||"*"}catch(e){return null}}},7669:(e,t,r)=>{"use strict";var n=r(7286),i=r(5195),o=r(1181)(),a=r(326),s=r(5408),l=n("%Math.floor%");e.exports=function(e,t){if("function"!=typeof e)throw new s("`fn` is not a function");if("number"!=typeof t||t<0||t>4294967295||l(t)!==t)throw new s("`length` must be a positive 32-bit integer");var r=arguments.length>2&&!!arguments[2],n=!0,u=!0;if("length"in e&&a){var c=a(e,"length");c&&!c.configurable&&(n=!1),c&&!c.writable&&(u=!1)}return(n||u||!r)&&(o?i(e,"length",t,!0,!0):i(e,"length",t)),e}},4294:(e,t,r)=>{"use strict";var n=r(7286),i=r(2680),o=r(9500),a=n("%TypeError%"),s=n("%WeakMap%",!0),l=n("%Map%",!0),u=i("WeakMap.prototype.get",!0),c=i("WeakMap.prototype.set",!0),p=i("WeakMap.prototype.has",!0),_=i("Map.prototype.get",!0),d=i("Map.prototype.set",!0),f=i("Map.prototype.has",!0),m=function(e,t){for(var r,n=e;null!==(r=n.next);n=r)if(r.key===t)return n.next=r.next,r.next=e.next,e.next=r,r},h=function(e,t){var r=m(e,t);return r&&r.value},y=function(e,t,r){var n=m(e,t);n?n.value=r:e.next={key:t,next:e.next,value:r}};e.exports=function(){var e,t,r,n={assert:function(e){if(!n.has(e))throw new a("Side channel does not contain "+o(e))},get:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return u(e,n)}else if(l){if(t)return _(t,n)}else if(r)return h(r,n)},has:function(n){if(s&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(l){if(t)return f(t,n)}else if(r)return!!m(r,n);return!1},set:function(n,i){s&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new s),c(e,n,i)):l?(t||(t=new l),d(t,n,i)):(r||(r={key:{},next:null}),y(r,n,i))}};return n}},8672:(e,t,r)=>{"use strict";var n=r(9979),i=SyntaxError,o="object"==typeof StopIteration?StopIteration:null;e.exports=function(e){if(!o)throw new i("this environment lacks StopIteration");n.set(e,"[[Done]]",!1);var t={next:function(){var e=n.get(this,"[[Iterator]]"),t=n.get(e,"[[Done]]");try{return{done:t,value:t?void 0:e.next()}}catch(t){if(n.set(e,"[[Done]]",!0),t!==o)throw t;return{done:!0,value:void 0}}}};return n.set(t,"[[Iterator]]",e),t}},4851:(e,t,r)=>{e.exports=i;var n=r(2699).EventEmitter;function i(){n.call(this)}r(1285)(i,n),i.Readable=r(8051),i.Writable=r(2557),i.Duplex=r(7073),i.Transform=r(7640),i.PassThrough=r(5163),i.finished=r(9885),i.pipeline=r(3495),i.Stream=i,i.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}function o(){r.readable&&r.resume&&r.resume()}r.on("data",i),e.on("drain",o),e._isStdio||t&&!1===t.end||(r.on("end",s),r.on("close",l));var a=!1;function s(){a||(a=!0,e.end())}function l(){a||(a=!0,"function"==typeof e.destroy&&e.destroy())}function u(e){if(c(),0===n.listenerCount(this,"error"))throw e}function c(){r.removeListener("data",i),e.removeListener("drain",o),r.removeListener("end",s),r.removeListener("close",l),r.removeListener("error",u),e.removeListener("error",u),r.removeListener("end",c),r.removeListener("close",c),e.removeListener("close",c)}return r.on("error",u),e.on("error",u),r.on("end",c),r.on("close",c),e.on("close",c),e.emit("pipe",r),e}},6871:(e,t,r)=>{let{EventEmitter:n}=r(2699),i=Error("Stream was destroyed"),o=Error("Premature close"),a=r(281),s=r(2865),l=16809999,u=17423,c=16527,p=1167,_=12431,d=82975,f=32879,m=71303183,h=3276815,y=1179663,g=72482831,b=17563663,v=Symbol.asyncIterator||Symbol("asyncIterator");class x{constructor(e,{highWaterMark:t=16384,map:r=null,mapWritable:n,byteLength:i,byteLengthWritable:o}={}){this.stream=e,this.queue=new s,this.highWaterMark=t,this.buffered=0,this.error=null,this.pipeline=null,this.drains=null,this.byteLength=o||i||q,this.map=n||r,this.afterWrite=C.bind(this),this.afterUpdateNextTick=j.bind(this)}get ended(){return(4194304&this.stream._duplexState)!=0}push(e){return(null!==this.map&&(e=this.map(e)),this.buffered+=this.byteLength(e),this.queue.push(e),this.buffered0;)t.push(this.shift());for(let e=0;e0;)n.drains.shift().resolve(!1);null!==n.pipeline&&n.pipeline.done(t,e)}}function C(e){let t=this.stream;e&&t.destroy(e),t._duplexState&=100532223,null!==this.drains&&function(e){for(let t=0;t=e._readableState.highWaterMark}static isPaused(e){return(256&e._duplexState)==0}[v](){let e=this,t=null,r=null,n=null;return this.on("error",e=>{t=e}),this.on("readable",function(){null!==r&&o(e.read())}),this.on("close",function(){null!==r&&o(null)}),{[v](){return this},next:()=>new Promise(function(t,i){r=t,n=i;let a=e.read();null!==a?o(a):(8&e._duplexState)!=0&&o(null)}),return:()=>a(null),throw:e=>a(e)};function o(o){null!==n&&(t?n(t):null===o&&(16384&e._duplexState)==0?n(i):r({value:o,done:null===o}),n=r=null)}function a(t){return e.destroy(t),new Promise((r,n)=>{if(8&e._duplexState)return r({value:void 0,done:!0});e.once("close",function(){t?n(t):r({value:void 0,done:!0})})})}}}class F extends P{constructor(e){super(e),this._duplexState=1,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final))}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}}class L extends F{constructor(e){super(e),this._transformState=new S(this),e&&(e.transform&&(this._transform=e.transform),e.flush&&(this._flush=e.flush))}_write(e,t){this._readableState.buffered>=this._readableState.highWaterMark?this._transformState.data=e:this._transform(e,this._transformState.afterTransform)}_read(e){if(null!==this._transformState.data){let t=this._transformState.data;this._transformState.data=null,e(null),this._transform(t,this._transformState.afterTransform)}else e(null)}_transform(e,t){t(null,e)}_flush(e){e(null)}_final(e){this._transformState.afterFinal=e,this._flush(R.bind(this))}}function R(e,t){let r=this._transformState.afterFinal;if(e)return r(e);null!=t&&this.push(t),this.push(null),r(null)}function z(e,...t){let r=Array.isArray(e)?[...e,...t]:[e,...t],n=r.length&&"function"==typeof r[r.length-1]?r.pop():null;if(r.length<2)throw Error("Pipeline requires at least 2 streams");let i=r[0],a=null,s=null;for(let e=1;e1,l),i.pipe(a)),i=a;if(n){let e=!1,t=U(a)||!!(a._writableState&&a._writableState.autoDestroy);a.on("error",e=>{null===s&&(s=e)}),a.on("finish",()=>{e=!0,t||n(s)}),t&&a.on("close",()=>n(s||(e?null:o)))}return a;function l(e){if(e&&!s)for(let t of(s=e,r))t.destroy(e)}}function B(e){return!!e._readableState||!!e._writableState}function U(e){return"number"==typeof e._duplexState&&B(e)}function q(e){return"object"==typeof e&&null!==e&&"number"==typeof e.byteLength?e.byteLength:1024}function J(){}function $(){this.destroy(Error("Stream aborted."))}e.exports={pipeline:z,pipelinePromise:function(...e){return new Promise((t,r)=>z(...e,e=>{if(e)return r(e);t()}))},isStream:B,isStreamx:U,getStreamError:function(e){let t=e._readableState&&e._readableState.error||e._writableState&&e._writableState.error;return t===i?null:t},Stream:O,Writable:class extends O{constructor(e){super(e),this._duplexState|=16385,this._writableState=new x(this,e),e&&(e.writev&&(this._writev=e.writev),e.write&&(this._write=e.write),e.final&&(this._final=e.final),e.eagerOpen&&this._writableState.updateNextTick())}_writev(e,t){t(null)}_write(e,t){this._writableState.autoBatch(e,t)}_final(e){e(null)}static isBackpressured(e){return(73400334&e._duplexState)!=0}static drained(e){if(e.destroyed)return Promise.resolve(!1);let t=e._writableState,r=t.queue.length+(33554432&e._duplexState?1:0);return 0===r?Promise.resolve(!0):(null===t.drains&&(t.drains=[]),new Promise(e=>{t.drains.push({writes:r,resolve:e})}))}write(e){return this._writableState.updateNextTick(),this._writableState.push(e)}end(e){return this._writableState.updateNextTick(),this._writableState.end(e),this}},Readable:P,Duplex:F,Transform:L,PassThrough:class extends L{}}},214:(e,t,r)=>{"use strict";var n=r(7834).Buffer,i=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(e){var t;switch(this.encoding=function(e){var t=function(e){var t;if(!e)return"utf8";for(;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===i||!i(e)))throw Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=u,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=c,this.end=p,t=3;break;default:this.write=_,this.end=d;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if((192&t[0])!=128)return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if((192&t[1])!=128)return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&(192&t[2])!=128)return e.lastNeed=2,"�"}}(this,e,0);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):void(e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length)}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function u(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function c(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function _(e){return e.toString(this.encoding)}function d(e){return e&&e.length?this.write(e):""}t.s=o,o.prototype.write=function(e){var t,r;if(0===e.length)return"";if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r=0?(i>0&&(e.lastNeed=i-1),i):--n=0?(i>0&&(e.lastNeed=i-2),i):--n=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},6853:(e,t,r)=>{let n={S_IFMT:61440,S_IFDIR:16384,S_IFCHR:8192,S_IFBLK:24576,S_IFIFO:4096,S_IFLNK:40960};try{e.exports=r(4374).constants||n}catch{e.exports=n}},9254:(e,t,r)=>{let{Writable:n,Readable:i,getStreamError:o}=r(6871),a=r(2865),s=r(2871),l=r(8066),u=s.alloc(0);class c{constructor(){this.buffered=0,this.shifted=0,this.queue=new a,this._offset=0}push(e){this.buffered+=e.byteLength,this.queue.push(e)}shiftFirst(e){return 0===this._buffered?null:this._next(e)}shift(e){if(e>this.buffered)return null;if(0===e)return u;let t=this._next(e);if(e===t.byteLength)return t;let r=[t];for(;(e-=t.byteLength)>0;)t=this._next(e),r.push(t);return s.concat(r)}_next(e){let t=this.queue.peek(),r=t.byteLength-this._offset;if(e>=r){let e=this._offset?t.subarray(this._offset,t.byteLength):t;return this.queue.shift(),this._offset=0,this.buffered-=r,this.shifted+=r,e}return this.buffered-=e,this.shifted+=e,t.subarray(this._offset,this._offset+=e)}}class p extends i{constructor(e,t,r){super(),this.header=t,this.offset=r,this._parent=e}_read(e){0===this.header.size&&this.push(null),this._parent._stream===this&&this._parent._update(),e(null)}_predestroy(){this._parent.destroy(o(this))}_detach(){this._parent._stream===this&&(this._parent._stream=null,this._parent._missing=f(this.header.size),this._parent._update())}_destroy(e){this._detach(),e(null)}}class _ extends n{constructor(e){super(e),e||(e={}),this._buffer=new c,this._offset=0,this._header=null,this._stream=null,this._missing=0,this._longHeader=!1,this._callback=d,this._locked=!1,this._finished=!1,this._pax=null,this._paxGlobal=null,this._gnuLongPath=null,this._gnuLongLinkPath=null,this._filenameEncoding=e.filenameEncoding||"utf-8",this._allowUnknownFormat=!!e.allowUnknownFormat,this._unlockBound=this._unlock.bind(this)}_unlock(e){if(this._locked=!1,e){this.destroy(e),this._continueWrite(e);return}this._update()}_consumeHeader(){if(this._locked)return!1;this._offset=this._buffer.shifted;try{this._header=l.decode(this._buffer.shift(512),this._filenameEncoding,this._allowUnknownFormat)}catch(e){return this._continueWrite(e),!1}if(!this._header)return!0;switch(this._header.type){case"gnu-long-path":case"gnu-long-link-path":case"pax-global-header":case"pax-header":return this._longHeader=!0,this._missing=this._header.size,!0}return(this._locked=!0,this._applyLongHeaders(),0===this._header.size||"directory"===this._header.type)?this.emit("entry",this._header,this._createStream(),this._unlockBound):(this._stream=this._createStream(),this._missing=this._header.size,this.emit("entry",this._header,this._stream,this._unlockBound)),!0}_applyLongHeaders(){this._gnuLongPath&&(this._header.name=this._gnuLongPath,this._gnuLongPath=null),this._gnuLongLinkPath&&(this._header.linkname=this._gnuLongLinkPath,this._gnuLongLinkPath=null),this._pax&&(this._pax.path&&(this._header.name=this._pax.path),this._pax.linkpath&&(this._header.linkname=this._pax.linkpath),this._pax.size&&(this._header.size=parseInt(this._pax.size,10)),this._header.pax=this._pax,this._pax=null)}_decodeLongHeader(e){switch(this._header.type){case"gnu-long-path":this._gnuLongPath=l.decodeLongPath(e,this._filenameEncoding);break;case"gnu-long-link-path":this._gnuLongLinkPath=l.decodeLongPath(e,this._filenameEncoding);break;case"pax-global-header":this._paxGlobal=l.decodePax(e);break;case"pax-header":this._pax=null===this._paxGlobal?l.decodePax(e):Object.assign({},this._paxGlobal,l.decodePax(e))}}_consumeLongHeader(){this._longHeader=!1,this._missing=f(this._header.size);let e=this._buffer.shift(this._header.size);try{this._decodeLongHeader(e)}catch(e){return this._continueWrite(e),!1}return!0}_consumeStream(){let e=this._buffer.shiftFirst(this._missing);if(null===e)return!1;this._missing-=e.byteLength;let t=this._stream.push(e);return 0===this._missing?(this._stream.push(null),t&&this._stream._detach(),t&&!1===this._locked):t}_createStream(){return new p(this,this._header,this._offset)}_update(){for(;this._buffer.buffered>0&&!this.destroying;){if(this._missing>0){if(null!==this._stream){if(!1===this._consumeStream())return;continue}if(!0===this._longHeader){if(this._missing>this._buffer.buffered)break;if(!1===this._consumeLongHeader())return!1;continue}let e=this._buffer.shiftFirst(this._missing);null!==e&&(this._missing-=e.byteLength);continue}if(this._buffer.buffered<512)break;if(null!==this._stream||!1===this._consumeHeader())return}this._continueWrite(null)}_continueWrite(e){let t=this._callback;this._callback=d,t(e)}_write(e,t){this._callback=t,this._buffer.push(e),this._update()}_final(e){this._finished=0===this._missing&&0===this._buffer.buffered,e(this._finished?null:Error("Unexpected end of data"))}_predestroy(){this._continueWrite(null)}_destroy(e){this._stream&&this._stream.destroy(o(this)),e(null)}[Symbol.asyncIterator](){let e=null,t=null,r=null,n=null,i=null,o=this;return this.on("entry",function(e,o,a){i=a,o.on("error",d),t?(t({value:o,done:!1}),t=r=null):n=o}),this.on("error",t=>{e=t}),this.on("close",function(){a(e),t&&(e?r(e):t({value:void 0,done:!0}),t=r=null)}),{[Symbol.asyncIterator](){return this},next:()=>new Promise(s),return:()=>l(null),throw:e=>l(e)};function a(e){if(!i)return;let t=i;i=null,t(e)}function s(i,s){if(e)return s(e);if(n){i({value:n,done:!1}),n=null;return}t=i,r=s,a(null),o._finished&&t&&(t({value:void 0,done:!0}),t=r=null)}function l(e){return o.destroy(e),a(e),new Promise((t,r)=>{if(o.destroyed)return t({value:void 0,done:!0});o.once("close",function(){e?r(e):t({value:void 0,done:!0})})})}}}function d(){}function f(e){return(e&=511)&&512-e}e.exports=function(e){return new _(e)}},8066:(e,t,r)=>{let n=r(2871),i=n.from([117,115,116,97,114,0]),o=n.from([48,48]),a=n.from([117,115,116,97,114,32]),s=n.from([32,0]);function l(e,t,r,n){for(;rt?"7777777777777777777".slice(0,t)+" ":"0000000000000000000".slice(0,t-e.length)+e+" "}function p(e,t,r){if(128&(e=e.subarray(t,t+r))[t=0])return function(e){let t,r;if(128===e[0])t=!0;else{if(255!==e[0])return null;t=!1}let n=[];for(r=e.length-1;r>0;r--){let i=e[r];t?n.push(i):n.push(255-i)}let i=0,o=n.length;for(r=0;r=o?o:i>=0||(i+=o)>=0?i:0);for(;t=Math.pow(10,r)&&r++,t+r+e}t.decodeLongPath=function(e,t){return _(e,0,e.length,t)},t.encodePax=function(e){let t="";e.name&&(t+=d(" path="+e.name+"\n")),e.linkname&&(t+=d(" linkpath="+e.linkname+"\n"));let r=e.pax;if(r)for(let e in r)t+=d(" "+e+"="+r[e]+"\n");return n.from(t)},t.decodePax=function(e){let t={};for(;e.length;){let r=0;for(;r100;){let e=a.indexOf("/");if(-1===e)return null;s+=s?"/"+a.slice(0,e):a.slice(0,e),a=a.slice(e+1)}return n.byteLength(a)>100||n.byteLength(s)>155||e.linkname&&n.byteLength(e.linkname)>100?null:(n.write(r,a),n.write(r,c(4095&e.mode,6),100),n.write(r,c(e.uid,6),108),n.write(r,c(e.gid,6),116),(t=e.size).toString(8).length>11?function(e,t,r){t[r]=128;for(let n=11;n>0;n--)t[r+n]=255&e,e=Math.floor(e/256)}(t,r,124):n.write(r,c(t,11),124),n.write(r,c(e.mtime.getTime()/1e3|0,11),136),r[156]=48+function(e){switch(e){case"file":break;case"link":return 1;case"symlink":return 2;case"character-device":return 3;case"block-device":return 4;case"directory":return 5;case"fifo":return 6;case"contiguous-file":return 7;case"pax-header":return 72}return 0}(e.type),e.linkname&&n.write(r,e.linkname,157),n.copy(i,r,257),n.copy(o,r,263),e.uname&&n.write(r,e.uname,265),e.gname&&n.write(r,e.gname,297),n.write(r,c(e.devmajor||0,6),329),n.write(r,c(e.devminor||0,6),337),s&&n.write(r,s,345),n.write(r,c(u(r),6),148),r)},t.decode=function(e,t,r){let o=0===e[156]?0:e[156]-48,l=_(e,0,100,t),c=p(e,100,8),d=p(e,108,8),f=p(e,116,8),m=p(e,124,12),h=p(e,136,12),y=function(e){switch(e){case 0:return"file";case 1:return"link";case 2:return"symlink";case 3:return"character-device";case 4:return"block-device";case 5:return"directory";case 6:return"fifo";case 7:return"contiguous-file";case 72:return"pax-header";case 55:return"pax-global-header";case 27:return"gnu-long-link-path";case 28:case 30:return"gnu-long-path"}return null}(o),g=0===e[157]?null:_(e,157,100,t),b=_(e,265,32),v=_(e,297,32),x=p(e,329,8),D=p(e,337,8),S=u(e);if(256===S)return null;if(S!==p(e,148,8))throw Error("Invalid tar header. Maybe the tar is corrupted or it needs to be gunzipped?");if(n.equals(i,e.subarray(257,263)))e[345]&&(l=_(e,345,155,t)+"/"+l);else if(n.equals(a,e.subarray(257,263))&&n.equals(s,e.subarray(263,265)));else if(!r)throw Error("Invalid tar header: unknown format.");return 0===o&&l&&"/"===l[l.length-1]&&(o=5),{name:l,mode:c,uid:d,gid:f,size:m,mtime:new Date(1e3*h),type:y,linkname:g,uname:b,gname:v,devmajor:x,devminor:D,pax:null}}},2623:(e,t,r)=>{t.extract=r(9254),r(4132)},4132:(e,t,r)=>{let{Readable:n,Writable:i,getStreamError:o}=r(6871),a=r(2871),s=r(6853),l=r(8066),u=a.alloc(1024);class c extends i{constructor(e,t,r){super({mapWritable:f,eagerOpen:!0}),this.written=0,this.header=t,this._callback=r,this._linkname=null,this._isLinkname="symlink"===t.type&&!t.linkname,this._isVoid="file"!==t.type&&"contiguous-file"!==t.type,this._finished=!1,this._pack=e,this._openCallback=null,null===this._pack._stream?this._pack._stream=this:this._pack._pending.push(this)}_open(e){this._openCallback=e,this._pack._stream===this&&this._continueOpen()}_continuePack(e){if(null===this._callback)return;let t=this._callback;this._callback=null,t(e)}_continueOpen(){null===this._pack._stream&&(this._pack._stream=this);let e=this._openCallback;if(this._openCallback=null,null!==e){if(this._pack.destroying)return e(Error("pack stream destroyed"));if(this._pack._finalized)return e(Error("pack stream is already finalized"));this._pack._stream=this,this._isLinkname||this._pack._encode(this.header),this._isVoid&&(this._finish(),this._continuePack(null)),e(null)}}_write(e,t){return this._isLinkname?(this._linkname=this._linkname?a.concat([this._linkname,e]):e,t(null)):this._isVoid?e.byteLength>0?t(Error("No body allowed for this entry")):t():(this.written+=e.byteLength,this._pack.push(e))?t():void(this._pack._drain=t)}_finish(){this._finished||(this._finished=!0,this._isLinkname&&(this.header.linkname=this._linkname?a.toString(this._linkname,"utf-8"):"",this._pack._encode(this.header)),d(this._pack,this.header.size),this._pack._done(this))}_final(e){if(this.written!==this.header.size)return e(Error("Size mismatch"));this._finish(),e(null)}_getError(){return o(this)||Error("tar entry destroyed")}_predestroy(){this._pack.destroy(this._getError())}_destroy(e){this._pack._done(this),this._continuePack(this._finished?null:this._getError()),e()}}class p extends n{constructor(e){super(e),this._drain=_,this._finalized=!1,this._finalizing=!1,this._pending=[],this._stream=null}entry(e,t,r){if(this._finalized||this.destroying)throw Error("already finalized or destroyed");"function"==typeof t&&(r=t,t=null),r||(r=_),e.size&&"symlink"!==e.type||(e.size=0),e.type||(e.type=function(e){switch(e&s.S_IFMT){case s.S_IFBLK:return"block-device";case s.S_IFCHR:return"character-device";case s.S_IFDIR:return"directory";case s.S_IFIFO:return"fifo";case s.S_IFLNK:return"symlink"}return"file"}(e.mode)),e.mode||(e.mode="directory"===e.type?493:420),e.uid||(e.uid=0),e.gid||(e.gid=0),e.mtime||(e.mtime=new Date),"string"==typeof t&&(t=a.from(t));let n=new c(this,e,r);return a.isBuffer(t)?(e.size=t.byteLength,n.write(t),n.end()):n._isVoid,n}finalize(){if(this._stream||this._pending.length>0){this._finalizing=!0;return}this._finalized||(this._finalized=!0,this.push(u),this.push(null))}_done(e){e===this._stream&&(this._stream=null,this._finalizing&&this.finalize(),this._pending.length&&this._pending.shift()._continueOpen())}_encode(e){if(!e.pax){let t=l.encode(e);if(t){this.push(t);return}}this._encodePax(e)}_encodePax(e){let t=l.encodePax({name:e.name,linkname:e.linkname,pax:e.pax}),r={name:"PaxHeader",mode:e.mode,uid:e.uid,gid:e.gid,size:t.byteLength,mtime:e.mtime,type:"pax-header",linkname:e.linkname&&"PaxHeader",uname:e.uname,gname:e.gname,devmajor:e.devmajor,devminor:e.devminor};this.push(l.encode(r)),this.push(t),d(this,t.byteLength),r.size=e.size,r.type=e.type,this.push(l.encode(r))}_doDrain(){let e=this._drain;this._drain=_,e()}_predestroy(){let e=o(this);for(this._stream&&this._stream.destroy(e);this._pending.length;){let t=this._pending.shift();t.destroy(e),t._continueOpen()}this._doDrain()}_read(e){this._doDrain(),e()}}function _(){}function d(e,t){(t&=511)&&e.push(u.subarray(0,512-t))}function f(e){return a.isBuffer(e)?e:a.from(e)}e.exports=function(e){return new p(e)}},9085:(e,t)=>{var r,n=function(){var e=Object.prototype.toString,t=Object.prototype.hasOwnProperty;return{Class:function(t){return e.call(t).replace(/^\[object *|\]$/g,"")},HasProperty:function(e,t){return t in e},HasOwnProperty:function(e,r){return t.call(e,r)},IsCallable:function(e){return"function"==typeof e},ToInt32:function(e){return e>>0},ToUint32:function(e){return e>>>0}}}(),i=Math.LN2,o=Math.abs,a=Math.floor,s=Math.log,l=Math.min,u=Math.pow,c=Math.round;function p(e){if(_&&r){var t,n=_(e);for(t=0;t>r}function f(e,t){var r=32-t;return e<>>r}function m(e){return[255&e]}function h(e){return d(e[0],8)}function y(e){return[255&e]}function g(e){return f(e[0],8)}function b(e){return[(e=c(Number(e)))<0?0:e>255?255:255&e]}function v(e){return[e>>8&255,255&e]}function x(e){return d(e[0]<<8|e[1],16)}function D(e){return[e>>8&255,255&e]}function S(e){return f(e[0]<<8|e[1],16)}function E(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function T(e){return d(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function w(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]}function A(e){return f(e[0]<<24|e[1]<<16|e[2]<<8|e[3],32)}function C(e,t,r){var n,c,p,_,d,f,m,h=(1<.5?t+1:t%2?t+1:t}for(e!=e?(c=(1<=u(2,1-h)?(c=l(a(s(e)/i),1023),(p=y(e/u(2,c)*u(2,r)))/u(2,r)>=2&&(c+=1,p=1),c>h?(c=(1<>=1;return(_.reverse(),a=_.join(""),s=(1<0?l*u(2,c-s)*(1+p/u(2,r)):0!==p?l*u(2,-(s-1))*(p/u(2,r)):l<0?-0:0}function N(e){return M(e,11,52)}function j(e){return C(e,11,52)}function k(e){return M(e,8,23)}function I(e){return C(e,8,23)}!function(){var e=function(e){var t;if((e=n.ToInt32(e))<0)throw RangeError("ArrayBuffer size is not a small enough positive integer");for(t=0,this.byteLength=e,this._bytes=[],this._bytes.length=e;tthis.buffer.byteLength)throw RangeError("byteOffset out of range");if(this.byteOffset%this.BYTES_PER_ELEMENT)throw RangeError("ArrayBuffer length minus the byteOffset is not a multiple of the element size.");if(arguments.length<3){if(this.byteLength=this.buffer.byteLength-this.byteOffset,this.byteLength%this.BYTES_PER_ELEMENT)throw RangeError("length of buffer minus byteOffset not a multiple of the element size");this.length=this.byteLength/this.BYTES_PER_ELEMENT}else this.length=n.ToUint32(o),this.byteLength=this.length*this.BYTES_PER_ELEMENT;if(this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer")}else throw TypeError("Unexpected argument type(s)")}else for(u=0,l=arguments[0],this.length=n.ToUint32(l.length),this.byteLength=this.length*this.BYTES_PER_ELEMENT,this.buffer=new e(this.byteLength),this.byteOffset=0;u1e5)throw RangeError("Array too large for polyfill");for(t=0;t=this.length)){var t,r,i=[];for(t=0,r=this.byteOffset+e*this.BYTES_PER_ELEMENT;t=this.length)){var r,i,o=this._pack(t);for(r=0,i=this.byteOffset+e*this.BYTES_PER_ELEMENT;rthis.length)throw RangeError("Offset plus length of array is out of range");if(c=this.byteOffset+o*this.BYTES_PER_ELEMENT,p=r.length*this.BYTES_PER_ELEMENT,r.buffer===this.buffer){for(s=0,_=[],l=r.byteOffset;sthis.length)throw RangeError("Offset plus length of array is out of range");for(s=0;si?i:r,o=t,a=this.length;var r,i,o,a,s=(t=o<0?0:o>a?a:o)-e;return s<0&&(s=0),new this.constructor(this.buffer,this.byteOffset+e*this.BYTES_PER_ELEMENT,s)},s}var a=o(1,m,h),s=o(1,y,g),l=o(1,b,g),u=o(2,v,x),c=o(2,D,S),_=o(4,E,T),d=o(4,w,A),f=o(4,I,k),C=o(8,j,N);t.iq=t.iq||a,t.U2=t.U2||s,t.we=t.we||l,t.M2=t.M2||u,t.HA=t.HA||c,t.ZV=t.ZV||_,t._R=t._R||d,t.$L=t.$L||f,t.I=t.I||C}(),function(){function e(e,t){return n.IsCallable(e.get)?e.get(t):e[t]}var r,i=(r=new t.HA([4660]),18===e(new t.U2(r.buffer),0)),o=function(e,r,i){if(0==arguments.length)e=new t.eT(0);else if(!(e instanceof t.eT||"ArrayBuffer"===n.Class(e)))throw TypeError("TypeError");if(this.buffer=e||new t.eT(0),this.byteOffset=n.ToUint32(r),this.byteOffset>this.buffer.byteLength)throw RangeError("byteOffset out of range");if(arguments.length<3?this.byteLength=this.buffer.byteLength-this.byteOffset:this.byteLength=n.ToUint32(i),this.byteOffset+this.byteLength>this.buffer.byteLength)throw RangeError("byteOffset and length reference an area beyond the end of the buffer");p(this)};function a(r){return function(o,a){if((o=n.ToUint32(o))+r.BYTES_PER_ELEMENT>this.byteLength)throw RangeError("Array index out of range");o+=this.byteOffset;var s,l=new t.U2(this.buffer,o,r.BYTES_PER_ELEMENT),u=[];for(s=0;sthis.byteLength)throw RangeError("Array index out of range");var l,u=new r([a]),c=new t.U2(u.buffer),p=[];for(l=0;l{e.exports=function(e,t){if(n("noDeprecation"))return e;var r=!1;return function(){if(!r){if(n("throwDeprecation"))throw Error(t);n("traceDeprecation")?console.trace(t):console.warn(t),r=!0}return e.apply(this,arguments)}};function n(e){try{if(!r.g.localStorage)return!1}catch(e){return!1}var t=r.g.localStorage[e];return null!=t&&"true"===String(t).toLowerCase()}},82:e=>{e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},4895:(e,t,r)=>{"use strict";var n=r(2635),i=r(3138),o=r(2094),a=r(198);function s(e){return e.call.bind(e)}var l="undefined"!=typeof BigInt,u="undefined"!=typeof Symbol,c=s(Object.prototype.toString),p=s(Number.prototype.valueOf),_=s(String.prototype.valueOf),d=s(Boolean.prototype.valueOf);if(l)var f=s(BigInt.prototype.valueOf);if(u)var m=s(Symbol.prototype.valueOf);function h(e,t){if("object"!=typeof e)return!1;try{return t(e),!0}catch(e){return!1}}function y(e){return"[object Map]"===c(e)}function g(e){return"[object Set]"===c(e)}function b(e){return"[object WeakMap]"===c(e)}function v(e){return"[object WeakSet]"===c(e)}function x(e){return"[object ArrayBuffer]"===c(e)}function D(e){return"undefined"!=typeof ArrayBuffer&&(x.working?x(e):e instanceof ArrayBuffer)}function S(e){return"[object DataView]"===c(e)}function E(e){return"undefined"!=typeof DataView&&(S.working?S(e):e instanceof DataView)}t.isArgumentsObject=n,t.isGeneratorFunction=i,t.isTypedArray=a,t.isPromise=function(e){return"undefined"!=typeof Promise&&e instanceof Promise||null!==e&&"object"==typeof e&&"function"==typeof e.then&&"function"==typeof e.catch},t.isArrayBufferView=function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):a(e)||E(e)},t.isUint8Array=function(e){return"Uint8Array"===o(e)},t.isUint8ClampedArray=function(e){return"Uint8ClampedArray"===o(e)},t.isUint16Array=function(e){return"Uint16Array"===o(e)},t.isUint32Array=function(e){return"Uint32Array"===o(e)},t.isInt8Array=function(e){return"Int8Array"===o(e)},t.isInt16Array=function(e){return"Int16Array"===o(e)},t.isInt32Array=function(e){return"Int32Array"===o(e)},t.isFloat32Array=function(e){return"Float32Array"===o(e)},t.isFloat64Array=function(e){return"Float64Array"===o(e)},t.isBigInt64Array=function(e){return"BigInt64Array"===o(e)},t.isBigUint64Array=function(e){return"BigUint64Array"===o(e)},y.working="undefined"!=typeof Map&&y(new Map),t.isMap=function(e){return"undefined"!=typeof Map&&(y.working?y(e):e instanceof Map)},g.working="undefined"!=typeof Set&&g(new Set),t.isSet=function(e){return"undefined"!=typeof Set&&(g.working?g(e):e instanceof Set)},b.working="undefined"!=typeof WeakMap&&b(new WeakMap),t.isWeakMap=function(e){return"undefined"!=typeof WeakMap&&(b.working?b(e):e instanceof WeakMap)},v.working="undefined"!=typeof WeakSet&&v(new WeakSet),t.isWeakSet=function(e){return v(e)},x.working="undefined"!=typeof ArrayBuffer&&x(new ArrayBuffer),t.isArrayBuffer=D,S.working="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView&&S(new DataView(new ArrayBuffer(1),0,1)),t.isDataView=E;var T="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:void 0;function w(e){return"[object SharedArrayBuffer]"===c(e)}function A(e){return void 0!==T&&(void 0===w.working&&(w.working=w(new T)),w.working?w(e):e instanceof T)}function C(e){return h(e,p)}function M(e){return h(e,_)}function N(e){return h(e,d)}function j(e){return l&&h(e,f)}function k(e){return u&&h(e,m)}t.isSharedArrayBuffer=A,t.isAsyncFunction=function(e){return"[object AsyncFunction]"===c(e)},t.isMapIterator=function(e){return"[object Map Iterator]"===c(e)},t.isSetIterator=function(e){return"[object Set Iterator]"===c(e)},t.isGeneratorObject=function(e){return"[object Generator]"===c(e)},t.isWebAssemblyCompiledModule=function(e){return"[object WebAssembly.Module]"===c(e)},t.isNumberObject=C,t.isStringObject=M,t.isBooleanObject=N,t.isBigIntObject=j,t.isSymbolObject=k,t.isBoxedPrimitive=function(e){return C(e)||M(e)||N(e)||j(e)||k(e)},t.isAnyArrayBuffer=function(e){return"undefined"!=typeof Uint8Array&&(D(e)||A(e))},["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(e){Object.defineProperty(t,e,{enumerable:!1,value:function(){throw Error(e+" is not supported in userland")}})})},3335:(e,t,r)=>{var n=r(4406),i=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n=i)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(e){return"[Circular]"}default:return e}}),s=n[r];r=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(r)?n.showHidden=r:r&&t._extend(n,r),v(n.showHidden)&&(n.showHidden=!1),v(n.depth)&&(n.depth=2),v(n.colors)&&(n.colors=!1),v(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=c),_(n,e,n.depth)}function c(e,t){var r=u.styles[t];return r?"\x1b["+u.colors[r][0]+"m"+e+"\x1b["+u.colors[r][1]+"m":e}function p(e,t){return e}function _(e,r,n){if(e.customInspect&&r&&T(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var i,o,a,s,l,u=r.inspect(n,e);return b(u)||(u=_(e,u,n)),u}var c=function(e,t){if(v(t))return e.stylize("undefined","undefined");if(b(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}return g(t)?e.stylize(""+t,"number"):h(t)?e.stylize(""+t,"boolean"):y(t)?e.stylize("null","null"):void 0}(e,r);if(c)return c;var p=Object.keys(r),D=(s={},p.forEach(function(e,t){s[e]=!0}),s);if(e.showHidden&&(p=Object.getOwnPropertyNames(r)),E(r)&&(p.indexOf("message")>=0||p.indexOf("description")>=0))return d(r);if(0===p.length){if(T(r)){var w=r.name?": "+r.name:"";return e.stylize("[Function"+w+"]","special")}if(x(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(S(r))return e.stylize(Date.prototype.toString.call(r),"date");if(E(r))return d(r)}var A="",C=!1,N=["{","}"];return(m(r)&&(C=!0,N=["[","]"]),T(r)&&(A=" [Function"+(r.name?": "+r.name:"")+"]"),x(r)&&(A=" "+RegExp.prototype.toString.call(r)),S(r)&&(A=" "+Date.prototype.toUTCString.call(r)),E(r)&&(A=" "+d(r)),0!==p.length||C&&0!=r.length)?n<0?x(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),l=C?function(e,t,r,n,i){for(var o=[],a=0,s=t.length;a=0&&a++,e+t.replace(/\u001b\[\d\d?m/g,"").length+1},0)>60?o[0]+(""===i?"":i+"\n ")+" "+l.join(",\n ")+" "+o[1]:o[0]+i+" "+l.join(", ")+" "+o[1]):N[0]+A+N[1]}function d(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,o){var a,s,l;if((l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]}).get?s=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(s=e.stylize("[Setter]","special")),M(n,i)||(a="["+i+"]"),!s&&(0>e.seen.indexOf(l.value)?(s=y(r)?_(e,l.value,null):_(e,l.value,r-1)).indexOf("\n")>-1&&(s=o?s.split("\n").map(function(e){return" "+e}).join("\n").slice(2):"\n"+s.split("\n").map(function(e){return" "+e}).join("\n")):s=e.stylize("[Circular]","special")),v(a)){if(o&&i.match(/^\d+$/))return s;(a=JSON.stringify(""+i)).match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.slice(1,-1),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+s}function m(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function y(e){return null===e}function g(e){return"number"==typeof e}function b(e){return"string"==typeof e}function v(e){return void 0===e}function x(e){return D(e)&&"[object RegExp]"===w(e)}function D(e){return"object"==typeof e&&null!==e}function S(e){return D(e)&&"[object Date]"===w(e)}function E(e){return D(e)&&("[object Error]"===w(e)||e instanceof Error)}function T(e){return"function"==typeof e}function w(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(e){if(!a[e=e.toUpperCase()]){if(s.test(e)){var r=n.pid;a[e]=function(){var n=t.format.apply(t,arguments);console.error("%s %d: %s",e,r,n)}}else a[e]=function(){}}return a[e]},t.inspect=u,u.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},u.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.types=r(4895),t.isArray=m,t.isBoolean=h,t.isNull=y,t.isNullOrUndefined=function(e){return null==e},t.isNumber=g,t.isString=b,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=v,t.isRegExp=x,t.types.isRegExp=x,t.isObject=D,t.isDate=S,t.types.isDate=S,t.isError=E,t.types.isNativeError=E,t.isFunction=T,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(82);var C=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){var e,r;console.log("%s - %s",(r=[A((e=new Date).getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":"),[e.getDate(),C[e.getMonth()],r].join(" ")),t.format.apply(t,arguments))},t.inherits=r(1285),t._extend=function(e,t){if(!t||!D(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var N="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function j(e,t){if(!e){var r=Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw TypeError('The "original" argument must be of type Function');if(N&&e[N]){var t=e[N];if("function"!=typeof t)throw TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,N,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise(function(e,n){t=e,r=n}),i=[],o=0;o{"use strict";var n=RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"),i=r(5890),o=["node_modules","favicon.ico"],a=function(e,t){var r={validForNewPackages:0===t.length&&0===e.length,validForOldPackages:0===t.length,warnings:e,errors:t};return r.warnings.length||delete r.warnings,r.errors.length||delete r.errors,r};e.exports=function(e){var t=[],r=[];if(null===e)return r.push("name cannot be null"),a(t,r);if(void 0===e)return r.push("name cannot be undefined"),a(t,r);if("string"!=typeof e)return r.push("name must be a string"),a(t,r);if(e.length||r.push("name length must be greater than zero"),e.match(/^\./)&&r.push("name cannot start with a period"),e.match(/^_/)&&r.push("name cannot start with an underscore"),e.trim()!==e&&r.push("name cannot contain leading or trailing spaces"),o.forEach(function(t){e.toLowerCase()===t&&r.push(t+" is a blacklisted name")}),i({version:"*"}).forEach(function(r){e.toLowerCase()===r&&t.push(r+" is a core module name")}),e.length>214&&t.push("name can no longer contain more than 214 characters"),e.toLowerCase()!==e&&t.push("name can no longer contain capital letters"),/[~'!()*]/.test(e.split("/").slice(-1)[0])&&t.push('name can no longer contain special characters ("~\'!()*")'),encodeURIComponent(e)!==e){var s=e.match(n);if(s){var l=s[1],u=s[2];if(encodeURIComponent(l)===l&&encodeURIComponent(u)===u)return a(t,r)}r.push("name can only contain URL-friendly characters")}return a(t,r)}},6627:(e,t,r)=>{"use strict";var n=r(6302),i=r(6550),o=r(8104),a=r(8705),s=r(4134);e.exports=function(e){return null==e||"object"!=typeof e&&"function"!=typeof e?null:n(e)?"String":i(e)?"Number":o(e)?"Boolean":a(e)?"Symbol":s(e)?"BigInt":void 0}},4647:(e,t,r)=>{"use strict";var n=r(7968),i=r(3328),o=r(6927),a=r(7938);e.exports=function(e){if(e&&"object"==typeof e){if(n(e))return"Map";if(i(e))return"Set";if(o(e))return"WeakMap";if(a(e))return"WeakSet"}return!1}},2094:(e,t,r)=>{"use strict";var n=r(3243),i=r(711),o=r(2680),a=r(326),s=o("Object.prototype.toString"),l=r(7226)(),u="undefined"==typeof globalThis?r.g:globalThis,c=i(),p=o("String.prototype.slice"),_={},d=Object.getPrototypeOf;l&&a&&d&&n(c,function(e){if("function"==typeof u[e]){var t=new u[e];if(Symbol.toStringTag in t){var r=d(t),n=a(r,Symbol.toStringTag);n||(n=a(d(r),Symbol.toStringTag)),_[e]=n.get}}});var f=function(e){var t=!1;return n(_,function(r,n){if(!t)try{var i=r.call(e);i===n&&(t=i)}catch(e){}}),t},m=r(198);e.exports=function(e){return!!m(e)&&(l&&Symbol.toStringTag in e?f(e):p(s(e),8,-1))}},8892:e=>{e.exports=function e(t,r){if(t&&r)return e(t)(r);if("function"!=typeof t)throw TypeError("need wrapper function");return Object.keys(t).forEach(function(e){n[e]=t[e]}),n;function n(){for(var e=Array(arguments.length),r=0;r{"use strict";e.exports=function(e){e.prototype[Symbol.iterator]=function*(){for(let e=this.head;e;e=e.next)yield e.value}}},8006:(e,t,r)=>{"use strict";function n(e){var t=this;if(t instanceof n||(t=new n),t.tail=null,t.head=null,t.length=0,e&&"function"==typeof e.forEach)e.forEach(function(e){t.push(e)});else if(arguments.length>0)for(var r=0,i=arguments.length;r1)r=t;else if(this.head)n=this.head.next,r=this.head.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=0;null!==n;i++)r=e(r,n.value,i),n=n.next;return r},n.prototype.reduceReverse=function(e,t){var r,n=this.tail;if(arguments.length>1)r=t;else if(this.tail)n=this.tail.prev,r=this.tail.value;else throw TypeError("Reduce of empty list with no initial value");for(var i=this.length-1;null!==n;i--)r=e(r,n.value,i),n=n.prev;return r},n.prototype.toArray=function(){for(var e=Array(this.length),t=0,r=this.head;null!==r;t++)e[t]=r.value,r=r.next;return e},n.prototype.toArrayReverse=function(){for(var e=Array(this.length),t=0,r=this.tail;null!==r;t++)e[t]=r.value,r=r.prev;return e},n.prototype.slice=function(e,t){(t=t||this.length)<0&&(t+=this.length),(e=e||0)<0&&(e+=this.length);var r=new n;if(tthis.length&&(t=this.length);for(var i=0,o=this.head;null!==o&&ithis.length&&(t=this.length);for(var i=this.length,o=this.tail;null!==o&&i>t;i--)o=o.prev;for(;null!==o&&i>e;i--,o=o.prev)r.push(o.value);return r},n.prototype.splice=function(e,t,...r){e>this.length&&(e=this.length-1),e<0&&(e=this.length+e);for(var n=0,o=this.head;null!==o&&n{e.exports=r(4848)(12338)},1369:(e,t,r)=>{e.exports=r(4848)(17089)},2473:(e,t,r)=>{e.exports=r(4848)(22194)},5483:(e,t,r)=>{e.exports=r(4848)(25475)},6764:(e,t,r)=>{e.exports=r(4848)(2784)},3047:(e,t,r)=>{e.exports=r(4848)(28316)},3382:(e,t,r)=>{e.exports=r(4848)(29501)},7777:(e,t,r)=>{e.exports=r(4848)(30361)},137:(e,t,r)=>{e.exports=r(4848)(34487)},1937:(e,t,r)=>{e.exports=r(4848)(41014)},6942:(e,t,r)=>{e.exports=r(4848)(44714)},3431:(e,t,r)=>{e.exports=r(4848)(45056)},9991:(e,t,r)=>{e.exports=r(4848)(57879)},6061:(e,t,r)=>{e.exports=r(4848)(5895)},9501:(e,t,r)=>{e.exports=r(4848)(60488)},2058:(e,t,r)=>{e.exports=r(4848)(61199)},7553:(e,t,r)=>{e.exports=r(4848)(64016)},4555:(e,t,r)=>{e.exports=r(4848)(67085)},5559:(e,t,r)=>{e.exports=r(4848)(69234)},7308:(e,t,r)=>{e.exports=r(4848)(69378)},9841:(e,t,r)=>{e.exports=r(4848)(69566)},6521:(e,t,r)=>{e.exports=r(4848)(76034)},8298:(e,t,r)=>{e.exports=r(4848)(80594)},8868:(e,t,r)=>{e.exports=r(4848)(82323)},9995:(e,t,r)=>{e.exports=r(4848)(83620)},9329:(e,t,r)=>{e.exports=r(4848)(86439)},2225:(e,t,r)=>{e.exports=r(4848)(98357)},4848:e=>{"use strict";e.exports=vendor_8ea0f6150a64e2283b95},6831:()=>{},3260:()=>{},4854:()=>{},6602:()=>{},4374:()=>{},6566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.StructError=void 0;class r extends TypeError{constructor(e,t){let r;let{message:n,explanation:i,...o}=e,{path:a}=e,s=0===a.length?n:`At path: ${a.join(".")} -- ${n}`;super(i??s),null!=i&&(this.cause=s),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>r??(r=[e,...t()])}}t.StructError=r},7169:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(6566),t),i(r(9695),t),i(r(4621),t),i(r(3675),t),i(r(5792),t),i(r(2712),t)},9695:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validate=t.is=t.mask=t.create=t.assert=t.Struct=void 0;let n=r(6566),i=r(9595);function o(e,t,r){let n=u(e,t,{message:r});if(n[0])throw n[0]}function a(e,t,r){let n=u(e,t,{coerce:!0,message:r});if(!n[0])return n[1];throw n[0]}function s(e,t,r){let n=u(e,t,{coerce:!0,mask:!0,message:r});if(!n[0])return n[1];throw n[0]}function l(e,t){let r=u(e,t);return!r[0]}function u(e,t,r={}){let o=(0,i.run)(e,t,r),a=(0,i.shiftIterator)(o);if(a[0]){let e=new n.StructError(a[0],function*(){for(let e of o)e[0]&&(yield e[0])});return[e,void 0]}let s=a[1];return[void 0,s]}t.Struct=class{constructor(e){let{type:t,schema:r,validator:n,refiner:o,coercer:a=e=>e,entries:s=function*(){}}=e;this.type=t,this.schema=r,this.entries=s,this.coercer=a,n?this.validator=(e,t)=>{let r=n(e,t);return(0,i.toFailures)(r,t,this,e)}:this.validator=()=>[],o?this.refiner=(e,t)=>{let r=o(e,t);return(0,i.toFailures)(r,t,this,e)}:this.refiner=()=>[]}assert(e,t){return o(e,this,t)}create(e,t){return a(e,this,t)}is(e){return l(e,this)}mask(e,t){return s(e,this,t)}validate(e,t={}){return u(e,this,t)}},t.assert=o,t.create=a,t.mask=s,t.is=l,t.validate=u},4621:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.trimmed=t.defaulted=t.coerce=void 0;let n=r(9695),i=r(9595),o=r(5792);function a(e,t,r){return new n.Struct({...e,coercer:(i,o)=>(0,n.is)(i,t)?e.coercer(r(i,o),o):e.coercer(i,o)})}t.coerce=a,t.defaulted=function(e,t,r={}){return a(e,(0,o.unknown)(),e=>{let n="function"==typeof t?t():t;if(void 0===e)return n;if(!r.strict&&(0,i.isPlainObject)(e)&&(0,i.isPlainObject)(n)){let t={...e},r=!1;for(let e in n)void 0===t[e]&&(t[e]=n[e],r=!0);if(r)return t}return e})},t.trimmed=function(e){return a(e,(0,o.string)(),e=>e.trim())}},3675:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.refine=t.size=t.pattern=t.nonempty=t.min=t.max=t.empty=void 0;let n=r(9695),i=r(9595);function o(e){return e instanceof Map||e instanceof Set?e.size:e.length}function a(e,t,r){return new n.Struct({...e,*refiner(n,o){yield*e.refiner(n,o);let a=r(n,o),s=(0,i.toFailures)(a,o,e,n);for(let e of s)yield{...e,refinement:t}}})}t.empty=function(e){return a(e,"empty",t=>{let r=o(t);return 0===r||`Expected an empty ${e.type} but received one with a size of \`${r}\``})},t.max=function(e,t,r={}){let{exclusive:n}=r;return a(e,"max",r=>n?rn?r>t:r>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${r}\``)},t.nonempty=function(e){return a(e,"nonempty",t=>{let r=o(t);return r>0||`Expected a nonempty ${e.type} but received an empty one`})},t.pattern=function(e,t){return a(e,"pattern",r=>t.test(r)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${r}"`)},t.size=function(e,t,r=t){let n=`Expected a ${e.type}`,i=t===r?`of \`${t}\``:`between \`${t}\` and \`${r}\``;return a(e,"size",e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=r||`${n} ${i} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=r||`${n} with a size ${i} but received one with a size of \`${o}\``}let{length:o}=e;return t<=o&&o<=r||`${n} with a length ${i} but received one with a length of \`${o}\``})},t.refine=a},5792:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unknown=t.union=t.type=t.tuple=t.string=t.set=t.regexp=t.record=t.optional=t.object=t.number=t.nullable=t.never=t.map=t.literal=t.intersection=t.integer=t.instance=t.func=t.enums=t.date=t.boolean=t.bigint=t.array=t.any=void 0;let n=r(9695),i=r(9595),o=r(2712);function a(){return(0,o.define)("never",()=>!1)}t.any=function(){return(0,o.define)("any",()=>!0)},t.array=function(e){return new n.Struct({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[r,n]of t.entries())yield[r,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${(0,i.print)(e)}`})},t.bigint=function(){return(0,o.define)("bigint",e=>"bigint"==typeof e)},t.boolean=function(){return(0,o.define)("boolean",e=>"boolean"==typeof e)},t.date=function(){return(0,o.define)("date",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${(0,i.print)(e)}`)},t.enums=function(e){let t={},r=e.map(e=>(0,i.print)(e)).join();for(let r of e)t[r]=r;return new n.Struct({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${r}\`, but received: ${(0,i.print)(t)}`})},t.func=function(){return(0,o.define)("func",e=>"function"==typeof e||`Expected a function, but received: ${(0,i.print)(e)}`)},t.instance=function(e){return(0,o.define)("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${(0,i.print)(t)}`)},t.integer=function(){return(0,o.define)("integer",e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${(0,i.print)(e)}`)},t.intersection=function(e){return new n.Struct({type:"intersection",schema:null,*entries(t,r){for(let{entries:n}of e)yield*n(t,r)},*validator(t,r){for(let{validator:n}of e)yield*n(t,r)},*refiner(t,r){for(let{refiner:n}of e)yield*n(t,r)}})},t.literal=function(e){let t=(0,i.print)(e),r=typeof e;return new n.Struct({type:"literal",schema:"string"===r||"number"===r||"boolean"===r?e:null,validator:r=>r===e||`Expected the literal \`${t}\`, but received: ${(0,i.print)(r)}`})},t.map=function(e,t){return new n.Struct({type:"map",schema:null,*entries(r){if(e&&t&&r instanceof Map)for(let[n,i]of r.entries())yield[n,n,e],yield[n,i,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${(0,i.print)(e)}`})},t.never=a,t.nullable=function(e){return new n.Struct({...e,validator:(t,r)=>null===t||e.validator(t,r),refiner:(t,r)=>null===t||e.refiner(t,r)})},t.number=function(){return(0,o.define)("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${(0,i.print)(e)}`)},t.object=function(e){let t=e?Object.keys(e):[],r=a();return new n.Struct({type:"object",schema:e??null,*entries(n){if(e&&(0,i.isObject)(n)){let i=new Set(Object.keys(n));for(let r of t)i.delete(r),yield[r,n[r],e[r]];for(let e of i)yield[e,n[e],r]}},validator:e=>(0,i.isObject)(e)||`Expected an object, but received: ${(0,i.print)(e)}`,coercer:e=>(0,i.isObject)(e)?{...e}:e})},t.optional=function(e){return new n.Struct({...e,validator:(t,r)=>void 0===t||e.validator(t,r),refiner:(t,r)=>void 0===t||e.refiner(t,r)})},t.record=function(e,t){return new n.Struct({type:"record",schema:null,*entries(r){if((0,i.isObject)(r))for(let n in r){let i=r[n];yield[n,n,e],yield[n,i,t]}},validator:e=>(0,i.isObject)(e)||`Expected an object, but received: ${(0,i.print)(e)}`})},t.regexp=function(){return(0,o.define)("regexp",e=>e instanceof RegExp)},t.set=function(e){return new n.Struct({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let r of t)yield[r,r,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${(0,i.print)(e)}`})},t.string=function(){return(0,o.define)("string",e=>"string"==typeof e||`Expected a string, but received: ${(0,i.print)(e)}`)},t.tuple=function(e){let t=a();return new n.Struct({type:"tuple",schema:null,*entries(r){if(Array.isArray(r)){let n=Math.max(e.length,r.length);for(let i=0;iArray.isArray(e)||`Expected an array, but received: ${(0,i.print)(e)}`})},t.type=function(e){let t=Object.keys(e);return new n.Struct({type:"type",schema:e,*entries(r){if((0,i.isObject)(r))for(let n of t)yield[n,r[n],e[n]]},validator:e=>(0,i.isObject)(e)||`Expected an object, but received: ${(0,i.print)(e)}`,coercer:e=>(0,i.isObject)(e)?{...e}:e})},t.union=function(e){let t=e.map(e=>e.type).join(" | ");return new n.Struct({type:"union",schema:null,coercer(t){for(let r of e){let[e,n]=r.validate(t,{coerce:!0});if(!e)return n}return t},validator(r,n){let o=[];for(let t of e){let[...e]=(0,i.run)(r,t,n),[a]=e;if(!a?.[0])return[];for(let[t]of e)t&&o.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${(0,i.print)(r)}`,...o]}})},t.unknown=function(){return(0,o.define)("unknown",()=>!0)}},2712:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pick=t.partial=t.omit=t.lazy=t.dynamic=t.deprecated=t.define=t.assign=void 0;let n=r(9695),i=r(5792);t.assign=function(...e){let t=e[0]?.type==="type",r=e.map(({schema:e})=>e),n=Object.assign({},...r);return t?(0,i.type)(n):(0,i.object)(n)},t.define=function(e,t){return new n.Struct({type:e,schema:null,validator:t})},t.deprecated=function(e,t){return new n.Struct({...e,refiner:(t,r)=>void 0===t||e.refiner(t,r),validator:(r,n)=>void 0===r||(t(r,n),e.validator(r,n))})},t.dynamic=function(e){return new n.Struct({type:"dynamic",schema:null,*entries(t,r){let n=e(t,r);yield*n.entries(t,r)},validator(t,r){let n=e(t,r);return n.validator(t,r)},coercer(t,r){let n=e(t,r);return n.coercer(t,r)},refiner(t,r){let n=e(t,r);return n.refiner(t,r)}})},t.lazy=function(e){let t;return new n.Struct({type:"lazy",schema:null,*entries(r,n){t??(t=e()),yield*t.entries(r,n)},validator:(r,n)=>(t??(t=e()),t.validator(r,n)),coercer:(r,n)=>(t??(t=e()),t.coercer(r,n)),refiner:(r,n)=>(t??(t=e()),t.refiner(r,n))})},t.omit=function(e,t){let{schema:r}=e,n={...r};for(let e of t)delete n[e];return"type"===e.type?(0,i.type)(n):(0,i.object)(n)},t.partial=function(e){let t=e instanceof n.Struct,r=t?{...e.schema}:{...e};for(let e in r)r[e]=(0,i.optional)(r[e]);return t&&"type"===e.type?(0,i.type)(r):(0,i.object)(r)},t.pick=function(e,t){let{schema:r}=e,n={};for(let e of t)n[e]=r[e];return"type"===e.type?(0,i.type)(n):(0,i.object)(n)}},9595:(e,t)=>{"use strict";function r(e){return"object"==typeof e&&null!==e}function n(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function i(e,t,r,i){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:o,branch:a}=t,{type:s}=r,{refinement:l,message:u=`Expected a value of type \`${s}\`${l?` with refinement \`${l}\``:""}, but received: \`${n(i)}\``}=e;return{value:i,type:s,refinement:l,key:o[o.length-1],path:o,branch:a,...e,message:u}}Object.defineProperty(t,"__esModule",{value:!0}),t.run=t.toFailures=t.toFailure=t.shiftIterator=t.print=t.isPlainObject=t.isObject=void 0,t.isObject=r,t.isPlainObject=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype},t.print=n,t.shiftIterator=function(e){let{done:t,value:r}=e.next();return t?void 0:r},t.toFailure=i,t.toFailures=function*(e,t,n,o){var a;for(let s of(r(a=e)&&"function"==typeof a[Symbol.iterator]||(e=[e]),e)){let e=i(s,t,n,o);e&&(yield e)}},t.run=function* e(t,n,i={}){let{path:o=[],branch:a=[t],coerce:s=!1,mask:l=!1}=i,u={path:o,branch:a};if(s&&(t=n.coercer(t,u),l&&"type"!==n.type&&r(n.schema)&&r(t)&&!Array.isArray(t)))for(let e in t)void 0===n.schema[e]&&delete t[e];let c="valid";for(let e of n.validator(t,u))e.explanation=i.message,c="not_valid",yield[e,void 0];for(let[p,_,d]of n.entries(t,u)){let n=e(_,d,{path:void 0===p?o:[...o,p],branch:void 0===p?a:[...a,_],coerce:s,mask:l,message:i.message});for(let e of n)e[0]?(c=null===e[0].refinement||void 0===e[0].refinement?"not_valid":"not_refined",yield[e[0],void 0]):s&&(_=e[1],void 0===p?t=_:t instanceof Map?t.set(p,_):t instanceof Set?t.add(_):r(t)&&(void 0!==_||p in t)&&(t[p]=_))}if("not_valid"!==c)for(let e of n.refiner(t,u))e.explanation=i.message,c="not_refined",yield[e,void 0];"valid"===c&&(yield[void 0,t])}},6345:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertExhaustive=t.assertStruct=t.assert=t.AssertionError=void 0;let n=r(7169),i=r(8460);function o(e,t){return"string"==typeof e?.prototype?.constructor?.name?new e({message:t}):e({message:t})}class a extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}}t.AssertionError=a,t.assert=function(e,t="Assertion failed.",r=a){if(!e){if(t instanceof Error)throw t;throw o(r,t)}},t.assertStruct=function(e,t,r="Assertion failed",s=a){try{(0,n.assert)(e,t)}catch(e){throw o(s,`${r}: ${(0,i.getErrorMessage)(e).replace(/\.$/u,"")}.`)}},t.assertExhaustive=function(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},4957:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.base64=void 0;let n=r(7169),i=r(6345);t.base64=(e,t={})=>{let r,o;let a=t.paddingRequired??!1,s=t.characterSet??"base64";return"base64"===s?r=String.raw`[A-Za-z0-9+\/]`:((0,i.assert)("base64url"===s),r=String.raw`[-_A-Za-z0-9]`),o=a?RegExp(`^(?:${r}{4})*(?:${r}{3}=|${r}{2}==)?$`,"u"):RegExp(`^(?:${r}{4})*(?:${r}{2,3}|${r}{3}=|${r}{2}==)?$`,"u"),(0,n.pattern)(e,o)}},7563:(e,t,r)=>{"use strict";var n=r(8834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.createDataView=t.concatBytes=t.valueToBytes=t.base64ToBytes=t.stringToBytes=t.numberToBytes=t.signedBigIntToBytes=t.bigIntToBytes=t.hexToBytes=t.bytesToBase64=t.bytesToString=t.bytesToNumber=t.bytesToSignedBigInt=t.bytesToBigInt=t.bytesToHex=t.assertIsBytes=t.isBytes=void 0;let i=r(6237),o=r(6345),a=r(8698),s=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function l(e){return e instanceof Uint8Array}function u(e){(0,o.assert)(l(e),"Value must be a Uint8Array.")}function c(e){if(u(e),0===e.length)return"0x";let t=s(),r=Array(e.length);for(let n=0;n=BigInt(0),"Value must be a non-negative bigint.");let t=e.toString(16);return _(t)}function f(e){(0,o.assert)("number"==typeof e,"Value must be a number."),(0,o.assert)(e>=0,"Value must be a non-negative number."),(0,o.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead.");let t=e.toString(16);return _(t)}function m(e){return(0,o.assert)("string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function h(e){if("bigint"==typeof e)return d(e);if("number"==typeof e)return f(e);if("string"==typeof e)return e.startsWith("0x")?_(e):m(e);if(l(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}t.isBytes=l,t.assertIsBytes=u,t.bytesToHex=c,t.bytesToBigInt=p,t.bytesToSignedBigInt=function(e){u(e);let t=BigInt(0);for(let r of e)t=(t<0,"Byte length must be greater than 0."),(0,o.assert)(function(e,t){(0,o.assert)(t>0);let r=e>>BigInt(31);return!((~e&r)+(e&~r)>>BigInt(8*t+-1))}(e,t),"Byte length is too small to represent the given value.");let r=e,n=new Uint8Array(t);for(let e=0;e>=BigInt(8);return n.reverse()},t.numberToBytes=f,t.stringToBytes=m,t.base64ToBytes=function(e){return(0,o.assert)("string"==typeof e,"Value must be a string."),i.base64.decode(e)},t.valueToBytes=h,t.concatBytes=function(e){let t=Array(e.length),r=0;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toCaipChainId=t.parseCaipAccountId=t.parseCaipChainId=t.isCaipAccountAddress=t.isCaipAccountId=t.isCaipReference=t.isCaipNamespace=t.isCaipChainId=t.KnownCaipNamespace=t.CaipAccountAddressStruct=t.CaipAccountIdStruct=t.CaipReferenceStruct=t.CaipNamespaceStruct=t.CaipChainIdStruct=t.CAIP_ACCOUNT_ADDRESS_REGEX=t.CAIP_ACCOUNT_ID_REGEX=t.CAIP_REFERENCE_REGEX=t.CAIP_NAMESPACE_REGEX=t.CAIP_CHAIN_ID_REGEX=void 0;let n=r(7169);function i(e){return(0,n.is)(e,t.CaipNamespaceStruct)}function o(e){return(0,n.is)(e,t.CaipReferenceStruct)}t.CAIP_CHAIN_ID_REGEX=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,t.CAIP_NAMESPACE_REGEX=/^[-a-z0-9]{3,8}$/u,t.CAIP_REFERENCE_REGEX=/^[-_a-zA-Z0-9]{1,32}$/u,t.CAIP_ACCOUNT_ID_REGEX=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,t.CAIP_ACCOUNT_ADDRESS_REGEX=/^[-.%a-zA-Z0-9]{1,128}$/u,t.CaipChainIdStruct=(0,n.pattern)((0,n.string)(),t.CAIP_CHAIN_ID_REGEX),t.CaipNamespaceStruct=(0,n.pattern)((0,n.string)(),t.CAIP_NAMESPACE_REGEX),t.CaipReferenceStruct=(0,n.pattern)((0,n.string)(),t.CAIP_REFERENCE_REGEX),t.CaipAccountIdStruct=(0,n.pattern)((0,n.string)(),t.CAIP_ACCOUNT_ID_REGEX),t.CaipAccountAddressStruct=(0,n.pattern)((0,n.string)(),t.CAIP_ACCOUNT_ADDRESS_REGEX),(t.KnownCaipNamespace||(t.KnownCaipNamespace={})).Eip155="eip155",t.isCaipChainId=function(e){return(0,n.is)(e,t.CaipChainIdStruct)},t.isCaipNamespace=i,t.isCaipReference=o,t.isCaipAccountId=function(e){return(0,n.is)(e,t.CaipAccountIdStruct)},t.isCaipAccountAddress=function(e){return(0,n.is)(e,t.CaipAccountAddressStruct)},t.parseCaipChainId=function(e){let r=t.CAIP_CHAIN_ID_REGEX.exec(e);if(!r?.groups)throw Error("Invalid CAIP chain ID.");return{namespace:r.groups.namespace,reference:r.groups.reference}},t.parseCaipAccountId=function(e){let r=t.CAIP_ACCOUNT_ID_REGEX.exec(e);if(!r?.groups)throw Error("Invalid CAIP account ID.");return{address:r.groups.accountAddress,chainId:r.groups.chainId,chain:{namespace:r.groups.namespace,reference:r.groups.reference}}},t.toCaipChainId=function(e,r){if(!i(e))throw Error(`Invalid "namespace", must match: ${t.CAIP_NAMESPACE_REGEX.toString()}`);if(!o(r))throw Error(`Invalid "reference", must match: ${t.CAIP_REFERENCE_REGEX.toString()}`);return`${e}:${r}`}},4819:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ChecksumStruct=void 0;let n=r(7169),i=r(4957);t.ChecksumStruct=(0,n.size)((0,i.base64)((0,n.string)(),{paddingRequired:!0}),44,44)},5744:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHex=t.createBytes=t.createBigInt=t.createNumber=void 0;let n=r(7169),i=r(6345),o=r(7563),a=r(8698),s=(0,n.union)([(0,n.number)(),(0,n.bigint)(),(0,n.string)(),a.StrictHexStruct]),l=(0,n.coerce)((0,n.number)(),s,Number),u=(0,n.coerce)((0,n.bigint)(),s,BigInt);(0,n.union)([a.StrictHexStruct,(0,n.instance)(Uint8Array)]);let c=(0,n.coerce)((0,n.instance)(Uint8Array),(0,n.union)([a.StrictHexStruct]),o.hexToBytes),p=(0,n.coerce)(a.StrictHexStruct,(0,n.instance)(Uint8Array),o.bytesToHex);t.createNumber=function(e){try{let t=(0,n.create)(e,l);return(0,i.assert)(Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof n.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}},t.createBigInt=function(e){try{return(0,n.create)(e,u)}catch(e){if(e instanceof n.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}},t.createBytes=function(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return(0,n.create)(e,c)}catch(e){if(e instanceof n.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}},t.createHex=function(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return(0,n.create)(e,p)}catch(e){if(e instanceof n.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}},3079:function(e,t){"use strict";var r,n,i=this&&this.__classPrivateFieldGet||function(e,t,r,n){if("a"===r&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)},o=this&&this.__classPrivateFieldSet||function(e,t,r,n,i){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!i)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r};Object.defineProperty(t,"__esModule",{value:!0}),t.FrozenSet=t.FrozenMap=void 0;class a{get size(){return i(this,r,"f").size}[(r=new WeakMap,Symbol.iterator)](){return i(this,r,"f")[Symbol.iterator]()}constructor(e){r.set(this,void 0),o(this,r,new Map(e),"f"),Object.freeze(this)}entries(){return i(this,r,"f").entries()}forEach(e,t){return i(this,r,"f").forEach((r,n,i)=>e.call(t,r,n,this))}get(e){return i(this,r,"f").get(e)}has(e){return i(this,r,"f").has(e)}keys(){return i(this,r,"f").keys()}values(){return i(this,r,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}}t.FrozenMap=a;class s{get size(){return i(this,n,"f").size}[(n=new WeakMap,Symbol.iterator)](){return i(this,n,"f")[Symbol.iterator]()}constructor(e){n.set(this,void 0),o(this,n,new Set(e),"f"),Object.freeze(this)}entries(){return i(this,n,"f").entries()}forEach(e,t){return i(this,n,"f").forEach((r,n,i)=>e.call(t,r,n,this))}has(e){return i(this,n,"f").has(e)}keys(){return i(this,n,"f").keys()}values(){return i(this,n,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}}t.FrozenSet=s,Object.freeze(a),Object.freeze(a.prototype),Object.freeze(s),Object.freeze(s.prototype)},1486:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},8460:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.wrapError=t.getErrorMessage=t.isErrorWithStack=t.isErrorWithMessage=t.isErrorWithCode=void 0;let n=r(9498),i=r(2781);function o(e){return"object"==typeof e&&null!==e&&"code"in e}function a(e){return"object"==typeof e&&null!==e&&"message"in e}t.isErrorWithCode=o,t.isErrorWithMessage=a,t.isErrorWithStack=function(e){return"object"==typeof e&&null!==e&&"stack"in e},t.getErrorMessage=function(e){return a(e)&&"string"==typeof e.message?e.message:(0,i.isNullOrUndefined)(e)?"":String(e)},t.wrapError=function(e,t){if(e instanceof Error||(0,i.isObject)(e)&&"Error"===e.constructor.name){let r;return r=2===Error.length?Error(t,{cause:e}):new n.ErrorWithCause(t,{cause:e}),o(e)&&(r.code=e.code),r}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},8698:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.remove0x=t.add0x=t.isValidChecksumAddress=t.getChecksumAddress=t.isValidHexAddress=t.assertIsStrictHexString=t.assertIsHexString=t.isStrictHexString=t.isHexString=t.HexChecksumAddressStruct=t.HexAddressStruct=t.StrictHexStruct=t.HexStruct=void 0;let n=r(7169),i=r(125),o=r(6345),a=r(7563);function s(e){return(0,n.is)(e,t.HexStruct)}function l(e){return(0,n.is)(e,t.StrictHexStruct)}function u(e){(0,o.assert)((0,n.is)(e,t.HexChecksumAddressStruct),"Invalid hex address.");let r=p(e.toLowerCase()),s=p((0,a.bytesToHex)((0,i.keccak_256)(r)));return`0x${r.split("").map((e,t)=>{let r=s[t];return(0,o.assert)((0,n.is)(r,(0,n.string)()),"Hash shorter than address."),parseInt(r,16)>7?e.toUpperCase():e}).join("")}`}function c(e){return!!(0,n.is)(e,t.HexChecksumAddressStruct)&&u(e)===e}function p(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}t.HexStruct=(0,n.pattern)((0,n.string)(),/^(?:0x)?[0-9a-f]+$/iu),t.StrictHexStruct=(0,n.pattern)((0,n.string)(),/^0x[0-9a-f]+$/iu),t.HexAddressStruct=(0,n.pattern)((0,n.string)(),/^0x[0-9a-f]{40}$/u),t.HexChecksumAddressStruct=(0,n.pattern)((0,n.string)(),/^0x[0-9a-fA-F]{40}$/u),t.isHexString=s,t.isStrictHexString=l,t.assertIsHexString=function(e){(0,o.assert)(s(e),"Value must be a hexadecimal string.")},t.assertIsStrictHexString=function(e){(0,o.assert)(l(e),'Value must be a hexadecimal string, starting with "0x".')},t.isValidHexAddress=function(e){return(0,n.is)(e,t.HexAddressStruct)||c(e)},t.getChecksumAddress=u,t.isValidChecksumAddress=c,t.add0x=function(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`},t.remove0x=p},5428:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(6345),t),i(r(4957),t),i(r(7563),t),i(r(5971),t),i(r(4819),t),i(r(5744),t),i(r(3079),t),i(r(1486),t),i(r(8460),t),i(r(8698),t),i(r(4519),t),i(r(4293),t),i(r(9239),t),i(r(2781),t),i(r(8116),t),i(r(8555),t),i(r(9878),t),i(r(6742),t),i(r(617),t),i(r(1381),t)},4519:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getJsonRpcIdValidator=t.assertIsJsonRpcError=t.isJsonRpcError=t.assertIsJsonRpcFailure=t.isJsonRpcFailure=t.assertIsJsonRpcSuccess=t.isJsonRpcSuccess=t.assertIsJsonRpcResponse=t.isJsonRpcResponse=t.assertIsPendingJsonRpcResponse=t.isPendingJsonRpcResponse=t.JsonRpcResponseStruct=t.JsonRpcFailureStruct=t.JsonRpcSuccessStruct=t.PendingJsonRpcResponseStruct=t.assertIsJsonRpcRequest=t.isJsonRpcRequest=t.assertIsJsonRpcNotification=t.isJsonRpcNotification=t.JsonRpcNotificationStruct=t.JsonRpcRequestStruct=t.JsonRpcParamsStruct=t.JsonRpcErrorStruct=t.JsonRpcIdStruct=t.JsonRpcVersionStruct=t.jsonrpc2=t.getJsonSize=t.getSafeJson=t.isValidJson=t.JsonStruct=t.UnsafeJsonStruct=t.exactOptional=t.object=void 0;let n=r(7169),i=r(6345),o=r(2781);function a({path:e,branch:t}){let r=e[e.length-1];return(0,o.hasProperty)(t[t.length-2],r)}function s(e){return new n.Struct({...e,type:`optional ${e.type}`,validator:(t,r)=>!a(r)||e.validator(t,r),refiner:(t,r)=>!a(r)||e.refiner(t,r)})}function l(e){return(0,n.create)(e,t.JsonStruct)}t.object=e=>(0,n.object)(e),t.exactOptional=s,t.UnsafeJsonStruct=(0,n.union)([(0,n.literal)(null),(0,n.boolean)(),(0,n.define)("finite number",e=>(0,n.is)(e,(0,n.number)())&&Number.isFinite(e)),(0,n.string)(),(0,n.array)((0,n.lazy)(()=>t.UnsafeJsonStruct)),(0,n.record)((0,n.string)(),(0,n.lazy)(()=>t.UnsafeJsonStruct))]),t.JsonStruct=(0,n.coerce)(t.UnsafeJsonStruct,(0,n.any)(),e=>((0,i.assertStruct)(e,t.UnsafeJsonStruct),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t})))),t.isValidJson=function(e){try{return l(e),!0}catch{return!1}},t.getSafeJson=l,t.getJsonSize=function(e){(0,i.assertStruct)(e,t.JsonStruct,"Invalid JSON value");let r=JSON.stringify(e);return new TextEncoder().encode(r).byteLength},t.jsonrpc2="2.0",t.JsonRpcVersionStruct=(0,n.literal)(t.jsonrpc2),t.JsonRpcIdStruct=(0,n.nullable)((0,n.union)([(0,n.number)(),(0,n.string)()])),t.JsonRpcErrorStruct=(0,t.object)({code:(0,n.integer)(),message:(0,n.string)(),data:s(t.JsonStruct),stack:s((0,n.string)())}),t.JsonRpcParamsStruct=(0,n.union)([(0,n.record)((0,n.string)(),t.JsonStruct),(0,n.array)(t.JsonStruct)]),t.JsonRpcRequestStruct=(0,t.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,method:(0,n.string)(),params:s(t.JsonRpcParamsStruct)}),t.JsonRpcNotificationStruct=(0,t.object)({jsonrpc:t.JsonRpcVersionStruct,method:(0,n.string)(),params:s(t.JsonRpcParamsStruct)}),t.isJsonRpcNotification=function(e){return(0,n.is)(e,t.JsonRpcNotificationStruct)},t.assertIsJsonRpcNotification=function(e,r){(0,i.assertStruct)(e,t.JsonRpcNotificationStruct,"Invalid JSON-RPC notification",r)},t.isJsonRpcRequest=function(e){return(0,n.is)(e,t.JsonRpcRequestStruct)},t.assertIsJsonRpcRequest=function(e,r){(0,i.assertStruct)(e,t.JsonRpcRequestStruct,"Invalid JSON-RPC request",r)},t.PendingJsonRpcResponseStruct=(0,n.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,result:(0,n.optional)((0,n.unknown)()),error:(0,n.optional)(t.JsonRpcErrorStruct)}),t.JsonRpcSuccessStruct=(0,t.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,result:t.JsonStruct}),t.JsonRpcFailureStruct=(0,t.object)({id:t.JsonRpcIdStruct,jsonrpc:t.JsonRpcVersionStruct,error:t.JsonRpcErrorStruct}),t.JsonRpcResponseStruct=(0,n.union)([t.JsonRpcSuccessStruct,t.JsonRpcFailureStruct]),t.isPendingJsonRpcResponse=function(e){return(0,n.is)(e,t.PendingJsonRpcResponseStruct)},t.assertIsPendingJsonRpcResponse=function(e,r){(0,i.assertStruct)(e,t.PendingJsonRpcResponseStruct,"Invalid pending JSON-RPC response",r)},t.isJsonRpcResponse=function(e){return(0,n.is)(e,t.JsonRpcResponseStruct)},t.assertIsJsonRpcResponse=function(e,r){(0,i.assertStruct)(e,t.JsonRpcResponseStruct,"Invalid JSON-RPC response",r)},t.isJsonRpcSuccess=function(e){return(0,n.is)(e,t.JsonRpcSuccessStruct)},t.assertIsJsonRpcSuccess=function(e,r){(0,i.assertStruct)(e,t.JsonRpcSuccessStruct,"Invalid JSON-RPC success response",r)},t.isJsonRpcFailure=function(e){return(0,n.is)(e,t.JsonRpcFailureStruct)},t.assertIsJsonRpcFailure=function(e,r){(0,i.assertStruct)(e,t.JsonRpcFailureStruct,"Invalid JSON-RPC failure response",r)},t.isJsonRpcError=function(e){return(0,n.is)(e,t.JsonRpcErrorStruct)},t.assertIsJsonRpcError=function(e,r){(0,i.assertStruct)(e,t.JsonRpcErrorStruct,"Invalid JSON-RPC error",r)},t.getJsonRpcIdValidator=function(e){let{permitEmptyString:t,permitFractions:r,permitNull:n}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(r||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||n&&null===e)}},4293:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9239:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createModuleLogger=t.createProjectLogger=void 0;let i=n(r(5130)),o=(0,i.default)("metamask");t.createProjectLogger=function(e){return o.extend(e)},t.createModuleLogger=function(e,t){return e.extend(t)}},2781:(e,t)=>{"use strict";function r(e){return 127>=e.charCodeAt(0)}Object.defineProperty(t,"__esModule",{value:!0}),t.calculateNumberSize=t.calculateStringSize=t.isASCII=t.isPlainObject=t.ESCAPE_CHARACTERS_REGEXP=t.JsonSize=t.getKnownPropertyNames=t.hasProperty=t.isObject=t.isNullOrUndefined=t.isNonEmptyArray=void 0,t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.isNullOrUndefined=function(e){return null==e},t.isObject=function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)},t.hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t),t.getKnownPropertyNames=function(e){return Object.getOwnPropertyNames(e)},function(e){e[e.Null=4]="Null",e[e.Comma=1]="Comma",e[e.Wrapper=1]="Wrapper",e[e.True=4]="True",e[e.False=5]="False",e[e.Quote=1]="Quote",e[e.Colon=1]="Colon",e[e.Date=24]="Date"}(t.JsonSize||(t.JsonSize={})),t.ESCAPE_CHARACTERS_REGEXP=/"|\\|\n|\r|\t/gu,t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}},t.isASCII=r,t.calculateStringSize=function(e){let n=e.split("").reduce((e,t)=>r(t)?e+1:e+2,0);return n+(e.match(t.ESCAPE_CHARACTERS_REGEXP)??[]).length},t.calculateNumberSize=function(e){return e.toString().length}},8116:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hexToBigInt=t.hexToNumber=t.bigIntToHex=t.numberToHex=void 0;let n=r(6345),i=r(8698);t.numberToHex=e=>((0,n.assert)("number"==typeof e,"Value must be a number."),(0,n.assert)(e>=0,"Value must be a non-negative number."),(0,n.assert)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,i.add0x)(e.toString(16))),t.bigIntToHex=e=>((0,n.assert)("bigint"==typeof e,"Value must be a bigint."),(0,n.assert)(e>=0,"Value must be a non-negative bigint."),(0,i.add0x)(e.toString(16))),t.hexToNumber=e=>{(0,i.assertIsHexString)(e);let t=parseInt(e,16);return(0,n.assert)(Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},t.hexToBigInt=e=>((0,i.assertIsHexString)(e),BigInt((0,i.add0x)(e)))},8555:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},9878:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferredPromise=void 0,t.createDeferredPromise=function({suppressUnhandledRejection:e=!1}={}){let t,r;let n=new Promise((e,n)=>{t=e,r=n});return e&&n.catch(e=>{}),{promise:n,resolve:t,reject:r}}},6742:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.timeSince=t.inMilliseconds=t.Duration=void 0,function(e){e[e.Millisecond=1]="Millisecond",e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day",e[e.Week=6048e5]="Week",e[e.Year=31536e6]="Year"}(t.Duration||(t.Duration={}));let r=e=>Number.isInteger(e)&&e>=0,n=(e,t)=>{if(!r(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};t.inMilliseconds=function(e,t){return n(e,"count"),e*t},t.timeSince=function(e){return n(e,"timestamp"),Date.now()-e}},617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},1381:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.satisfiesVersionRange=t.gtRange=t.gtVersion=t.assertIsSemVerRange=t.assertIsSemVerVersion=t.isValidSemVerRange=t.isValidSemVerVersion=t.VersionRangeStruct=t.VersionStruct=void 0;let n=r(7169),i=r(7699),o=r(6345);t.VersionStruct=(0,n.refine)((0,n.string)(),"Version",e=>null!==(0,i.valid)(e)||`Expected SemVer version, got "${e}"`),t.VersionRangeStruct=(0,n.refine)((0,n.string)(),"Version range",e=>null!==(0,i.validRange)(e)||`Expected SemVer range, got "${e}"`),t.isValidSemVerVersion=function(e){return(0,n.is)(e,t.VersionStruct)},t.isValidSemVerRange=function(e){return(0,n.is)(e,t.VersionRangeStruct)},t.assertIsSemVerVersion=function(e){(0,o.assertStruct)(e,t.VersionStruct)},t.assertIsSemVerRange=function(e){(0,o.assertStruct)(e,t.VersionRangeStruct)},t.gtVersion=function(e,t){return(0,i.gt)(e,t)},t.gtRange=function(e,t){return(0,i.gtr)(e,t)},t.satisfiesVersionRange=function(e,t){return(0,i.satisfies)(e,t,{includePrerelease:!0})}}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{r.g.importScripts&&(e=r.g.location+"");var e,t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var i=n.length-1;i>-1&&!e;)e=n[i--].src}if(!e)throw Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e})(),(()=>{"use strict";var e,t,n,i,o,a,s,l,u,c,p,_,d,f,m,h,y,g,b,v,x,D,S,E,T,w,A,C,M,N,j,k,I,O,P,F,L,R=r(2322),z=r(9233),B=r(7029),U=r(6764),q=r(6521),J=r(9841),$=(0,J.createSlice)({name:"configuration",initialState:{open:!1,snapId:"local:http://localhost:8080",snapVersion:void 0,srp:"test test test test test test test test test test test ball",sesEnabled:!0},reducers:{openConfigurationModal:function(e){e.open=!0},setOpen:function(e,t){e.open=t.payload},setSnapId:function(e,t){e.snapId=t.payload},setSnapVersion:function(e,t){e.snapVersion=t.payload},setSrp:function(e,t){e.srp=t.payload},setSesEnabled:function(e,t){e.sesEnabled=t.payload}}}),K=$.actions,Y=K.openConfigurationModal,V=K.setOpen,W=K.setSnapId,Q=K.setSnapVersion;K.setSrp,K.setSesEnabled;var H=$.reducer,G=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.open}),Z=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapId}),X=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.snapVersion}),ee=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.srp}),et=(0,J.createSelector)(function(e){return e.configuration},function(e){return e.sesEnabled}),er=r(6942),en=er.useDispatch;(function(e){e.OnRpcRequest="onRpcRequest",e.OnSignature="onSignature",e.OnTransaction="onTransaction",e.OnCronjob="onCronjob",e.OnInstall="onInstall",e.OnUpdate="onUpdate",e.OnNameLookup="onNameLookup",e.OnKeyringRequest="onKeyringRequest",e.OnHomePage="onHomePage",e.OnUserInput="onUserInput"})(e||(e={})),Object.values(e);var ei=r(8868);let eo="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAxNCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIuNzAxMSAwLjExNjY5OUMxLjYxNjI4IDAuMTE2Njk5IDEuMDQ4NzYgMC42NzQxNzcgMS4wNDg3NiAxLjc1Mzk4VjIuODI4NzVDMS4wNDg3NiAzLjE0NTE2IDEuMjM5NjEgMy4zMzYwMSAxLjU1MDk5IDMuMzM2MDFDMS44NTczNSAzLjMzNjAxIDIuMDQ4MiAzLjE0NTE2IDIuMDQ4MiAyLjgyODc1VjEuODQ0MzhDMi4wNDgyIDEuMzU3MjEgMi4zMDQzNCAxLjExNjE0IDIuNzY2MzkgMS4xMTYxNEgxMS4yMjlDMTEuNjkxMSAxLjExNjE0IDExLjk0NzIgMS4zNTcyMSAxMS45NDcyIDEuODQ0MzhWMi44Mjg3NUMxMS45NDcyIDMuMTQ1MTYgMTIuMTQzMSAzLjMzNjAxIDEyLjQ0OTQgMy4zMzYwMUMxMi43NjA4IDMuMzM2MDEgMTIuOTUxNyAzLjE0NTE2IDEyLjk1MTcgMi44Mjg3NVYxLjc1Mzk4QzEyLjk1MTcgMC42NzkxOTkgMTIuMzg0MSAwLjExNjY5OSAxMS4yOTQzIDAuMTE2Njk5SDIuNzAxMVpNNi45OTAxNiA3LjExNzgyQzcuMzE2NjIgNy4xMTc4MiA3LjQ5NzQyIDYuOTAxODYgNy40OTc0MiA2LjU1NTMyVjMuMjkwODFIOC41OTczMUM4Ljg0MzQgMy4yOTA4MSA5LjAxNDE2IDMuMTM1MTEgOS4wMTQxNiAyLjg5NDA0QzkuMDE0MTYgMi42NDI5MyA4Ljg0MzQgMi40OTcyOCA4LjU5NzMxIDIuNDk3MjhINS40MDMxMUM1LjE1NzAyIDIuNDk3MjggNC45ODYyNiAyLjY0MjkzIDQuOTg2MjYgMi44OTQwNEM0Ljk4NjI2IDMuMTM1MTEgNS4xNTcwMiAzLjI5MDgxIDUuNDAzMTEgMy4yOTA4MUg2LjQ5Mjk2VjYuNTU1MzJDNi40OTI5NiA2Ljg5NjgzIDYuNjY4NzQgNy4xMTc4MiA2Ljk5MDE2IDcuMTE3ODJaTTEuNTUwOTkgNS40MzAzMkMxLjk0Nzc1IDUuNDMwMzIgMi4yNzQyIDUuMTAzODYgMi4yNzQyIDQuNzAyMDhDMi4yNzQyIDQuMzA1MzIgMS45NDc3NSAzLjk3Mzg0IDEuNTUwOTkgMy45NzM4NEMxLjE0OTIgMy45NzM4NCAwLjgyMjc1NCA0LjMwNTMyIDAuODIyNzU0IDQuNzAyMDhDMC44MjI3NTQgNS4xMDM4NiAxLjE0OTIgNS40MzAzMiAxLjU1MDk5IDUuNDMwMzJaTTEyLjQ0OTQgNS40MzAzMkMxMi44NDYyIDUuNDMwMzIgMTMuMTcyNiA1LjEwMzg2IDEzLjE3MjYgNC43MDIwOEMxMy4xNzI2IDQuMzA1MzIgMTIuODQ2MiAzLjk3Mzg0IDEyLjQ0OTQgMy45NzM4NEMxMi4wNDc2IDMuOTczODQgMTEuNzIxMiA0LjMwMDI5IDExLjcyMTIgNC43MDIwOEMxMS43MjEyIDUuMTAzODYgMTIuMDQ3NiA1LjQzMDMyIDEyLjQ0OTQgNS40MzAzMlpNMi43MDExIDkuNTAzNDJIMTEuMjk0M0MxMi4zODQxIDkuNTAzNDIgMTIuOTUxNyA4Ljk0MDkyIDEyLjk1MTcgNy44NjYxNFY2LjU5MDQ3QzEyLjk1MTcgNi4yNzQwNyAxMi43NTU4IDYuMDgzMjIgMTIuNDQ5NCA2LjA4MzIyQzEyLjEzOCA2LjA4MzIyIDExLjk0NzIgNi4yNzQwNyAxMS45NDcyIDYuNTkwNDdWNy43NzU3NEMxMS45NDcyIDguMjYyOTEgMTEuNjkxMSA4LjUwMzk4IDExLjIyOSA4LjUwMzk4SDIuNzY2MzlDMi4zMDQzNCA4LjUwMzk4IDIuMDQ4MiA4LjI2MjkxIDIuMDQ4MiA3Ljc3NTc0VjYuNTkwNDdDMi4wNDgyIDYuMjc0MDcgMS44NTczNSA2LjA4MzIyIDEuNTUwOTkgNi4wODMyMkMxLjIzOTYxIDYuMDgzMjIgMS4wNDg3NiA2LjI3NDA3IDEuMDQ4NzYgNi41OTA0N1Y3Ljg2NjE0QzEuMDQ4NzYgOC45NDA5MiAxLjYxNjI4IDkuNTAzNDIgMi43MDExIDkuNTAzNDJaIiBmaWxsPSIjOUZBNkFFIi8+Cjwvc3ZnPgo=";var ea={alert:{alt:"Alert",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMjIuMzU5NiAxOC4wNzVMMjEuNDkyOSAxNi42OTE3QzIxLjMxMDkgMTYuMzgzMyAyMS4xNDYyIDE1LjggMjEuMTQ2MiAxNS40NTgzVjEzLjM1QzIxLjE0NjIgMTEuMzkxNyAxOS45NTAxIDkuNjk5OTkgMTguMjI1MyA4LjkwODMyQzE3Ljc3NDcgOC4xNDE2NiAxNi45NDI2IDcuNjY2NjYgMTUuOTg5MiA3LjY2NjY2QzE1LjA0NDUgNy42NjY2NiAxNC4xOTUxIDguMTU4MzIgMTMuNzQ0NCA4LjkzMzMyQzEyLjA1NDMgOS43NDE2NiAxMC44ODQyIDExLjQxNjcgMTAuODg0MiAxMy4zNVYxNS40NTgzQzEwLjg4NDIgMTUuOCAxMC43MTk1IDE2LjM4MzMgMTAuNTM3NSAxNi42ODMzTDkuNjYyMTQgMTguMDc1QzkuMzE1NDYgMTguNjMzMyA5LjIzNzQ1IDE5LjI1IDkuNDU0MTMgMTkuODE2N0M5LjY2MjE0IDIwLjM3NSAxMC4xNTYyIDIwLjgwODMgMTAuNzk3NSAyMS4wMTY3QzEyLjQ3OSAyMS41NjY3IDE0LjI0NzEgMjEuODMzMyAxNi4wMTUyIDIxLjgzMzNDMTcuNzgzMyAyMS44MzMzIDE5LjU1MTQgMjEuNTY2NyAyMS4yMzI5IDIxLjAyNUMyMS44Mzk2IDIwLjgzMzMgMjIuMzA3NiAyMC4zOTE3IDIyLjUzMyAxOS44MTY3QzIyLjc1ODMgMTkuMjQxNyAyMi42OTc2IDE4LjYwODMgMjIuMzU5NiAxOC4wNzVaIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTE4LjQ1MDQgMjIuNjc1QzE4LjA4NjQgMjMuNjQxNyAxNy4xMjQzIDI0LjMzMzMgMTUuOTk3NiAyNC4zMzMzQzE1LjMxMjkgMjQuMzMzMyAxNC42MzY5IDI0LjA2NjcgMTQuMTYwMiAyMy41OTE3QzEzLjg4MjggMjMuMzQxNyAxMy42NzQ4IDIzLjAwODMgMTMuNTUzNSAyMi42NjY3QzEzLjY2NjEgMjIuNjgzMyAxMy43Nzg4IDIyLjY5MTcgMTMuOTAwMSAyMi43MDgzQzE0LjA5OTUgMjIuNzMzMyAxNC4zMDc1IDIyLjc1ODMgMTQuNTE1NSAyMi43NzVDMTUuMDA5NSAyMi44MTY3IDE1LjUxMjIgMjIuODQxNyAxNi4wMTQ5IDIyLjg0MTdDMTYuNTA5IDIyLjg0MTcgMTcuMDAzIDIyLjgxNjcgMTcuNDg4NCAyMi43NzVDMTcuNjcwNCAyMi43NTgzIDE3Ljg1MjQgMjIuNzUgMTguMDI1NyAyMi43MjVDMTguMTY0NCAyMi43MDgzIDE4LjMwMzEgMjIuNjkxNyAxOC40NTA0IDIyLjY3NVoiIGZpbGw9IiMwMzc2QzkiLz4KPC9zdmc+Cg=="},arrowRight:{alt:"Arrow pointing right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMiIgdmlld0JveD0iMCAwIDggMTIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjM5OTI5IDEyQzEuMTc5NTEgMTIgMS4wMzI5OSAxMS45MzI2IDAuODg2NDY3IDExLjc5NzhDMC41OTM0MjcgMTEuNTI4MSAwLjU5MzQyNyAxMS4xMjM2IDAuODg2NDY3IDEwLjg1MzlMNS42NDgzNyA2LjQ3MTkxQzUuNzk0ODkgNi4zMzcwOCA1Ljg2ODE1IDYuMjAyMjUgNS44NjgxNSA2QzUuODY4MTUgNS43OTc3NSA1Ljc5NDg5IDUuNjYyOTIgNS42NDgzNyA1LjUyODA5TDAuODg2NDY3IDEuMTQ2MDdDMC41OTM0MjcgMC44NzY0MDQgMC41OTM0MjcgMC40NzE5MSAwLjg4NjQ2NyAwLjIwMjI0N0MxLjE3OTUxIC0wLjA2NzQxNTcgMS42MTkwNyAtMC4wNjc0MTU3IDEuOTEyMTEgMC4yMDIyNDdMNi42NzQwMSA0LjU4NDI3QzcuMTEzNTcgNC45ODg3NiA3LjMzMzM1IDUuNDYwNjcgNy4zMzMzNSA2QzcuMzMzMzUgNi41MzkzMiA3LjExMzU3IDcuMDc4NjUgNi42NzQwMSA3LjQxNTczTDEuOTEyMTEgMTEuNzk3OEMxLjc2NTU5IDExLjkzMjYgMS42MTkwNyAxMiAxLjM5OTI5IDEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},arrowTopRight:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuMjQ3OCA4LjM2NjQ5TDEwLjI0MTEgMS42Mjk5QzEwLjI0MTEgMS4yNDgyIDkuOTkzMzUgMC45ODAzNDcgOS41OTE1OCAwLjk4MDM0N0gyLjg1NDk0QzIuNDc5OTQgMC45ODAzNDcgMi4yMjU0OCAxLjI2ODI5IDIuMjI1NDggMS41ODk3MkMyLjIyNTQ4IDEuOTExMTUgMi41MTM0MyAyLjE4NTcgMi44MjgxNiAyLjE4NTdINS4xNTg1MUw4LjQyNjM4IDIuMDc4NTZMNy4xODA4MyAzLjE3MDA4TDAuNTQ0Njc4IDkuODE5NjNDMC40MjQxNDIgOS45NDAxNCAwLjM1NzE3OCAxMC4wOTQyIDAuMzU3MTc4IDEwLjI0MTVDMC4zNTcxNzggMTAuNTYyOSAwLjY0NTEyNCAxMC44NjQzIDAuOTc5OTQzIDEwLjg2NDNDMS4xMzM5NyAxMC44NjQzIDEuMjgxMjkgMTAuODEwNyAxLjQwMTgyIDEwLjY4MzVMOC4wNTEzNSA0LjA0MDYxTDkuMTU2MjYgMi43ODgzOEw5LjAzNTc1IDUuOTE1NjJWOC4zOTMyOUM5LjAzNTc1IDguNzA4MDMgOS4zMTAzMiA5LjAwMjY2IDkuNjM4NDMgOS4wMDI2NkM5Ljk1OTg2IDkuMDAyNjYgMTAuMjQ3OCA4LjcyODE0IDEwLjI0NzggOC4zNjY0OVoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},darkArrowTopRightIcon:{alt:"Arrow pointing top right",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTEiIHZpZXdCb3g9IjAgMCAxMSAxMSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTAuNzQ3OCA4LjM2NjM2TDEwLjc0MTEgMS42Mjk3OEMxMC43NDExIDEuMjQ4MDggMTAuNDkzMyAwLjk4MDIyNSAxMC4wOTE2IDAuOTgwMjI1SDMuMzU0OTRDMi45Nzk5NCAwLjk4MDIyNSAyLjcyNTQ4IDEuMjY4MTcgMi43MjU0OCAxLjU4OTZDMi43MjU0OCAxLjkxMTAzIDMuMDEzNDMgMi4xODU1OCAzLjMyODE2IDIuMTg1NThINS42NTg1MUw4LjkyNjM4IDIuMDc4NDRMNy42ODA4MyAzLjE2OTk2TDEuMDQ0NjggOS44MTk1MUMwLjkyNDE0MiA5Ljk0MDAyIDAuODU3MTc4IDEwLjA5NDEgMC44NTcxNzggMTAuMjQxNEMwLjg1NzE3OCAxMC41NjI4IDEuMTQ1MTIgMTAuODY0MSAxLjQ3OTk0IDEwLjg2NDFDMS42MzM5NyAxMC44NjQxIDEuNzgxMjkgMTAuODEwNiAxLjkwMTgyIDEwLjY4MzNMOC41NTEzNSA0LjA0MDQ5TDkuNjU2MjYgMi43ODgyNkw5LjUzNTc1IDUuOTE1NDlWOC4zOTMxNkM5LjUzNTc1IDguNzA3OTEgOS44MTAzMiA5LjAwMjUzIDEwLjEzODQgOS4wMDI1M0MxMC40NTk5IDkuMDAyNTMgMTAuNzQ3OCA4LjcyODAyIDEwLjc0NzggOC4zNjYzNloiIGZpbGw9IiM1MzVBNjEiLz4KPC9zdmc+Cg=="},arrowDown:{alt:"Arrow pointing down",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTYuOTQ5NjQgMC44NTcxNzhDNi41MDYgMC44NTcxNzggNi4xOTYyOSAxLjE2Njg5IDYuMTk2MjkgMS42MDIxNlYxMC4wNTY0TDYuMjYzMjUgMTEuODU2TDMuNzQzNzIgOS4wOTM3NUwxLjg2ODcyIDcuMjQzOUMxLjcyNjQyIDcuMTA5OTcgMS41MzM5IDcuMDM0NjQgMS4zMzMwMSA3LjAzNDY0QzAuOTA2MTEgNy4wMzQ2NCAwLjYwNDc3MSA3LjM1MjcxIDAuNjA0NzcxIDcuNzcxMjRDMC42MDQ3NzEgNy45NzIxNCAwLjY4ODQ3NiA4LjE1NjMyIDAuODQ3NTE3IDguMzMyMDRMNi4zODg4MSAxMy44NzM0QzYuNTQ3ODUgMTQuMDQwNyA2Ljc0MDM4IDE0LjEzMjggNi45NDk2NCAxNC4xMzI4QzcuMTUwNTMgMTQuMTMyOCA3LjM1MTQyIDE0LjA0MDcgNy41MTA0NiAxMy44NzM0TDEzLjA0MzQgOC4zMzIwNEMxMy4yMTA4IDguMTU2MzIgMTMuMjk0NSA3Ljk3MjE0IDEzLjI5NDUgNy43NzEyNEMxMy4yOTQ1IDcuMzUyNzEgMTIuOTg0OCA3LjAzNDY0IDEyLjU2NjMgNy4wMzQ2NEMxMi4zNjU0IDcuMDM0NjQgMTIuMTY0NSA3LjEwOTk3IDEyLjAzMDYgNy4yNDM5TDEwLjE1NTYgOS4wOTM3NUw3LjYzNjAyIDExLjg0NzdMNy42OTQ2MiAxMC4wNTY0VjEuNjAyMTZDNy42OTQ2MiAxLjE2Njg5IDcuMzg0OSAwLjg1NzE3OCA2Ljk0OTY0IDAuODU3MTc4Wk0xLjI5MTE1IDE0LjExNjFDMC44NjQyNTggMTQuMTE2MSAwLjU3MTI4OSAxNC40MjU4IDAuNTcxMjg5IDE0Ljg2MTFDMC41NzEyODkgMTUuMjk2MyAwLjg2NDI1OCAxNS42MTQ1IDEuMjkxMTUgMTUuNjE0NUgxMi41ODNDMTMuMDE4MyAxNS42MTQ1IDEzLjMxOTYgMTUuMjk2MyAxMy4zMTk2IDE0Ljg2MTFDMTMuMzE5NiAxNC40MjU4IDEzLjAxODMgMTQuMTE2MSAxMi41ODMgMTQuMTE2MUgxLjI5MTE1WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},textBubble:{alt:"Text bubble",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xOC42OTI1IDE2LjNWMTkuMzUyNUMxOC42OTI1IDE5LjYyMjUgMTguNjYyNSAxOS44Nzc1IDE4LjU5NSAyMC4xMUMxOC4zMTc1IDIxLjIxMjUgMTcuNDAyNSAyMS45MDI1IDE2LjE0MjUgMjEuOTAyNUgxNC4xMDI1TDExLjgzNzUgMjMuNDFDMTEuNSAyMy42NDI1IDExLjA1IDIzLjM5NSAxMS4wNSAyMi45OVYyMS45MDI1QzEwLjI4NSAyMS45MDI1IDkuNjQ3NSAyMS42NDc1IDkuMjA1IDIxLjIwNUM4Ljc1NSAyMC43NTUgOC41IDIwLjExNzUgOC41IDE5LjM1MjVWMTYuM0M4LjUgMTQuODc1IDkuMzg1IDEzLjg5MjUgMTAuNzUgMTMuNzY1QzEwLjg0NzUgMTMuNzU3NSAxMC45NDUgMTMuNzUgMTEuMDUgMTMuNzVIMTYuMTQyNUMxNy42NzI1IDEzLjc1IDE4LjY5MjUgMTQuNzcgMTguNjkyNSAxNi4zWiIgZmlsbD0iIzAzNzZDOSIvPgo8cGF0aCBkPSJNMjAuMzEyNSAxOC43QzIxLjI2NSAxOC43IDIyLjA2NzUgMTguMzg1IDIyLjYyMjUgMTcuODIyNUMyMy4xODUgMTcuMjY3NSAyMy41IDE2LjQ2NSAyMy41IDE1LjUxMjVWMTEuNjg3NUMyMy41IDkuOTI1IDIyLjA3NSA4LjUgMjAuMzEyNSA4LjVIMTMuOTM3NUMxMi4xNzUgOC41IDEwLjc1IDkuOTI1IDEwLjc1IDExLjY4NzVWMTIuMjVDMTAuNzUgMTIuNDYgMTAuOTE1IDEyLjYyNSAxMS4xMjUgMTIuNjI1SDE2LjE0MjVDMTguMTc1IDEyLjYyNSAxOS44MTc1IDE0LjI2NzUgMTkuODE3NSAxNi4zVjE4LjMyNUMxOS44MTc1IDE4LjUzNSAxOS45ODI1IDE4LjcgMjAuMTkyNSAxOC43SDIwLjMxMjVaIiBmaWxsPSIjMDM3NkM5Ii8+Cjwvc3ZnPgo="},configuration:{alt:"Configuration",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4LjA5MSA2LjM0OTI3QzE2LjI4MTkgNi4zNDkyNyAxNS41NDIyIDUuMTI4NzkgMTYuNDQxOCAzLjYzMTc5QzE2Ljk2MTUgMi43NjQxIDE2LjY1MTcgMS42NTgwNCAxNS43NDIxIDEuMTYyMjJMMTQuMDEzIDAuMjE4MjU4QzEzLjIyMzQgLTAuMjI5ODg4IDEyLjIwMzkgMC4wMzcwOTI1IDExLjczNDEgMC43OTAzNThMMTEuNjI0MiAwLjk3MTUyM0MxMC43MjQ2IDIuNDY4NTIgOS4yNDUzOCAyLjQ2ODUyIDguMzM1ODMgMC45NzE1MjNMOC4yMjU4OSAwLjc5MDM1OEM3Ljc3NjExIDAuMDM3MDkyNSA2Ljc1NjYyIC0wLjIyOTg4OCA1Ljk2NzAyIDAuMjE4MjU4TDQuMjM3ODggMS4xNjIyMkMzLjMyODM0IDEuNjU4MDQgMy4wMTg0OSAyLjc3MzY0IDMuNTM4MjMgMy42NDEzM0M0LjQ0Nzc4IDUuMTI4NzkgMy43MDgxNSA2LjM0OTI3IDEuODk5MDUgNi4zNDkyN0MwLjg1OTU3IDYuMzQ5MjcgMCA3LjE1OTc0IDAgOC4xNjA5MlY5LjgzOTA4QzAgMTAuODMwNyAwLjg0OTU3NSAxMS42NTA3IDEuODk5MDUgMTEuNjUwN0MzLjcwODE1IDExLjY1MDcgNC40NDc3OCAxMi44NzEyIDMuNTM4MjMgMTQuMzY4MkMzLjAxODQ5IDE1LjIzNTkgMy4zMjgzNCAxNi4zNDIgNC4yMzc4OCAxNi44Mzc4TDUuOTY3MDIgMTcuNzgxN0M2Ljc1NjYyIDE4LjIyOTkgNy43NzYxMSAxNy45NjI5IDguMjQ1ODggMTcuMjA5Nkw4LjM1NTgyIDE3LjAyODVDOS4yNTUzNyAxNS41MzE1IDEwLjczNDYgMTUuNTMxNSAxMS42NDQyIDE3LjAyODVMMTEuNzU0MSAxNy4yMDk2QzEyLjIyMzkgMTcuOTYyOSAxMy4yNDM0IDE4LjIyOTkgMTQuMDMzIDE3Ljc4MTdMMTUuNzYyMSAxNi44Mzc4QzE2LjY3MTcgMTYuMzQyIDE2Ljk4MTUgMTUuMjI2NCAxNi40NjE4IDE0LjM2ODJDMTUuNTUyMiAxMi44NzEyIDE2LjI5MTkgMTEuNjUwNyAxOC4xMDEgMTEuNjUwN0MxOS4xNDA0IDExLjY1MDcgMjAgMTAuODQwMyAyMCA5LjgzOTA4VjguMTYwOTJDMTkuOTkgNy4xNjkyOCAxOS4xNDA0IDYuMzQ5MjcgMTguMDkxIDYuMzQ5MjdaTTkuOTk1IDEyLjA5ODlDOC4yMDU5IDEyLjA5ODkgNi43NDY2MyAxMC43MDY4IDYuNzQ2NjMgOUM2Ljc0NjYzIDcuMjkzMjMgOC4yMDU5IDUuOTAxMTIgOS45OTUgNS45MDExMkMxMS43ODQxIDUuOTAxMTIgMTMuMjQzNCA3LjI5MzIzIDEzLjI0MzQgOUMxMy4yNDM0IDEwLjcwNjggMTEuNzg0MSAxMi4wOTg5IDkuOTk1IDEyLjA5ODlaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo=",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAyMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjI4NjkgMjEuNzA3N0gxMi4xMzUxQzEyLjY1NzQgMjEuNzA3NyAxMy4wMzkxIDIxLjM5NjMgMTMuMTQ5NiAyMC44ODRMMTMuNjcyIDE4LjY3NDJDMTQuMDYzNyAxOC41NDM2IDE0LjQ0NTQgMTguMzkyOSAxNC43NzY4IDE4LjIzMjJMMTYuNzE1NSAxOS40MTc1QzE3LjE0NzQgMTkuNjg4NyAxNy42Mzk2IDE5LjY0ODUgMTguMDAxMiAxOS4yODY5TDE5LjI5NyAxOC4wMDEyQzE5LjY1ODYgMTcuNjM5NiAxOS43MDg4IDE3LjExNzIgMTkuNDE3NSAxNi42ODUzTDE4LjIzMjIgMTQuNzY2OEMxOC40MDMgMTQuNDE1MyAxOC41NTM2IDE0LjA1MzYgMTguNjY0MSAxMy42OTJMMjAuODk0MSAxMy4xNTk2QzIxLjQwNjMgMTMuMDQ5MiAyMS43MDc3IDEyLjY2NzUgMjEuNzA3NyAxMi4xNDUxVjEwLjMyN0MyMS43MDc3IDkuODE0ODEgMjEuNDA2MyA5LjQzMzEzIDIwLjg5NDEgOS4zMjI2NEwxOC42ODQyIDguNzkwMjVDMTguNTUzNiA4LjM3ODQyIDE4LjM5MjkgOC4wMDY3NiAxOC4yNTIzIDcuNjk1MzhMMTkuNDM3NiA1Ljc0NjcyQzE5LjcxODggNS4zMTQ4IDE5LjY4ODcgNC44MjI2MiAxOS4zMTcgNC40NjFMMTguMDAxMiAzLjE2NTI1QzE3LjYyOTYgMi44MjM3MyAxNy4xODc2IDIuNzYzNDYgMTYuNzQ1NiAzLjAxNDU4TDE0Ljc3NjggNC4yMjk5OEMxNC40NTU0IDQuMDU5MjIgMTQuMDgzOCAzLjkwODU1IDEzLjY3MiAzLjc3Nzk3TDEzLjE0OTYgMS41MzgwMkMxMy4wMzkxIDEuMDI1NzQgMTIuNjU3NCAwLjcxNDM1NSAxMi4xMzUxIDAuNzE0MzU1SDEwLjI4NjlDOS43NjQ1OCAwLjcxNDM1NSA5LjM4MjkgMS4wMjU3NCA5LjI2MjM1IDEuNTM4MDJMOC43NDAwMiAzLjc1Nzg4QzguMzQ4MjggMy44ODg0NiA3Ljk2NjU5IDQuMDM5MTQgNy42MjUwNyA0LjIxOTkzTDUuNjc2NDEgMy4wMTQ1OEM1LjIzNDQ1IDIuNzYzNDYgNC43ODI0MyAyLjgxMzY5IDQuNDEwNzggMy4xNjUyNUwzLjEwNDk4IDQuNDYxQzIuNzMzMzMgNC44MjI2MiAyLjY5MzE1IDUuMzE0OCAyLjk4NDQ1IDUuNzQ2NzJMNC4xNTk2NyA3LjY5NTM4QzQuMDI5MDkgOC4wMDY3NiAzLjg2ODM4IDguMzc4NDIgMy43Mzc3OSA4Ljc5MDI1TDEuNTI3OTcgOS4zMjI2NEMxLjAxNTY5IDkuNDMzMTMgMC43MTQzNTUgOS44MTQ4MSAwLjcxNDM1NSAxMC4zMjdWMTIuMTQ1MUMwLjcxNDM1NSAxMi42Njc1IDEuMDE1NjkgMTMuMDQ5MiAxLjUyNzk3IDEzLjE1OTZMMy43NTc4OCAxMy42OTJDMy44NjgzOCAxNC4wNTM2IDQuMDE5MDQgMTQuNDE1MyA0LjE3OTc2IDE0Ljc2NjhMMy4wMDQ1NCAxNi42ODUzQzIuNzAzMTkgMTcuMTE3MiAyLjc2MzQ2IDE3LjYzOTYgMy4xMjUwNyAxOC4wMDEyTDQuNDEwNzggMTkuMjg2OUM0Ljc3MjQgMTkuNjQ4NSA1LjI3NDYyIDE5LjY4ODcgNS43MDY1NCAxOS40MTc1TDcuNjM1MTIgMTguMjMyMkM3Ljk3NjY0IDE4LjM5MjkgOC4zNDgyOCAxOC41NDM2IDguNzQwMDIgMTguNjc0Mkw5LjI2MjM1IDIwLjg4NEM5LjM4MjkgMjEuMzk2MyA5Ljc2NDU4IDIxLjcwNzcgMTAuMjg2OSAyMS43MDc3Wk0xMS4yMTEgMTQuNzU2OEM5LjI2MjM1IDE0Ljc1NjggNy42NjUyNSAxMy4xNDk2IDcuNjY1MjUgMTEuMjAxQzcuNjY1MjUgOS4yNjIzNSA5LjI2MjM1IDcuNjY1MjUgMTEuMjExIDcuNjY1MjVDMTMuMTU5NiA3LjY2NTI1IDE0Ljc1NjggOS4yNjIzNSAxNC43NTY4IDExLjIwMUMxNC43NTY4IDEzLjE0OTYgMTMuMTU5NiAxNC43NTY4IDExLjIxMSAxNC43NTY4WiIgZmlsbD0iIzlGQTZBRSIvPgo8L3N2Zz4K"},play:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjUiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNSAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUiIHk9IjAuMDkwODIwMyIgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiMwMzc2QzkiLz4KICA8cGF0aCBkPSJNMTguNSAxMi4wOTA4TDkuNSAxNy4yODdMOS41IDYuODk0NjdMMTguNSAxMi4wOTA4WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg=="},playMuted:{alt:"Play",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjI0IiBoZWlnaHQ9IjI0IiByeD0iMTIiIGZpbGw9IiNCQkMwQzUiLz4KPHBhdGggZD0iTTE4IDEyTDkgMTcuMTk2Mkw5IDYuODAzODVMMTggMTJaIiBmaWxsPSIjNkE3MzdEIi8+Cjwvc3ZnPgo="},playSuccess:{alt:"Success",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV83OTk1KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjNTc5RjZFIi8+CjxyZWN0IHg9IjMiIHk9IjIuOTk5OTkiIHdpZHRoPSIxOCIgaGVpZ2h0PSIxOCIgcng9IjkuMDAwMDIiIGZpbGw9IndoaXRlIi8+CjxwYXRoIGQ9Ik0xMS45NTk5IDIyLjIwNTNDMTcuNTY0OCAyMi4yMDUzIDIyLjIwNTQgMTcuNTU0NyAyMi4yMDU0IDExLjk1OThDMjIuMjA1NCA2LjM1NDkxIDE3LjU1NDggMS43MTQyNyAxMS45NDk5IDEuNzE0MjdDNi4zNTQ5OSAxLjcxNDI3IDEuNzE0MzYgNi4zNTQ5MSAxLjcxNDM2IDExLjk1OThDMS43MTQzNiAxNy41NTQ3IDYuMzY1MDQgMjIuMjA1MyAxMS45NTk5IDIyLjIwNTNaTTEwLjgzNDkgMTYuODcxN0MxMC40OTM0IDE2Ljg3MTcgMTAuMjEyMSAxNi43MzEgOS45NTA5OSAxNi4zNzk1TDcuNDI5NzcgMTMuMjg1N0M3LjI3OTEgMTMuMDg0OCA3LjE4ODcgMTIuODYzOCA3LjE4ODcgMTIuNjMyOEM3LjE4ODcgMTIuMTgwOCA3LjU0MDI3IDExLjgwOTEgNy45OTIyNyAxMS44MDkxQzguMjgzNTcgMTEuODA5MSA4LjUwNDU1IDExLjg5OTYgOC43NTU2NiAxMi4yMzFMMTAuNzk0OCAxNC44NjI3TDE1LjA4MzggNy45NzIxQzE1LjI3NDYgNy42NzA3NiAxNS41MzU4IDcuNTEwMDUgMTUuNzk3IDcuNTEwMDVDMTYuMjM4OSA3LjUxMDA1IDE2LjY1MDggNy44MTEzOCAxNi42NTA4IDguMjgzNDhDMTYuNjUwOCA4LjUwNDQ3IDE2LjUyMDIgOC43MzU1IDE2LjM5OTYgOC45NDY0M0wxMS42Nzg3IDE2LjM3OTVDMTEuNDY3NyAxNi43MTEgMTEuMTc2NSAxNi44NzE3IDEwLjgzNDkgMTYuODcxN1oiIGZpbGw9IiM1NzlGNkUiLz4KPC9nPgo8ZGVmcz4KPGNsaXBQYXRoIGlkPSJjbGlwMF8xMzVfNzk5NSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSJ3aGl0ZSIvPgo8L2NsaXBQYXRoPgo8L2RlZnM+Cjwvc3ZnPgo="},playError:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzEzNV84MDM5KSI+CjxyZWN0IHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjRDM0QzQ2Ii8+CjxyZWN0IHg9IjguNDI4NTkiIHk9IjIuMTQyODkiIHdpZHRoPSI2LjY2NjY1IiBoZWlnaHQ9IjE4LjMzMzMiIHJ4PSIzLjMzMzMyIiBmaWxsPSJ3aGl0ZSIvPgo8cGF0aCBkPSJNMy4zODAzIDIxLjIwNTNIMjAuNjc5NEMyMi41NzY3IDIxLjIwNTMgMjMuNzI2MiAxOS44ODgzIDIzLjcyNjIgMTguMTgwN0MyMy43MjYyIDE3LjY1NjMgMjMuNTY5OSAxNy4xMDkzIDIzLjI5MSAxNi42MTgzTDE0LjYzMDMgMS41MjkwNEMxNC4wNDk5IDAuNTEzNDE0IDEzLjA1NjYgMi4yODg4MmUtMDUgMTIuMDI5OCAyLjI4ODgyZS0wNUMxMS4wMDMgMi4yODg4MmUtMDUgOS45OTg1NSAwLjUxMzQxNCA5LjQyOTM5IDEuNTI5MDRMMC43Njg3MDIgMTYuNjE4M0MwLjQ2NzM2MyAxNy4xMjA1IDAuMzMzNDM1IDE3LjY1NjMgMC4zMzM0MzUgMTguMTgwN0MwLjMzMzQzNSAxOS44ODgzIDEuNDgyOTggMjEuMjA1MyAzLjM4MDMgMjEuMjA1M1pNMTIuMDQxIDEzLjc1QzExLjQ2MDYgMTMuNzUgMTEuMTM3IDEzLjQxNTEgMTEuMTI1OCAxMi44MjM2TDEwLjk4MDcgNi43NTIyM0MxMC45Njk2IDYuMTYwNzIgMTEuNDA0OCA1LjczNjYyIDEyLjAyOTggNS43MzY2MkMxMi42MzI1IDUuNzM2NjIgMTMuMTAxMiA2LjE3MTg4IDEzLjA5MDEgNi43NjMzOUwxMi45MjI3IDEyLjgyMzZDMTIuOTExNSAxMy40MjY0IDEyLjU4NzkgMTMuNzUgMTIuMDQxIDEzLjc1Wk0xMi4wNDEgMTcuNDg4OEMxMS4zNzEzIDE3LjQ4ODggMTAuNzkxIDE2Ljk1MzEgMTAuNzkxIDE2LjI5NDZDMTAuNzkxIDE1LjYyNDkgMTEuMzYwMiAxNS4wODkzIDEyLjA0MSAxNS4wODkzQzEyLjcxMDYgMTUuMDg5MyAxMy4yNzk5IDE1LjYxMzggMTMuMjc5OSAxNi4yOTQ2QzEzLjI3OTkgMTYuOTY0MyAxMi42OTk1IDE3LjQ4ODggMTIuMDQxIDE3LjQ4ODhaIiBmaWxsPSIjRDM0QzQ2Ii8+CjwvZz4KPGRlZnM+CjxjbGlwUGF0aCBpZD0iY2xpcDBfMTM1XzgwMzkiPgo8cmVjdCB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHJ4PSIxMiIgZmlsbD0id2hpdGUiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K"},dot:{alt:"OK",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSI4IiB2aWV3Qm94PSIwIDAgOCA4IiBmaWxsPSJub25lIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgo8Y2lyY2xlIGN4PSI0IiBjeT0iNCIgcj0iNCIgZmlsbD0iIzU3OUY2RSIvPgo8L3N2Zz4K"},errorTriangle:{alt:"Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTUiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNSAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEuOTcwOTUgMTMuNDM3NUgxMi4zNTA0QzEzLjQ4ODggMTMuNDM3NSAxNC4xNzg1IDEyLjY0NzMgMTQuMTc4NSAxMS42MjI3QzE0LjE3ODUgMTEuMzA4MSAxNC4wODQ4IDEwLjk3OTkgMTMuOTE3NCAxMC42ODUzTDguNzIwOTQgMS42MzE2OUM4LjM3MjcxIDEuMDIyMzEgNy43NzY3NiAwLjcxNDI3OSA3LjE2MDY1IDAuNzE0Mjc5QzYuNTQ0NTkgMC43MTQyNzkgNS45NDE5MSAxLjAyMjMxIDUuNjAwNDEgMS42MzE2OUwwLjQwMzk4MyAxMC42ODUzQzAuMjIzMTc5IDEwLjk4NjYgMC4xNDI4MjIgMTEuMzA4MSAwLjE0MjgyMiAxMS42MjI3QzAuMTQyODIyIDEyLjY0NzMgMC44MzI1NTQgMTMuNDM3NSAxLjk3MDk1IDEzLjQzNzVaTTcuMTY3MzkgOC45NjQyOEM2LjgxOTE2IDguOTY0MjggNi42MjQ5OSA4Ljc2MzM2IDYuNjE4MjUgOC40MDg0NUw2LjUzMTIyIDQuNzY1NjJDNi41MjQ1NCA0LjQxMDcxIDYuNzg1NjggNC4xNTYyNCA3LjE2MDY1IDQuMTU2MjRDNy41MjIzMSA0LjE1NjI0IDcuODAzNTEgNC40MTc0IDcuNzk2ODIgNC43NzIzMUw3LjY5NjQyIDguNDA4NDVDNy42ODk2OCA4Ljc3MDExIDcuNDk1NTEgOC45NjQyOCA3LjE2NzM5IDguOTY0MjhaTTcuMTY3MzkgMTEuMjA3NkM2Ljc2NTU2IDExLjIwNzYgNi40MTczOSAxMC44ODYyIDYuNDE3MzkgMTAuNDkxMUM2LjQxNzM5IDEwLjA4OTIgNi43NTg4OCA5Ljc2Nzg4IDcuMTY3MzkgOS43Njc4OEM3LjU2OTE2IDkuNzY3ODggNy45MTA3MSAxMC4wODI2IDcuOTEwNzEgMTAuNDkxMUM3LjkxMDcxIDEwLjg5MjggNy41NjI0OCAxMS4yMDc2IDcuMTY3MzkgMTEuMjA3NloiIGZpbGw9IiNEMzRDNDYiLz4KPC9zdmc+Cg=="},computer:{alt:"Computer",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzUiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAzNSAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy41ODUxIDIyLjg3MTNIMzAuNTk5QzMyLjg5NzYgMjIuODcxMyAzNC4wOTQ3IDIxLjY4OCAzNC4wOTQ3IDE5LjM3NTZWMy43ODc1NkMzNC4wOTQ3IDEuNDg4OCAzMi44OTc2IDAuMzA1NDIgMzAuNTk5IDAuMzA1NDJIMy41ODUxQzEuMjg2MzQgMC4zMDU0MiAwLjA4OTM1NTUgMS40ODg4IDAuMDg5MzU1NSAzLjc4NzU2VjE5LjM3NTZDMC4wODkzNTU1IDIxLjY4OCAxLjI4NjM0IDIyLjg3MTMgMy41ODUxIDIyLjg3MTNaTTMuNjI1OTEgMjAuNjgxNEMyLjcyODE3IDIwLjY4MTQgMi4yNzkzIDIwLjIzMjYgMi4yNzkzIDE5LjM0ODNWMy44MjgzN0MyLjI3OTMgMi45MzA2MyAyLjcyODE3IDIuNDk1MzYgMy42MjU5MSAyLjQ5NTM2SDMwLjU1ODFDMzEuNDU1OCAyLjQ5NTM2IDMxLjkwNDggMi45MzA2MyAzMS45MDQ4IDMuODI4MzdWMTkuMzQ4M0MzMS45MDQ4IDIwLjIzMjYgMzEuNDU1OCAyMC42ODE0IDMwLjU1ODEgMjAuNjgxNEgzLjYyNTkxWk0xMC4yNTAxIDI3LjQ4MjVIMjMuOTMzOUMyNC41MzI0IDI3LjQ4MjUgMjUuMDM1NyAyNi45OTI4IDI1LjAzNTcgMjYuMzgwNkMyNS4wMzU3IDI1Ljc2ODYgMjQuNTMyNCAyNS4yNzg5IDIzLjkzMzkgMjUuMjc4OUgxMC4yNTAxQzkuNjUxNjQgMjUuMjc4OSA5LjE0ODM3IDI1Ljc2ODYgOS4xNDgzNyAyNi4zODA2QzkuMTQ4MzcgMjYuOTkyOCA5LjY1MTY0IDI3LjQ4MjUgMTAuMjUwMSAyNy40ODI1Wk0xNy43NTg2IDE3LjA3NjhDMTguMDE2OSAxNy4wNzY4IDE4LjE5MzggMTYuOSAxOC4yNDgxIDE2LjY0MTZDMTguOTk2MyAxMi42NDI1IDE5LjM2MzYgMTEuODk0NSAyMy41MjU4IDExLjMzNjdDMjMuNzk3OSAxMS4yOTU5IDIzLjk3NDYgMTEuMTA1NSAyMy45NzQ2IDEwLjg0NzFDMjMuOTc0NiAxMC41ODg2IDIzLjc5NzkgMTAuMzg0NiAyMy41MjU4IDEwLjM0MzhDMTkuMzc3MiA5Ljc4NjA5IDE4Ljg0NjcgOC45OTcxOCAxOC4yNDgxIDUuMDY2MTdDMTguMjA3NCA0Ljc5NDEyIDE4LjAxNjkgNC42MTcyOSAxNy43NTg2IDQuNjE3MjlDMTcuNTAwMSA0LjYxNzI5IDE3LjMwOTYgNC43ODA1MSAxNy4yNTUzIDUuMDUyNTZDMTYuNDkzNSA5LjA2NTE5IDE2LjEzOTggOS43ODYwOSAxMS45Nzc2IDEwLjM0MzhDMTEuNzA1NiAxMC4zODQ2IDExLjUyODcgMTAuNTg4NiAxMS41Mjg3IDEwLjg0NzFDMTEuNTI4NyAxMS4xMDU1IDExLjcwNTYgMTEuMjk1OSAxMS45Nzc2IDExLjMzNjdDMTYuMTUzNCAxMS43NTg0IDE2LjY3MDQgMTIuNjQyNSAxNy4yNTUzIDE2LjYyOEMxNy4yOTYgMTYuOSAxNy40NzI5IDE3LjA3NjggMTcuNzU4NiAxNy4wNzY4Wk0xMi4zOTkzIDE5LjI5NEMxMi41ODk3IDE5LjI5NCAxMi43MzkzIDE5LjE3MTYgMTIuNzgwMSAxOC45ODExQzEzLjE2MSAxNy4wMDg4IDEzLjAyNDkgMTYuOTEzNiAxNS4xODc3IDE2LjU4NzFDMTUuMzc4MiAxNi41NiAxNS41MDA1IDE2LjM5NjggMTUuNTAwNSAxNi4yMDYzQzE1LjUwMDUgMTYuMDI5NSAxNS4zNzgyIDE1Ljg2NjIgMTUuMTg3NyAxNS44MzlDMTMuMDI0OSAxNS40ODU0IDEzLjE2MSAxNS4zOTAyIDEyLjc4MDEgMTMuNDcyMkMxMi43MzkzIDEzLjI2ODMgMTIuNjAzMiAxMy4xMTg3IDEyLjM5OTMgMTMuMTE4N0MxMi4yMDg4IDEzLjExODcgMTIuMDg2NCAxMy4yNTQ2IDEyLjAzMjEgMTMuNDcyMkMxMS42Mzc2IDE1LjM5MDIgMTEuODAwNyAxNS40ODU0IDkuNjM4MDQgMTUuODM5QzkuNDM0MDEgMTUuODY2MiA5LjMyNTE5IDE2LjAyOTUgOS4zMjUxOSAxNi4yMDYzQzkuMzI1MTkgMTYuNDIzOSA5LjQzNDAxIDE2LjU2IDkuNjY1MjUgMTYuNTg3MUMxMS44MDA3IDE2LjkxMzYgMTEuNjM3NiAxNy4wMDg4IDEyLjAzMjEgMTguOTQwM0MxMi4wODY0IDE5LjE1OCAxMi4xOTUzIDE5LjI5NCAxMi4zOTkzIDE5LjI5NFoiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},snap:{alt:"Snap",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjMDM3NkM5Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},snapError:{alt:"Snap Error",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMiAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB4PSIwLjUwMTQ2NSIgeT0iMC42ODUwNTkiIHdpZHRoPSIxMC42Njc2IiBoZWlnaHQ9IjEwLjY2NzYiIHJ4PSI1LjMzMzgxIiBmaWxsPSIjZDczODQ3Ii8+CiAgPHBhdGggZD0iTTguMTYxMDIgNC4wNDE2NUw2LjE3MTcgMi45OTE0OEM1Ljk2MjMgMi44Nzk2MyA1LjcwODQ4IDIuODc5NjMgNS40OTkwNyAyLjk5MTQ4TDMuNTA5NzYgNC4wNDE2NUMzLjM2MzgxIDQuMTE5MzMgMy4yNzQ5NyA0LjI2ODQ3IDMuMjc0OTcgNC40MzkzNUMzLjI3NDk3IDQuNjA3MTMgMy4zNjM4MSA0Ljc1OTM4IDMuNTA5NzYgNC44MzcwNUw1LjQ5OTA3IDUuODg3MjJDNS42MDM3OCA1Ljk0MzE1IDUuNzIxMTcgNS45NzExMSA1LjgzNTM5IDUuOTcxMTFDNS45NDk2MSA1Ljk3MTExIDYuMDY3IDUuOTQzMTUgNi4xNzE3IDUuODg3MjJMOC4xNjEwMiA0LjgzNzA1QzguMzA2OTYgNC43NTkzOCA4LjM5NTggNC42MTAyNCA4LjM5NTggNC40MzkzNUM4LjM5NTggNC4yNjg0NyA4LjMwNjk2IDQuMTE5MzMgOC4xNjEwMiA0LjA0MTY1WiIgZmlsbD0id2hpdGUiLz4KICA8cGF0aCBkPSJNNS4yMzc4OSA2LjE2NTIyTDMuNDI5ODggNS4yMDUyM0MzLjI4Njg3IDUuMTM2NDcgMy4wNzM1OSA1LjE5IDIuOTQwMTEgNS4yNzEyNkMyLjgwMzQ1IDUuMzU1NjYgMi43MjQgNS40OTYzMiAyLjcyNCA1LjY1MjZWNy4zNzQ4OEMyLjcyNCA3LjY3MTgyIDIuODkyNDQgNy45NTg4MyAzLjE2MjU4IDguMDkzMjRMNS4wMTU0MiA5LjA4MjVDNS4wNzg5OCA5LjExMzc2IDUuMTQ4OSA5LjEyOTM5IDUuMjE4ODIgOS4xMjkzOUM1LjMwMTQ1IDkuMTI5MzkgNS4zODQwOCA5LjEwNzUxIDUuNDU3MTggOS4wNjM3NUM1LjU5Mzg0IDguOTgyNDggNS42NzMyOSA4Ljc0Mzk0IDUuNjczMjkgOC41ODc2NlY2Ljg2NTM4QzUuNjc2NDcgNi41NjUzMSA1LjUwODAzIDYuMjk2NSA1LjIzNzg5IDYuMTY1MjJaIiBmaWxsPSJ3aGl0ZSIvPgogIDxwYXRoIGQ9Ik04LjczMDY2IDUuMjcyNTFDOC41OTQgNS4xOTEyNiA4LjM3OTQ1IDUuMTMzMzcgOC4yMzk2MSA1LjIwNTIzTDYuNDM2MDMgNi4xNjYxN0M2LjE2NTg4IDYuMzAwNTMgNS45OTc0NCA2LjU2NjEzIDUuOTk3NDQgNi44NjYxVjguNTg3OEM1Ljk5NzQ0IDguNzQ0MDQgNi4wNzY4OSA4Ljk4MzUxIDYuMjEzNTUgOS4wNjQ3NUM2LjI4NjY1IDkuMTA4NSA2LjM2OTI4IDkuMTMwMzcgNi40NTE5MiA5LjEzMDM3QzYuNTIxODQgOS4xMzAzNyA2LjU5MTc2IDkuMTE0NzUgNi42NTUzMiA5LjA4MzVMOC41MDgxOSA4LjA5MzI0QzguNzc4MzMgNy45NTg4OCA4Ljk0Njc3IDcuNjc1MzkgOC45NDY3NyA3LjM3NTQyVjUuNjUzNzJDOC45NDY3NyA1LjQ5NzQ4IDguODY3MzIgNS4zNTY4NyA4LjczMDY2IDUuMjcyNTFaIiBmaWxsPSJ3aGl0ZSIvPgo8L3N2Zz4K"},copy:{alt:"Copy",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEgOC42NzVWMTEuODI1QzExIDE0LjQ1IDkuOTUgMTUuNSA3LjMyNSAxNS41SDQuMTc1QzEuNTUgMTUuNSAwLjUgMTQuNDUgMC41IDExLjgyNVY4LjY3NUMwLjUgNi4wNSAxLjU1IDUgNC4xNzUgNUg3LjMyNUM5Ljk1IDUgMTEgNi4wNSAxMSA4LjY3NVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KPC9zdmc+Cg=="},copied:{alt:"Copied",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNUg4LjY3NUM2LjM2MjY5IDAuNSA1LjI3ODIzIDEuMzIwNTcgNS4wNTIzMSAzLjMwNDI2QzUuMDA1MDQgMy43MTkyNiA1LjM0ODc0IDQuMDYyNSA1Ljc2NjQzIDQuMDYyNUg3LjMyNUMxMC40NzUgNC4wNjI1IDExLjkzNzUgNS41MjUgMTEuOTM3NSA4LjY3NVYxMC4yMzM2QzExLjkzNzUgMTAuNjUxMyAxMi4yODA3IDEwLjk5NSAxMi42OTU3IDEwLjk0NzdDMTQuNjc5NCAxMC43MjE4IDE1LjUgOS42MzczMSAxNS41IDcuMzI1VjQuMTc1QzE1LjUgMS41NSAxNC40NSAwLjUgMTEuODI1IDAuNVoiIGZpbGw9IiM2QTczN0QiLz4KICA8cGF0aCBkPSJNNy4zMjUgNUg0LjE3NUMxLjU1IDUgMC41IDYuMDUgMC41IDguNjc1VjExLjgyNUMwLjUgMTQuNDUgMS41NSAxNS41IDQuMTc1IDE1LjVINy4zMjVDOS45NSAxNS41IDExIDE0LjQ1IDExIDExLjgyNVY4LjY3NUMxMSA2LjA1IDkuOTUgNSA3LjMyNSA1Wk04LjIxNzUgOS4yMzc1TDUuNDM1IDEyLjAyQzUuMzMgMTIuMTI1IDUuMTk1IDEyLjE3NzUgNS4wNTI1IDEyLjE3NzVDNC45MSAxMi4xNzc1IDQuNzc1IDEyLjEyNSA0LjY3IDEyLjAyTDMuMjc1IDEwLjYyNUMzLjA2NSAxMC40MTUgMy4wNjUgMTAuMDc3NSAzLjI3NSA5Ljg2NzVDMy40ODUgOS42NTc1IDMuODIyNSA5LjY1NzUgNC4wMzI1IDkuODY3NUw1LjA0NSAxMC44OEw3LjQ1MjUgOC40NzI1QzcuNjYyNSA4LjI2MjUgOCA4LjI2MjUgOC4yMSA4LjQ3MjVDOC40MiA4LjY4MjUgOC40Mjc1IDkuMDI3NSA4LjIxNzUgOS4yMzc1WiIgZmlsbD0iIzZBNzM3RCIvPgo8L3N2Zz4K"},moon:{alt:"Moon",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjkiIHZpZXdCb3g9IjAgMCAyNyAyOSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTIuMDE0NiAyOC4xMDkzQzE2Ljg1ODkgMjguMTA5MyAyMC43OSAyNS42NzQgMjIuNTYzNiAyMS41MTc5QzIyLjgwMTkgMjAuOTYyIDIyLjcyMjUgMjAuNTEyIDIyLjQ3MSAyMC4yNjA1QzIyLjI0NiAyMC4wMjIzIDIxLjgzNTcgMTkuOTgyNSAyMS4zNzI0IDIwLjE1NDZDMjAuMzY2NSAyMC41NTE2IDE5LjE2MiAyMC43OSAxNy42Mzk5IDIwLjc5QzExLjcxMDIgMjAuNzkgNy45MTE0OSAxNy4wODM5IDcuOTExNDkgMTEuMjg2NUM3LjkxMTQ5IDkuNjg1IDguMjE1OTEgOC4wODM0NyA4LjYyNjIyIDcuMjQ5NkM4Ljg3NzcgNi43MzM0IDguODY0NDYgNi4yNzAxNSA4LjYyNjIyIDYuMDA1NDJDOC4zNzQ3NCA1LjcxNDI0IDcuOTI0NzEgNS42MjE1OSA3LjMxNTg2IDUuODU5ODJDMy4yNTI0NCA3LjUxNDMyIDAuNDQ2NDI2IDExLjc2MyAwLjQ0NjQyNiAxNi43MDAxQzAuNDQ2NDI2IDIzLjE0NTkgNS4xOTgxMiAyOC4xMDkzIDEyLjAxNDYgMjguMTA5M1pNMTIuMDQxMSAyNi4wODQzQzYuNDAyNTkgMjYuMDg0MyAyLjQ3MTUyIDIxLjk2NzkgMi40NzE1MiAxNi41NDEzQzIuNDcxNTIgMTMuMjE4OSA0LjAyMDEyIDEwLjI2NzQgNi40ODIgOC4zODc4OUM2LjE1MTEgOS4yNjE0NSA1Ljk2NTggMTAuNTcxOCA1Ljk2NTggMTEuODQyNUM1Ljk2NTggMTguMzY3NyAxMC40NjYgMjIuNzM1NiAxNy4xMzY5IDIyLjczNTZDMTguMzE0OSAyMi43MzU2IDE5LjQwMDIgMjIuNTc2OCAxOS45Njk0IDIyLjM5MTRDMTguMzE0OSAyNC42ODEzIDE1LjM2MzMgMjYuMDg0MyAxMi4wNDExIDI2LjA4NDNaTTIxLjgzNTcgMTYuMDExOEMyMi4wODcyIDE2LjAxMTggMjIuMjU5MiAxNS44Mzk3IDIyLjI4NTYgMTUuNTc1QzIyLjcyMjUgMTIuMDQxIDIyLjg5NDUgMTEuOTQ4MyAyNi40ODE1IDExLjM2NkMyNi43NTk0IDExLjMyNjMgMjYuOTMxNSAxMS4xODA3IDI2LjkzMTUgMTAuOTI5MkMyNi45MzE1IDEwLjY3NzcgMjYuNzU5NCAxMC41MTg5IDI2LjUzNDUgMTAuNDc5MkMyMi45MjEgOS43OTA4OSAyMi43MjI1IDkuODA0MTMgMjIuMjg1NiA2LjI3MDE1QzIyLjI1OTIgNi4wMDU0MiAyMi4wODcyIDUuODMzMzYgMjEuODM1NyA1LjgzMzM2QzIxLjU5NzUgNS44MzMzNiAyMS40MjUzIDYuMDA1NDIgMjEuMzg1NyA2LjI1NjkxQzIwLjkzNTYgOS44NDM4NCAyMC44MDMyIDkuOTYyOTYgMTcuMTM2OSAxMC40NzkyQzE2LjkxMTkgMTAuNTA1NiAxNi43Mzk5IDEwLjY3NzcgMTYuNzM5OSAxMC45MjkyQzE2LjczOTkgMTEuMTY3NCAxNi45MTE5IDExLjMyNjMgMTcuMTM2OSAxMS4zNjZDMjAuODAzMiAxMi4wNjc1IDIwLjkyMjQgMTIuMDY3NSAyMS4zODU3IDE1LjYwMTRDMjEuNDI1MyAxNS44Mzk3IDIxLjU5NzUgMTYuMDExOCAyMS44MzU3IDE2LjAxMThaTTE1LjUwODkgNy4wNTEwNkMxNS42Njc4IDcuMDUxMDYgMTUuNzQ3MiA2Ljk1ODQxIDE1Ljc3MzYgNi44MTI4MkMxNi4xODM5IDQuNjAyNDEgMTYuMTcwNyA0LjU0OTQ4IDE4LjQ3MzcgNC4xMTI2OUMxOC42MTkzIDQuMDg2MjEgMTguNzI1MiAzLjk5MzU2IDE4LjcyNTIgMy44MzQ3NEMxOC43MjUyIDMuNjc1OSAxOC42MTkzIDMuNTgzMjUgMTguNDczNyAzLjU1Njc4QzE2LjE3MDcgMy4wOTM1MyAxNi4yNTAxIDMuMDQwNTggMTUuNzczNiAwLjg1NjY1NUMxNS43NDcyIDAuNzExMDYgMTUuNjY3OCAwLjYxODQwOCAxNS41MDg5IDAuNjE4NDA4QzE1LjM1IDAuNjE4NDA4IDE1LjI1NzQgMC43MTEwNiAxNS4yMzA5IDAuODU2NjU1QzE0Ljc2NzcgMy4wNDA1OCAxNC44NDcxIDMuMDkzNTMgMTIuNTQ0IDMuNTU2NzhDMTIuMzg1MiAzLjU4MzI1IDEyLjI5MjYgMy42NzU5IDEyLjI5MjYgMy44MzQ3NEMxMi4yOTI2IDMuOTkzNTYgMTIuMzg1MiA0LjA4NjIxIDEyLjU0NCA0LjExMjY5QzE0Ljg0NzEgNC41NzU5NSAxNC44MjA3IDQuNjAyNDEgMTUuMjMwOSA2LjgxMjgyQzE1LjI1NzQgNi45NTg0MSAxNS4zNSA3LjA1MTA2IDE1LjUwODkgNy4wNTEwNloiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},manifest:{alt:"Manifest",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cmVjdCB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHJ4PSIxNiIgZmlsbD0iIzAzN0RENiIgZmlsbC1vcGFjaXR5PSIwLjEiLz4KICA8cGF0aCBkPSJNMTIuNjY2NyA5SDE5LjMzMzNDMjAuNzEwNyA5IDIxLjYwODcgOS4zNTM1NyAyMi4xNjI0IDkuODkwMjhDMjIuNzE0MSAxMC40MjUgMjMgMTEuMjE1MiAyMyAxMi4yNVYxOS43NUMyMyAyMC43ODQ4IDIyLjcxNDEgMjEuNTc1IDIyLjE2MjQgMjIuMTA5N0MyMS42MDg3IDIyLjY0NjQgMjAuNzEwNyAyMyAxOS4zMzMzIDIzSDEyLjY2NjdDMTEuMjg5MyAyMyAxMC4zOTEzIDIyLjY0NjQgOS44Mzc1NyAyMi4xMDk3QzkuMjg1OSAyMS41NzUgOSAyMC43ODQ4IDkgMTkuNzVWMTIuMjVDOSAxMS4yMTUyIDkuMjg1OSAxMC40MjUgOS44Mzc1NyA5Ljg5MDI4QzEwLjM5MTMgOS4zNTM1NyAxMS4yODkzIDkgMTIuNjY2NyA5Wk0xNS4xMDk1IDIwLjUxOTFDMTUuNTcxOCAyMC4xMDMgMTUuNTcxOCAxOS4zOTcgMTUuMTA5NSAxOC45ODA5TDE0LjI5NzQgMTguMjVMMTUuMTA5NSAxNy41MTkxQzE1LjU3MTggMTcuMTAzIDE1LjU3MTggMTYuMzk3IDE1LjEwOTUgMTUuOTgwOUMxNC42Nzc3IDE1LjU5MjIgMTMuOTg5IDE1LjU5MjIgMTMuNTU3MiAxNS45ODA5TDExLjg5MDUgMTcuNDgwOUMxMS40MjgyIDE3Ljg5NyAxMS40MjgyIDE4LjYwMyAxMS44OTA1IDE5LjAxOTFMMTMuNTU3MiAyMC41MTkxQzEzLjc4MzcgMjAuNzIzIDE0LjA2NTEgMjAuODEyNSAxNC4zMzMzIDIwLjgxMjVDMTQuNjAxNiAyMC44MTI1IDE0Ljg4MyAyMC43MjMgMTUuMTA5NSAyMC41MTkxWk0xOC40NDI4IDIwLjUxOTFMMjAuMTA5NSAxOS4wMTkxQzIwLjU3MTggMTguNjAzIDIwLjU3MTggMTcuODk3IDIwLjEwOTUgMTcuNDgwOUwxOC40NDI4IDE1Ljk4MDlDMTguMDExIDE1LjU5MjIgMTcuMzIyMyAxNS41OTIyIDE2Ljg5MDUgMTUuOTgwOUMxNi40MjgyIDE2LjM5NyAxNi40MjgyIDE3LjEwMyAxNi44OTA1IDE3LjUxOTFMMTcuNzAyNiAxOC4yNUwxNi44OTA1IDE4Ljk4MDlDMTYuNDI4MiAxOS4zOTcgMTYuNDI4MiAyMC4xMDMgMTYuODkwNSAyMC41MTkxQzE3LjExNyAyMC43MjMgMTcuMzk4NCAyMC44MTI1IDE3LjY2NjcgMjAuODEyNUMxNy45MzQ5IDIwLjgxMjUgMTguMjE2MyAyMC43MjMgMTguNDQyOCAyMC41MTkxWk0xOS43NSAxNC40Mzc1SDIxLjQxNjdDMjEuOTgzNiAxNC40Mzc1IDIyLjU0MTcgMTQuMDA2OSAyMi41NDE3IDEzLjM3NUMyMi41NDE3IDEyLjc0MzEgMjEuOTgzNiAxMi4zMTI1IDIxLjQxNjcgMTIuMzEyNUgxOS43NUMxOS40MDAzIDEyLjMxMjUgMTkuMjA4MyAxMi4wNjgxIDE5LjIwODMgMTEuODc1VjEwLjM3NUMxOS4yMDgzIDkuNzQzMTEgMTguNjUwMyA5LjMxMjUgMTguMDgzMyA5LjMxMjVDMTcuNTE2NCA5LjMxMjUgMTYuOTU4MyA5Ljc0MzExIDE2Ljk1ODMgMTAuMzc1VjExLjg3NUMxNi45NTgzIDEzLjMzOTQgMTguMjU4IDE0LjQzNzUgMTkuNzUgMTQuNDM3NVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIvPgo8L3N2Zz4K"},gitHub:{alt:"GitHub",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGNsaXAtcnVsZT0iZXZlbm9kZCIgZD0iTTEyIDBDNS4zNyAwIDAgNS4zNyAwIDEyQzAgMTcuMzEgMy40MzUgMjEuNzk1IDguMjA1IDIzLjM4NUM4LjgwNSAyMy40OSA5LjAzIDIzLjEzIDkuMDMgMjIuODE1QzkuMDMgMjIuNTMgOS4wMTUgMjEuNTg1IDkuMDE1IDIwLjU4QzYgMjEuMTM1IDUuMjIgMTkuODQ1IDQuOTggMTkuMTdDNC44NDUgMTguODI1IDQuMjYgMTcuNzYgMy43NSAxNy40NzVDMy4zMyAxNy4yNSAyLjczIDE2LjY5NSAzLjczNSAxNi42OEM0LjY4IDE2LjY2NSA1LjM1NSAxNy41NSA1LjU4IDE3LjkxQzYuNjYgMTkuNzI1IDguMzg1IDE5LjIxNSA5LjA3NSAxOC45QzkuMTggMTguMTIgOS40OTUgMTcuNTk1IDkuODQgMTcuMjk1QzcuMTcgMTYuOTk1IDQuMzggMTUuOTYgNC4zOCAxMS4zN0M0LjM4IDEwLjA2NSA0Ljg0NSA4Ljk4NSA1LjYxIDguMTQ1QzUuNDkgNy44NDUgNS4wNyA2LjYxNSA1LjczIDQuOTY1QzUuNzMgNC45NjUgNi43MzUgNC42NSA5LjAzIDYuMTk1QzkuOTkgNS45MjUgMTEuMDEgNS43OSAxMi4wMyA1Ljc5QzEzLjA1IDUuNzkgMTQuMDcgNS45MjUgMTUuMDMgNi4xOTVDMTcuMzI1IDQuNjM1IDE4LjMzIDQuOTY1IDE4LjMzIDQuOTY1QzE4Ljk5IDYuNjE1IDE4LjU3IDcuODQ1IDE4LjQ1IDguMTQ1QzE5LjIxNSA4Ljk4NSAxOS42OCAxMC4wNSAxOS42OCAxMS4zN0MxOS42OCAxNS45NzUgMTYuODc1IDE2Ljk5NSAxNC4yMDUgMTcuMjk1QzE0LjY0IDE3LjY3IDE1LjAxNSAxOC4zOSAxNS4wMTUgMTkuNTE1QzE1LjAxNSAyMS4xMiAxNSAyMi40MSAxNSAyMi44MTVDMTUgMjMuMTMgMTUuMjI1IDIzLjUwNSAxNS44MjUgMjMuMzg1QzIwLjU2NSAyMS43OTUgMjQgMTcuMjk1IDI0IDEyQzI0IDUuMzcgMTguNjMgMCAxMiAwWiIgZmlsbD0iIzI0MjcyQSIvPgo8L3N2Zz4K",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbC1ydWxlPSJldmVub2RkIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0xMiAwQzUuMzcgMCAwIDUuMzcgMCAxMkMwIDE3LjMxIDMuNDM1IDIxLjc5NSA4LjIwNSAyMy4zODVDOC44MDUgMjMuNDkgOS4wMyAyMy4xMyA5LjAzIDIyLjgxNUM5LjAzIDIyLjUzIDkuMDE1IDIxLjU4NSA5LjAxNSAyMC41OEM2IDIxLjEzNSA1LjIyIDE5Ljg0NSA0Ljk4IDE5LjE3QzQuODQ1IDE4LjgyNSA0LjI2IDE3Ljc2IDMuNzUgMTcuNDc1QzMuMzMgMTcuMjUgMi43MyAxNi42OTUgMy43MzUgMTYuNjhDNC42OCAxNi42NjUgNS4zNTUgMTcuNTUgNS41OCAxNy45MUM2LjY2IDE5LjcyNSA4LjM4NSAxOS4yMTUgOS4wNzUgMTguOUM5LjE4IDE4LjEyIDkuNDk1IDE3LjU5NSA5Ljg0IDE3LjI5NUM3LjE3IDE2Ljk5NSA0LjM4IDE1Ljk2IDQuMzggMTEuMzdDNC4zOCAxMC4wNjUgNC44NDUgOC45ODUgNS42MSA4LjE0NUM1LjQ5IDcuODQ1IDUuMDcgNi42MTUgNS43MyA0Ljk2NUM1LjczIDQuOTY1IDYuNzM1IDQuNjUgOS4wMyA2LjE5NUM5Ljk5IDUuOTI1IDExLjAxIDUuNzkgMTIuMDMgNS43OUMxMy4wNSA1Ljc5IDE0LjA3IDUuOTI1IDE1LjAzIDYuMTk1QzE3LjMyNSA0LjYzNSAxOC4zMyA0Ljk2NSAxOC4zMyA0Ljk2NUMxOC45OSA2LjYxNSAxOC41NyA3Ljg0NSAxOC40NSA4LjE0NUMxOS4yMTUgOC45ODUgMTkuNjggMTAuMDUgMTkuNjggMTEuMzdDMTkuNjggMTUuOTc1IDE2Ljg3NSAxNi45OTUgMTQuMjA1IDE3LjI5NUMxNC42NCAxNy42NyAxNS4wMTUgMTguMzkgMTUuMDE1IDE5LjUxNUMxNS4wMTUgMjEuMTIgMTUgMjIuNDEgMTUgMjIuODE1QzE1IDIzLjEzIDE1LjIyNSAyMy41MDUgMTUuODI1IDIzLjM4NUMyMC41NjUgMjEuNzk1IDI0IDE3LjI5NSAyNCAxMkMyNCA1LjM3IDE4LjYzIDAgMTIgMFoiIGZpbGw9IiM5RkE2QUUiLz4KPC9zdmc+Cg=="},cronjob:{alt:"Cronjob",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xNS45MjcgMTguMDc5MkwxNS45MjcyIDE4LjA3OTRMMTguNTAxNSAxOS42MTU2QzE4LjY5NDYgMTkuNzQwNiAxOC44OTkyIDE5Ljc4MzMgMTkuMDgzNCAxOS43ODMzQzE5LjQ2NTEgMTkuNzgzMyAxOS44NDE5IDE5LjU5MTYgMjAuMDU0MiAxOS4yMzE3QzIwLjM4MSAxOC42OTIgMjAuMTk5NCAxOC4wMDEgMTkuNjYyOCAxNy42ODYyTDE3LjA4MTMgMTYuMTQ1NkwxNy4wODEzIDE2LjE0NTZMMTcuMDc2MSAxNi4xNDI2QzE3LjA1MjQgMTYuMTI4OCAxNi45OCAxNi4wNjM2IDE2LjkwODcgMTUuOTM4MkMxNi44Mzc3IDE1LjgxMzUgMTYuODE2NyAxNS43MTUgMTYuODE2NyAxNS42ODMzVjEyLjI2NjdDMTYuODE2NyAxMS42NDg5IDE2LjMwOTYgMTEuMTQxNyAxNS42OTE3IDExLjE0MTdDMTUuMDczOSAxMS4xNDE3IDE0LjU2NjcgMTEuNjQ4OSAxNC41NjY3IDEyLjI2NjdWMTUuNjgzM0MxNC41NjY3IDE2LjYwMDYgMTUuMTMzOSAxNy42MDU1IDE1LjkyNyAxOC4wNzkyWk04LjE2Njc1IDE2QzguMTY2NzUgMTEuNjg0NSAxMS42ODQ2IDguMTY2NjcgMTYuMDAwMSA4LjE2NjY3QzIwLjMxNTYgOC4xNjY2NyAyMy44MzM0IDExLjY4NDUgMjMuODMzNCAxNkMyMy44MzM0IDIwLjMxNTUgMjAuMzE1NiAyMy44MzMzIDE2LjAwMDEgMjMuODMzM0MxMS42ODQ2IDIzLjgzMzMgOC4xNjY3NSAyMC4zMTU1IDguMTY2NzUgMTZaIiBmaWxsPSIjMDM3NkM5IiBzdHJva2U9IiMwMzdERDYiLz4KPC9zdmc+Cg=="},insights:{alt:"Insights",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik04LjIxOTg5IDIxLjI5MUw4LjIxOTg4IDIxLjI5MUM4LjE4OTMyIDIxLjI1ODMgOC4xNjY3NSAyMS4yMDcgOC4xNjY3NSAyMS4xNDcxVjE5LjE4MjZDOC4xNjY3NSAxNC40ODU5IDExLjY4MzggMTAuNjgyNyAxNS45Njk5IDEwLjY2NjdMMTUuOTcwMSAxMC42NjY3QzE2Ljk5NjQgMTAuNjYyNSAxOC4wMTQzIDEwLjg3NTIgMTguOTY1NiAxMS4yOTM2QzE5LjkxNzEgMTEuNzEyMSAyMC43ODQzIDEyLjMyODcgMjEuNTE2NiAxMy4xMDk2QzIyLjI0ODkgMTMuODkwNyAyMi44MzE3IDE0LjgyMDYgMjMuMjI5OSAxNS44NDdDMjMuNjI4MSAxNi44NzM1IDIzLjgzMzQgMTcuOTc1IDIzLjgzMzQgMTkuMDg4M1YyMS4xNDcxQzIzLjgzMzQgMjEuMjA2OSAyMy44MTA5IDIxLjI1ODIgMjMuNzgwNCAyMS4yOTA5QzIzLjc1MDggMjEuMzIyNiAyMy43MTgzIDIxLjMzMzMgMjMuNjkyNCAyMS4zMzMzSDguMzA3NzdDOC4yODE4NiAyMS4zMzMzIDguMjQ5NDIgMjEuMzIyNiA4LjIxOTg5IDIxLjI5MVpNMjAuNzcwMiAxMy44Mjg0TDIwLjc3MDIgMTMuODI4NEMyMC4zMTcxIDEzLjM2NDkgMTkuNTc3OCAxMy4zNjQ5IDE5LjEyNDcgMTMuODI4NEwxOS40NzIgMTQuMTY3OEwxOS4xMjQ3IDEzLjgyODRMMTYuMTUzIDE2Ljg2ODdDMTYuMDYwMyAxNi44NTM4IDE1Ljk2NTQgMTYuODQ2MiAxNS44NjkgMTYuODQ2MkMxNC44NTU1IDE2Ljg0NjIgMTQuMDUzMiAxNy42ODM1IDE0LjA1MzIgMTguNjkyM0MxNC4wNTMyIDE5LjcwMTEgMTQuODU1NSAyMC41Mzg1IDE1Ljg2OSAyMC41Mzg1QzE2Ljg4MjUgMjAuNTM4NSAxNy42ODQ4IDE5LjcwMTEgMTcuNjg0OCAxOC42OTIzQzE3LjY4NDggMTguNjczNyAxNy42ODQ1IDE4LjY1NTIgMTcuNjg0IDE4LjYzNjdMMjAuNzcwMiAxNS40NzkzQzIxLjIxNyAxNS4wMjIxIDIxLjIxNyAxNC4yODU2IDIwLjc3MDIgMTMuODI4NFpNMjEuMjYzMiAxOC43NDM2QzIyLjAzNDUgMTguNzQzNiAyMi42NDA0IDE4LjEwNzEgMjIuNjQwNCAxNy4zNDYyQzIyLjY0MDQgMTYuNTg1MiAyMi4wMzQ1IDE1Ljk0ODcgMjEuMjYzMiAxNS45NDg3QzIwLjQ5MTkgMTUuOTQ4NyAxOS44ODYgMTYuNTg1MiAxOS44ODYgMTcuMzQ2MkMxOS44ODYgMTguMTA3MSAyMC40OTE5IDE4Ljc0MzYgMjEuMjYzMiAxOC43NDM2Wk0xMC4yOTgzIDE4Ljc0MzZDMTEuMDY5NiAxOC43NDM2IDExLjY3NTUgMTguMTA3MSAxMS42NzU1IDE3LjM0NjJDMTEuNjc1NSAxNi41ODUyIDExLjA2OTYgMTUuOTQ4NyAxMC4yOTgzIDE1Ljk0ODdDOS41MjcwNCAxNS45NDg3IDguOTIxMTMgMTYuNTg1MiA4LjkyMTEzIDE3LjM0NjJDOC45MjExMyAxOC4xMDcxIDkuNTI3MDQgMTguNzQzNiAxMC4yOTgzIDE4Ljc0MzZaTTE1LjQzMDQgMTQuMjU2NEMxNi4yMDE3IDE0LjI1NjQgMTYuODA3NiAxMy42MTk5IDE2LjgwNzYgMTIuODU5QzE2LjgwNzYgMTIuMDk4IDE2LjIwMTcgMTEuNDYxNSAxNS40MzA0IDExLjQ2MTVDMTQuNjU5MSAxMS40NjE1IDE0LjA1MzIgMTIuMDk4IDE0LjA1MzIgMTIuODU5QzE0LjA1MzIgMTMuNjE5OSAxNC42NTkxIDE0LjI1NjQgMTUuNDMwNCAxNC4yNTY0WiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},jsonRpc:{alt:"JSON-RPC",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMiAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjMyIiBoZWlnaHQ9IjMyIiByeD0iMTYiIGZpbGw9IiMwMzdERDYiIGZpbGwtb3BhY2l0eT0iMC4xIi8+CjxwYXRoIGQ9Ik0xMS42MzA3IDE1LjQxOTNMMTAuODEyNSAxNC43NDQzVjE1LjgwNVYxOC41MDA3QzEwLjc5MTcgMTguNTAwMiAxMC43NzA5IDE4LjUgMTAuNzUgMTguNUMxMC43MjkxIDE4LjUgMTAuNzA4MyAxOC41MDAyIDEwLjY4NzUgMTguNTAwN1YxMy40OTkzQzEwLjcwODMgMTMuNDk5OCAxMC43MjkxIDEzLjUgMTAuNzUgMTMuNUMxMC43NzkxIDEzLjUgMTAuODA4MSAxMy40OTk1IDEwLjgzNyAxMy40OTg2QzEwLjkwNyAxNC4xNzc1IDExLjEzMDkgMTQuNzU3NCAxMS41NjE4IDE1LjE4ODJDMTIuMDk0NyAxNS43MjEyIDEyLjg1NTggMTUuOTM3NSAxMy43NSAxNS45Mzc1SDE4LjUwMDdDMTguNTAwMiAxNS45NTgzIDE4LjUgMTUuOTc5MSAxOC41IDE2QzE4LjUgMTYuMDIwOSAxOC41MDAyIDE2LjA0MTcgMTguNTAwNyAxNi4wNjI1SDEzLjc1QzEyLjgxNTIgMTYuMDYyNSAxMi4xMTk5IDE1LjgyMjkgMTEuNjMwNyAxNS40MTkzWk05Ljk0Nzg1IDE5LjY5NDNDMTAuMTQzMiAxOS45MTk0IDEwLjQzMDkgMjAuMDYyNSAxMC43NSAyMC4wNjI1QzExLjA2OTEgMjAuMDYyNSAxMS4zNTY4IDE5LjkxOTQgMTEuNTUyMiAxOS42OTQzQzEyLjExNTEgMTkuOTg1MSAxMi41IDIwLjU3MjYgMTIuNSAyMS4yNUMxMi41IDIyLjIxNjUgMTEuNzE2NSAyMyAxMC43NSAyM0M5Ljc4MzUgMjMgOSAyMi4yMTY1IDkgMjEuMjVDOSAyMC41NzI2IDkuMzg0ODYgMTkuOTg1MSA5Ljk0Nzg1IDE5LjY5NDNaTTEwLjc1IDExLjkzNzVDMTAuNDMwOSAxMS45Mzc1IDEwLjE0MzIgMTIuMDgwNiA5Ljk0Nzg1IDEyLjMwNTdDOS4zODQ4NiAxMi4wMTQ5IDkgMTEuNDI3NCA5IDEwLjc1QzkgOS43ODM1IDkuNzgzNSA5IDEwLjc1IDlDMTEuNzE2NSA5IDEyLjUgOS43ODM1IDEyLjUgMTAuNzVDMTIuNSAxMS40Mjc0IDEyLjExNTEgMTIuMDE0OSAxMS41NTIyIDEyLjMwNTdDMTEuMzU2OCAxMi4wODA2IDExLjA2OTEgMTEuOTM3NSAxMC43NSAxMS45Mzc1Wk0xOS42OTQzIDE2LjgwMjJDMTkuOTE5NCAxNi42MDY4IDIwLjA2MjUgMTYuMzE5MSAyMC4wNjI1IDE2QzIwLjA2MjUgMTUuNjgwOSAxOS45MTk0IDE1LjM5MzIgMTkuNjk0MyAxNS4xOTc4QzE5Ljk4NTEgMTQuNjM0OSAyMC41NzI2IDE0LjI1IDIxLjI1IDE0LjI1QzIyLjIxNjUgMTQuMjUgMjMgMTUuMDMzNSAyMyAxNkMyMyAxNi45NjY1IDIyLjIxNjUgMTcuNzUgMjEuMjUgMTcuNzVDMjAuNTcyNiAxNy43NSAxOS45ODUxIDE3LjM2NTEgMTkuNjk0MyAxNi44MDIyWiIgZmlsbD0iIzAzNzZDOSIgc3Ryb2tlPSIjMDM3REQ2Ii8+Cjwvc3ZnPgo="},cross:{alt:"Cross",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NTkyMTkgMTEuNDM2NEMwLjU4MTQ0MSAxMS40MzY0IDAuNDYyOTIyIDExLjM3NzIgMC4zNDQ0MDQgMTEuMjU4N0MwLjEwNzM2NyAxMS4wMjE2IDAuMTA3MzY3IDEwLjY2NjEgMC4zNDQ0MDQgMTAuNDI5TDkuODI1ODggMC45NDc1NTNDMTAuMDYyOSAwLjcxMDUxNiAxMC40MTg1IDAuNzEwNTE2IDEwLjY1NTUgMC45NDc1NTNDMTAuODkyNiAxLjE4NDU5IDEwLjg5MjYgMS41NDAxNSAxMC42NTU1IDEuNzc3MThMMS4xNzQwMyAxMS4yNTg3QzEuMDU1NTEgMTEuMzc3MiAwLjkzNjk5NiAxMS40MzY0IDAuNzU5MjE5IDExLjQzNjRaIiBmaWxsPSIjMjQyNzJBIi8+CiAgPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IiMyNDI3MkEiLz4KPC9zdmc+Cg==",srcDark:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTEiIGhlaWdodD0iMTIiIHZpZXdCb3g9IjAgMCAxMSAxMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuNzU5MjE5IDExLjQzNjRDMC41ODE0NDEgMTEuNDM2NCAwLjQ2MjkyMiAxMS4zNzcyIDAuMzQ0NDA0IDExLjI1ODdDMC4xMDczNjcgMTEuMDIxNiAwLjEwNzM2NyAxMC42NjYxIDAuMzQ0NDA0IDEwLjQyOUw5LjgyNTg4IDAuOTQ3NTUzQzEwLjA2MjkgMC43MTA1MTYgMTAuNDE4NSAwLjcxMDUxNiAxMC42NTU1IDAuOTQ3NTUzQzEwLjg5MjYgMS4xODQ1OSAxMC44OTI2IDEuNTQwMTUgMTAuNjU1NSAxLjc3NzE4TDEuMTc0MDMgMTEuMjU4N0MxLjA1NTUxIDExLjM3NzIgMC45MzY5OTYgMTEuNDM2NCAwLjc1OTIxOSAxMS40MzY0WiIgZmlsbD0id2hpdGUiLz4KPHBhdGggZD0iTTEwLjI0MDcgMTEuNDM2NEMxMC4wNjI5IDExLjQzNjQgOS45NDQ0IDExLjM3NzIgOS44MjU4OCAxMS4yNTg3TDAuMzQ0NDA0IDEuNzc3MThDMC4xMDczNjcgMS41NDAxNSAwLjEwNzM2NyAxLjE4NDU5IDAuMzQ0NDA0IDAuOTQ3NTUzQzAuNTgxNDQxIDAuNzEwNTE2IDAuOTM2OTk2IDAuNzEwNTE2IDEuMTc0MDMgMC45NDc1NTNMMTAuNjU1NSAxMC40MjlDMTAuODkyNiAxMC42NjYxIDEwLjg5MjYgMTEuMDIxNiAxMC42NTU1IDExLjI1ODdDMTAuNTM3IDExLjM3NzIgMTAuNDE4NSAxMS40MzY0IDEwLjI0MDcgMTEuNDM2NFoiIGZpbGw9IndoaXRlIi8+Cjwvc3ZnPgo="},drag:{alt:"Drag",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjciIGhlaWdodD0iMjMiIHZpZXdCb3g9IjAgMCAyNyAyMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNNS45ODA0NyAzLjA0MzgzQzIuNTM1MTYgNS4xMjk3NyAwLjI1IDkuMDMyMTEgMC4yNSAxMy44MzY4QzAuMjUgMTQuMjU4NiAwLjYxMzI4MSAxNC42MjE5IDEuMDExNzIgMTQuNjEwMkMxLjQyMTg4IDE0LjU5ODUgMS43MTQ4NCAxNC4yODIxIDEuNzI2NTYgMTMuODYwMkMxLjgzMjAzIDkuNjUzMiAzLjYzNjcyIDYuMzQ4NTIgNi41MDc4MSA0LjQ4NTIzTDUuOTgwNDcgMy4wNDM4M1pNMjAuOTQ1MyAyMi4zOTE0QzI1LjU5NzcgMjAuNzAzOSAyNy41NzgxIDE2LjQzODMgMjUuNzAzMSAxMS4yODIxTDI0LjgzNTkgOC44Nzk3N0MyMy45MTAyIDYuMzM2OCAyMi4xNjQxIDUuMjkzODMgMjAuMTEzMyA2LjAwODY3QzE5LjU2MjUgNS4yOTM4MyAxOC43MTg4IDUuMDQ3NzMgMTcuODA0NyA1LjM3NTg2QzE3LjQ2NDggNS41MDQ3NyAxNy4xNzE5IDUuNjgwNTUgMTYuODkwNiA1Ljg5MTQ4QzE2LjI5MyA1LjExODA1IDE1LjM2NzIgNC44MzY4IDE0LjQwNjIgNS4xNzY2NEMxNC4xNDg0IDUuMjcwMzkgMTMuOTAyMyA1LjQxMTAyIDEzLjY2OCA1LjU3NTA4TDEyLjMzMiAxLjkxODgzQzExLjgyODEgMC41MjQyOTUgMTAuNTYyNSAtMC4wNjE2NDE3IDkuMjYxNzIgMC40MDcxMDhDNy45NDkyMiAwLjg4NzU3NyA3LjM2MzI4IDIuMTQxNDggNy44NjcxOSAzLjUzNjAyTDExLjIwNyAxMi43MjM1QzExLjIzMDUgMTIuNzgyMSAxMS4yMTg4IDEyLjgyODkgMTEuMTYwMiAxMi44NTI0QzExLjEyNSAxMi44NzU4IDExLjA3ODEgMTIuODUyNCAxMS4wNDMgMTIuODE3Mkw5LjY3MTg4IDExLjMxNzJDOC45OTIxOSAxMC41OTA3IDguMTcxODggMTAuMzY4IDcuMzg2NzIgMTAuNjQ5M0M2LjMyMDMxIDExLjA0NzcgNS42Mjg5MSAxMi4wNjcyIDYuMDc0MjIgMTMuMjc0M0M2LjE3OTY5IDEzLjYxNDEgNi40MTQwNiAxNC4wMjQzIDYuNjgzNTkgMTQuMzY0MUwxMC42MDk0IDE5LjExMDJDMTMuNTg1OSAyMi42OTYxIDE3LjA1NDcgMjMuODA5NCAyMC45NDUzIDIyLjM5MTRaTTIwLjQ0MTQgMjAuODU2M0MxNy4zNzExIDIxLjk4MTMgMTQuNSAyMS40MDcxIDExLjc4MTIgMTguMTM3NUw3Ljg1NTQ3IDEzLjQxNDlDNy43MzgyOCAxMy4yNzQzIDcuNjU2MjUgMTMuMTQ1NCA3LjU4NTk0IDEyLjk0NjFDNy40NDUzMSAxMi41NzExIDcuNjA5MzggMTIuMTM3NSA4LjA1NDY5IDExLjk3MzVDOC40Mjk2OSAxMS44NDQ2IDguNzM0MzggMTEuOTg1MiA5LjAyNzM0IDEyLjMwMTZMMTEuNzQ2MSAxNS4xMDI0QzEyLjE5MTQgMTUuNTcxMSAxMi41ODk4IDE1LjYxOCAxMi45ODgzIDE1LjQ3NzRDMTMuNDQ1MyAxNS4zMTMzIDEzLjYzMjggMTQuODIxMSAxMy40NDUzIDE0LjMxNzJMOS4yOTY4OCAyLjkwMzJDOS4xMjEwOSAyLjQzNDQ1IDkuMzMyMDMgMS45ODkxNCA5Ljc4OTA2IDEuODI1MDhDMTAuMjM0NCAxLjY2MTAyIDEwLjY2OCAxLjg4MzY3IDEwLjgzMiAyLjM1MjQyTDEzLjc5NjkgMTAuNDk2OUMxMy45Mzc1IDEwLjg4MzYgMTQuMzcxMSAxMS4wNTk0IDE0Ljc1NzggMTAuOTE4OEMxNS4xMzI4IDEwLjc3ODIgMTUuMzQzOCAxMC4zNjggMTUuMjAzMSA5Ljk5MzA1TDE0LjEzNjcgNy4wNTE2NEMxNC4yODkxIDYuODk5MyAxNC41MjM0IDYuNzQ2OTUgMTQuNzM0NCA2LjY2NDkyQzE1LjI4NTIgNi40NjU3IDE1Ljc0MjIgNi43MTE4IDE1Ljk1MzEgNy4yODYwMkwxNi44OTA2IDkuODUyNDJDMTcuMDMxMiAxMC4yNTA4IDE3LjQ3NjYgMTAuNDAzMiAxNy44NTE2IDEwLjI2MjVDMTguMjAzMSAxMC4xMzM2IDE4LjQzNzUgOS43NDY5NSAxOC4yODUyIDkuMzM2OEwxNy41MjM0IDcuMjUwODZDMTcuNjg3NSA3LjA5ODUyIDE3LjkxMDIgNi45NDYxNyAxOC4xMzI4IDYuODY0MTRDMTguNjgzNiA2LjY2NDkyIDE5LjE0MDYgNi45MTEwMiAxOS4zNTE2IDcuNDg1MjNMMTkuOTcyNyA5LjE5NjE3QzIwLjEyNSA5LjYwNjMzIDIwLjU1ODYgOS43NTg2NyAyMC45MzM2IDkuNjE4MDVDMjEuMjk2OSA5LjQ4OTE0IDIxLjUxOTUgOS4wOTA3IDIxLjM3ODkgOC42OTIyN0wyMC45MjE5IDcuNDI2NjRDMjEuODk0NSA3LjA3NTA4IDIyLjgyMDMgNy44NzE5NSAyMy40NTMxIDkuNjI5NzdMMjQuMTkxNCAxMS42MzM2QzI1Ljc5NjkgMTYuMDYzMyAyNC4zNDM4IDE5LjQzODMgMjAuNDQxNCAyMC44NTYzWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},linkOut:{alt:"Link Out",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTkuNjEyOSAxNEg2LjM4NzFDMy4zNTQ4NCAxNCAyIDEyLjY0NTIgMiA5LjYxMjlWNi4zODcxQzIgMy4zNTQ4NCAzLjM1NDg0IDIgNi4zODcxIDJINy40ODM4N0M3Ljg3MDk3IDIgOC4xMjkwMyAyLjI1ODA2IDguMTI5MDMgMi42NDUxNkM4LjEyOTAzIDMuMDMyMjYgNy44NzA5NyAzLjI5MDMyIDcuNDgzODcgMy4yOTAzMkg2LjM4NzFDNC4wNjQ1MiAzLjI5MDMyIDMuMjkwMzIgNC4wNjQ1MiAzLjI5MDMyIDYuMzg3MVY5LjYxMjlDMy4yOTAzMiAxMS45MzU1IDQuMDY0NTIgMTIuNzA5NyA2LjM4NzEgMTIuNzA5N0g5LjYxMjlDMTEuOTM1NSAxMi43MDk3IDEyLjcwOTcgMTEuOTM1NSAxMi43MDk3IDkuNjEyOVY4LjUxNjEzQzEyLjcwOTcgOC4xMjkwMyAxMi45Njc3IDcuODcwOTcgMTMuMzU0OCA3Ljg3MDk3QzEzLjc0MTkgNy44NzA5NyAxNCA4LjEyOTAzIDE0IDguNTE2MTNWOS42MTI5QzE0IDEyLjY0NTIgMTIuNjQ1MiAxNCA5LjYxMjkgMTRaTTguNTE2MTMgOC4xMjkwM0M4LjMyMjU4IDguMTI5MDMgOC4xOTM1NSA4LjA2NDUyIDguMDY0NTIgNy45MzU0OEM3LjgwNjQ1IDcuNjc3NDIgNy44MDY0NSA3LjI5MDMyIDguMDY0NTIgNy4wMzIyNkwxMS44MDY1IDMuMjkwMzJIMTAuNzc0MkMxMC4zODcxIDMuMjkwMzIgMTAuMTI5IDMuMDMyMjYgMTAuMTI5IDIuNjQ1MTZDMTAuMTI5IDIuMjU4MDYgMTAuMzg3MSAyIDEwLjc3NDIgMkgxMy4zNTQ4QzEzLjc0MTkgMiAxNCAyLjI1ODA2IDE0IDIuNjQ1MTZWNS4yMjU4MUMxNCA1LjYxMjkgMTMuNzQxOSA1Ljg3MDk3IDEzLjM1NDggNS44NzA5N0MxMi45Njc3IDUuODcwOTcgMTIuNzA5NyA1LjYxMjkgMTIuNzA5NyA1LjIyNTgxVjQuMTkzNTVMOC45Njc3NCA3LjkzNTQ4QzguODM4NzEgOC4wNjQ1MiA4LjcwOTY4IDguMTI5MDMgOC41MTYxMyA4LjEyOTAzWiIgZmlsbD0iIzAzNzZDOSIvPgo8L3N2Zz4K"},heading:{alt:"Heading",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTAiIHZpZXdCb3g9IjAgMCAyMCAxMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMS4yNTA2MiAzLjU4NDA1SDE4LjczOTRDMTkuNTczMiAzLjU4NDA1IDIwIDMuMTc3MSAyMCAyLjM0MzM1VjEuNTk4OTRDMjAgMC43ODUwMzkgMTkuNTczMiAwLjM2ODE2NCAxOC43Mzk0IDAuMzY4MTY0SDEuMjUwNjJDMC40MTY4NzQgMC4zNjgxNjQgMCAwLjc4NTAzOSAwIDEuNTk4OTRWMi4zNDMzNUMwIDMuMTc3MSAwLjQxNjg3NCAzLjU4NDA1IDEuMjUwNjIgMy41ODQwNVpNMS4yNTA2MiA5LjYzMjAySDguNjY1MDNDOS40OTg3MSA5LjYzMjAyIDkuOTE1NiA5LjIyNTA1IDkuOTE1NiA4LjM5MTM2VjcuNjQ2ODdDOS45MTU2IDYuODMzIDkuNDk4NzEgNi40MTYxMiA4LjY2NTAzIDYuNDE2MTJIMS4yNTA2MkMwLjQxNjg3NCA2LjQxNjEyIDAgNi44MzMgMCA3LjY0Njg3VjguMzkxMzZDMCA5LjIyNTA1IDAuNDE2ODc0IDkuNjMyMDIgMS4yNTA2MiA5LjYzMjAyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},text:{alt:"Text",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTgiIHZpZXdCb3g9IjAgMCAyMCAxOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMC43NDQ0MTYgMS45MTgxOUgxOS4yMzU3QzE5LjY1MjYgMS45MTgxOSAyMCAxLjU5MDY1IDIwIDEuMTYzODVDMjAgMC43NDY5NzcgMTkuNjUyNiAwLjQxOTQzNCAxOS4yMzU3IDAuNDE5NDM0SDAuNzQ0NDE2QzAuMzI3NTQzIDAuNDE5NDM0IDAgMC43NDY5NzcgMCAxLjE2Mzg1QzAgMS41OTA2NSAwLjMyNzU0MyAxLjkxODE5IDAuNzQ0NDE2IDEuOTE4MTlaTTAuNzQ0NDE2IDcuMTE5MThIMTkuMjM1N0MxOS42NTI2IDcuMTE5MTggMjAgNi43OTE2NCAyMCA2LjM2NDg0QzIwIDUuOTQ3OTYgMTkuNjUyNiA1LjYyMDQyIDE5LjIzNTcgNS42MjA0MkgwLjc0NDQxNkMwLjMyNzU0MyA1LjYyMDQyIDAgNS45NDc5NiAwIDYuMzY0ODRDMCA2Ljc5MTY0IDAuMzI3NTQzIDcuMTE5MTggMC43NDQ0MTYgNy4xMTkxOFpNMC43NDQ0MTYgMTIuMzIwMkgxOS4yMzU3QzE5LjY1MjYgMTIuMzIwMiAyMCAxMS45ODI3IDIwIDExLjU2NTlDMjAgMTEuMTQ5IDE5LjY1MjYgMTAuODIxNCAxOS4yMzU3IDEwLjgyMTRIMC43NDQ0MTZDMC4zMjc1NDMgMTAuODIxNCAwIDExLjE0OSAwIDExLjU2NTlDMCAxMS45ODI3IDAuMzI3NTQzIDEyLjMyMDIgMC43NDQ0MTYgMTIuMzIwMlpNMC43NDQ0MTYgMTcuNTExMkgxMS4zNjQ4QzExLjc4MTcgMTcuNTExMiAxMi4xMTkxIDE3LjE4MzcgMTIuMTE5MSAxNi43NjY4QzEyLjExOTEgMTYuMzQ5OSAxMS43ODE3IDE2LjAxMjUgMTEuMzY0OCAxNi4wMTI1SDAuNzQ0NDE2QzAuMzI3NTQzIDE2LjAxMjUgMCAxNi4zNDk5IDAgMTYuNzY2OEMwIDE3LjE4MzcgMC4zMjc1NDMgMTcuNTExMiAwLjc0NDQxNiAxNy41MTEyWiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},copyable:{alt:"Copyable",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAxNiAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMTEuODI1IDAuNjAzMDI3SDguNjc1QzYuMzYyNjkgMC42MDMwMjcgNS4yNzgyMyAxLjQyMzU5IDUuMDUyMzEgMy40MDcyOUM1LjAwNTA0IDMuODIyMjkgNS4zNDg3NCA0LjE2NTUzIDUuNzY2NDMgNC4xNjU1M0g3LjMyNUMxMC40NzUgNC4xNjU1MyAxMS45Mzc1IDUuNjI4MDMgMTEuOTM3NSA4Ljc3ODAzVjEwLjMzNjZDMTEuOTM3NSAxMC43NTQzIDEyLjI4MDcgMTEuMDk4IDEyLjY5NTcgMTEuMDUwN0MxNC42Nzk0IDEwLjgyNDggMTUuNSA5Ljc0MDM0IDE1LjUgNy40MjgwM1Y0LjI3ODAzQzE1LjUgMS42NTMwMyAxNC40NSAwLjYwMzAyNyAxMS44MjUgMC42MDMwMjdaIiBmaWxsPSIjQkJDMEM1Ii8+CiAgPHBhdGggZD0iTTcuMzI1IDUuMTAzMDNINC4xNzVDMS41NSA1LjEwMzAzIDAuNSA2LjE1MzAzIDAuNSA4Ljc3ODAzVjExLjkyOEMwLjUgMTQuNTUzIDEuNTUgMTUuNjAzIDQuMTc1IDE1LjYwM0g3LjMyNUM5Ljk1IDE1LjYwMyAxMSAxNC41NTMgMTEgMTEuOTI4VjguNzc4MDNDMTEgNi4xNTMwMyA5Ljk1IDUuMTAzMDMgNy4zMjUgNS4xMDMwM1pNOC4yMTc1IDkuMzQwNTNMNS40MzUgMTIuMTIzQzUuMzMgMTIuMjI4IDUuMTk1IDEyLjI4MDUgNS4wNTI1IDEyLjI4MDVDNC45MSAxMi4yODA1IDQuNzc1IDEyLjIyOCA0LjY3IDEyLjEyM0wzLjI3NSAxMC43MjhDMy4wNjUgMTAuNTE4IDMuMDY1IDEwLjE4MDUgMy4yNzUgOS45NzA1M0MzLjQ4NSA5Ljc2MDUzIDMuODIyNSA5Ljc2MDUzIDQuMDMyNSA5Ljk3MDUzTDUuMDQ1IDEwLjk4M0w3LjQ1MjUgOC41NzU1M0M3LjY2MjUgOC4zNjU1MyA4IDguMzY1NTMgOC4yMSA4LjU3NTUzQzguNDIgOC43ODU1MyA4LjQyNzUgOS4xMzA1MyA4LjIxNzUgOS4zNDA1M1oiIGZpbGw9IiNCQkMwQzUiLz4KPC9zdmc+Cg=="},divider:{alt:"Divider",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMiIgdmlld0JveD0iMCAwIDIwIDIiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPHBhdGggZD0iTTAuNzQ0NDE2IDEuNzQ5NDlIMTkuMjM1N0MxOS42NTI2IDEuNzQ5NDkgMjAgMS40MjE5NSAyMCAxLjAwNTA3QzIwIDAuNTg4MjA0IDE5LjY1MjYgMC4yNTA3MzIgMTkuMjM1NyAwLjI1MDczMkgwLjc0NDQxNkMwLjMyNzU0MyAwLjI1MDczMiAwIDAuNTg4MjA0IDAgMS4wMDUwN0MwIDEuNDIxOTUgMC4zMjc1NDMgMS43NDk0OSAwLjc0NDQxNiAxLjc0OTQ5WiIgZmlsbD0iI0JCQzBDNSIvPgo8L3N2Zz4K"},box:{alt:"Box",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjEiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMSAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8cGF0aCBkPSJNMy4wMzg1MSAxNS42NzI5SDE3LjUyNzlDMTkuMjg1NyAxNS42NzI5IDIwLjE1NjMgMTQuODAyMyAyMC4xNTYzIDEzLjA3OFYxMC42MDg3QzIwLjE1NjMgMTAuMTczNCAxOS45MTM1IDkuOTMwNjcgMTkuNDc4MiA5LjkzMDY3QzE5LjA0MyA5LjkzMDY3IDE4LjgwODYgMTAuMTczNCAxOC44MDg2IDEwLjYwODdWMTMuMDExQzE4LjgwODYgMTMuODgxNSAxOC4zMzE1IDE0LjMyNTIgMTcuNTExMSAxNC4zMjUySDMuMDYzNjFDMi4yMjY1NiAxNC4zMjUyIDEuNzY2MTkgMTMuODgxNSAxLjc2NjE5IDEzLjAxMVYxMC42MDg3QzEuNzY2MTkgMTAuMTczNCAxLjUxNTA2IDkuOTMwNjcgMS4wODgxNyA5LjkzMDY3QzAuNjYxMjcyIDkuOTMwNjcgMC40MTg1MjcgMTAuMTczNCAwLjQxODUyNyAxMC42MDg3VjEzLjA3OEMwLjQxODUyNyAxNC44MTA3IDEuMjk3NDQgMTUuNjcyOSAzLjAzODUxIDE1LjY3MjlaTTMuMDM4NTEgMC4yNjI2OTVDMS4yOTc0NCAwLjI2MjY5NSAwLjQxODUyNyAxLjEyNDg2IDAuNDE4NTI3IDIuODU3NTZWNC45MDgzNEMwLjQxODUyNyA1LjM0MzYxIDAuNjYxMjcyIDUuNTk0NzMgMS4wODgxNyA1LjU5NDczQzEuNTE1MDYgNS41OTQ3MyAxLjc2NjE5IDUuMzQzNjEgMS43NjYxOSA0LjkwODM0VjIuOTI0NTNDMS43NjYxOSAyLjA1Mzk5IDIuMjI2NTYgMS42MTAzNSAzLjA2MzYxIDEuNjEwMzVIMTcuNTExMUMxOC4zMzE1IDEuNjEwMzUgMTguODA4NiAyLjA1Mzk5IDE4LjgwODYgMi45MjQ1M1Y0LjkwODM0QzE4LjgwODYgNS4zNDM2MSAxOS4wNTE0IDUuNTk0NzMgMTkuNDc4MiA1LjU5NDczQzE5LjkyMTkgNS41OTQ3MyAyMC4xNTYzIDUuMzQzNjEgMjAuMTU2MyA0LjkwODM0VjIuODU3NTZDMjAuMTU2MyAxLjEzMzIzIDE5LjI4NTcgMC4yNjI2OTUgMTcuNTI3OSAwLjI2MjY5NUgzLjAzODUxWk0xLjA4ODE3IDguODQyNTNDMS42OTA4NSA4Ljg0MjUzIDIuMTc2MzQgOC4zNDg2NyAyLjE3NjM0IDcuNzQ1OTVDMi4xNzYzNCA3LjE1MTY1IDEuNjkwODUgNi42NjYxNSAxLjA4ODE3IDYuNjY2MTVDMC40OTM4NjEgNi42NjYxNSAwIDcuMTUxNjUgMCA3Ljc0NTk1QzAgOC4zNDg2NyAwLjQ5Mzg2MSA4Ljg0MjUzIDEuMDg4MTcgOC44NDI1M1pNMTkuNDc4MiA4Ljg0MjUzQzIwLjA3MjYgOC44NDI1MyAyMC41NjY0IDguMzQ4NjcgMjAuNTY2NCA3Ljc0NTk1QzIwLjU2NjQgNy4xNTE2NSAyMC4wNzI2IDYuNjY2MTUgMTkuNDc4MiA2LjY2NjE1QzE4Ljg3NTYgNi42NjYxNSAxOC4zOTAxIDcuMTQzMjggMTguMzkwMSA3Ljc0NTk1QzE4LjM5MDEgOC4zNDg2NyAxOC44NzU2IDguODQyNTMgMTkuNDc4MiA4Ljg0MjUzWk03LjU0MTg2IDExLjg5NzdDNy44NDMyMSAxMS44OTc3IDguMDUyNDMgMTEuNzU1NSA4LjE3OCAxMS4zNjJMOC43ODkwNyA5LjU3OTFIMTEuNzg1N0wxMi4zOTY4IDExLjM2MkMxMi41MjIzIDExLjc0NzEgMTIuNzM5OSAxMS44OTc3IDEzLjA0MTMgMTEuODk3N0MxMy40MDk2IDExLjg5NzcgMTMuNjYwNyAxMS42NTUgMTMuNjYwNyAxMS4zMjAyQzEzLjY2MDcgMTEuMTg2MiAxMy42MzU2IDExLjA2OSAxMy41Njg2IDEwLjg4NDlMMTEuMjI0OSA0LjU2NTE1QzExLjA1NzUgNC4xMjk4OCAxMC43Mzk0IDMuOTAzODggMTAuMjc5IDMuOTAzODhDOS44MjcgMy45MDM4OCA5LjUxNzI5IDQuMTI5ODggOS4zNTgyOSA0LjU2NTE1TDcuMDA2MTQgMTAuODg0OUM2Ljk0NzU0IDExLjA2OSA2LjkxNDA2IDExLjE4NjIgNi45MTQwNiAxMS4zMTE4QzYuOTE0MDYgMTEuNjYzNCA3LjE2NTE0IDExLjg5NzcgNy41NDE4NiAxMS44OTc3Wk05LjEzMjI5IDguNTc0NjdMMTAuMjQ1NiA1LjMzNTI0SDEwLjMzNzZMMTEuNDUwOSA4LjU3NDY3SDkuMTMyMjlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="},ui:{alt:"UI",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjUiIHZpZXdCb3g9IjAgMCAyNCAyNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KICA8ZyBvcGFjaXR5PSIwLjUiPgogICAgPHJlY3QgeT0iMC4xMDMwMjciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgcng9IjEyIiBmaWxsPSIjMDM3REQ2IiBmaWxsLW9wYWNpdHk9IjAuMSIvPgogICAgPHBhdGggZD0iTTYuNzY3NDQgMTAuNTUwN0M2Ljc2NTY5IDEwLjU1MDcgNi43NjEzMSAxMC41NTAxIDYuNzU1OTQgMTAuNTQ0OEM2Ljc1MDU3IDEwLjUzOTQgNi43NSAxMC41MzUgNi43NSAxMC41MzMzVjkuMjI1MTJDNi43NSA3LjkxNTI1IDcuODE2NTMgNi44NTMwMyA5LjEyMjA5IDYuODUzMDNIMTAuNDMwMkMxMC40MzIgNi44NTMwMyAxMC40MzY0IDYuODUzNTkgMTAuNDQxNyA2Ljg1ODk2QzEwLjQ0NzEgNi44NjQzMyAxMC40NDc3IDYuODY4NzIgMTAuNDQ3NyA2Ljg3MDQ3QzEwLjQ0NzcgNi44NzIyMiAxMC40NDcxIDYuODc2NjEgMTAuNDQxNyA2Ljg4MTk4QzEwLjQzNjQgNi44ODczNSAxMC40MzIgNi44ODc5MSAxMC40MzAyIDYuODg3OTFIOS4xMjIwOUM3LjgzMTg1IDYuODg3OTEgNi43ODQ4OCA3LjkzNDg3IDYuNzg0ODggOS4yMjUxMlYxMC41MzMzQzYuNzg0ODggMTAuNTM1IDYuNzg0MzIgMTAuNTM5NCA2Ljc3ODk1IDEwLjU0NDhDNi43NzM1OCAxMC41NTAxIDYuNzY5MTkgMTAuNTUwNyA2Ljc2NzQ0IDEwLjU1MDdaTTE3LjIzMjYgMTAuNTUwN0MxNy4yMzA4IDEwLjU1MDcgMTcuMjI2NCAxMC41NTAxIDE3LjIyMTEgMTAuNTQ0OEMxNy4yMTU3IDEwLjUzOTQgMTcuMjE1MSAxMC41MzUgMTcuMjE1MSAxMC41MzMzVjkuMjI1MTJDMTcuMjE1MSA3LjkzNDg3IDE2LjE2ODIgNi44ODc5MSAxNC44Nzc5IDYuODg3OTFIMTMuNTY5OEMxMy41NjggNi44ODc5MSAxMy41NjM2IDYuODg3MzUgMTMuNTU4MyA2Ljg4MTk4QzEzLjU1MjkgNi44NzY2MSAxMy41NTIzIDYuODcyMjIgMTMuNTUyMyA2Ljg3MDQ3QzEzLjU1MjMgNi44Njg3MiAxMy41NTI5IDYuODY0MzMgMTMuNTU4MyA2Ljg1ODk2QzEzLjU2MzYgNi44NTM1OSAxMy41NjggNi44NTMwMyAxMy41Njk4IDYuODUzMDNIMTQuODc3OUMxNi4xODM1IDYuODUzMDMgMTcuMjUgNy45MTUyNSAxNy4yNSA5LjIyNTEyVjEwLjUzMzNDMTcuMjUgMTAuNTM1IDE3LjI0OTQgMTAuNTM5NCAxNy4yNDQxIDEwLjU0NDhDMTcuMjM4NyAxMC41NTAxIDE3LjIzNDMgMTAuNTUwNyAxNy4yMzI2IDEwLjU1MDdaTTE0Ljg3NzkgMTcuMzUzSDE0LjA5M0MxNC4wOTEzIDE3LjM1MyAxNC4wODY5IDE3LjM1MjUgMTQuMDgxNSAxNy4zNDcxQzE0LjA3NjEgMTcuMzQxNyAxNC4wNzU2IDE3LjMzNzMgMTQuMDc1NiAxNy4zMzU2QzE0LjA3NTYgMTcuMzMzOCAxNC4wNzYxIDE3LjMyOTQgMTQuMDgxNSAxNy4zMjQxQzE0LjA4NjkgMTcuMzE4NyAxNC4wOTEzIDE3LjMxODEgMTQuMDkzIDE3LjMxODFIMTQuODc3OUMxNi4xNjgyIDE3LjMxODEgMTcuMjE1MSAxNi4yNzEyIDE3LjIxNTEgMTQuOTgwOVYxNC4xOTYxQzE3LjIxNTEgMTQuMTk0MyAxNy4yMTU3IDE0LjE4OTkgMTcuMjIxMSAxNC4xODQ1QzE3LjIyNjQgMTQuMTc5MiAxNy4yMzA4IDE0LjE3ODYgMTcuMjMyNiAxNC4xNzg2QzE3LjIzNDMgMTQuMTc4NiAxNy4yMzg3IDE0LjE3OTIgMTcuMjQ0MSAxNC4xODQ1QzE3LjI0OTQgMTQuMTg5OSAxNy4yNSAxNC4xOTQzIDE3LjI1IDE0LjE5NjFWMTQuOTgwOUMxNy4yNSAxNi4yOTA4IDE2LjE4MzUgMTcuMzUzIDE0Ljg3NzkgMTcuMzUzWk0xMC40MzAyIDE3LjM1M0g5LjEyMjA5QzcuODE2NTMgMTcuMzUzIDYuNzUgMTYuMjkwOCA2Ljc1IDE0Ljk4MDlWMTMuNjcyOEM2Ljc1IDEzLjY3MSA2Ljc1MDU3IDEzLjY2NjcgNi43NTU5NCAxMy42NjEzQzYuNzYxMzEgMTMuNjU1OSA2Ljc2NTY5IDEzLjY1NTQgNi43Njc0NCAxMy42NTU0QzYuNzY5MTkgMTMuNjU1NCA2Ljc3MzU4IDEzLjY1NTkgNi43Nzg5NSAxMy42NjEzQzYuNzg0MzIgMTMuNjY2NyA2Ljc4NDg4IDEzLjY3MSA2Ljc4NDg4IDEzLjY3MjhWMTQuOTgwOUM2Ljc4NDg4IDE2LjI3MTIgNy44MzE4NSAxNy4zMTgxIDkuMTIyMDkgMTcuMzE4MUgxMC40MzAyQzEwLjQzMiAxNy4zMTgxIDEwLjQzNjQgMTcuMzE4NyAxMC40NDE3IDE3LjMyNDFDMTAuNDQ3MSAxNy4zMjk0IDEwLjQ0NzcgMTcuMzMzOCAxMC40NDc3IDE3LjMzNTZDMTAuNDQ3NyAxNy4zMzczIDEwLjQ0NzEgMTcuMzQxNyAxMC40NDE3IDE3LjM0NzFDMTAuNDM2NCAxNy4zNTI1IDEwLjQzMiAxNy4zNTMgMTAuNDMwMiAxNy4zNTNaTTkuMzgzNzIgOC45NDYwNUgxMC40MzAyQzEwLjY2NTggOC45NDYwNSAxMC43ODUzIDkuMDA3MzggMTAuODQ3MiA5LjA2ODk3QzEwLjkwODcgOS4xMzAyOSAxMC45NzA5IDkuMjQ5MzMgMTAuOTcwOSA5LjQ4Njc1VjEwLjUzMzNDMTAuOTcwOSAxMC43NzA3IDEwLjkwODcgMTAuODg5NyAxMC44NDcyIDEwLjk1MUMxMC43ODUzIDExLjAxMjYgMTAuNjY1OCAxMS4wNzQgMTAuNDMwMiAxMS4wNzRIOS4zODM3MkM5LjE0ODEyIDExLjA3NCA5LjAyODY0IDExLjAxMjYgOC45NjY3OCAxMC45NTFDOC45MDUyMSAxMC44ODk3IDguODQzMDIgMTAuNzcwNyA4Ljg0MzAyIDEwLjUzMzNWOS40ODY3NUM4Ljg0MzAyIDkuMjQ5MzMgOC45MDUyMSA5LjEzMDI5IDguOTY2NzggOS4wNjg5N0M5LjAyODY0IDkuMDA3MzggOS4xNDgxMiA4Ljk0NjA1IDkuMzgzNzIgOC45NDYwNVpNMTMuNTY5OCA4Ljk0NjA1SDE0LjYxNjNDMTQuODUxOSA4Ljk0NjA1IDE0Ljk3MTQgOS4wMDczOCAxNS4wMzMyIDkuMDY4OTdDMTUuMDk0OCA5LjEzMDI5IDE1LjE1NyA5LjI0OTMzIDE1LjE1NyA5LjQ4Njc1VjEwLjUzMzNDMTUuMTU3IDEwLjc3MDcgMTUuMDk0OCAxMC44ODk3IDE1LjAzMzIgMTAuOTUxQzE0Ljk3MTQgMTEuMDEyNiAxNC44NTE5IDExLjA3NCAxNC42MTYzIDExLjA3NEgxMy41Njk4QzEzLjMzNDIgMTEuMDc0IDEzLjIxNDcgMTEuMDEyNiAxMy4xNTI4IDEwLjk1MUMxMy4wOTEzIDEwLjg4OTcgMTMuMDI5MSAxMC43NzA3IDEzLjAyOTEgMTAuNTMzM1Y5LjQ4Njc1QzEzLjAyOTEgOS4yNDkzMyAxMy4wOTEzIDkuMTMwMjkgMTMuMTUyOCA5LjA2ODk3QzEzLjIxNDcgOS4wMDczOCAxMy4zMzQyIDguOTQ2MDUgMTMuNTY5OCA4Ljk0NjA1Wk05LjM4MzcyIDEzLjEzMjFIMTAuNDMwMkMxMC42NjU4IDEzLjEzMjEgMTAuNzg1MyAxMy4xOTM0IDEwLjg0NzIgMTMuMjU1QzEwLjkwODcgMTMuMzE2MyAxMC45NzA5IDEzLjQzNTQgMTAuOTcwOSAxMy42NzI4VjE0LjcxOTNDMTAuOTcwOSAxNC45NTY3IDEwLjkwODcgMTUuMDc1OCAxMC44NDcyIDE1LjEzNzFDMTAuNzg1MyAxNS4xOTg3IDEwLjY2NTggMTUuMjYgMTAuNDMwMiAxNS4yNkg5LjM4MzcyQzkuMTQ4MTIgMTUuMjYgOS4wMjg2NCAxNS4xOTg3IDguOTY2NzggMTUuMTM3MUM4LjkwNTIxIDE1LjA3NTggOC44NDMwMiAxNC45NTY3IDguODQzMDIgMTQuNzE5M1YxMy42NzI4QzguODQzMDIgMTMuNDM1NCA4LjkwNTIxIDEzLjMxNjMgOC45NjY3OCAxMy4yNTVDOS4wMjg2NCAxMy4xOTM0IDkuMTQ4MTIgMTMuMTMyMSA5LjM4MzcyIDEzLjEzMjFaTTEzLjU2OTggMTMuMTMyMUgxNC42MTYzQzE0Ljg1MTkgMTMuMTMyMSAxNC45NzE0IDEzLjE5MzQgMTUuMDMzMiAxMy4yNTVDMTUuMDk0OCAxMy4zMTYzIDE1LjE1NyAxMy40MzU0IDE1LjE1NyAxMy42NzI4VjE0LjcxOTNDMTUuMTU3IDE0Ljk1NjcgMTUuMDk0OCAxNS4wNzU4IDE1LjAzMzIgMTUuMTM3MUMxNC45NzE0IDE1LjE5ODcgMTQuODUxOSAxNS4yNiAxNC42MTYzIDE1LjI2SDEzLjU2OThDMTMuMzM0MiAxNS4yNiAxMy4yMTQ3IDE1LjE5ODcgMTMuMTUyOCAxNS4xMzcxQzEzLjA5MTMgMTUuMDc1OCAxMy4wMjkxIDE0Ljk1NjcgMTMuMDI5MSAxNC43MTkzVjEzLjY3MjhDMTMuMDI5MSAxMy40MzU0IDEzLjA5MTMgMTMuMzE2MyAxMy4xNTI4IDEzLjI1NUMxMy4yMTQ3IDEzLjE5MzQgMTMuMzM0MiAxMy4xMzIxIDEzLjU2OTggMTMuMTMyMVoiIGZpbGw9IiMwMzc2QzkiIHN0cm9rZT0iIzAzN0RENiIgc3Ryb2tlLXdpZHRoPSIwLjc1Ii8+CiAgPC9nPgo8L3N2Zz4K"},image:{alt:"Image",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTYiIHZpZXdCb3g9IjAgMCAyMCAxNiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4Ljg3NTYgMTIuNTE0NUwxMy45MDM0IDcuODQzNzFDMTMuNTI2OCA3LjUwODkyIDEzLjA5MTUgNy4zMjQ3OCAxMi42Mzk1IDcuMzI0NzhDMTIuMTc5MSA3LjMyNDc4IDExLjc2OSA3LjQ4Mzc4IDExLjM4MzkgNy44MjdMNy42MDA0MyAxMS4yMDg3TDYuMDUxOSA5LjgxMDg1QzUuNzAwMzQgOS40OTI3MSA1LjMxNTI5IDkuMzMzNzEgNC45MjE4NyA5LjMzMzcxQzQuNTQ1MiA5LjMzMzcxIDQuMTkzNjQgOS40ODQzNSAzLjg0MjA4IDkuODAyNDJMMC42NTI5MDEgMTIuNjgxOUMwLjcwMzEyNSAxNC4xOTcgMS4zMjI1NCAxNC45NjcxIDIuNTY5NzYgMTQuOTY3MUgxNi41OTg4QzE4LjExMzkgMTQuOTY3MSAxOC44NzU2IDE0LjEyMTYgMTguODc1NiAxMi41MTQ1Wk02LjIzNjA1IDcuOTI3NDJDNy4zMTU4NiA3LjkyNzQyIDguMjAzMTQgNy4wNDAxNyA4LjIwMzE0IDUuOTUyQzguMjAzMTQgNC44NzIyIDcuMzE1ODYgMy45NzY1NiA2LjIzNjA1IDMuOTc2NTZDNS4xNDc4OCAzLjk3NjU2IDQuMjYwNiA0Ljg3MjIgNC4yNjA2IDUuOTUyQzQuMjYwNiA3LjA0MDE3IDUuMTQ3ODggNy45Mjc0MiA2LjIzNjA1IDcuOTI3NDJaTTIuNjI4MzUgMTUuNTUzSDE3LjEwOTRDMTguODY3MiAxNS41NTMgMTkuNzM3NyAxNC42OTA5IDE5LjczNzcgMTIuOTY2NVYyLjczNzcyQzE5LjczNzcgMS4wMTMzOSAxOC44NjcyIDAuMTQyODUzIDE3LjEwOTQgMC4xNDI4NTNIMi42MjgzNUMwLjg3ODkwNyAwLjE0Mjg1MyAwIDEuMDEzMzkgMCAyLjczNzcyVjEyLjk2NjVDMCAxNC42OTA5IDAuODc4OTA3IDE1LjU1MyAyLjYyODM1IDE1LjU1M1pNMi42NDUwOSAxNC4yMDU0QzEuODA4MDQgMTQuMjA1NCAxLjM0NzY2IDEzLjc2MTcgMS4zNDc2NiAxMi44OTEyVjIuODEzMDVDMS4zNDc2NiAxLjk0MjUyIDEuODA4MDQgMS40OTA1MSAyLjY0NTA5IDEuNDkwNTFIMTcuMDkyNkMxNy45MjEzIDEuNDkwNTEgMTguMzkwMSAxLjk0MjUyIDE4LjM5MDEgMi44MTMwNVYxMi44OTEyQzE4LjM5MDEgMTMuNzYxNyAxNy45MjEzIDE0LjIwNTQgMTcuMDkyNiAxNC4yMDU0SDIuNjQ1MDlaIiBmaWxsPSIjQkJDMEM1Ii8+Cjwvc3ZnPgo="},button:{alt:"Button",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOSIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDkgMTAiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjMzODEzIDkuMjExOThDMS41NDkwNyA5LjIxMTk4IDEuNzM0OSA5LjEzNjY1IDEuOTY1OTIgOS4wMDEwNUw3Ljg5NzI5IDUuNTcwOEM4LjMyOTIxIDUuMzE5NjggOC41MTAwMSA1LjEyMzgxIDguNTEwMDEgNC44MDc0MUM4LjUxMDAxIDQuNDkxIDguMzI5MjEgNC4zMDAxNSA3Ljg5NzI5IDQuMDQ0MDFMMS45NjU5MiAwLjYxMzc3QzEuNzM0OSAwLjQ3ODE2NyAxLjU0OTA3IDAuNDAyODMyIDEuMzM4MTMgMC40MDI4MzJDMC45MjYzMDQgMC40MDI4MzIgMC42MzUwMSAwLjcxOTIzOCAwLjYzNTAxIDEuMjE2NDVWOC4zOTgzN0MwLjYzNTAxIDguOTAwNiAwLjkyNjMwNCA5LjIxMTk4IDEuMzM4MTMgOS4yMTE5OFoiIGZpbGw9IiM5RkE2QUUiLz4KPC9zdmc+Cg=="},form:{alt:"Form",src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0xLjQzOTgyIDIuNTk3NTJMMS44NTY2NyAyLjI5MTE2TDIuMjYzNDggMi41OTc1MkMyLjQzNDI0IDIuNzIzMDcgMi42MzAxMSAyLjU4NzQ3IDIuNTY0ODIgMi4zOTY2MkwyLjM5OTA4IDEuODk0MzlMMi44MTA5MSAxLjU4ODAzQzIuOTY2NjEgMS40NzI1MiAyLjkwMTMyIDEuMjUxNTMgMi43MTA0NyAxLjI1MTUzSDIuMTk4MTlMMi4wMjc0MyAwLjcxNDE0NkMxLjk3MjE5IDAuNTQ4NDEgMS43NDExNiAwLjU0ODQxIDEuNjg1OTEgMC43MTQxNDZMMS41MTUxNSAxLjI1MTUzSDAuOTk3ODU1QzAuODAxOTg1IDEuMjUxNTMgMC43MzY2OTUgMS40NzI1MiAwLjg5MjM4NyAxLjU4ODAzTDEuMzA5MjQgMS44OTQzOUwxLjE0ODUyIDIuMzk2NjJDMS4wODMyMyAyLjU4NzQ3IDEuMjc0MDggMi43MjMwNyAxLjQzOTgyIDIuNTk3NTJaTTQuMzk3OTcgMi4yMDA3NUgxMC43MDZDMTAuOTc3MiAyLjIwMDc1IDExLjE4ODEgMS45ODk4MiAxMS4xODgxIDEuNzE4NjFDMTEuMTg4MSAxLjQ0NzQxIDEwLjk3NzIgMS4yMzY0NyAxMC43MDYgMS4yMzY0N0g0LjM5Nzk3QzQuMTI2NzYgMS4yMzY0NyAzLjkxNTgyIDEuNDQ3NDEgMy45MTU4MiAxLjcxODYxQzMuOTE1ODIgMS45ODk4MiA0LjEyNjc2IDIuMjAwNzUgNC4zOTc5NyAyLjIwMDc1Wk0xLjQzOTgyIDUuNjgxMjJMMS44NTY2NyA1LjM3NDg2TDIuMjYzNDggNS42ODEyMkMyLjQzNDI0IDUuODExOCAyLjYzMDExIDUuNjcxMTggMi41NjQ4MiA1LjQ4MDMzTDIuMzk5MDggNC45NzgxTDIuODEwOTEgNC42NzE3NEMyLjk2NjYxIDQuNTU2MjIgMi45MDEzMiA0LjMzNTI0IDIuNzEwNDcgNC4zMzUyNEgyLjE5ODE5TDIuMDI3NDMgMy43OTc4NUMxLjk3MjE5IDMuNjMyMTIgMS43NDExNiAzLjYzMjEyIDEuNjg1OTEgMy43OTc4NUwxLjUxNTE1IDQuMzM1MjRIMC45OTc4NTVDMC44MDE5ODUgNC4zMzUyNCAwLjczNjY5NSA0LjU1NjIyIDAuODkyMzg3IDQuNjcxNzRMMS4zMDkyNCA0Ljk3ODFMMS4xNDg1MiA1LjQ4MDMzQzEuMDgzMjMgNS42NzExOCAxLjI3NDA4IDUuODA2NzggMS40Mzk4MiA1LjY4MTIyWk00LjM5Nzk3IDUuMjg5NDhIMTAuNzA2QzEwLjk3NzIgNS4yODk0OCAxMS4xODgxIDUuMDc4NTQgMTEuMTg4MSA0LjgwNzM0QzExLjE4ODEgNC41MzYxMyAxMC45NzcyIDQuMzI1MiAxMC43MDYgNC4zMjUySDQuMzk3OTdDNC4xMjY3NiA0LjMyNTIgMy45MTU4MiA0LjUzNjEzIDMuOTE1ODIgNC44MDczNEMzLjkxNTgyIDUuMDc4NTQgNC4xMjY3NiA1LjI4OTQ4IDQuMzk3OTcgNS4yODk0OFpNMS40Mzk4MiA4Ljc3NDk3TDEuODU2NjcgOC40Njg2MUwyLjI2MzQ4IDguNzc0OTdDMi40MzQyNCA4LjkwNTU1IDIuNjMwMTEgOC43NjQ5MyAyLjU2NDgyIDguNTc0MDhMMi4zOTkwOCA4LjA3MTg1TDIuODEwOTEgNy43NjU0OUMyLjk2NjYxIDcuNjQ5OTcgMi45MDEzMiA3LjQyODk5IDIuNzEwNDcgNy40Mjg5OUgyLjE5ODE5TDIuMDI3NDMgNi44OTE2QzEuOTcyMTkgNi43MjU4NyAxLjc0MTE2IDYuNzI1ODcgMS42ODU5MSA2Ljg5MTZMMS41MTUxNSA3LjQyODk5SDAuOTk3ODU1QzAuODAxOTg1IDcuNDI4OTkgMC43MzY2OTUgNy42NDk5NyAwLjg5MjM4NyA3Ljc2NTQ5TDEuMzA5MjQgOC4wNzE4NUwxLjE0ODUyIDguNTc0MDhDMS4wODMyMyA4Ljc2NDkzIDEuMjc0MDggOC45MDA1MyAxLjQzOTgyIDguNzc0OTdaTTQuMzk3OTcgOC4zNzgyMUgxMC43MDZDMTAuOTc3MiA4LjM3ODIxIDExLjE4ODEgOC4xNjcyNyAxMS4xODgxIDcuODk2MDdDMTEuMTg4MSA3LjYyNDg2IDEwLjk3NzIgNy40MTM5MiAxMC43MDYgNy40MTM5Mkg0LjM5Nzk3QzQuMTI2NzYgNy40MTM5MiAzLjkxNTgyIDcuNjI0ODYgMy45MTU4MiA3Ljg5NjA3QzMuOTE1ODIgOC4xNjcyNyA0LjEyNjc2IDguMzc4MjEgNC4zOTc5NyA4LjM3ODIxWiIgZmlsbD0iIzlGQTZBRSIvPgo8L3N2Zz4K"},input:{alt:"Input",src:eo},field:{alt:"Field",src:eo}},es=(0,U.forwardRef)(function(e,t){var r=e.icon,n=e.alt,i=void 0===n?ea[r].alt:n,o=e.width,a=void 0===o?"32px":o,s=e.height,l=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["icon","alt","width","height"]),u=(0,ei.useColorMode)().colorMode,c=ea[r],p=c.src,_=(0,z.hasProperty)(c,"srcDark")?c.srcDark:c.src;return(0,R.jsx)(ei.Image,function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);rr=>e(t(r)),r=Array.from(e).reverse().reduce((e,r)=>e?t(e,r.encode):r.encode,void 0),n=e.reduce((e,r)=>e?t(e,r.decode):r.decode,void 0);return{encode:r,decode:n}}function eT(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let r=e.indexOf(t);if(-1===r)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return r})}}}function ew(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}let eA=(e,t)=>t?eA(t,e%t):e,eC=(e,t)=>e+(t-eA(e,t));function eM(e,t,r,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(r<=0||r>32)throw Error(`convertRadix2: wrong to=${r}`);if(eC(t,r)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${r} carryBits=${eC(t,r)}`);let i=0,o=0,a=2**r-1,s=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(i=i<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=r;o-=r)s.push((i>>o-r&a)>>>0);i&=2**o-1}if(i=i<=t)throw Error("Excess padding");if(!n&&i)throw Error(`Non-zero padding: ${i}`);return n&&o>0&&s.push(i>>>0),s}let eN=eE(function(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(eC(8,e)>32||eC(e,8)>32)throw Error("radix2: carry overflow");return{encode:r=>{if(!(r instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return eM(Array.from(r),8,e,!t)},decode:r=>{if(!Array.isArray(r)||r.length&&"number"!=typeof r[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(eM(r,e,8,t))}}}(6),eT("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),function(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;r.length*e%8;)r.push(t);return r},decode(r){if(!Array.isArray(r)||r.length&&"string"!=typeof r[0])throw Error("padding.encode input should be array of strings");for(let e of r)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=r.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&r[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return r.slice(0,n)}}}(6),ew(""));var ej=r(5695),ek=r.n(ej),eI=r(9189),eO=r.n(eI);function eP(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function eF(e,...t){if(!(e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function eL(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function eR(e,t){eF(e);let r=t.outputLen;if(e.lengthnew Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),eB=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),eU=(e,t)=>e<<32-t|e>>>t,eq=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],eJ=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function e$(e){for(let t=0;te().update(eK(t)).digest(),r=e();return t.outputLen=r.outputLen,t.blockLen=r.blockLen,t.create=()=>e(),t}let eW=(e,t,r)=>e&t^~e&r,eQ=(e,t,r)=>e&t^e&r^t&r;class eH extends eY{constructor(e,t,r,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=r,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=eB(this.buffer)}update(e){eL(this);let{view:t,buffer:r,blockLen:n}=this;e=eK(e);let i=e.length;for(let o=0;on-o&&(this.process(r,0),o=0);for(let e=o;e>i&o),s=Number(r&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,a,n),e.setUint32(t+u,s,n)})(r,n-8,BigInt(8*this.length),i),this.process(r,0);let a=eB(e),s=this.outputLen;if(s%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=s/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e>>3,i=eU(r,17)^eU(r,19)^r>>>10;eX[e]=i+eX[e-7]+n+eX[e-16]|0}let{A:r,B:n,C:i,D:o,E:a,F:s,G:l,H:u}=this;for(let e=0;e<64;e++){let t=eU(a,6)^eU(a,11)^eU(a,25),c=u+t+eW(a,s,l)+eG[e]+eX[e]|0,p=eU(r,2)^eU(r,13)^eU(r,22),_=p+eQ(r,n,i)|0;u=l,l=s,s=a,a=o+c|0,o=i,i=n,n=r,r=c+_|0}r=r+this.A|0,n=n+this.B|0,i=i+this.C|0,o=o+this.D|0,a=a+this.E|0,s=s+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(r,n,i,o,a,s,l,u)}roundClean(){eX.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let e1=eV(()=>new e0);var e2=r(7152),e3=r.n(e2)()({proto:!1,circles:!1});function e4(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&void 0!==arguments[0]?arguments[0]:{};return(0,eD.refine)((0,eD.union)([(0,eD.string)(),(0,eD.instance)(URL)]),"uri",function(t){try{var r=new URL(t),n=(0,eD.type)(e);return(0,eD.assert)(r,n),!0}catch(e){return'Expected URL, got "'.concat(t.toString(),'".')}})};function ts(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}RegExp("^(?:[A-Za-z0-9-_]+( [A-Za-z0-9-_]+)*)|(?:(?:@[A-Za-z0-9-*~][A-Za-z0-9-*._~]*\\/)?[A-Za-z0-9-~][A-Za-z0-9-._~]*)$","u"),function(e){e.Installing="installing",e.Updating="updating",e.Running="running",e.Stopped="stopped",e.Crashed="crashed"}(l||(l={})),function(e){e.Start="START",e.Stop="STOP",e.Crash="CRASH",e.Update="UPDATE"}(u||(u={})),th(Error);function tv(){var e;return(e=function(e){var t,r,n,i,o,a,s;return tg(this,function(l){switch(l.label){case 0:var u;return t=e.manifest,r=e.sourceCode,n=e.svgIcon,i=e.auxiliaryFiles,o=e.localizationFiles,a=[(u=t.clone(),delete u.result.source.shasum,u.value=ek()(u.result),u),r,n].concat(tf(i),tf(o)).filter(function(e){return void 0!==e}),s=eN.encode,[4,function(e){return ti.apply(this,arguments)}(a)];case 1:return[2,s.apply(eN,[l.sent()])]}})},tv=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){tu(o,n,i,a,s,"next",e)}function s(e){tu(o,n,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var tx=(0,eD.pattern)((0,eD.string)(),RegExp("^[\\x21-\\x7E]*$","u")),tD=ta({protocol:(0,eD.enums)(["http:","https:"]),hostname:(0,eD.enums)(["localhost","127.0.0.1","[::1]"]),hash:(0,eD.empty)((0,eD.string)()),search:(0,eD.empty)((0,eD.string)())}),tS=(0,eD.refine)(tx,"local Snap Id",function(e){if(!e.startsWith(o.local))return'Expected local snap ID, got "'.concat(e,'".');var t=td((0,eD.validate)(e.slice(o.local.length),tD),1)[0];return null==t||t}),tE=(0,eD.intersection)([tx,ta({protocol:(0,eD.literal)(o.npm),pathname:(0,eD.refine)((0,eD.string)(),"package name",function(e){var t,r,n,i,o;return tg(this,function(a){switch(a.label){case 0:if(t=e.startsWith("/")?e.slice(1):e,n=(r=eO()(t)).errors,i=r.validForNewPackages,o=r.warnings,i)return[3,4];if(void 0!==n)return[3,2];return(0,z.assert)(void 0!==o),[5,tb(o)];case 1:return a.sent(),[3,4];case 2:return[5,tb(n)];case 3:a.sent(),a.label=4;case 4:return[2,!0]}})}),search:(0,eD.empty)((0,eD.string)()),hash:(0,eD.empty)((0,eD.string)())})]),tT=(0,eD.intersection)([tx,ta({protocol:(0,eD.enums)(["http:","https:"]),search:(0,eD.empty)((0,eD.string)()),hash:(0,eD.empty)((0,eD.string)())})]),tw=(0,eD.union)([tE,tS]);function tA(e){var t=Object.values(o).find(function(t){return e.startsWith(t)});if(void 0!==t)return t;throw Error('Invalid or no prefix found for "'.concat(e,'"'))}function tC(e){return e.replace(tA(e),"")}function tM(e){return(0,z.getSafeJson)(JSON.parse(e))}function tN(e){var t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength}var tj=r(4555);function tk(e,t){return e.length===t.length&&e.every(function(e,r){return e===t[r]})}var tI=r(3601),tO=(0,eD.object)({jsonrpc:(0,eD.optional)(z.JsonRpcVersionStruct),id:(0,eD.optional)(z.JsonRpcIdStruct),method:(0,eD.string)(),params:(0,eD.optional)(z.JsonRpcParamsStruct)}),tP=(0,eD.refine)((0,eD.string)(),"CronExpression",function(e){try{return(0,tI.parseExpression)(e),!0}catch(e){return!1}}),tF=(0,eD.object)({expression:tP,request:tO}),tL=(0,eD.array)(tF),tR="1399742832'",tz=r(7553),tB=(0,eD.array)((0,eD.refine)((0,eD.string)(),"Allowed origin",function(e){return!(e.split("*").length-1>2)||'No more than two wildcards ("*") are allowed in an origin specifier.'})),tU=(0,eD.refine)((0,eD.object)({dapps:(0,eD.optional)((0,eD.boolean)()),snaps:(0,eD.optional)((0,eD.boolean)()),allowedOrigins:(0,eD.optional)(tB)}),"RPC origins",function(e){return!0===e.snaps||!0===e.dapps||!!e.allowedOrigins&&e.allowedOrigins.length>0||"Must specify at least one JSON-RPC origin."}),tq=(0,eD.object)({allowedOrigins:(0,eD.optional)(tB)}),tJ=RegExp("^(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})$","u"),t$=RegExp("^(?(?[-a-z0-9]{3,8}):(?[-a-zA-Z0-9]{1,32})):(?[a-zA-Z0-9]{1,64})$","u"),tK=RegExp("^(?[a-zA-Z0-9]{1,64})$","u"),tY=(0,eD.size)((0,eD.string)(),1,40),tV=(0,eD.define)("Chain ID",(0,eD.string)().validator),tW=(0,eD.pattern)(tV,tJ),tQ=(0,eD.pattern)((0,eD.string)(),t$);(0,eD.array)(tQ),(0,eD.pattern)((0,eD.string)(),tK);var tH=(0,eD.object)({id:tW,name:tY});function tG(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r2)||void 0===arguments[2]||arguments[2],o=(l=JSON.stringify(t.value),u=t4.red,i?u(l):l),a=function(e){var t,r,n=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return"never"===e.type||0===e.path.length?"":"At path: ".concat((t=e.path.join("."),r=t4.bold,n?r(t):t)," — ")}(t,i);if("union"===t.type){var s=function(e){var t=!(arguments.length>1)||void 0===arguments[1]||arguments[1];return Array.isArray(e.schema)?e.schema.map(function(e){var r,n;return r=e.type,n=t4.green,t?n(r):r}):null}(t.path.reduce(function(t,r){return(0,z.isObject)(e.schema)&&e.schema[r]?e.schema[r]:t},e),i);return s?"".concat(a,"Expected the value to be one of: ").concat(s.join(", "),", but received: ").concat(o,"."):"".concat(a).concat(t.message,".")}if("literal"===t.type){var l,u,c,p,_=t.message.replace(RegExp("the literal `(.+)`,","u"),"the value to be `".concat((c=t4.green,i?c("$1"):"$1"),"`,")).replace(RegExp(", but received: (.+)","u"),", but received: ".concat((p=t4.red,i?p("$1"):"$1")));return"".concat(a).concat(_,".")}if("never"===t.type)return"Unknown key: ".concat((d=t.path.join("."),f=t4.bold,i?f(d):d),", received: ").concat(o,".");if("size"===t.refinement){var d,f,m,h,y,g=t.message.replace(RegExp("length between `(\\d+)` and `(\\d+)`","u"),"length between ".concat((m=t4.green,i?m("$1"):"$1")," and ").concat((h=t4.green,i?h("$2"):"$2"),",")).replace(RegExp("length of `(\\d+)`","u"),"length of ".concat((y=t4.red,i?y("$1"):"$1"))).replace(RegExp("a array","u"),"an array");return"".concat(a).concat(g,".")}return"".concat(a,"Expected a value of type ").concat((r=t.type,n=t4.green,i?n(r):r),", but received: ").concat(o,".")}function re(){for(var e,t,r=arguments.length,n=Array(r),i=0;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(s.value.refiner(e,t))];case 3:u.sent(),u.label=4;case 4:return r=!0,[3,2];case 5:return[3,8];case 6:return l=u.sent(),i=!0,o=l,[3,8];case 7:try{r||null==a.return||a.return()}finally{if(i)throw o}return[7];case 8:return[2]}})}},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))}),e))}var rt=[tR,"572232532'"],rr=[60],rn=rr.map(function(e){return["m","44'","".concat(e,"'")]}),ri=(0,eD.refine)((0,eD.array)((0,eD.string)()),"BIP-32 path",function(e){return 0===e.length?"Path must be a non-empty BIP-32 derivation path array":"m"!==e[0]?'Path must start with "m".':e.length<3?"Paths must have a length of at least three.":e.slice(1).some(function(e){return!(0,tj.isValidBIP32PathSegment)(e)})?"Path must be a valid BIP-32 derivation path array.":rt.includes(e[1])?'The purpose "'.concat(e[1],'" is not allowed for entropy derivation.'):!rn.some(function(t){return tk(e.slice(0,t.length),t)})||'The path "'.concat(e.join("/"),'" is not allowed for entropy derivation.')}),ro=function(e){return(0,eD.refine)(e,"BIP-32 entropy",function(e){return!("ed25519"===e.curve&&e.path.slice(1).some(function(e){return!e.endsWith("'")}))||"Ed25519 does not support unhardened paths."})},ra=(0,eD.enums)(["ed25519","secp256k1","ed25519Bip32"]),rs=ro((0,eD.type)({path:ri,curve:ra})),rl=(0,eD.size)((0,eD.array)(rs),1,1/0),ru=(0,eD.refine)((0,eD.string)(),"SemVer range",function(e){return!!(0,z.isValidSemVerRange)(e)||"Expected a valid SemVer range."}),rc=(0,eD.refine)((0,eD.record)(tw,(0,eD.object)({version:(0,eD.optional)(ru)})),"SnapIds",function(e){return 0!==Object.keys(e).length}),rp=(0,eD.size)((0,eD.array)(tW),1,1/0),r_=(0,eD.union)([(0,eD.object)({tlds:(0,eD.size)((0,eD.array)((0,eD.string)()),1,1/0)}),(0,eD.object)({schemes:(0,eD.size)((0,eD.array)((0,eD.string)()),1,1/0)}),(0,eD.object)({tlds:(0,eD.size)((0,eD.array)((0,eD.string)()),1,1/0),schemes:(0,eD.size)((0,eD.array)((0,eD.string)()),1,1/0)})]),rd=(0,z.inMilliseconds)(5,z.Duration.Second),rf=(0,z.inMilliseconds)(3,z.Duration.Minute),rm=(0,eD.size)((0,eD.integer)(),rd,rf),rh=(0,eD.object)({maxRequestTime:(0,eD.optional)(rm)}),ry=(0,eD.object)({}),rg=(0,eD.type)({"endowment:cronjob":(0,eD.optional)(re(rh,(0,eD.object)({jobs:tL}))),"endowment:ethereum-provider":(0,eD.optional)(ry),"endowment:keyring":(0,eD.optional)(re(rh,tq)),"endowment:lifecycle-hooks":(0,eD.optional)(rh),"endowment:name-lookup":(0,eD.optional)(re(rh,(0,eD.object)({chains:(0,eD.optional)(rp),matchers:(0,eD.optional)(r_)}))),"endowment:network-access":(0,eD.optional)(ry),"endowment:page-home":(0,eD.optional)(rh),"endowment:rpc":(0,eD.optional)(re(rh,tU)),"endowment:signature-insight":(0,eD.optional)(re(rh,(0,eD.object)({allowSignatureOrigin:(0,eD.optional)((0,eD.boolean)())}))),"endowment:transaction-insight":(0,eD.optional)(re(rh,(0,eD.object)({allowTransactionOrigin:(0,eD.optional)((0,eD.boolean)())}))),"endowment:webassembly":(0,eD.optional)(ry),snap_dialog:(0,eD.optional)(ry),snap_manageState:(0,eD.optional)(ry),snap_manageAccounts:(0,eD.optional)(ry),snap_notify:(0,eD.optional)(ry),snap_getBip32Entropy:(0,eD.optional)(rl),snap_getBip32PublicKey:(0,eD.optional)(rl),snap_getBip44Entropy:(0,eD.optional)((0,eD.size)((0,eD.array)((0,eD.object)({coinType:(0,eD.size)((0,eD.integer)(),0,4294967295)})),1,1/0)),snap_getEntropy:(0,eD.optional)(ry),snap_getLocale:(0,eD.optional)(ry),wallet_snap:(0,eD.optional)(rc)}),rb=(0,eD.array)((0,eD.string)()),rv=(0,eD.record)((0,eD.intersection)([(0,eD.string)(),ta()]),(0,eD.object)({})),rx=(0,eD.object)({version:z.VersionStruct,description:(0,eD.size)((0,eD.string)(),1,280),proposedName:(0,eD.size)((0,eD.string)(),1,214),repository:(0,eD.optional)((0,eD.object)({type:(0,eD.size)((0,eD.string)(),1,1/0),url:(0,eD.size)((0,eD.string)(),1,1/0)})),source:(0,eD.object)({shasum:z.ChecksumStruct,location:(0,eD.object)({npm:(0,eD.object)({filePath:(0,eD.size)((0,eD.string)(),1,1/0),iconPath:(0,eD.optional)((0,eD.size)((0,eD.string)(),1,1/0)),packageName:to,registry:(0,eD.union)([(0,eD.literal)("https://registry.npmjs.org"),(0,eD.literal)("https://registry.npmjs.org/")])})}),files:(0,eD.optional)(rb),locales:(0,eD.optional)(rb)}),initialConnections:(0,eD.optional)(rv),initialPermissions:rg,manifestVersion:(0,eD.literal)("0.1"),$schema:(0,eD.optional)((0,eD.string)())});function rD(e){return(0,eD.create)(e,rx)}function rS(e){return((0,z.assert)(!e.startsWith("/")),(0,z.assert)(-1===e.search(RegExp(":|\\/\\/","u")),'Path "'.concat(e,'" potentially an URI instead of local relative')),e.startsWith("./"))?e.slice(2):e}var rE=r(4325),rT=r(101),rw=r.n(rT),rA=r(6692),rC=r(7525),rM=r(8146),rN=r(2623);function rj(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function rk(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){rj(o,n,i,a,s,"next",e)}function s(e){rj(o,n,i,a,s,"throw",e)}a(void 0)})}}function rI(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function rO(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function rP(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function rF(e,t){var r=rP(e,t,"get");return r.get?r.get.call(e):r.value}function rL(e,t,r){rI(e,t),t.set(e,r)}function rR(e,t,r){var n=rP(e,t,"set");return function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,n,r),r}function rz(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};return(0,eD.is)(e,ta(t))}(r)||!r.toString().endsWith(".tgz"))throw Error('Failed to find valid tarball URL in NPM metadata for package "'.concat(this.meta.packageName,'".'));return(i=new URL(r)).hostname=this.meta.registry.hostname,i.protocol=this.meta.registry.protocol,[4,this.fetchNpmTarball(i)];case 3:return rR(this,rY,o.sent()),this.meta.version=n,[2]}})})).apply(this,arguments)}var rH=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&rq(e,t)}(n,e);var t,r=(t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}(),function(){var e,r,i=rU(n);if(t){var o=rU(this).constructor;r=Reflect.construct(i,arguments,o)}else r=i.apply(this,arguments);return(e=r)&&("object"==(e&&"undefined"!=typeof Symbol&&e.constructor===Symbol?"symbol":typeof e)||"function"==typeof e)?e:function(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this)});function n(){return rO(this,n),r.apply(this,arguments)}return rB(n,[{key:"fetchNpmTarball",value:function(e){var t=this;return rk(function(){var r,n,i;return rJ(this,function(o){switch(o.label){case 0:return[4,t.meta.fetch(e.toString())];case 1:if(!(r=o.sent()).ok||!r.body)throw Error('Failed to fetch tarball for package "'.concat(t.meta.packageName,'".'));return n=r.headers.get("content-length"),(0,z.assert)(n,"Snap tarball has invalid content-length"),i=parseInt(n,10),(0,z.assert)(i<=262144e3,"Snap tarball exceeds size limit"),[2,new Promise(function(e,n){var i,o,a,s,l,u,c=new Map,p=(i=t.meta.registry,o=t.meta.packageName,a="npm://",""!==i.username&&(a+=i.username,""!==i.password&&(a+=":".concat(i.password)),a+="@"),s="".concat(a).concat(i.host,"/").concat(o,"/"),(0,z.assert)(s.endsWith("/"),"Base needs to end with '/' for relative paths to be added as children instead of siblings."),(0,z.assert)(s.startsWith("npm:"),'Protocol mismatch, expected "npm:".'),l=(0,rN.extract)(),u=0,l.on("entry",function(e,t,r){var n=e.name;if("file"===e.type){var i=n.replace(r1,"");return t.pipe(rw()({encoding:"uint8array"},function(e){try{u+=e.byteLength,(0,z.assert)(u<262144e3,"Snap tarball exceeds limit of ".concat(262144e3," bytes."));var t=new e8({value:e,path:i,data:{canonicalPath:new URL(i,s).toString()}});return(0,z.assert)(!c.has(i),"Malformed tarball, multiple files with the same path."),c.set(i,t),r()}catch(e){return l.destroy(e)}}))}return t.on("end",function(){return r()}),t.resume()}),l),_=r.body;if("pipeThrough"in _&&"DecompressionStream"in globalThis){var d=new DecompressionStream("gzip"),f=_.pipeThrough(d);(0,rC.pipeline)(r2(f),p,function(t){t?n(t):e(c)});return}(0,rC.pipeline)(r2(_),(0,rE.createGunzip)(),p,function(t){t?n(t):e(c)})})]}})})()}}]),n}(function(){function e(t){var r,n,i,o,a,s,l,u,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};rO(this,e),rI(this,rV),rV.add(this),n=void 0,(r="meta")in this?Object.defineProperty(this,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):this[r]=n,rL(this,rK,{writable:!0,value:void 0}),rL(this,rY,{writable:!0,value:void 0});var p=null!==(o=c.allowCustomRegistries)&&void 0!==o&&o,_=null!==(a=c.fetch)&&void 0!==a?a:globalThis.fetch.bind(globalThis),d=null!==(s=c.versionRange)&&void 0!==s?s:"*",f=(i=rk(function(e){return rJ(this,function(t){return[2,e]})}),function(e){return i.apply(this,arguments)}),m=null!==(l=c.resolveVersion)&&void 0!==l?l:f;(0,z.assertStruct)(t.toString(),tE,"Invalid Snap Id: "),""===t.host&&""===t.port&&""===t.username&&""===t.password?u=r$:(u="https://",t.username&&(u+=t.username,t.password&&(u+=":".concat(t.password)),u+="@"),u+=t.host,u=new URL(u),(0,z.assert)(p,TypeError('Custom NPM registries are disabled, tried to use "'.concat(u.toString(),'".')))),(0,z.assert)("/"===u.pathname&&""===u.search&&""===u.hash),(0,z.assert)(""!==t.pathname&&"/"!==t.pathname,TypeError("The package name in NPM location is empty."));var h=t.pathname;h.startsWith("/")&&(h=h.slice(1)),this.meta={requestedRange:d,registry:u,packageName:h,fetch:_,resolveVersion:m}}return rB(e,[{key:"manifest",value:function(){var e=this;return rk(function(){var t,r;return rJ(this,function(n){switch(n.label){case 0:if(rF(e,rK))return[2,rF(e,rK).clone()];return[4,e.fetch("snap.manifest.json")];case 1:return r=tM((t=n.sent()).toString()),t.result=rD(r),rR(e,rK,t),[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return rk(function(){var r,n;return rJ(this,function(i){switch(i.label){case 0:if(r=rS(e),rF(t,rY))return[3,2];return[4,(function(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r})(t,rV,rW).call(t)];case 1:i.sent(),(0,z.assert)(void 0!==rF(t,rY)),i.label=2;case 2:return n=rF(t,rY).get(r),(0,z.assert)(void 0!==n,TypeError('File "'.concat(e,'" not found in package.'))),[2,n.clone()]}})})()}},{key:"packageName",get:function(){return this.meta.packageName}},{key:"version",get:function(){return(0,z.assert)(void 0!==this.meta.version,"Tried to access version without first fetching NPM package."),this.meta.version}},{key:"registry",get:function(){return this.meta.registry}},{key:"versionRange",get:function(){return this.meta.requestedRange}}]),e}());function rG(e,t,r){return rZ.apply(this,arguments)}function rZ(){return(rZ=rk(function(e,t,r){var n,i;return rJ(this,function(o){switch(o.label){case 0:return[4,r(new URL(e,t).toString(),{headers:{accept:rX(t)?"application/vnd.npm.install-v1+json; q=1.0, application/json; q=0.8, */*":"application/json"}})];case 1:if(!(n=o.sent()).ok)throw Error("Failed to fetch NPM registry entry. Status code: ".concat(n.status,"."));return[4,n.json()];case 2:if(i=o.sent(),!(0,z.isObject)(i))throw Error('Failed to fetch package "'.concat(e,'" metadata from npm.'));return[2,i]}})})).apply(this,arguments)}function rX(e){return e.toString()===r$.toString()}function r0(){return(r0=rk(function(e,t,r,n){var i,o,a,s,l,u,c,p;return rJ(this,function(_){switch(_.label){case 0:if(rX(r)&&(0,z.isValidSemVerVersion)(t))return[2,{tarballURL:(0,rA.Z)(e,t),targetVersion:t}];return[4,rG(e,r,n)];case 1:var d,f;if(d=Object.keys(null!==(c=null===(i=u=_.sent())||void 0===i?void 0:i.versions)&&void 0!==c?c:{}).map(function(e){return(0,z.assertIsSemVerVersion)(e),e}),null===(p=(f=(0,eS.maxSatisfying)(d,t))?f:(0,eS.maxSatisfying)(d,t,{includePrerelease:!0})))throw Error('Failed to find a matching version in npm metadata for package "'.concat(e,'" and requested semver range "').concat(t,'".'));return[2,{tarballURL:null===(l=u)||void 0===l?void 0:null===(s=l.versions)||void 0===s?void 0:null===(a=s[p])||void 0===a?void 0:null===(o=a.dist)||void 0===o?void 0:o.tarball,targetVersion:p}]}})})).apply(this,arguments)}var r1=RegExp("^package\\/","u");function r2(e){return"function"!=typeof e.getReader?e:new rM.F(e)}function r3(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&(0,R.jsx)(ei.InputRightAddon,{px:"0",bg:"chakra-body-bg",borderColor:"border.default",children:(0,R.jsx)(ei.Select,{border:"none",onChange:function(e){x(e.currentTarget.value)},value:v,children:y.map(function(e){return(0,R.jsx)("option",{value:e,children:e},"version-".concat(e))})})})]}),(0,R.jsx)(ei.FormLabel,{children:"Environment SRP"}),(0,R.jsx)(ei.Textarea,{value:n,readOnly:!0,color:"text.muted",fontSize:"sm"}),(0,R.jsxs)(ei.HStack,{alignItems:"center",justifyContent:"space-between",mb:"4",children:[(0,R.jsx)(ei.FormLabel,{mb:"0",htmlFor:"ses-switch",children:"Secure EcmaScript (SES)"}),(0,R.jsx)(ei.Switch,{id:"ses-switch",size:"lg",isChecked:i,readOnly:!0,colorScheme:"gray"})]}),(0,R.jsxs)(ei.HStack,{alignItems:"center",justifyContent:"space-between",children:[(0,R.jsx)(ei.FormLabel,{mb:"0",htmlFor:"darkmode-switch",children:"Dark Mode"}),(0,R.jsx)(ei.Switch,{id:"darkmode-switch",size:"lg",isChecked:"dark"===l,onChange:function(){u()},colorScheme:"gray"})]})]})}),(0,R.jsx)(ei.Divider,{my:"4"}),(0,R.jsx)(ei.ModalFooter,{pb:"6",pt:"2",children:(0,R.jsx)(ei.Button,{variant:"primary",fontFamily:"default",fontWeight:"semibold",fontSize:"sm",width:"100%",onClick:S,children:"Apply config"})})]})]})};function r8(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["to","isExternal","children"]);return void 0!==r&&r?(0,R.jsx)(ei.Link,nK(n$({isExternal:!0,href:t},i),{children:n})):(0,R.jsx)(ei.Link,nK(n$({as:q.Link,to:t},i),{children:n}))},nV=function(e){var t=e.path,r=e.tag,n=e.isExternal,i=e.onClick,o=e.children,a=(0,q.useMatch)(t);return(0,R.jsx)(ei.ListItem,{children:(0,R.jsx)(nY,{padding:"2",variant:a?"navigation-active":"navigation-default",to:t,display:"block",isExternal:void 0!==n&&n,onClick:i,"data-testid":"navigation-".concat(r),_hover:{textDecoration:"none",opacity:1,background:"background.hover"},children:(0,R.jsx)(ei.Stack,{direction:"row",align:"center",children:o})})})};!function(e){e.Valid="valid",e.Invalid="invalid",e.Unknown="unknown"}(_||(_={}));var nW={valid:_.Unknown,results:[]},nQ=(0,J.createSlice)({name:"manifest",initialState:nW,reducers:{setValid:function(e,t){e.valid=t.payload},setResults:function(e,t){e.results=t.payload}}}),nH=(0,J.createAction)("".concat(nQ.name,"/validateManifest")),nG=nQ.actions,nZ=nG.setValid,nX=nG.setResults,n0=nQ.reducer,n1=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.valid}),n2=(0,J.createSelector)(function(e){return e.manifest},function(e){return e.results});function n3(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var n4=(n3(d={},_.Valid,"success.default"),n3(d,_.Invalid,"error.default"),d),n6=function(){var e=el(n1);return e===_.Unknown?null:(0,R.jsx)(ei.Box,{position:"absolute",bottom:"0",right:"0",width:"10px",height:"10px",background:n4[e],borderRadius:"5px"})},n5=function(e){var t=e.children,r=e.path,n=!!(0,q.useMatch)(r);return(0,R.jsx)(ei.Tag,{borderRadius:"base",variant:"code",color:n?"#0376C9":"info.default",backgroundColor:n?"rgba(3, 118, 201, 0.1)":"info.muted",children:t})},n8=[{label:"JSON-RPC",tag:"onRpcRequest",description:"Send a JSON-RPC request to the snap",icon:"jsonRpc",path:"/handler/".concat(e.OnRpcRequest)},{label:"Cronjobs",tag:"onCronjob",description:"Schedule and run periodic actions",icon:"cronjob",path:"/handler/".concat(e.OnCronjob)},{label:"Transaction",tag:"onTransaction",description:"Send a transaction to the snap",icon:"insights",path:"/handler/".concat(e.OnTransaction)},{label:"UI Builder",tag:"ui",description:"Build a user interface for the snap",icon:"ui",path:"/builder"}],n7=function(){var e=el(function(e){return e});return(0,R.jsx)(ei.Container,{as:"nav",size:"fullWidth",display:"flex",flexDirection:"column",padding:"2",flex:"1",children:(0,R.jsxs)(ei.Stack,{as:ei.List,spacing:"2",flex:"1",children:[n8.map(function(t){var r=t.condition,n=t.icon,i=t.label,o=t.tag,a=t.description,s=t.path;return r&&!r(e)?null:(0,R.jsxs)(nV,{path:s,tag:o,children:[(0,R.jsx)(es,{icon:n}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsxs)(ei.Text,{children:[(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:i})," ",(0,R.jsx)(n5,{path:s,children:o})]}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:a})]})]},s)}),(0,R.jsxs)(nV,{tag:"manifest",path:"/manifest",children:[(0,R.jsxs)(ei.Box,{position:"relative",children:[(0,R.jsx)(es,{icon:"manifest"}),(0,R.jsx)(n6,{})]}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsxs)(ei.Text,{children:[(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"Manifest"})," ",(0,R.jsx)(n5,{path:"/manifest",children:"snap.manifest.json"})]}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Validate the snap manifest"})]})]},"manifest")]})})},n9=function(){var e=en();return(0,R.jsxs)(ei.List,{borderTop:"1px solid",borderTopColor:"border.default",padding:"2",children:[(0,R.jsxs)(nV,{path:"https://github.com/MetaMask/snaps/tree/main/packages/snaps-simulator",isExternal:!0,tag:"github",children:[(0,R.jsx)(es,{icon:"gitHub",width:"24px"}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsx)(ei.Text,{children:(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"GitHub"})}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Report an issue or contribute to the project"})]})]}),(0,R.jsxs)(nV,{path:"#",onClick:function(){e(Y())},tag:"configuration",children:[(0,R.jsx)(es,{icon:"configuration",width:"24px"}),(0,R.jsxs)(ei.Box,{children:[(0,R.jsx)(ei.Text,{children:(0,R.jsx)(ei.Box,{as:"span",fontWeight:"600",children:"Settings"})}),(0,R.jsx)(ei.Text,{fontSize:"sm",marginTop:"1",children:"Configure the simulation environment"})]})]})]})},ie=function(){return(0,R.jsxs)(ei.Flex,{width:"375px",borderRight:"muted",flexShrink:"0",flexDirection:"column",children:[(0,R.jsx)(n7,{}),(0,R.jsx)(n9,{})]})};function it(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,["key"])).filter(function(e){return void 0!==(function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return it(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return it(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1]})),key:void 0===r?null:r}}}var ii=ir("Box"),io=r(6061),ia={$schema:"http://json-schema.org/draft-04/schema#",type:"object",properties:{jsonrpc:{const:"2.0"},id:{oneOf:[{type:"string"},{type:"number"},{type:"null"}]},method:{type:"string"},params:{type:["number","string","boolean","object","array","null"]}},required:["jsonrpc","id","method"],additionalProperties:!1},is=JSON.stringify({jsonrpc:"2.0",id:1,method:"subtract",params:[42,23]},null,2);function il(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["border"]),o=(0,ei.useColorMode)().colorMode;return(0,R.jsx)(ei.Box,{width:"100%",padding:"4",border:void 0===n?"1px solid":n,borderColor:"gray.muted",borderRadius:"md",flex:"1",children:(0,R.jsx)(io.default,(t=il({language:"json",editorWillMount:function(e){var t;e.editor.defineTheme("vs-dark-custom",{base:"vs-dark",inherit:!0,rules:[],colors:{"editor.background":"#24272A"}}),null===(t=e.languages.json)||void 0===t||t.jsonDefaults.setDiagnosticsOptions({validate:!0,schemas:[{uri:"http://json-schema.org/draft-04/schema#",fileMatch:["*"],schema:ia}]})},value:is,theme:"light"===o?"vs-light":"vs-dark-custom"},i),r=r={options:il({tabSize:2,scrollBeyondLastLine:!1,renderLineHighlight:"none",hideCursorInOverviewRuler:!0,scrollbar:{vertical:"visible",verticalScrollbarSize:5},minimap:{enabled:!1},lineNumbers:"off",automaticLayout:!0,glyphMargin:!1,folding:!1,lineDecorationsWidth:0,lineNumbersMinChars:0},i.options)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):(function(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r.push.apply(r,n)}return r})(Object(r)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}),t))})},ic=ir("Heading"),ip=ir("Text"),i_=ir("Divider"),id=ir("Copyable"),im=ir("Image"),ih=ir("Button"),iy=ir("Form"),ig=ir("Field"),ib=ir("Input"),iv=r(3382),ix=(0,U.forwardRef)(function(e,t){var r,n,i=e.children,o=e.icon,a=void 0===o?"darkArrowTopRightIcon":o,s=e.iconLocation,l=void 0===s?"right":s,u=function(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["children","icon","iconLocation"]);return(0,R.jsxs)(ei.Tag,(r=function(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=Array(t);r\n\n\n\n\n\n'}),droppable:!1},{icon:"button",text:"Button",data:ih({children:"Button"}),droppable:!1},{icon:"form",text:"Form",data:iy({name:"form",children:[]}),droppable:!0},{icon:"field",text:"Field",data:ig({children:null}),droppable:!0},{icon:"input",text:"Input",data:ib({name:"input"}),droppable:!1}],iT=function(e){var t=e.nextId,r=e.incrementId;return(0,R.jsxs)(ei.Box,{marginBottom:"4",children:[(0,R.jsx)(ei.Text,{fontSize:"xs",fontWeight:"600",lineHeight:"133%",marginBottom:"1",children:"Components"}),(0,R.jsx)(ei.Flex,{as:ei.List,gap:"2",children:iE.map(function(e){return(0,R.jsx)(ei.ListItem,{children:(0,R.jsx)(iS,{incrementId:r,icon:e.icon,node:{id:t,parent:0,droppable:e.droppable,text:e.text,data:e.data}})},"component-".concat(e.text))})})]})},iw=r(1937);function iA(){return(0,eD.refine)((0,eD.string)(),"SVG",function(e){return!!e.includes("e.length)&&(t=e.length);for(var r=0,n=Array(t);r1&&void 0!==arguments[1]?arguments[1]:{};return(0,eD.object)({type:t1(e),props:(0,eD.object)(t),key:(0,eD.nullable)(iN)})}(0,eD.object)({type:(0,eD.string)(),props:(0,eD.record)((0,eD.string)(),z.JsonStruct),key:(0,eD.nullable)(iN)});var iO=iI("Button",{children:ij,name:(0,eD.optional)((0,eD.string)()),type:(0,eD.optional)(t2([t1("button"),t1("submit")])),variant:(0,eD.optional)(t2([t1("primary"),t1("destructive")])),disabled:(0,eD.optional)((0,eD.boolean)())}),iP=iI("Checkbox",{name:(0,eD.string)(),checked:(0,eD.optional)((0,eD.boolean)()),label:(0,eD.optional)((0,eD.string)()),variant:(0,eD.optional)(t2([t1("default"),t1("toggle")]))}),iF=iI("Input",{name:(0,eD.string)(),type:(0,eD.optional)(t2([t1("text"),t1("password"),t1("number")])),value:(0,eD.optional)((0,eD.string)()),placeholder:(0,eD.optional)((0,eD.string)())}),iL=iI("Option",{value:(0,eD.string)(),children:(0,eD.string)()}),iR=iI("Dropdown",{name:(0,eD.string)(),value:(0,eD.optional)((0,eD.string)()),children:ik([iL])}),iz=iI("FileInput",{name:(0,eD.string)(),accept:t2([(0,eD.optional)((0,eD.array)((0,eD.string)()))]),compact:(0,eD.optional)((0,eD.boolean)())}),iB=[iF,iO],iU=[iF,iR,iz,iP],iq=t2(iM(iU).concat(iM(iB))),iJ=t2([(0,eD.tuple)(iB)].concat(iM(iU))),i$=iI("Field",{label:(0,eD.optional)((0,eD.string)()),error:(0,eD.optional)((0,eD.string)()),children:iJ}),iK=ik([i$,(0,eD.lazy)(function(){return on})]),iY=iI("Form",{children:iK,name:(0,eD.string)()}),iV=iI("Bold",{children:ik([(0,eD.string)(),(0,eD.lazy)(function(){return iW})])}),iW=iI("Italic",{children:ik([(0,eD.string)(),(0,eD.lazy)(function(){return iV})])}),iQ=t2([iV,iW]),iH=iI("Address",{address:z.HexChecksumAddressStruct}),iG=iI("Box",{children:ik([(0,eD.lazy)(function(){return on})]),direction:(0,eD.optional)(t2([t1("horizontal"),t1("vertical")])),alignment:(0,eD.optional)(t2([t1("start"),t1("center"),t1("end"),t1("space-between"),t1("space-around")]))}),iZ=iI("Footer",{children:t2([(0,eD.tuple)([iO,iO]),iO])}),iX=iI("Container",{children:t2([(0,eD.tuple)([iG,iZ]),iG])}),i0=iI("Copyable",{value:(0,eD.string)(),sensitive:(0,eD.optional)((0,eD.boolean)())}),i1=iI("Divider"),i2=iI("Value",{value:(0,eD.string)(),extra:(0,eD.string)()}),i3=iI("Card",{image:(0,eD.optional)((0,eD.string)()),title:(0,eD.string)(),description:(0,eD.optional)((0,eD.string)()),value:(0,eD.string)(),extra:(0,eD.optional)((0,eD.string)())}),i4=iI("Heading",{children:ij}),i6=iI("Image",{src:iA(),alt:(0,eD.optional)((0,eD.string)())}),i5=iI("Link",{href:(0,eD.string)(),children:ik([iQ,(0,eD.string)()])}),i8=iI("Text",{children:ik([(0,eD.string)(),iV,iW,i5]),alignment:(0,eD.optional)(t2([t1("start"),t1("center"),t1("end")]))}),i7=t2([i8,iV,iW,i5,i6,(0,eD.boolean)()]),i9=t2([i8,iV,iW,i5,(0,eD.string)()]),oe=iI("Tooltip",{children:(0,eD.nullable)(i7),content:i9}),ot=iI("Row",{label:(0,eD.string)(),children:t2([iH,i6,i8,i2]),variant:(0,eD.optional)(t2([t1("default"),t1("warning"),t1("critical")])),tooltip:(0,eD.optional)((0,eD.string)())}),or=iI("Spinner"),on=t3([iH,iV,iG,iO,i0,i1,iR,iz,iY,i4,iF,i6,iW,i5,ot,or,i8,oe,iP,i3]),oi=t2([on,iX]),oo=t3([iO,iF,iz,i$,iY,iV,iW,iH,iG,i0,i1,i4,i6,i5,ot,or,i8,iR,iL,i2,oe,iP,iZ,iX,i3]);function oa(e){if(!(0,eD.is)(e,oo))throw Error("Expected a JSX element, but received ".concat(JSON.stringify(e),". Please refer to the documentation for the supported JSX elements and their props."))}function os(e,t,r){var n,i;if("string"==typeof e)throw Error('An HTML element ("'.concat(String(e),'") was used in a Snap component, which is not supported by Snaps UI. Please use one of the supported Snap components.'));if(!e)throw Error("A JSX fragment was used in a Snap component, which is not supported by Snaps UI. Please use one of the supported Snap components.");return e((n=function(e){for(var t=1;t"']/,ob=RegExp(og.source,"g"),ov=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,ox=RegExp(ov.source,"g"),oD={"&":"&","<":"<",">":">",'"':""","'":"'"},oS=e=>oD[e];function oE(e,t){if(t){if(og.test(e))return e.replace(ob,oS)}else if(ov.test(e))return e.replace(ox,oS);return e}let oT=/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,ow=/(^|[^\[])\^/g;function oA(e,t){let r="string"==typeof e?e:e.source;t=t||"";let n={replace:(e,t)=>{let i="string"==typeof t?t:t.source;return i=i.replace(ow,"$1"),r=r.replace(e,i),n},getRegex:()=>new RegExp(r,t)};return n}function oC(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(e){return null}return e}let oM={exec:()=>null};function oN(e,t){let r=e.replace(/\|/g,(e,t,r)=>{let n=!1,i=t;for(;--i>=0&&"\\"===r[i];)n=!n;return n?"|":" |"}),n=r.split(/ \|/),i=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t){if(n.length>t)n.splice(t);else for(;n.length0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(/^ {1,4}/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:oj(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t){let r=e.match(/^(\s+)(?:```)/);if(null===r)return t;let n=r[1];return t.split("\n").map(e=>{let t=e.match(/^\s+/);if(null===t)return e;let[r]=t;return r.length>=n.length?e.slice(n.length):e}).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){let t=oj(e,"#");this.options.pedantic?e=t.trim():(!t||/ $/.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:t[0]}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=oj(t[0].replace(/^ *>[ \t]?/gm,""),"\n"),r=this.lexer.state.top;this.lexer.state.top=!0;let n=this.lexer.blockTokens(e);return this.lexer.state.top=r,{type:"blockquote",raw:t[0],tokens:n,text:e}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,i={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let o=RegExp(`^( {0,3}${r})((?:[ ][^\\n]*)?(?:\\n|$))`),a="",s="",l=!1;for(;e;){let r,n=!1;if(!(t=o.exec(e))||this.rules.block.hr.test(e))break;a=t[0],e=e.substring(a.length);let u=t[2].split("\n",1)[0].replace(/^\t+/,e=>" ".repeat(3*e.length)),c=e.split("\n",1)[0],p=0;this.options.pedantic?(p=2,s=u.trimStart()):(p=(p=t[2].search(/[^ ]/))>4?1:p,s=u.slice(p),p+=t[1].length);let _=!1;if(!u&&/^ *$/.test(c)&&(a+=c+"\n",e=e.substring(c.length+1),n=!0),!n){let t=RegExp(`^ {0,${Math.min(3,p-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),r=RegExp(`^ {0,${Math.min(3,p-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),n=RegExp(`^ {0,${Math.min(3,p-1)}}(?:\`\`\`|~~~)`),i=RegExp(`^ {0,${Math.min(3,p-1)}}#`);for(;e;){let o=e.split("\n",1)[0];if(c=o,this.options.pedantic&&(c=c.replace(/^ {1,4}(?=( {4})*[^ ])/g," ")),n.test(c)||i.test(c)||t.test(c)||r.test(e))break;if(c.search(/[^ ]/)>=p||!c.trim())s+="\n"+c.slice(p);else{if(_||u.search(/[^ ]/)>=4||n.test(u)||i.test(u)||r.test(u))break;s+="\n"+c}_||c.trim()||(_=!0),a+=o+"\n",e=e.substring(o.length+1),u=c.slice(p)}}!i.loose&&(l?i.loose=!0:/\n *\n *$/.test(a)&&(l=!0));let d=null;this.options.gfm&&(d=/^\[[ xX]\] /.exec(s))&&(r="[ ] "!==d[0],s=s.replace(/^\[[ xX]\] +/,"")),i.items.push({type:"list_item",raw:a,task:!!d,checked:r,loose:!1,text:s,tokens:[]}),i.raw+=a}i.items[i.items.length-1].raw=a.trimEnd(),i.items[i.items.length-1].text=s.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e"space"===e.type),r=t.length>0&&t.some(e=>/\n.*\n/.test(e.raw));i.loose=r}if(i.loose)for(let e=0;e$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!/[:|]/.test(t[2]))return;let r=oN(t[1]),n=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],o={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)/^ *-+: *$/.test(e)?o.align.push("right"):/^ *:-+: *$/.test(e)?o.align.push("center"):/^ *:-+ *$/.test(e)?o.align.push("left"):o.align.push(null);for(let e of r)o.header.push({text:e,tokens:this.lexer.inline(e)});for(let e of i)o.rows.push(oN(e,o.header.length).map(e=>({text:e,tokens:this.lexer.inline(e)})));return o}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:oE(t[1])}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&/^$/.test(e))return;let t=oj(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return -1;let r=0;for(let n=0;n-1){let r=0===t[0].indexOf("!")?5:4,n=r+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),/^$/.test(e)?r.slice(1):r.slice(1,-1)),ok(t,{href:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r,title:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n},t[0],this.lexer)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=(r[2]||r[1]).replace(/\s+/g," "),n=t[e.toLowerCase()];if(!n){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return ok(r,n,r[0],this.lexer)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!n||n[3]&&r.match(/[\p{L}\p{N}]/u))return;let i=n[1]||n[2]||"";if(!i||!r||this.rules.inline.punctuation.exec(r)){let r=[...n[0]].length-1,i,o,a=r,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+r);null!=(n=l.exec(t));){if(!(i=n[1]||n[2]||n[3]||n[4]||n[5]||n[6]))continue;if(o=[...i].length,n[3]||n[4]){a+=o;continue}if((n[5]||n[6])&&r%3&&!((r+o)%3)){s+=o;continue}if((a-=o)>0)continue;o=Math.min(o,o+a+s);let t=[...n[0]][0].length,l=e.slice(0,r+n.index+t+o);if(Math.min(r,o)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," "),r=/[^ ]/.test(e),n=/^ /.test(e)&&/ $/.test(e);return r&&n&&(e=e.substring(1,e.length-1)),e=oE(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){let t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return r="@"===t[2]?"mailto:"+(e=oE(t[1])):e=oE(t[1]),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])r="mailto:"+(e=oE(t[0]));else{let n;do n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??"";while(n!==t[0])e=oE(t[0]),r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:oE(t[0]),{type:"text",raw:t[0],text:e}}}}let oO=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,oP=/(?:[*+-]|\d{1,9}[.)])/,oF=oA(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,oP).replace(/blockCode/g,/ {4}/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),oL=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,oR=/(?!\s*\])(?:\\.|[^\[\]\\])+/,oz=oA(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label",oR).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),oB=oA(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,oP).getRegex(),oU="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",oq=/|$))/,oJ=oA("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|\\n*|$)|\\n*|$)|)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))","i").replace("comment",oq).replace("tag",oU).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),o$=oA(oL).replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex(),oK=oA(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",o$).getRegex(),oY={blockquote:oK,code:/^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/,def:oz,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:oO,html:oJ,lheading:oF,list:oB,newline:/^(?: *(?:\n|$))+/,paragraph:o$,table:oM,text:/^[^\n]+/},oV=oA("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code"," {4}[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex(),oW={...oY,table:oV,paragraph:oA(oL).replace("hr",oO).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oV).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html",")|<(?:script|pre|style|textarea|!--)").replace("tag",oU).getRegex()},oQ={...oY,html:oA("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+? *(?:\\n{2,}|\\s*$)|\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",oq).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:oM,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:oA(oL).replace("hr",oO).replace("heading"," *#{1,6} *[^\n]").replace("lheading",oF).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},oH=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,oG=/^( {2,}|\\)\n(?!\s*$)/,oZ="\\p{P}\\p{S}",oX=oA(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,oZ).getRegex(),o0=oA(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,oZ).getRegex(),o1=oA("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,oZ).getRegex(),o2=oA("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,oZ).getRegex(),o3=oA(/\\([punct])/,"gu").replace(/punct/g,oZ).getRegex(),o4=oA(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),o6=oA(oq).replace("(?:-->|$)","-->").getRegex(),o5=oA("^comment|^|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^|^").replace("comment",o6).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),o8=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,o7=oA(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",o8).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),o9=oA(/^!?\[(label)\]\[(ref)\]/).replace("label",o8).replace("ref",oR).getRegex(),ae=oA(/^!?\[(ref)\](?:\[\])?/).replace("ref",oR).getRegex(),at=oA("reflink|nolink(?!\\()","g").replace("reflink",o9).replace("nolink",ae).getRegex(),ar={_backpedal:oM,anyPunctuation:o3,autolink:o4,blockSkip:/\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g,br:oG,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:oM,emStrongLDelim:o0,emStrongRDelimAst:o1,emStrongRDelimUnd:o2,escape:oH,link:o7,nolink:ae,punctuation:oX,reflink:o9,reflinkSearch:at,tag:o5,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\t+" ".repeat(r.length));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.space(e)){e=e.substring(r.raw.length),1===r.raw.length&&t.length>0?t[t.length-1].raw+="\n":t.push(r);continue}if(r=this.tokenizer.code(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if((r=this.tokenizer.fences(e))||(r=this.tokenizer.heading(e))||(r=this.tokenizer.hr(e))||(r=this.tokenizer.blockquote(e))||(r=this.tokenizer.list(e))||(r=this.tokenizer.html(e))){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.def(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&("paragraph"===n.type||"text"===n.type)?(n.raw+="\n"+r.raw,n.text+="\n"+r.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text):this.tokens.links[r.tag]||(this.tokens.links[r.tag]={href:r.href,title:r.title});continue}if((r=this.tokenizer.table(e))||(r=this.tokenizer.lheading(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(this.state.top&&(r=this.tokenizer.paragraph(i))){n=t[t.length-1],o&&"paragraph"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r),o=i.length!==e.length,e=e.substring(r.raw.length);continue}if(r=this.tokenizer.text(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===n.type?(n.raw+="\n"+r.raw,n.text+="\n"+r.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n,i,o,a,s;let l=e;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,o.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(a||(s=""),a=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))){if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length),(n=t[t.length-1])&&"text"===r.type&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if((r=this.tokenizer.emStrong(e,l,s))||(r=this.tokenizer.codespan(e))||(r=this.tokenizer.br(e))||(r=this.tokenizer.del(e))||(r=this.tokenizer.autolink(e))||!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}if(i=e,this.options.extensions&&this.options.extensions.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{"number"==typeof(t=e.call({lexer:this},n))&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(i=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(i)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(s=r.raw.slice(-1)),a=!0,(n=t[t.length-1])&&"text"===n.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw Error(t)}}return t}}class au{options;constructor(e){this.options=e||oy}code(e,t,r){let n=(t||"").match(/^\S*/)?.[0];return(e=e.replace(/\n$/,"")+"\n",n)?'
'+(r?e:oE(e,!0))+"
\n":"
"+(r?e:oE(e,!0))+"
\n"}blockquote(e){return`
${e}
`}html(e,t){return e}heading(e,t,r){return`${e} `}hr(){return"
\n"}list(e,t,r){let n=t?"ol":"ul";return"<"+n+(t&&1!==r?' start="'+r+'"':"")+">\n"+e+"\n"}listitem(e,t,r){return`
  • ${e}
  • @@ -202,4 +202,4 @@ ${e}
    `}table(e,t){return t&&(t=`${t}`),"\n\n"+e+"\n"+t+"
    \n"}tablerow(e){return` ${e} `}tablecell(e,t){let r=t.header?"th":"td",n=t.align?`<${r} align="${t.align}">`:`<${r}>`;return n+e+` -`}strong(e){return`${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
    "}del(e){return`${e}`}link(e,t,r){let n=oC(e);if(null===n)return r;let i='
    "}image(e,t,r){let n=oC(e);if(null===n)return r;let i=`${r}"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":r+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{let e="",t="";for(let e=0;e0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):s+=e+" "}s+=this.parse(t.tokens,n),o+=this.renderer.listitem(s,a,!!r)}r+=this.renderer.list(o,e,t);continue}case"html":r+=this.renderer.html(i.text,i.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let o=i,a=o.tokens?this.parseInline(o.tokens):o.text;for(;n+1{let i=e[n].flat(1/0);r=r.concat(this.walkTokens(i,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new au(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if("options"===r)continue;let n=e.renderer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new oI(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new a_;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let n=e.hooks[r],i=t[r];a_.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(n.call(t,e)).then(e=>i.call(t,e));let r=n.call(t,e);return i.call(t,r)}:t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return al.lex(e,t??this.defaults)}parser(e,t){return ap.parse(e,t??this.defaults)}#e(e,t){return(r,n)=>{let i={...n},o={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);let a=this.#t(!!o.silent,!!o.async);if(null==r)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(t=>e(t,o)).then(e=>o.hooks?o.hooks.processAllTokens(e):e).then(e=>o.walkTokens?Promise.all(this.walkTokens(e,o.walkTokens)).then(()=>e):e).then(e=>t(e,o)).then(e=>o.hooks?o.hooks.postprocess(e):e).catch(a);try{o.hooks&&(r=o.hooks.preprocess(r));let n=e(r,o);o.hooks&&(n=o.hooks.processAllTokens(n)),o.walkTokens&&this.walkTokens(n,o.walkTokens);let i=t(n,o);return o.hooks&&(i=o.hooks.postprocess(i)),i}catch(e){return a(e)}}}#t(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="

    An error occurred:

    "+oE(r.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}}let af=new ad;function am(e,t){return af.parse(e,t)}am.options=am.setOptions=function(e){return af.setOptions(e),am.defaults=af.defaults,oy=am.defaults,am},am.getDefaults=oh,am.defaults=oy,am.use=function(...e){return af.use(...e),am.defaults=af.defaults,oy=am.defaults,am},am.walkTokens=function(e,t){return af.walkTokens(e,t)},am.parseInline=af.parseInline,am.Parser=ap,am.parser=ap.parse,am.Renderer=au,am.TextRenderer=ac,am.Lexer=al,am.lexer=al.lex,am.Tokenizer=oI,am.Hooks=a_,am.parse=am,am.options,am.setOptions,am.use;let ah=am.walkTokens;am.parseInline,ap.parse;let ay=al.lex;function ag(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?aD(e.tokens.flatMap(aE)):e.href});case"text":return e.text;case"strong":return os(op,{children:aS(e.tokens)});case"em":return os(o_,{children:aS(e.tokens)});default:return null}}function aT(e,t){try{var r,n=new URL(e);(0,z.assert)(ax.includes(n.protocol),"Protocol must be one of: ".concat(ax.join(", "),"."));var i="mailto:"===n.protocol?n.pathname.split("@")[1]:n.hostname;(0,z.assert)(!t(i),"The specified URL is not allowed.")}catch(e){throw Error("Invalid URL: ".concat((null!=(r=z.AssertionError)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](e):e instanceof r)?e.message:"Unable to parse URL."))}}function aw(e){return(0,z.hasProperty)(e.props,"children")}function aA(e){return!!e&&!0!==e}function aC(e){if(aw(e)){if(Array.isArray(e.props.children))return e.props.children.filter(aA).flat(1/0);if(e.props.children)return[e.props.children]}return[]}function aM(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(e)){var n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value,u=aM(l,t,r);if(void 0!==u)return u}}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return}var c=t(e,r);if(void 0!==c)return c;if((0,z.hasProperty)(e,"props")&&(0,z.isPlainObject)(e.props)&&(0,z.hasProperty)(e.props,"children")){var p=aC(e),_=!0,d=!1,f=void 0;try{for(var m,h=p[Symbol.iterator]();!(_=(m=h.next()).done);_=!0){var y=m.value;if((0,z.isPlainObject)(y)){var g=aM(y,t,r+1);if(void 0!==g)return g}}}catch(e){d=!0,f=e}finally{try{_||null==h.return||h.return()}finally{if(d)throw f}}}}function aN(e){return Object.entries(e).filter(function(e){return"children"!==ab(e,1)[0]}).sort(function(e,t){var r=ab(e,1)[0],n=ab(t,1)[0];return r.localeCompare(n)}).map(function(e){var t=ab(e,2),r=t[0],n=t[1];return" ".concat(r,"=").concat("string"==typeof n?'"'.concat(n,'"'):"{".concat(JSON.stringify(n),"}"))}).join("")}var aj=r(8261),ak=r.n(aj),aI=r(9691),aO=r.n(aI);function aP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1?"move":"default",children:[(0,R.jsx)(es,{icon:r.data.type.toLowerCase(),width:"16px"}),(0,R.jsx)(ei.Text,{fontWeight:"500",fontSize:"sm",textTransform:"capitalize",color:"text.muted",display:"inline-block",minWidth:"65px",children:r.data.type}),i,r.id>=2&&(0,R.jsx)(es,{icon:"cross",width:"11px",marginX:"0.5",marginLeft:"auto",cursor:"pointer",onClick:function(){null==o||o(r)}})]})};function aq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aJ(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[];return function(){for(var n=arguments.length,i=Array(n),o=0;oe.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r ul":{display:"flex",flexDirection:"column",flex:1,marginY:"4","& > li":{display:"flex",flexDirection:"column",flex:1,marginTop:"0"}},ul:{listStyleType:"none"},li:{marginTop:"2"}},children:(0,R.jsx)(iw.Tree,{ref:n,tree:t,rootId:0,render:function(e,r){var n=r.depth,a=r.isDragging;return t.length<=1?(0,R.jsx)(a4,{}):(0,R.jsx)(a3,{node:e,depth:n,onChange:i,onClose:o,isDragging:a})},insertDroppableFirst:!1,canDrag:function(e){return!!e&&e.id>=2},canDrop:function(e,t){var r=t.dropTarget,n=t.dropTargetId,i=t.dragSource;return!!n&&null!=i&&!!i.data&&function(e,t){if(!e||!t)return!1;switch(e.type){case"Box":return aF(t);case"Form":return aL(t);case"Field":return aR(t);default:return!1}}(null==r?void 0:r.data,null==i?void 0:i.data)&&(null==r?void 0:r.droppable)&&n>0},onDrop:function(e){r(e)},initialOpen:!0,sort:!1,extraAcceptTypes:["template"],placeholderRender:function(){return(0,R.jsx)(ei.Box,{width:"100%",height:"20px"})}})})},a9=function(e){var t=e.snapName,r=el(nk),n=r&&new Blob([r.value],{type:"image/svg+xml"}),i=n&&URL.createObjectURL(n);return(0,R.jsxs)(ei.Box,{position:"relative",children:[(0,R.jsx)(ei.Avatar,{src:i,name:t.slice(0,1).toUpperCase(),fontSize:"md",background:"background.alternative",color:"text.alternative",size:"sm",margin:"1"}),(0,R.jsx)(es,{icon:"snap",width:"16px",height:"16px",position:"absolute",bottom:"0px",right:"0px"})]})},se=function(e){var t=e.snapName,r=e.snapId;return(0,R.jsxs)(ei.Flex,{gap:"2",marginX:"4",marginY:"4",border:"1px solid",borderColor:"border.default",borderRadius:"32px",padding:"1",alignItems:"center",children:[(0,R.jsx)(a9,{snapName:t}),(0,R.jsxs)(ei.Flex,{direction:"column",justify:"center",children:[(0,R.jsx)(ei.Text,{fontSize:"sm",lineHeight:"157%",fontFamily:"custom",children:t}),(0,R.jsx)(ei.Text,{fontSize:"xs",lineHeight:"167%",fontFamily:"custom",color:"text.alternative",children:r})]})]})},st=function(e){var t=e.snapName,r=e.snapId,n=e.children,i=e.showAuthorship;return(0,R.jsxs)(ei.Flex,{direction:"column",boxShadow:"lg",maxWidth:"360px",height:"600px",paddingY:"4",overflowY:"scroll",children:[(void 0===i||i)&&(0,R.jsx)(se,{snapName:t,snapId:r}),n]})};!function(e){e.Content="content",e.Error="error",e.Insights="insights"}(b||(b={}));var sr=function(e,t){switch(e){case b.Insights:return"Insights from ".concat(t);case b.Error:return"Error from ".concat(t);default:return"Content from ".concat(t)}},sn=function(e){var t=e.type,r=e.snapName,n=e.children,i=t===b.Error;return(0,R.jsxs)(ei.Box,{border:"1px solid",borderColor:"border.default",borderRadius:"md",backgroundColor:i?"error.muted":void 0,children:[(0,R.jsxs)(ei.Flex,{direction:"row",alignItems:"center",padding:"1.5",borderBottom:"1px solid",borderColor:"border.default",children:[(0,R.jsx)(es,{icon:i?"snapError":"snap",width:"16px",marginRight:"1"}),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"xs",color:i?"text.error":void 0,children:sr(t,r)})]}),(0,R.jsx)(ei.Box,{padding:"3",children:n})]})};function si(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{let t=sj();sN(!0);try{let r=!1,n=sC(()=>{let t=e();return null!==t&&"object"==typeof t&&"function"==typeof t.then&&(r=!0),t});if(r)return{then:(e,r)=>{n.then(r=>{sN(t),e(r)},e=>{sN(t),r(e)})}};return sN(t),n}catch(e){throw sN(t),e}},sI=function(){return(0,sw.BX)(...arguments)};Object.keys(sw.BX).forEach(e=>{sI[e]=function(){return sw.BX[e](...arguments)}});let sO=sI.mouseEnter,sP=sI.mouseLeave;sI.mouseEnter=function(){return sO(...arguments),sI.mouseOver(...arguments)},sI.mouseLeave=function(){return sP(...arguments),sI.mouseOut(...arguments)};let sF=sI.pointerEnter,sL=sI.pointerLeave;sI.pointerEnter=function(){return sF(...arguments),sI.pointerOver(...arguments)},sI.pointerLeave=function(){return sL(...arguments),sI.pointerOut(...arguments)};let sR=sI.select;sI.select=(e,t)=>{sR(e,t),e.focus(),sI.keyUp(e,t)};let sz=sI.blur,sB=sI.focus;sI.blur=function(){return sI.focusOut(...arguments),sz(...arguments)},sI.focus=function(){return sI.focusIn(...arguments),sB(...arguments)},(0,sw.jQ)({unstable_advanceTimersWrapper:e=>sk(e),asyncWrapper:async e=>{let t=sj();sN(!1);try{let t=await e();return await new Promise(e=>{setTimeout(()=>{e()},0),"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))&&jest.advanceTimersByTime(0)}),t}finally{sN(t)}},eventWrapper:e=>{let t;return sk(()=>{t=e()}),t}});let sU=new Set,sq=[];function sJ(){sq.forEach(e=>{let{root:t,container:r}=e;sk(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),sq.length=0,sU.clear()}if((void 0===sA||!sA.env?.RTL_SKIP_AUTO_CLEANUP)&&("function"==typeof afterEach?afterEach(()=>{sJ()}):"function"==typeof teardown&&teardown(()=>{sJ()}),"function"==typeof beforeAll&&"function"==typeof afterAll)){let e=sj();beforeAll(()=>{e=sj(),sN(!0)}),afterAll(()=>{sN(e)})}var s$=r(8963),sK=r(9766),sY=r.n(sK),sV={primary:"primary",destructive:"outline"},sW=function(e){var t,r=e.node,n=e.id;oa(r),(0,z.assert)("Button"===r.type,"Expected value to be a button component.");var i=sE().handleEvent,o=r.props;return(0,R.jsx)(ei.Button,{width:"100%",variant:sV[null!==(t=o.variant)&&void 0!==t?t:"primary"],marginBottom:"4",type:o.type,onClick:function(e){o.type===y.Button&&e.preventDefault(),i({event:v.ButtonClickEvent,name:o.name})},children:o.children},"".concat(n,"-button"))},sQ=function(e){var t=e.node,r=e.id,n=e.form,i=sE(),o=i.handleInputChange,a=i.getValue;oa(t),(0,z.assert)("Input"===t.type,"Expected value to be an input component.");var s=t.props,l=a(s.name,n);return(0,R.jsx)(ei.Input,{value:l,type:s.type,placeholder:s.placeholder,onChange:function(e){o(s.name,e.target.value,n)}},"".concat(r,"-input"))},sH={Bold:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Bold"===t.type,"Expected value to be a bold component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",as:"b",children:sZ(aC(t),r)},"".concat(r,"-text"))},Box:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Box"===t.type,"Expected value to be a Box component."),(0,R.jsx)(ei.Box,{children:aC(t).map(function(e,t){return(0,R.jsx)(sG,{node:e},"".concat(r,"-panel-child-").concat(t))})},r)},Button:sW,Copyable:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Copyable"===t.type,"Expected value to be a copyable component.");var n=t.props;return(0,R.jsx)(so,{value:n.value},"".concat(r,"-copyable"))},Divider:function(e){var t=e.id;return(0,R.jsx)(ei.Divider,{orientation:"horizontal",marginTop:"3",marginBottom:"4",borderColor:"border.default"},"".concat(t,"-divider"))},Field:function(e){var t=e.node,r=e.id,n=e.form;oa(t),(0,z.assert)("Field"===t.type,"Expected value to be a field component.");var i=aC(t),o=i[0],a=i[1],s=t.props;return(0,R.jsxs)(ei.FormControl,{isInvalid:!!s.error,children:[s.label&&(0,R.jsx)(ei.FormLabel,{children:s.label}),(0,R.jsx)(sQ,{id:r,node:o,form:n}),a&&(0,R.jsx)(sW,{id:r,node:a}),(0,R.jsx)(ei.FormErrorMessage,{children:s.error})]},"".concat(r,"-field"))},Form:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Form"===t.type,"Expected value to be a form component.");var n=sE().handleEvent,i=t.props;return(0,R.jsx)(ei.Box,{as:"form",onSubmit:function(e){e.preventDefault(),n({event:v.FormSubmitEvent,name:i.name})},children:aC(t).map(function(e,n){return(0,R.jsx)(sG,{node:e,form:t.props.name},"".concat(r,"-form-child-").concat(n))})},r)},Heading:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Heading"===t.type,"Expected value to be a heading component.");var n=t.props;return(0,R.jsx)(ei.Heading,{fontFamily:"custom",fontSize:"x-large",fontWeight:"bold",paddingBottom:"4",children:n.children},"".concat(r,"-heading"))},Input:sQ,Italic:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Italic"===t.type,"Expected value to be an italic component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",as:"i",children:sZ(aC(t),r)},r)},Link:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Link"===t.type,"Expected value to be a link component.");var n=t.props;return(0,R.jsxs)(ei.Link,{href:n.href,target:"_blank",fontFamily:"custom",fontSize:"sm",isExternal:!0,color:"link.default",display:"inline",children:[sZ(aC(t),r),(0,R.jsx)(es,{icon:"linkOut",width:"14px",marginLeft:"2px",display:"inline",verticalAlign:"middle"})]})},Spinner:function(e){var t=e.id;return(0,R.jsx)(ei.Spinner,{},"".concat(t,"-spinner"))},Text:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Text"===t.type,"Expected value to be a text component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",children:sZ(aC(t),r)},r)},Image:function(e){var t=e.id,r=e.node;oa(r),(0,z.assert)("Image"===r.type,"Expected value to be a image component.");var n=r.props,i="data:image/svg+xml;utf8,".concat(encodeURIComponent(n.src));return(0,R.jsx)(ei.Image,{src:i,alt:n.alt},"".concat(t,"-image"))}},sG=function(e){var t=e.node,r=e.form,n=e.map,i=void 0===n?{}:n,o=e.id;if(!t)return null;var a=null!=o?o:s0(i,t),s=sH[t.type];if(!s)throw Error("Unknown component type: ".concat(t.type,"."));return(0,R.jsx)(s,{id:a,node:t,form:r},a)};function sZ(e,t){return e.map(function(e,r){return"string"==typeof e?(0,s$.unescape)(e):(0,R.jsx)(sG,{id:"".concat(t,"-text-child-").concat(r),node:e},"".concat(t,"-text-child-").concat(r))})}var sX=sY()(function(e){var t=e.type,r=e.props.name,n=function(e){if(!aw(e))return null;var t,r=e.props.children;return"string"==typeof r?r.slice(0,5e3):Array.isArray(r)?r.map(function(e){return{type:null!==(t=null==e?void 0:e.type)&&void 0!==t?t:null}}):r}(e);return(0,z.remove0x)((0,z.bytesToHex)(e1(JSON.stringify({type:t,name:null!=r?r:null,children:n}))))});function s0(e,t){var r,n=sX(t),i=(null!==(r=e[n])&&void 0!==r?r:0)+1;return e[n]=i,"".concat(n,"_").concat(i)}var s1=function(e){var t=e.content,r=s0({},t);return(0,R.jsx)(sS,{children:(0,R.jsx)(sG,{node:t,id:r})})};function s2(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["name","onClick"]);return(0,R.jsx)(ix,{cursor:"pointer",onClick:function(){r(n)},children:t})},lJ=function(e){var t=e.onClick;return(0,R.jsxs)(ei.Box,{marginBottom:"4",children:[(0,R.jsx)(ei.Text,{fontWeight:"500",fontSize:"xs",marginBottom:"1",children:"Transaction presets"}),(0,R.jsx)(ei.Flex,{gap:"2",children:lU.map(function(e,r){var n,i,o=e.name,a=e.transaction;return(0,U.createElement)(lq,(n=function(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var lY={chainId:"eip155:1",origin:"metamask.io",from:"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",to:"0x9f2817015caF6607C1198fB943A8241652EE8906",value:"0.01",gas:"21000",nonce:"5",maxFeePerGas:"10",maxPriorityFeePerGas:"1",data:"0x"},lV=function(){var t,r,n,i,o,a,s,l,u,c,p,_=el(lL).request,d=null!==(p=null==_?void 0:_.params)&&void 0!==p?p:{},f=d.chainId,m=d.transactionOrigin,h=d.transaction;lY.chainId,lY.origin;var y=lK(lY,["chainId","origin"]),g=(0,lh.useForm)({defaultValues:l$({chainId:null!=f?f:lY.chainId,transactionOrigin:null!=m?m:lY.origin},null!=h?h:y)}),b=g.handleSubmit,v=g.register,x=g.setValue,D=g.formState.errors,S=en();return(0,R.jsxs)(ei.Flex,{as:"form",flexDirection:"column",flex:"1",onSubmit:b(function(t){var r=t.chainId,n=t.transactionOrigin,i=lK(t,["chainId","transactionOrigin"]);S(nD({origin:"",handler:e.OnTransaction,request:{jsonrpc:"2.0",method:"onTransaction",params:{chainId:r,transaction:lB(i),transactionOrigin:n}}}))}),id:"request-form",children:[(0,R.jsx)(lJ,{onClick:function(e){x("chainId",e.chainId),x("transactionOrigin",e.transactionOrigin),x("from",e.from),x("to",e.to),x("value",e.value),x("data",e.data),x("gas",e.gas),x("maxFeePerGas",e.maxFeePerGas),x("maxPriorityFeePerGas",e.maxPriorityFeePerGas),x("nonce",e.nonce)}}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.chainId,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"chainId",children:"Chain ID"}),(0,R.jsx)(ei.Input,l$({id:"chainId",placeholder:lY.chainId,fontFamily:"code"},v("chainId"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(t=D.chainId)||void 0===t?void 0:t.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.transactionOrigin,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"origin",children:"Transaction Origin"}),(0,R.jsx)(ei.Input,l$({id:"origin",placeholder:lY.origin,fontFamily:"code"},v("transactionOrigin"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(r=D.transactionOrigin)||void 0===r?void 0:r.message})]})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.from,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"from",children:"From Address"}),(0,R.jsx)(ei.Input,l$({id:"from",placeholder:lY.from,fontFamily:"code"},v("from"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(n=D.from)||void 0===n?void 0:n.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.to,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"to",children:"To Address"}),(0,R.jsx)(ei.Input,l$({id:"to",placeholder:lY.to,fontFamily:"code"},v("to"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(i=D.to)||void 0===i?void 0:i.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.value,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"value",children:"Value"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"value",placeholder:lY.value,fontFamily:"code"},v("value"))),(0,R.jsx)(ei.InputRightAddon,{children:"ETH",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(o=D.value)||void 0===o?void 0:o.message})]}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.gas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"gas",children:"Gas Limit"}),(0,R.jsx)(ei.Input,l$({id:"gas",placeholder:lY.gas,fontFamily:"code"},v("gas"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(a=D.gas)||void 0===a?void 0:a.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.nonce,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"nonce",children:"Nonce"}),(0,R.jsx)(ei.Input,l$({id:"nonce",placeholder:lY.nonce,fontFamily:"code"},v("nonce"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(s=D.nonce)||void 0===s?void 0:s.message})]})]}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.maxFeePerGas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"maxFeePerGas",children:"Max Fee Per Gas"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"maxFeePerGas",placeholder:lY.maxFeePerGas,fontFamily:"code"},v("maxFeePerGas"))),(0,R.jsx)(ei.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(l=D.maxFeePerGas)||void 0===l?void 0:l.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.maxPriorityFeePerGas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"maxPriorityFeePerGas",children:"Max Priority Fee Per Gas"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"maxPriorityFeePerGas",placeholder:lY.maxPriorityFeePerGas,fontFamily:"code"},v("maxPriorityFeePerGas"))),(0,R.jsx)(ei.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(u=D.maxPriorityFeePerGas)||void 0===u?void 0:u.message})]})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.data,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"data",children:"Data"}),(0,R.jsx)(ei.Textarea,l$({id:"data",placeholder:lY.data,fontFamily:"code"},v("data"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(c=D.data)||void 0===c?void 0:c.message})]})]})},lW=(0,q.createHashRouter)((0,q.createRoutesFromElements)((0,R.jsxs)(q.Route,{element:(0,R.jsx)(function(){return(0,R.jsxs)(ei.Flex,{direction:"column",height:"100vh",children:[(0,R.jsx)(nJ,{}),(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ie,{}),(0,R.jsxs)(ei.Flex,{direction:"column",width:"full",children:[(0,R.jsx)(ei.Flex,{flex:"1",overflow:"hidden",children:(0,R.jsx)(q.Outlet,{})}),(0,R.jsx)(eg,{})]})]})]})},{}),children:[(0,R.jsx)(q.Route,{path:"/",element:(0,R.jsx)(q.Navigate,{to:"/handler/".concat(e.OnRpcRequest),replace:!0})}),(0,R.jsx)(q.Route,{path:"/builder",element:(0,R.jsx)(function(){var e,t,r=s7((0,U.useState)(2),2),n=r[0],i=r[1],o=s7((0,U.useState)([{id:1,parent:0,text:"Box",droppable:!0,data:ii({children:null})}]),2),a=o[0],s=o[1];return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Builder"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsxs)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:[(0,R.jsx)(iT,{nextId:n,incrementId:function(){i(function(e){return e+1})}}),(0,R.jsx)(a7,{items:a,setItems:s})]})})]})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsxs)(ei.TabList,{children:[(0,R.jsx)(ei.Tab,{children:"Result"}),(0,R.jsx)(ei.Tab,{children:"Code"})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"4",children:(0,R.jsx)(s5,{items:a})}),(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(iu,{border:"none",value:(t=(function e(t){var r=new Set;r.add(t.type);var n=aC(t),i=!0,o=!1,a=void 0;try{for(var s,l=n[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;if("string"!=typeof u&&(r.add(u.type),aw(t))){var c=e(u),p=!0,_=!1,d=void 0;try{for(var f,m=c[Symbol.iterator]();!(p=(f=m.next()).done);p=!0){var h=f.value;r.add(h)}}catch(e){_=!0,d=e}finally{try{p||null==m.return||m.return()}finally{if(_)throw d}}}}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return Array.from(r).sort(function(e,t){return e.localeCompare(t)})})(e=aB(a)).join(", "),aO().format("\n import { ".concat(t," } from '@metamask/snaps-sdk/jsx';\n\n const Component = () => (").concat(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Array.isArray(t))return t.map(function(t){return e(t,r)}).join("");var n=" ".repeat(r);if("string"==typeof t)return"".concat(n).concat(t,"\n");if(!t)return"";var i=t.type,o=t.props,a=r>0?"\n":"";if((0,z.hasProperty)(o,"children")){var s=e(o.children,r+1);return"".concat(n,"<").concat(i).concat(aN(o),">\n").concat(s).concat(n,"").concat(a)}return"".concat(n,"<").concat(i).concat(aN(o)," />").concat(a)}(e),");\n"),{parser:"typescript",plugins:[ak()],printWidth:80,tabWidth:2,singleQuote:!0,trailingComma:"all"})),language:"typescript",options:{readOnly:!0}})})]})]})})]})})},{})}),(0,R.jsx)(q.Route,{path:"/manifest",element:(0,R.jsx)(function(){var e=el(nL);return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Validation"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(lt,{})})})]})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Manifest"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(iu,{border:"none",value:JSON.stringify(e,null,2),options:{readOnly:!0,wordWrap:"on"}})})})]})})]})})},{})}),(0,R.jsxs)(q.Route,{path:"/handler",element:(0,R.jsx)(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,U.useState)(0))||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return lb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lb(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1],i=el(nI);return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(lr,{isTest:!1,children:(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",isLazy:!0,onChange:n,children:[(0,R.jsx)(lp,{}),(0,R.jsxs)(ei.TabList,{alignItems:"center",children:[(0,R.jsx)(ei.Tab,{children:"Request"}),(0,R.jsx)(ei.Tab,{children:"History"}),0===r&&(0,R.jsx)(ei.Box,{marginLeft:"auto",children:(0,R.jsx)(lc,{})})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto","data-testid":"tab-request",children:(0,R.jsx)(q.Outlet,{})}),(0,R.jsx)(ei.TabPanel,{padding:"0",display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:(0,R.jsx)(ls,{})})]})]})})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(lp,{}),(0,R.jsx)(l_,{}),(0,R.jsxs)(ei.TabList,{children:[(0,R.jsx)(ei.Tab,{children:"Response"}),i&&(0,R.jsx)(ei.Tab,{children:"UI"})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0","data-testid":"tab-response",children:(0,R.jsx)(ld,{})}),i&&(0,R.jsx)(ei.TabPanel,{overflowY:"auto","data-testid":"tab-ui",children:(0,R.jsx)(lg,{})})]})]})})]})})},{}),children:[(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnRpcRequest),element:(0,R.jsx)(function(){return(0,R.jsx)(lT,{})},{})}),(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnCronjob),element:(0,R.jsx)(function(){return(0,R.jsx)(lI,{})},{})}),(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnTransaction),element:(0,R.jsx)(function(){return(0,R.jsx)(lV,{})},{})})]})]})));function lQ(e){for(var t=1;t1?t-1:0),n=1;n1?t-1:0),n=1;n1?t-1:0),n=1;n2?r-2:0),i=2;i2?i-2:0),a=2;a2?r-2:0),i=2;icrypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function u1(e){var t;return(0,z.isPlainObject)(e)&&(0,z.hasProperty)(e,"type")&&(0,z.hasProperty)(e,"props")&&(0,z.hasProperty)(e,"key")?e:(t=function e(t){switch(t.type){case f.Panel:return t.children.reduce(function(t,r){return t+e(r)},0);case f.Row:return e(t.value);case f.Text:return t.value.length;default:return 0}}(e),(0,z.assert)(t<=5e4,"The text in a Snap UI may not be larger than ".concat(50," kB.")),function e(t){switch(t.type){case f.Address:return os(od,{address:t.value});case f.Button:return os(ih,{name:t.name,variant:function(e){switch(e){case"primary":return"primary";case"secondary":return"destructive";default:return}}(t.variant),type:t.buttonType,children:t.value});case f.Copyable:return os(id,{value:t.value,sensitive:t.sensitive});case f.Divider:return os(i_,{});case f.Form:return os(iy,{name:t.name,children:aD(t.children.map(e))});case f.Heading:return os(ic,{children:t.value});case f.Image:return os(im,{src:t.value});case f.Input:return os(ig,{label:t.label,error:t.error,children:os(ib,{name:t.name,type:t.inputType,value:t.value,placeholder:t.placeholder})});case f.Panel:return os(ii,{children:aD(t.children.map(e))});case f.Row:return os(of,{label:t.label,variant:t.variant,children:e(t.value)});case f.Spinner:return os(om,{});case f.Text:var r,n;return os(ip,{children:aD((r=ay(t.value,{gfm:!1}),n=[],ah(r,function(e){if("paragraph"===e.type){n.length>0&&n.push("\n\n");var t,r=e.tokens;n.push.apply(n,function(e){if(Array.isArray(e))return ag(e)}(t=r.flatMap(aE))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||av(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}),n.filter(function(e){return null!==e})))});default:return(0,z.assertExhaustive)(t)}}(e))}function u2(e,t){(0,z.assert)(void 0===e[t],'Duplicate component names are not allowed, found multiple instances of: "'.concat(t,'".'))}function u3(e,t,r){var n,i,o,a=r?e[r]:e,s=null==a?void 0:a[t.props.name];return"FileInput"===t.type?null!=s?s:null:null!==(o=null!==(i=null!==(n="Checkbox"===t.type?t.props.checked:t.props.value)&&void 0!==n?n:s)&&void 0!==i?i:function(e){switch(e.type){case"Dropdown":var t;return null===(t=aC(e)[0])||void 0===t?void 0:t.props.value;case"Checkbox":return!1;default:return null}}(t))&&void 0!==o?o:null}function u4(e,t){var r={},n=[];return aM(t,function(t,i){var o=n[n.length-1];if(o&&i<=o.depth&&(n.pop(),o=n[n.length-1]),"Form"===t.type){u2(r,t.props.name),n.push({name:t.props.name,depth:i}),r[t.props.name]={};return}if(o&&("Input"===t.type||"Dropdown"===t.type||"FileInput"===t.type||"Checkbox"===t.type)){var a=r[o.name];u2(a,t.props.name),a[t.props.name]=u3(e,t,o.name);return}("Input"===t.type||"Dropdown"===t.type||"FileInput"===t.type||"Checkbox"===t.type)&&(u2(r,t.props.name),r[t.props.name]=u3(e,t))}),r}function u6(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function u8(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){u5(o,n,i,a,s,"next",e)}function s(e){u5(o,n,i,a,s,"throw",e)}a(void 0)})}}function u7(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function u9(e,t){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function ce(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2)||void 0===n[2]||n[2],[4,new Promise(function(n,i){var o=document.createElement("iframe");o.setAttribute("id",t),o.setAttribute("data-testid","snaps-iframe"),r&&o.setAttribute("sandbox","allow-scripts"),o.setAttribute("src",e),document.body.appendChild(o),o.addEventListener("load",function(){o.contentWindow?n(o.contentWindow):i(Error('iframe.contentWindow not present on load for job "'.concat(t,'".')))})})];case 1:return[2,i.sent()]}})},(cA=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){cw(o,n,i,a,s,"next",e)}function s(e){cw(o,n,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var cC=r(9952),cM=r.n(cC),cN={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},cj={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}};function ck(e,t="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(e)){let t=e.toString();if((0,z.hasProperty)(cj,t))return cj[t].message;if(e>=-32099&&e<=-32e3)return"Unspecified server error."}return t}function cI(e){return Object.getOwnPropertyNames(e).reduce((t,r)=>{let n=e[r];return(0,z.isValidJson)(n)&&(t[r]=n),t},{})}ck(cN.rpc.internal);var cO=r(7847),cP=r.n(cO),cF=class extends Error{constructor(e,t,r){if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');super(t),this.code=e,void 0!==r&&(this.data=r)}serialize(){var e;let t={code:this.code,message:this.message};return void 0!==this.data&&(t.data=this.data,(0,z.isPlainObject)(this.data)&&(t.data.cause=Array.isArray(e=this.data.cause)?e.map(e=>(0,z.isValidJson)(e)?e:(0,z.isObject)(e)?cI(e):null):(0,z.isObject)(e)?cI(e):(0,z.isValidJson)(e)?e:null)),this.stack&&(t.stack=this.stack),t}toString(){return cP()(this.serialize(),cR,2)}},cL=class extends cF{constructor(e,t,r){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,r)}};function cR(e,t){if("[Circular]"!==t)return t}var cz={parse:e=>cU(cN.rpc.parse,e),invalidRequest:e=>cU(cN.rpc.invalidRequest,e),invalidParams:e=>cU(cN.rpc.invalidParams,e),methodNotFound:e=>cU(cN.rpc.methodNotFound,e),internal:e=>cU(cN.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return cU(t,e)},invalidInput:e=>cU(cN.rpc.invalidInput,e),resourceNotFound:e=>cU(cN.rpc.resourceNotFound,e),resourceUnavailable:e=>cU(cN.rpc.resourceUnavailable,e),transactionRejected:e=>cU(cN.rpc.transactionRejected,e),methodNotSupported:e=>cU(cN.rpc.methodNotSupported,e),limitExceeded:e=>cU(cN.rpc.limitExceeded,e)},cB={userRejectedRequest:e=>cq(cN.provider.userRejectedRequest,e),unauthorized:e=>cq(cN.provider.unauthorized,e),unsupportedMethod:e=>cq(cN.provider.unsupportedMethod,e),disconnected:e=>cq(cN.provider.disconnected,e),chainDisconnected:e=>cq(cN.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:r,data:n}=e;if(!r||"string"!=typeof r)throw Error('"message" must be a nonempty string');return new cL(t,r,n)}};function cU(e,t){let[r,n]=cJ(t);return new cF(e,r??ck(e),n)}function cq(e,t){let[r,n]=cJ(t);return new cL(e,r??ck(e),n)}function cJ(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[t??void 0,r]}}return[]}function c$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1?r-1:0),i=1;i=0,TypeError("Can't start a timer with negative time")),this.state={value:"stopped",remaining:e}}return e=[{key:"status",get:function(){return this.state.value}},{key:"remaining",get:function(){return this.state.remaining}},{key:"cancel",value:function(){(0,z.assert)("paused"===this.status||"running"===this.status,Error("Tried to cancel a not running Timer")),this.onFinish(!1)}},{key:"finish",value:function(){(0,z.assert)("finished"!==this.status,Error("Tried to finish a finished Timer.")),this.onFinish(!0)}},{key:"pause",value:function(){(0,z.assert)("running"===this.state.value,Error("Tried to pause a not running Timer"));var e=this.state,t=e.callback,r=e.start,n=e.timeout,i=e.remaining;void 0!==n&&clearTimeout(n),this.state={value:"paused",callback:t,remaining:i-(Date.now()-r)}}},{key:"start",value:function(e){(0,z.assert)("stopped"===this.state.value,Error("Tried to start an already running Timer"));var t=this.state.remaining;this.state={value:"paused",remaining:t,callback:e},this.resume()}},{key:"resume",value:function(){var e,t=this;(0,z.assert)("paused"===this.state.value,Error("Tried to resume not paused Timer"));var r=this.state,n=r.remaining,i=r.callback,o=Date.now();n!==Number.POSITIVE_INFINITY&&(e=setTimeout(function(){return t.onFinish(!0)},n)),this.state={value:"running",callback:i,remaining:n,start:o,timeout:e}}},{key:"onFinish",value:function(e){(0,z.assert)("running"===this.state.value||"paused"===this.state.value),"running"===this.state.value&&void 0!==this.state.timeout&&clearTimeout(this.state.timeout);var t=this.state,r=t.callback,n=t.remaining;this.state={value:"finished",remaining:"running"===this.state.value?n-(Date.now()-this.state.start):n},e&&r()}}],cW(r.prototype,e),t&&cW(r,t),r}();function cH(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function cG(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){cH(o,n,i,a,s,"next",e)}function s(e){cH(o,n,i,a,s,"throw",e)}a(void 0)})}}function cZ(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,["maxRequestTime"]));return s?(i=function(e){for(var t=1;t0),{caveats:t}})),_r(M,p$.targetName,pI(function(e){return{caveats:[{type:n.KeyringOrigin,value:e}]}})),_r(M,p6.targetName,pI(function(e){return!e||!(0,z.isObject)(e)||(0,z.isObject)(e)&&0===Object.keys(e).length?{caveats:null}:{caveats:[{type:n.SignatureOrigin,value:(0,z.hasProperty)(e,"allowSignatureOrigin")&&e.allowSignatureOrigin}]}})),_r(M,pV.targetName,pk),_r(M,pU.targetName,pk),M);_r(N={},e.OnRpcRequest,p2.targetName),_r(N,e.OnTransaction,p7.targetName),_r(N,e.OnCronjob,pF.targetName),_r(N,e.OnNameLookup,pH.targetName),_r(N,e.OnInstall,pV.targetName),_r(N,e.OnUpdate,pV.targetName),_r(N,e.OnKeyringRequest,p$.targetName),_r(N,e.OnHomePage,pU.targetName),_r(N,e.OnSignature,p6.targetName),_r(N,e.OnUserInput,null);let _a=BigInt(4294967296-1),_s=BigInt(32),_l=(e,t,r)=>e<>>32-r,_u=(e,t,r)=>t<>>32-r,_c=(e,t,r)=>t<>>64-r,_p=(e,t,r)=>e<>>64-r,__=[],_d=[],_f=[],_m=BigInt(0),_h=BigInt(1),_y=BigInt(2),_g=BigInt(7),_b=BigInt(256),_v=BigInt(113);for(let e=0,t=_h,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],__.push(2*(5*n+r)),_d.push((e+1)*(e+2)/2%64);let i=_m;for(let e=0;e<7;e++)(t=(t<<_h^(t>>_g)*_v)%_b)&_y&&(i^=_h<<(_h<>_s&_a)}:{h:0|Number(e>>_s&_a),l:0|Number(e&_a)}}(e[i],t);[r[i],n[i]]=[o,a]}return[r,n]}(_f,!0),_S=(e,t,r)=>r>32?_c(e,t,r):_l(e,t,r),_E=(e,t,r)=>r>32?_p(e,t,r):_u(e,t,r);class _T extends eY{constructor(e,t,r,n=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,eP(r),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=ez(this.state)}keccak(){eq||e$(this.state32),function(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],a=r[i+1],s=_S(o,a,1)^r[n],l=_E(o,a,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=l}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=_d[r],o=_S(t,i,n),a=_E(t,i,n),s=__[r];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=_x[n],e[1]^=_D[n]}r.fill(0)}(this.state32,this.rounds),eq||e$(this.state32),this.posOut=0,this.pos=0}update(e){eL(this);let{blockLen:t,state:r}=this;e=eK(e);let n=e.length;for(let i=0;i=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return eP(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(eR(e,this),this.finished)throw 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){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new _T(t,r,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}let _w=eV(()=>new _T(136,1,32));function _A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]>>0;t.push("bip32:".concat(i-2147483648,"'"))}return t}(_w((0,z.concatBytes)([a,_w(s)]))),[4,tj.SLIP10Node.fromDerivationPath({derivationPath:[i,"bip32:".concat(o)].concat(_N(l)),curve:"secp256k1"})];case 1:return u=c.sent().privateKey,(0,z.assert)(u,"Failed to derive the entropy."),[2,(0,z.add0x)(u)]}})})).apply(this,arguments)}function _O(e){return _P.apply(this,arguments)}function _P(){return(_P=_M(function(e){var t,r,n,i;return _j(this,function(o){switch(o.label){case 0:return t=e.curve,r=e.secretRecoveryPhrase,n=e.path,i=function(e){switch(e){case"secp256k1":return"bip32";case"ed25519":return"slip10";case"ed25519Bip32":return"cip3";default:return(0,z.assertExhaustive)(e)}}(t),[4,tj.SLIP10Node.fromDerivationPath({curve:t,derivationPath:[r].concat(_N(n.slice(1).map(function(e){return"".concat(i,":").concat(e)})))})];case 1:return[2,o.sent()]}})})).apply(this,arguments)}function _F(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}var _L="snap_getBip32Entropy",_R=Object.freeze({targetName:_L,specificationBuilder:function(e){var t,r,i,o,a=e.methodHooks;return{permissionType:tz.PermissionType.RestrictedMethod,targetName:_L,allowedCaveats:[n.PermittedDerivationPaths],methodImplementation:(i=a.getMnemonic,o=a.getUnlockPromise,t=function(e){var t,r;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2147483647)throw cz.invalidParams({message:'Invalid "coinType" parameter. Coin type must be a non-negative integer.'});if(rr.includes(e.coinType))throw cz.invalidParams({message:"Coin type ".concat(e.coinType," is forbidden.")})}var _0=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n.PermittedCoinTypes,Object.freeze({type:n.PermittedCoinTypes,decorator:function(e,t){var r,n;return r=function(r){var n;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]3&&void 0!==arguments[3]&&arguments[3];(0,z.assert)(t.schema,"Expected a struct with a schema. Make sure to use `union` from `@metamask/snaps-sdk`."),(0,z.assert)(t.schema.length>0,"Expected a non-empty array of structs.");var i=t.schema.map(function(e){return e.schema[r]}),o=(0,eS.type)(t5({},r,t2(i))),a=t8((0,eS.validate)(e,o,{coerce:n}),1)[0];if(a)throw Error(t9(o,a.failures()[0],!1));var s=t.schema.filter(function(t){return(0,eS.is)(e[r],t.schema[r])});(0,z.assert)(s.length>0,"Expected a struct to match the value.");var l=s.map(function(t){return(0,eS.validate)(e,t,{coerce:n})}),u=l.find(function(e){return!t8(e,1)[0]});if(u)return u[1];throw(0,z.assert)(l[0][0],"Expected at least one error."),Error(t9(t,l.reduce(function(e,t){var r=t8(t,1)[0];return((0,z.assert)(r,"Expected an error."),r.failures().length0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2&&void 0!==arguments[2]?arguments[2]:104857600;if(!(0,z.isObject)(e))throw cz.invalidParams({message:"Expected params to be a single object."});var i=e.operation,o=e.newState,a=e.encrypted;if(!i||"string"!=typeof i||!Object.values(P).includes(i))throw cz.invalidParams({message:'Must specify a valid manage state "operation".'});if(void 0!==a&&"boolean"!=typeof a)throw cz.invalidParams({message:'"encrypted" parameter must be a boolean if specified.'});if(i===P.UpdateState){if(!(0,z.isObject)(o))throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be a plain object.'),data:{receivedNewState:void 0===o?"undefined":o}});try{r=(0,z.getJsonSize)(o)}catch(e){throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be JSON serializable.'),data:{receivedNewState:void 0===o?"undefined":o}})}if(r>n)throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must not exceed ').concat(n," bytes in size."),data:{receivedNewState:void 0===o?"undefined":o}})}return e}(r,s)).encrypted)||void 0===c||c)&&u.operation!==P.ClearState))return[3,2];return[4,n(!0)];case 1:_.sent(),_.label=2;case 2:switch(u.operation){case P.ClearState:return[3,3];case P.GetState:return[3,4];case P.UpdateState:return[3,6]}return[3,8];case 3:return i(l,p),[2,null];case 4:return[4,o(l,p)];case 5:return[2,_.sent()];case 6:return[4,a(l,u.newState,p)];case 7:return _.sent(),[2,null];case 8:throw cz.invalidParams("Invalid ".concat(s,' operation: "').concat(u.operation,'"'));case 9:return[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(e){dz(o,n,i,a,s,"next",e)}function s(e){dz(o,n,i,a,s,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)}),subjectTypes:[tz.SubjectType.Snap]}},methodHooks:{getUnlockPromise:!0,clearSnapState:!0,getSnapState:!0,updateSnapState:!0}});function dq(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}var dJ="snap_notify",d$=Object.freeze({targetName:dJ,specificationBuilder:function(e){var t,r,n,i,o,a,s=e.allowedCaveats,l=e.methodHooks;return{permissionType:tz.PermissionType.RestrictedMethod,targetName:dJ,allowedCaveats:void 0===s?null:s,methodImplementation:(n=l.showNativeNotification,i=l.showInAppNotification,o=l.isOnPhishingList,a=l.maybeUpdatePhishingList,t=function(e){var t,r,s;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=50)throw cz.invalidParams({message:'Must specify a non-empty string "message" less than 50 characters long.'});return e}(t),[4,a()];case 1:switch(l.sent(),function(e,t){var r=(a=ay(e,{gfm:!1}),s=[],ah(a,function(e){"link"===e.type&&s.push(e)}),s),n=!0,i=!1,o=void 0;try{for(var a,s,l,u=r[Symbol.iterator]();!(n=(l=u.next()).done);n=!0){var c=l.value;aT(c.href,t)}}catch(e){i=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}}(s.message,o),s.type){case S.Native:return[3,2];case S.InApp:return[3,4]}return[3,6];case 2:return[4,n(r,s)];case 3:case 5:return[2,l.sent()];case 4:return[4,i(r,s)];case 6:throw cz.invalidParams({message:'Must specify a valid notification "type".'});case 7:return[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(e){dq(o,n,i,a,s,"next",e)}function s(e){dq(o,n,i,a,s,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)}),subjectTypes:[tz.SubjectType.Snap]}},methodHooks:{showNativeNotification:!0,showInAppNotification:!0,isOnPhishingList:!0,maybeUpdatePhishingList:!0}});function dK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dY=(dK(F={},dx.targetName,dx),dK(F,_R.targetName,_R),dK(F,_q.targetName,_q),dK(F,_K.targetName,_K),dK(F,dj.targetName,dj),dK(F,_G.targetName,_G),dK(F,dU.targetName,dU),dK(F,d$.targetName,d$),dK(F,dR.targetName,dR),dK(F,dO.targetName,dO),F);function dV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==a[1]?a[1]:L.Base64,[4,uL(nz)];case 1:if(n=s.sent(),i=rS(e),!(o=null===(r=n.find(function(e){return e.path===i}))||void 0===r?void 0:r.toString("base64")))return[2,null];return[4,uO(fw,o,t)];case 2:return[2,s.sent()]}})}function fF(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"createInterface"],e,t)];case 2:return[2,r.sent()]}})}function fL(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"getInterface"],e,t)];case 2:return[2,r.sent()]}})}function fR(e,t,r){return fM(this,function(n){switch(n.label){case 0:return[4,uL(nC)];case 1:return[4,uO([n.sent(),"updateInterface"],e,t,r)];case 2:return n.sent(),[4,uO(fL,e,t)];case 3:return[4,uj(nh(fC({id:t},n.sent())))];case 4:return n.sent(),[2]}})}function fz(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"getInterface"],e,t)];case 2:return[2,r.sent().state]}})}function fB(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function fU(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){fB(o,n,i,a,s,"next",e)}function s(e){fB(o,n,i,a,s,"throw",e)}a(void 0)})}}function fq(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2?r-2:0),i=2;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),ms(this,"cache",new Map),ms(this,"validatedManifest",void 0),ms(this,"url",void 0),ms(this,"fetchFn",void 0),ms(this,"fetchOptions",void 0),(0,z.assertStruct)(e.toString(),tT,"Invalid Snap Id: "),this.fetchFn=null!==(t=n.fetch)&&void 0!==t?t:globalThis.fetch.bind(globalThis),this.fetchOptions=n.fetchOptions,this.url=e}return e=[{key:"manifest",value:function(){var e=this;return mo(function(){var t,r,n,o,a;return ml(this,function(s){switch(s.label){case 0:if(e.validatedManifest)return[2,e.validatedManifest.clone()];return t=new URL(i.Manifest,e.url).toString(),[4,e.fetchFn(t,e.fetchOptions)];case 1:if(!(r=s.sent()).ok)throw Error('Failed to fetch "'.concat(t,'". Status code: ').concat(r.status,"."));return[4,r.text()];case 2:return o=tM(n=s.sent()),a=new e8({value:n,result:rD(o),path:i.Manifest,data:{canonicalPath:t}}),e.validatedManifest=a,[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return mo(function(){var r,n,i,o,a,s,l,u,c,p,_;return ml(this,function(d){switch(d.label){case 0:if(r=rS(e),!(void 0!==(n=t.cache.get(r))))return[3,2];return i=n.file,o=n.contents,s=Uint8Array.bind,[4,o.arrayBuffer()];case 1:return a=new(s.apply(Uint8Array,[void 0,d.sent()])),(l=i.clone()).value=a,[2,l];case 2:return u=t.toCanonical(r).toString(),[4,t.fetchFn(u,t.fetchOptions)];case 3:if(!(c=d.sent()).ok)throw Error('Failed to fetch "'.concat(u,'". Status code: ').concat(c.status,"."));return p=new e8({value:"",path:r,data:{canonicalPath:u}}),[4,c.blob()];case 4:return _=d.sent(),(0,z.assert)(!t.cache.has(r),"Corrupted cache, multiple files with same path."),t.cache.set(r,{file:p,contents:_}),[2,t.fetch(r)]}})})()}},{key:"root",get:function(){return new URL(this.url)}},{key:"toCanonical",value:function(e){return(0,z.assert)(!e.startsWith("/"),"Tried to parse absolute path."),new URL(e,this.url)}}],ma(r.prototype,e),t&&ma(r,t),r}();function mc(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function mp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){mc(o,n,i,a,s,"next",e)}function s(e){mc(o,n,i,a,s,"throw",e)}a(void 0)})}}function m_(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function md(e,t){var r=m_(e,t,"get");return r.get?r.get.call(e):r.value}function mf(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,mh),mh.set(this,{writable:!0,value:void 0}),(0,z.assertStruct)(e.toString(),tS,"Invalid Snap Id"),(0,z.assert)(void 0===a.fetchOptions,"Currently adding fetch options to local: is unsupported."),i=new mu(new URL(e.toString().slice(o.local.length)),(t=function(e){for(var t=1;t0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?[2,r.join("\n")]:[2,!0]})});return function(t,r){return e.apply(this,arguments)}}()},{name:"Checksum",manifestName:"source.shasum",validator:function(){var e=mI(function(e,t){var r,n,i,o,a,s,l;return mP(this,function(u){switch(u.label){case 0:if(r=t.sourceCode,n=t.icon,i=t.auxiliaryFiles,o=t.localizationFiles,!e)return[3,2];return s=null===(a=e.result)||void 0===a?void 0:a.source.shasum,[4,function(e){return tv.apply(this,arguments)}({manifest:e,sourceCode:r,svgIcon:n,auxiliaryFiles:i,localizationFiles:o})];case 1:if(l=u.sent(),s!==l)return[2,'Checksum mismatch - expected "'.concat(l,'" got "').concat(s,'"')];u.label=2;case 2:return[2,!0]}})});return function(t,r){return e.apply(this,arguments)}}()},{name:"Bundle",manifestName:"filePath",validator:function(){var e=mI(function(e,t){var r,n,i,o,a,s,l;return mP(this,function(u){return(r=t.sourceCode,l=mO(rx.schema.source.schema.location.schema.npm.schema.filePath.validate(null===(s=e)||void 0===s?void 0:null===(a=s.result)||void 0===a?void 0:null===(o=a.source)||void 0===o?void 0:null===(i=o.location)||void 0===i?void 0:null===(n=i.npm)||void 0===n?void 0:n.filePath),1)[0])?[2,l.message]:r?[2,!0]:[2,"Unable to load bundle."]})});return function(t,r){return e.apply(this,arguments)}}()}];function mL(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]${e}`}em(e){return`${e}`}codespan(e){return`${e}`}br(){return"
    "}del(e){return`${e}`}link(e,t,r){let n=oC(e);if(null===n)return r;let i='
    "}image(e,t,r){let n=oC(e);if(null===n)return r;let i=`${r}"colon"===(t=t.toLowerCase())?":":"#"===t.charAt(0)?"x"===t.charAt(1)?String.fromCharCode(parseInt(t.substring(2),16)):String.fromCharCode(+t.substring(1)):""));continue;case"code":r+=this.renderer.code(i.text,i.lang,!!i.escaped);continue;case"table":{let e="",t="";for(let e=0;e0&&"paragraph"===t.tokens[0].type?(t.tokens[0].text=e+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&"text"===t.tokens[0].tokens[0].type&&(t.tokens[0].tokens[0].text=e+" "+t.tokens[0].tokens[0].text)):t.tokens.unshift({type:"text",text:e+" "}):s+=e+" "}s+=this.parse(t.tokens,n),o+=this.renderer.listitem(s,a,!!r)}r+=this.renderer.list(o,e,t);continue}case"html":r+=this.renderer.html(i.text,i.block);continue;case"paragraph":r+=this.renderer.paragraph(this.parseInline(i.tokens));continue;case"text":{let o=i,a=o.tokens?this.parseInline(o.tokens):o.text;for(;n+1{let i=e[n].flat(1/0);r=r.concat(this.walkTokens(i,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];r?t.renderers[e.name]=function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:t.renderers[e.name]=e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new au(this.defaults);for(let r in e.renderer){if(!(r in t))throw Error(`renderer '${r}' does not exist`);if("options"===r)continue;let n=e.renderer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new oI(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=e.tokenizer[r],i=t[r];t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new a_;for(let r in e.hooks){if(!(r in t))throw Error(`hook '${r}' does not exist`);if("options"===r)continue;let n=e.hooks[r],i=t[r];a_.passThroughHooks.has(r)?t[r]=e=>{if(this.defaults.async)return Promise.resolve(n.call(t,e)).then(e=>i.call(t,e));let r=n.call(t,e);return i.call(t,r)}:t[r]=(...e)=>{let r=n.apply(t,e);return!1===r&&(r=i.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return al.lex(e,t??this.defaults)}parser(e,t){return ap.parse(e,t??this.defaults)}#e(e,t){return(r,n)=>{let i={...n},o={...this.defaults,...i};!0===this.defaults.async&&!1===i.async&&(o.silent||console.warn("marked(): The async option was set to true by an extension. The async: false option sent to parse will be ignored."),o.async=!0);let a=this.#t(!!o.silent,!!o.async);if(null==r)return a(Error("marked(): input parameter is undefined or null"));if("string"!=typeof r)return a(Error("marked(): input parameter is of type "+Object.prototype.toString.call(r)+", string expected"));if(o.hooks&&(o.hooks.options=o),o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(r):r).then(t=>e(t,o)).then(e=>o.hooks?o.hooks.processAllTokens(e):e).then(e=>o.walkTokens?Promise.all(this.walkTokens(e,o.walkTokens)).then(()=>e):e).then(e=>t(e,o)).then(e=>o.hooks?o.hooks.postprocess(e):e).catch(a);try{o.hooks&&(r=o.hooks.preprocess(r));let n=e(r,o);o.hooks&&(n=o.hooks.processAllTokens(n)),o.walkTokens&&this.walkTokens(n,o.walkTokens);let i=t(n,o);return o.hooks&&(i=o.hooks.postprocess(i)),i}catch(e){return a(e)}}}#t(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="

    An error occurred:

    "+oE(r.message+"",!0)+"
    ";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}}let af=new ad;function am(e,t){return af.parse(e,t)}am.options=am.setOptions=function(e){return af.setOptions(e),am.defaults=af.defaults,oy=am.defaults,am},am.getDefaults=oh,am.defaults=oy,am.use=function(...e){return af.use(...e),am.defaults=af.defaults,oy=am.defaults,am},am.walkTokens=function(e,t){return af.walkTokens(e,t)},am.parseInline=af.parseInline,am.Parser=ap,am.parser=ap.parse,am.Renderer=au,am.TextRenderer=ac,am.Lexer=al,am.lexer=al.lex,am.Tokenizer=oI,am.Hooks=a_,am.parse=am,am.options,am.setOptions,am.use;let ah=am.walkTokens;am.parseInline,ap.parse;let ay=al.lex;function ag(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0?aD(e.tokens.flatMap(aE)):e.href});case"text":return e.text;case"strong":return os(op,{children:aS(e.tokens)});case"em":return os(o_,{children:aS(e.tokens)});default:return null}}function aT(e,t){try{var r,n=new URL(e);(0,z.assert)(ax.includes(n.protocol),"Protocol must be one of: ".concat(ax.join(", "),"."));var i="mailto:"===n.protocol?n.pathname.split("@")[1]:n.hostname;(0,z.assert)(!t(i),"The specified URL is not allowed.")}catch(e){throw Error("Invalid URL: ".concat((null!=(r=z.AssertionError)&&"undefined"!=typeof Symbol&&r[Symbol.hasInstance]?!!r[Symbol.hasInstance](e):e instanceof r)?e.message:"Unable to parse URL."))}}function aw(e){return(0,z.hasProperty)(e.props,"children")}function aA(e){return!!e&&!0!==e}function aC(e){if(aw(e)){if(Array.isArray(e.props.children))return e.props.children.filter(aA).flat(1/0);if(e.props.children)return[e.props.children]}return[]}function aM(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(Array.isArray(e)){var n=!0,i=!1,o=void 0;try{for(var a,s=e[Symbol.iterator]();!(n=(a=s.next()).done);n=!0){var l=a.value,u=aM(l,t,r);if(void 0!==u)return u}}catch(e){i=!0,o=e}finally{try{n||null==s.return||s.return()}finally{if(i)throw o}}return}var c=t(e,r);if(void 0!==c)return c;if((0,z.hasProperty)(e,"props")&&(0,z.isPlainObject)(e.props)&&(0,z.hasProperty)(e.props,"children")){var p=aC(e),_=!0,d=!1,f=void 0;try{for(var m,h=p[Symbol.iterator]();!(_=(m=h.next()).done);_=!0){var y=m.value;if((0,z.isPlainObject)(y)){var g=aM(y,t,r+1);if(void 0!==g)return g}}}catch(e){d=!0,f=e}finally{try{_||null==h.return||h.return()}finally{if(d)throw f}}}}function aN(e){return Object.entries(e).filter(function(e){return"children"!==ab(e,1)[0]}).sort(function(e,t){var r=ab(e,1)[0],n=ab(t,1)[0];return r.localeCompare(n)}).map(function(e){var t=ab(e,2),r=t[0],n=t[1];return" ".concat(r,"=").concat("string"==typeof n?'"'.concat(n,'"'):"{".concat(JSON.stringify(n),"}"))}).join("")}var aj=r(8261),ak=r.n(aj),aI=r(9691),aO=r.n(aI);function aP(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1?"move":"default",children:[(0,R.jsx)(es,{icon:r.data.type.toLowerCase(),width:"16px"}),(0,R.jsx)(ei.Text,{fontWeight:"500",fontSize:"sm",textTransform:"capitalize",color:"text.muted",display:"inline-block",minWidth:"65px",children:r.data.type}),i,r.id>=2&&(0,R.jsx)(es,{icon:"cross",width:"11px",marginX:"0.5",marginLeft:"auto",cursor:"pointer",onClick:function(){null==o||o(r)}})]})};function aq(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function aJ(e){for(var t=1;t2&&void 0!==arguments[2]?arguments[2]:[];return function(){for(var n=arguments.length,i=Array(n),o=0;oe.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r ul":{display:"flex",flexDirection:"column",flex:1,marginY:"4","& > li":{display:"flex",flexDirection:"column",flex:1,marginTop:"0"}},ul:{listStyleType:"none"},li:{marginTop:"2"}},children:(0,R.jsx)(iw.Tree,{ref:n,tree:t,rootId:0,render:function(e,r){var n=r.depth,a=r.isDragging;return t.length<=1?(0,R.jsx)(a4,{}):(0,R.jsx)(a3,{node:e,depth:n,onChange:i,onClose:o,isDragging:a})},insertDroppableFirst:!1,canDrag:function(e){return!!e&&e.id>=2},canDrop:function(e,t){var r=t.dropTarget,n=t.dropTargetId,i=t.dragSource;return!!n&&null!=i&&!!i.data&&function(e,t){if(!e||!t)return!1;switch(e.type){case"Box":return aF(t);case"Form":return aL(t);case"Field":return aR(t);default:return!1}}(null==r?void 0:r.data,null==i?void 0:i.data)&&(null==r?void 0:r.droppable)&&n>0},onDrop:function(e){r(e)},initialOpen:!0,sort:!1,extraAcceptTypes:["template"],placeholderRender:function(){return(0,R.jsx)(ei.Box,{width:"100%",height:"20px"})}})})},a9=function(e){var t=e.snapName,r=el(nk),n=r&&new Blob([r.value],{type:"image/svg+xml"}),i=n&&URL.createObjectURL(n);return(0,R.jsxs)(ei.Box,{position:"relative",children:[(0,R.jsx)(ei.Avatar,{src:i,name:t.slice(0,1).toUpperCase(),fontSize:"md",background:"background.alternative",color:"text.alternative",size:"sm",margin:"1"}),(0,R.jsx)(es,{icon:"snap",width:"16px",height:"16px",position:"absolute",bottom:"0px",right:"0px"})]})},se=function(e){var t=e.snapName,r=e.snapId;return(0,R.jsxs)(ei.Flex,{gap:"2",marginX:"4",marginY:"4",border:"1px solid",borderColor:"border.default",borderRadius:"32px",padding:"1",alignItems:"center",children:[(0,R.jsx)(a9,{snapName:t}),(0,R.jsxs)(ei.Flex,{direction:"column",justify:"center",children:[(0,R.jsx)(ei.Text,{fontSize:"sm",lineHeight:"157%",fontFamily:"custom",children:t}),(0,R.jsx)(ei.Text,{fontSize:"xs",lineHeight:"167%",fontFamily:"custom",color:"text.alternative",children:r})]})]})},st=function(e){var t=e.snapName,r=e.snapId,n=e.children,i=e.showAuthorship;return(0,R.jsxs)(ei.Flex,{direction:"column",boxShadow:"lg",maxWidth:"360px",height:"600px",paddingY:"4",overflowY:"scroll",children:[(void 0===i||i)&&(0,R.jsx)(se,{snapName:t,snapId:r}),n]})};!function(e){e.Content="content",e.Error="error",e.Insights="insights"}(b||(b={}));var sr=function(e,t){switch(e){case b.Insights:return"Insights from ".concat(t);case b.Error:return"Error from ".concat(t);default:return"Content from ".concat(t)}},sn=function(e){var t=e.type,r=e.snapName,n=e.children,i=t===b.Error;return(0,R.jsxs)(ei.Box,{border:"1px solid",borderColor:"border.default",borderRadius:"md",backgroundColor:i?"error.muted":void 0,children:[(0,R.jsxs)(ei.Flex,{direction:"row",alignItems:"center",padding:"1.5",borderBottom:"1px solid",borderColor:"border.default",children:[(0,R.jsx)(es,{icon:i?"snapError":"snap",width:"16px",marginRight:"1"}),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"xs",color:i?"text.error":void 0,children:sr(t,r)})]}),(0,R.jsx)(ei.Box,{padding:"3",children:n})]})};function si(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r{let t=sj();sN(!0);try{let r=!1,n=sC(()=>{let t=e();return null!==t&&"object"==typeof t&&"function"==typeof t.then&&(r=!0),t});if(r)return{then:(e,r)=>{n.then(r=>{sN(t),e(r)},e=>{sN(t),r(e)})}};return sN(t),n}catch(e){throw sN(t),e}},sI=function(){return(0,sw.BX)(...arguments)};Object.keys(sw.BX).forEach(e=>{sI[e]=function(){return sw.BX[e](...arguments)}});let sO=sI.mouseEnter,sP=sI.mouseLeave;sI.mouseEnter=function(){return sO(...arguments),sI.mouseOver(...arguments)},sI.mouseLeave=function(){return sP(...arguments),sI.mouseOut(...arguments)};let sF=sI.pointerEnter,sL=sI.pointerLeave;sI.pointerEnter=function(){return sF(...arguments),sI.pointerOver(...arguments)},sI.pointerLeave=function(){return sL(...arguments),sI.pointerOut(...arguments)};let sR=sI.select;sI.select=(e,t)=>{sR(e,t),e.focus(),sI.keyUp(e,t)};let sz=sI.blur,sB=sI.focus;sI.blur=function(){return sI.focusOut(...arguments),sz(...arguments)},sI.focus=function(){return sI.focusIn(...arguments),sB(...arguments)},(0,sw.jQ)({unstable_advanceTimersWrapper:e=>sk(e),asyncWrapper:async e=>{let t=sj();sN(!1);try{let t=await e();return await new Promise(e=>{setTimeout(()=>{e()},0),"undefined"!=typeof jest&&null!==jest&&(!0===setTimeout._isMockFunction||Object.prototype.hasOwnProperty.call(setTimeout,"clock"))&&jest.advanceTimersByTime(0)}),t}finally{sN(t)}},eventWrapper:e=>{let t;return sk(()=>{t=e()}),t}});let sU=new Set,sq=[];function sJ(){sq.forEach(e=>{let{root:t,container:r}=e;sk(()=>{t.unmount()}),r.parentNode===document.body&&document.body.removeChild(r)}),sq.length=0,sU.clear()}if((void 0===sA||!sA.env?.RTL_SKIP_AUTO_CLEANUP)&&("function"==typeof afterEach?afterEach(()=>{sJ()}):"function"==typeof teardown&&teardown(()=>{sJ()}),"function"==typeof beforeAll&&"function"==typeof afterAll)){let e=sj();beforeAll(()=>{e=sj(),sN(!0)}),afterAll(()=>{sN(e)})}var s$=r(7777),sK=r(1369),sY=r.n(sK),sV={primary:"primary",destructive:"outline"},sW=function(e){var t,r=e.node,n=e.id;oa(r),(0,z.assert)("Button"===r.type,"Expected value to be a button component.");var i=sE().handleEvent,o=r.props;return(0,R.jsx)(ei.Button,{width:"100%",variant:sV[null!==(t=o.variant)&&void 0!==t?t:"primary"],marginBottom:"4",type:o.type,onClick:function(e){o.type===y.Button&&e.preventDefault(),i({event:v.ButtonClickEvent,name:o.name})},children:o.children},"".concat(n,"-button"))},sQ=function(e){var t=e.node,r=e.id,n=e.form,i=sE(),o=i.handleInputChange,a=i.getValue;oa(t),(0,z.assert)("Input"===t.type,"Expected value to be an input component.");var s=t.props,l=a(s.name,n);return(0,R.jsx)(ei.Input,{value:l,type:s.type,placeholder:s.placeholder,onChange:function(e){o(s.name,e.target.value,n)}},"".concat(r,"-input"))},sH={Bold:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Bold"===t.type,"Expected value to be a bold component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",as:"b",children:sZ(aC(t),r)},"".concat(r,"-text"))},Box:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Box"===t.type,"Expected value to be a Box component."),(0,R.jsx)(ei.Box,{children:aC(t).map(function(e,t){return(0,R.jsx)(sG,{node:e},"".concat(r,"-panel-child-").concat(t))})},r)},Button:sW,Copyable:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Copyable"===t.type,"Expected value to be a copyable component.");var n=t.props;return(0,R.jsx)(so,{value:n.value},"".concat(r,"-copyable"))},Divider:function(e){var t=e.id;return(0,R.jsx)(ei.Divider,{orientation:"horizontal",marginTop:"3",marginBottom:"4",borderColor:"border.default"},"".concat(t,"-divider"))},Field:function(e){var t=e.node,r=e.id,n=e.form;oa(t),(0,z.assert)("Field"===t.type,"Expected value to be a field component.");var i=aC(t),o=i[0],a=i[1],s=t.props;return(0,R.jsxs)(ei.FormControl,{isInvalid:!!s.error,children:[s.label&&(0,R.jsx)(ei.FormLabel,{children:s.label}),(0,R.jsx)(sQ,{id:r,node:o,form:n}),a&&(0,R.jsx)(sW,{id:r,node:a}),(0,R.jsx)(ei.FormErrorMessage,{children:s.error})]},"".concat(r,"-field"))},Form:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Form"===t.type,"Expected value to be a form component.");var n=sE().handleEvent,i=t.props;return(0,R.jsx)(ei.Box,{as:"form",onSubmit:function(e){e.preventDefault(),n({event:v.FormSubmitEvent,name:i.name})},children:aC(t).map(function(e,n){return(0,R.jsx)(sG,{node:e,form:t.props.name},"".concat(r,"-form-child-").concat(n))})},r)},Heading:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Heading"===t.type,"Expected value to be a heading component.");var n=t.props;return(0,R.jsx)(ei.Heading,{fontFamily:"custom",fontSize:"x-large",fontWeight:"bold",paddingBottom:"4",children:n.children},"".concat(r,"-heading"))},Input:sQ,Italic:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Italic"===t.type,"Expected value to be an italic component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",as:"i",children:sZ(aC(t),r)},r)},Link:function(e){var t=e.node,r=e.id;oa(t),(0,z.assert)("Link"===t.type,"Expected value to be a link component.");var n=t.props;return(0,R.jsxs)(ei.Link,{href:n.href,target:"_blank",fontFamily:"custom",fontSize:"sm",isExternal:!0,color:"link.default",display:"inline",children:[sZ(aC(t),r),(0,R.jsx)(es,{icon:"linkOut",width:"14px",marginLeft:"2px",display:"inline",verticalAlign:"middle"})]})},Spinner:function(e){var t=e.id;return(0,R.jsx)(ei.Spinner,{},"".concat(t,"-spinner"))},Text:function(e){var t=e.node,r=e.id;return oa(t),(0,z.assert)("Text"===t.type,"Expected value to be a text component."),(0,R.jsx)(ei.Text,{fontFamily:"custom",fontSize:"sm",paddingBottom:"1",children:sZ(aC(t),r)},r)},Image:function(e){var t=e.id,r=e.node;oa(r),(0,z.assert)("Image"===r.type,"Expected value to be a image component.");var n=r.props,i="data:image/svg+xml;utf8,".concat(encodeURIComponent(n.src));return(0,R.jsx)(ei.Image,{src:i,alt:n.alt},"".concat(t,"-image"))}},sG=function(e){var t=e.node,r=e.form,n=e.map,i=void 0===n?{}:n,o=e.id;if(!t)return null;var a=null!=o?o:s0(i,t),s=sH[t.type];if(!s)throw Error("Unknown component type: ".concat(t.type,"."));return(0,R.jsx)(s,{id:a,node:t,form:r},a)};function sZ(e,t){return e.map(function(e,r){return"string"==typeof e?(0,s$.unescape)(e):(0,R.jsx)(sG,{id:"".concat(t,"-text-child-").concat(r),node:e},"".concat(t,"-text-child-").concat(r))})}var sX=sY()(function(e){var t=e.type,r=e.props.name,n=function(e){if(!aw(e))return null;var t,r=e.props.children;return"string"==typeof r?r.slice(0,5e3):Array.isArray(r)?r.map(function(e){return{type:null!==(t=null==e?void 0:e.type)&&void 0!==t?t:null}}):r}(e);return(0,z.remove0x)((0,z.bytesToHex)(e1(JSON.stringify({type:t,name:null!=r?r:null,children:n}))))});function s0(e,t){var r,n=sX(t),i=(null!==(r=e[n])&&void 0!==r?r:0)+1;return e[n]=i,"".concat(n,"_").concat(i)}var s1=function(e){var t=e.content,r=s0({},t);return(0,R.jsx)(sS,{children:(0,R.jsx)(sG,{node:t,id:r})})};function s2(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);re.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(e,["name","onClick"]);return(0,R.jsx)(ix,{cursor:"pointer",onClick:function(){r(n)},children:t})},lJ=function(e){var t=e.onClick;return(0,R.jsxs)(ei.Box,{marginBottom:"4",children:[(0,R.jsx)(ei.Text,{fontWeight:"500",fontSize:"xs",marginBottom:"1",children:"Transaction presets"}),(0,R.jsx)(ei.Flex,{gap:"2",children:lU.map(function(e,r){var n,i,o=e.name,a=e.transaction;return(0,U.createElement)(lq,(n=function(e){for(var t=1;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var lY={chainId:"eip155:1",origin:"metamask.io",from:"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",to:"0x9f2817015caF6607C1198fB943A8241652EE8906",value:"0.01",gas:"21000",nonce:"5",maxFeePerGas:"10",maxPriorityFeePerGas:"1",data:"0x"},lV=function(){var t,r,n,i,o,a,s,l,u,c,p,_=el(lL).request,d=null!==(p=null==_?void 0:_.params)&&void 0!==p?p:{},f=d.chainId,m=d.transactionOrigin,h=d.transaction;lY.chainId,lY.origin;var y=lK(lY,["chainId","origin"]),g=(0,lh.useForm)({defaultValues:l$({chainId:null!=f?f:lY.chainId,transactionOrigin:null!=m?m:lY.origin},null!=h?h:y)}),b=g.handleSubmit,v=g.register,x=g.setValue,D=g.formState.errors,S=en();return(0,R.jsxs)(ei.Flex,{as:"form",flexDirection:"column",flex:"1",onSubmit:b(function(t){var r=t.chainId,n=t.transactionOrigin,i=lK(t,["chainId","transactionOrigin"]);S(nD({origin:"",handler:e.OnTransaction,request:{jsonrpc:"2.0",method:"onTransaction",params:{chainId:r,transaction:lB(i),transactionOrigin:n}}}))}),id:"request-form",children:[(0,R.jsx)(lJ,{onClick:function(e){x("chainId",e.chainId),x("transactionOrigin",e.transactionOrigin),x("from",e.from),x("to",e.to),x("value",e.value),x("data",e.data),x("gas",e.gas),x("maxFeePerGas",e.maxFeePerGas),x("maxPriorityFeePerGas",e.maxPriorityFeePerGas),x("nonce",e.nonce)}}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.chainId,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"chainId",children:"Chain ID"}),(0,R.jsx)(ei.Input,l$({id:"chainId",placeholder:lY.chainId,fontFamily:"code"},v("chainId"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(t=D.chainId)||void 0===t?void 0:t.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.transactionOrigin,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"origin",children:"Transaction Origin"}),(0,R.jsx)(ei.Input,l$({id:"origin",placeholder:lY.origin,fontFamily:"code"},v("transactionOrigin"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(r=D.transactionOrigin)||void 0===r?void 0:r.message})]})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.from,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"from",children:"From Address"}),(0,R.jsx)(ei.Input,l$({id:"from",placeholder:lY.from,fontFamily:"code"},v("from"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(n=D.from)||void 0===n?void 0:n.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.to,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"to",children:"To Address"}),(0,R.jsx)(ei.Input,l$({id:"to",placeholder:lY.to,fontFamily:"code"},v("to"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(i=D.to)||void 0===i?void 0:i.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.value,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"value",children:"Value"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"value",placeholder:lY.value,fontFamily:"code"},v("value"))),(0,R.jsx)(ei.InputRightAddon,{children:"ETH",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(o=D.value)||void 0===o?void 0:o.message})]}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.gas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"gas",children:"Gas Limit"}),(0,R.jsx)(ei.Input,l$({id:"gas",placeholder:lY.gas,fontFamily:"code"},v("gas"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(a=D.gas)||void 0===a?void 0:a.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.nonce,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"nonce",children:"Nonce"}),(0,R.jsx)(ei.Input,l$({id:"nonce",placeholder:lY.nonce,fontFamily:"code"},v("nonce"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(s=D.nonce)||void 0===s?void 0:s.message})]})]}),(0,R.jsxs)(ei.Flex,{gap:"2",children:[(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.maxFeePerGas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"maxFeePerGas",children:"Max Fee Per Gas"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"maxFeePerGas",placeholder:lY.maxFeePerGas,fontFamily:"code"},v("maxFeePerGas"))),(0,R.jsx)(ei.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(l=D.maxFeePerGas)||void 0===l?void 0:l.message})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.maxPriorityFeePerGas,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"maxPriorityFeePerGas",children:"Max Priority Fee Per Gas"}),(0,R.jsxs)(ei.InputGroup,{children:[(0,R.jsx)(ei.Input,l$({id:"maxPriorityFeePerGas",placeholder:lY.maxPriorityFeePerGas,fontFamily:"code"},v("maxPriorityFeePerGas"))),(0,R.jsx)(ei.InputRightAddon,{children:"GWEI",fontSize:"sm"})]}),(0,R.jsx)(ei.FormErrorMessage,{children:null===(u=D.maxPriorityFeePerGas)||void 0===u?void 0:u.message})]})]}),(0,R.jsxs)(ei.FormControl,{isInvalid:!!D.data,children:[(0,R.jsx)(ei.FormLabel,{htmlFor:"data",children:"Data"}),(0,R.jsx)(ei.Textarea,l$({id:"data",placeholder:lY.data,fontFamily:"code"},v("data"))),(0,R.jsx)(ei.FormErrorMessage,{children:null===(c=D.data)||void 0===c?void 0:c.message})]})]})},lW=(0,q.createHashRouter)((0,q.createRoutesFromElements)((0,R.jsxs)(q.Route,{element:(0,R.jsx)(function(){return(0,R.jsxs)(ei.Flex,{direction:"column",height:"100vh",children:[(0,R.jsx)(nJ,{}),(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ie,{}),(0,R.jsxs)(ei.Flex,{direction:"column",width:"full",children:[(0,R.jsx)(ei.Flex,{flex:"1",overflow:"hidden",children:(0,R.jsx)(q.Outlet,{})}),(0,R.jsx)(eg,{})]})]})]})},{}),children:[(0,R.jsx)(q.Route,{path:"/",element:(0,R.jsx)(q.Navigate,{to:"/handler/".concat(e.OnRpcRequest),replace:!0})}),(0,R.jsx)(q.Route,{path:"/builder",element:(0,R.jsx)(function(){var e,t,r=s7((0,U.useState)(2),2),n=r[0],i=r[1],o=s7((0,U.useState)([{id:1,parent:0,text:"Box",droppable:!0,data:ii({children:null})}]),2),a=o[0],s=o[1];return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Builder"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsxs)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:[(0,R.jsx)(iT,{nextId:n,incrementId:function(){i(function(e){return e+1})}}),(0,R.jsx)(a7,{items:a,setItems:s})]})})]})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsxs)(ei.TabList,{children:[(0,R.jsx)(ei.Tab,{children:"Result"}),(0,R.jsx)(ei.Tab,{children:"Code"})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"4",children:(0,R.jsx)(s5,{items:a})}),(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(iu,{border:"none",value:(t=(function e(t){var r=new Set;r.add(t.type);var n=aC(t),i=!0,o=!1,a=void 0;try{for(var s,l=n[Symbol.iterator]();!(i=(s=l.next()).done);i=!0){var u=s.value;if("string"!=typeof u&&(r.add(u.type),aw(t))){var c=e(u),p=!0,_=!1,d=void 0;try{for(var f,m=c[Symbol.iterator]();!(p=(f=m.next()).done);p=!0){var h=f.value;r.add(h)}}catch(e){_=!0,d=e}finally{try{p||null==m.return||m.return()}finally{if(_)throw d}}}}}catch(e){o=!0,a=e}finally{try{i||null==l.return||l.return()}finally{if(o)throw a}}return Array.from(r).sort(function(e,t){return e.localeCompare(t)})})(e=aB(a)).join(", "),aO().format("\n import { ".concat(t," } from '@metamask/snaps-sdk/jsx';\n\n const Component = () => (").concat(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(Array.isArray(t))return t.map(function(t){return e(t,r)}).join("");var n=" ".repeat(r);if("string"==typeof t)return"".concat(n).concat(t,"\n");if(!t)return"";var i=t.type,o=t.props,a=r>0?"\n":"";if((0,z.hasProperty)(o,"children")){var s=e(o.children,r+1);return"".concat(n,"<").concat(i).concat(aN(o),">\n").concat(s).concat(n,"").concat(a)}return"".concat(n,"<").concat(i).concat(aN(o)," />").concat(a)}(e),");\n"),{parser:"typescript",plugins:[ak()],printWidth:80,tabWidth:2,singleQuote:!0,trailingComma:"all"})),language:"typescript",options:{readOnly:!0}})})]})]})})]})})},{})}),(0,R.jsx)(q.Route,{path:"/manifest",element:(0,R.jsx)(function(){var e=el(nL);return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Validation"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(lt,{})})})]})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabList,{children:(0,R.jsx)(ei.Tab,{children:"Manifest"})}),(0,R.jsx)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0",children:(0,R.jsx)(iu,{border:"none",value:JSON.stringify(e,null,2),options:{readOnly:!0,wordWrap:"on"}})})})]})})]})})},{})}),(0,R.jsxs)(q.Route,{path:"/handler",element:(0,R.jsx)(function(){var e,t=function(e){if(Array.isArray(e))return e}(e=(0,U.useState)(0))||function(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var o=[],a=!0,s=!1;try{for(i=i.call(e);!(a=(r=i.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,n=e}finally{try{a||null==i.return||i.return()}finally{if(s)throw n}}return o}}(e,2)||function(e,t){if(e){if("string"==typeof e)return lb(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return lb(e,t)}}(e,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),r=t[0],n=t[1],i=el(nI);return(0,R.jsx)(ei.Flex,{width:"100%",direction:"column",overflow:"hidden",children:(0,R.jsxs)(ei.Flex,{direction:"row",flex:"1",overflow:"hidden",children:[(0,R.jsx)(lr,{isTest:!1,children:(0,R.jsx)(ei.Flex,{direction:"column",flex:"1",width:"50%",overflow:"hidden",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",isLazy:!0,onChange:n,children:[(0,R.jsx)(lp,{}),(0,R.jsxs)(ei.TabList,{alignItems:"center",children:[(0,R.jsx)(ei.Tab,{children:"Request"}),(0,R.jsx)(ei.Tab,{children:"History"}),0===r&&(0,R.jsx)(ei.Box,{marginLeft:"auto",children:(0,R.jsx)(lc,{})})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",overflowY:"auto","data-testid":"tab-request",children:(0,R.jsx)(q.Outlet,{})}),(0,R.jsx)(ei.TabPanel,{padding:"0",display:"flex",flexDirection:"column",flex:"1",overflowY:"auto",children:(0,R.jsx)(ls,{})})]})]})})}),(0,R.jsx)(ei.Box,{display:"flex",flexDirection:"column",flex:"1",width:"50%",borderLeft:"1px solid",borderColor:"border.default",children:(0,R.jsxs)(ei.Tabs,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(lp,{}),(0,R.jsx)(l_,{}),(0,R.jsxs)(ei.TabList,{children:[(0,R.jsx)(ei.Tab,{children:"Response"}),i&&(0,R.jsx)(ei.Tab,{children:"UI"})]}),(0,R.jsxs)(ei.TabPanels,{display:"flex",flexDirection:"column",flex:"1",overflow:"hidden",children:[(0,R.jsx)(ei.TabPanel,{display:"flex",flexDirection:"column",flex:"1",padding:"0","data-testid":"tab-response",children:(0,R.jsx)(ld,{})}),i&&(0,R.jsx)(ei.TabPanel,{overflowY:"auto","data-testid":"tab-ui",children:(0,R.jsx)(lg,{})})]})]})})]})})},{}),children:[(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnRpcRequest),element:(0,R.jsx)(function(){return(0,R.jsx)(lT,{})},{})}),(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnCronjob),element:(0,R.jsx)(function(){return(0,R.jsx)(lI,{})},{})}),(0,R.jsx)(q.Route,{path:"/handler/".concat(e.OnTransaction),element:(0,R.jsx)(function(){return(0,R.jsx)(lV,{})},{})})]})]})));function lQ(e){for(var t=1;t1?t-1:0),n=1;n1?t-1:0),n=1;n1?t-1:0),n=1;n2?r-2:0),i=2;i2?i-2:0),a=2;a2?r-2:0),i=2;icrypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function u1(e){var t;return(0,z.isPlainObject)(e)&&(0,z.hasProperty)(e,"type")&&(0,z.hasProperty)(e,"props")&&(0,z.hasProperty)(e,"key")?e:(t=function e(t){switch(t.type){case f.Panel:return t.children.reduce(function(t,r){return t+e(r)},0);case f.Row:return e(t.value);case f.Text:return t.value.length;default:return 0}}(e),(0,z.assert)(t<=5e4,"The text in a Snap UI may not be larger than ".concat(50," kB.")),function e(t){switch(t.type){case f.Address:return os(od,{address:t.value});case f.Button:return os(ih,{name:t.name,variant:function(e){switch(e){case"primary":return"primary";case"secondary":return"destructive";default:return}}(t.variant),type:t.buttonType,children:t.value});case f.Copyable:return os(id,{value:t.value,sensitive:t.sensitive});case f.Divider:return os(i_,{});case f.Form:return os(iy,{name:t.name,children:aD(t.children.map(e))});case f.Heading:return os(ic,{children:t.value});case f.Image:return os(im,{src:t.value});case f.Input:return os(ig,{label:t.label,error:t.error,children:os(ib,{name:t.name,type:t.inputType,value:t.value,placeholder:t.placeholder})});case f.Panel:return os(ii,{children:aD(t.children.map(e))});case f.Row:return os(of,{label:t.label,variant:t.variant,children:e(t.value)});case f.Spinner:return os(om,{});case f.Text:var r,n;return os(ip,{children:aD((r=ay(t.value,{gfm:!1}),n=[],ah(r,function(e){if("paragraph"===e.type){n.length>0&&n.push("\n\n");var t,r=e.tokens;n.push.apply(n,function(e){if(Array.isArray(e))return ag(e)}(t=r.flatMap(aE))||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||av(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}}),n.filter(function(e){return null!==e})))});default:return(0,z.assertExhaustive)(t)}}(e))}function u2(e,t){(0,z.assert)(void 0===e[t],'Duplicate component names are not allowed, found multiple instances of: "'.concat(t,'".'))}function u3(e,t,r){var n,i,o,a=r?e[r]:e,s=null==a?void 0:a[t.props.name];return"FileInput"===t.type?null!=s?s:null:null!==(o=null!==(i=null!==(n="Checkbox"===t.type?t.props.checked:t.props.value)&&void 0!==n?n:s)&&void 0!==i?i:function(e){switch(e.type){case"Dropdown":var t;return null===(t=aC(e)[0])||void 0===t?void 0:t.props.value;case"Checkbox":return!1;default:return null}}(t))&&void 0!==o?o:null}function u4(e,t){var r={},n=[];return aM(t,function(t,i){var o=n[n.length-1];if(o&&i<=o.depth&&(n.pop(),o=n[n.length-1]),"Form"===t.type){u2(r,t.props.name),n.push({name:t.props.name,depth:i}),r[t.props.name]={};return}if(o&&("Input"===t.type||"Dropdown"===t.type||"FileInput"===t.type||"Checkbox"===t.type)){var a=r[o.name];u2(a,t.props.name),a[t.props.name]=u3(e,t,o.name);return}("Input"===t.type||"Dropdown"===t.type||"FileInput"===t.type||"Checkbox"===t.type)&&(u2(r,t.props.name),r[t.props.name]=u3(e,t))}),r}function u6(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function u5(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function u8(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){u5(o,n,i,a,s,"next",e)}function s(e){u5(o,n,i,a,s,"throw",e)}a(void 0)})}}function u7(e,t,r){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return r}function u9(e,t){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.add(e)}function ce(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2)||void 0===n[2]||n[2],[4,new Promise(function(n,i){var o=document.createElement("iframe");o.setAttribute("id",t),o.setAttribute("data-testid","snaps-iframe"),r&&o.setAttribute("sandbox","allow-scripts"),o.setAttribute("src",e),document.body.appendChild(o),o.addEventListener("load",function(){o.contentWindow?n(o.contentWindow):i(Error('iframe.contentWindow not present on load for job "'.concat(t,'".')))})})];case 1:return[2,i.sent()]}})},(cA=function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){cw(o,n,i,a,s,"next",e)}function s(e){cw(o,n,i,a,s,"throw",e)}a(void 0)})}).apply(this,arguments)}var cC=r(9952),cM=r.n(cC),cN={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},cj={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}};function ck(e,t="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(e)){let t=e.toString();if((0,z.hasProperty)(cj,t))return cj[t].message;if(e>=-32099&&e<=-32e3)return"Unspecified server error."}return t}function cI(e){return Object.getOwnPropertyNames(e).reduce((t,r)=>{let n=e[r];return(0,z.isValidJson)(n)&&(t[r]=n),t},{})}ck(cN.rpc.internal);var cO=r(7847),cP=r.n(cO),cF=class extends Error{constructor(e,t,r){var n=(...e)=>{super(...e)};if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');(function(e){return(0,z.isObject)(e)&&(0,z.hasProperty)(e,"cause")&&(0,z.isObject)(e.cause)})(r)?(n(t,{cause:r.cause}),(0,z.hasProperty)(this,"cause")||Object.assign(this,{cause:r.cause})):n(t),void 0!==r&&(this.data=r),this.code=e}serialize(){var e;let t={code:this.code,message:this.message};return void 0!==this.data&&(t.data=this.data,(0,z.isPlainObject)(this.data)&&(t.data.cause=Array.isArray(e=this.data.cause)?e.map(e=>(0,z.isValidJson)(e)?e:(0,z.isObject)(e)?cI(e):null):(0,z.isObject)(e)?cI(e):(0,z.isValidJson)(e)?e:null)),this.stack&&(t.stack=this.stack),t}toString(){return cP()(this.serialize(),cR,2)}},cL=class extends cF{constructor(e,t,r){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,r)}};function cR(e,t){if("[Circular]"!==t)return t}var cz={parse:e=>cU(cN.rpc.parse,e),invalidRequest:e=>cU(cN.rpc.invalidRequest,e),invalidParams:e=>cU(cN.rpc.invalidParams,e),methodNotFound:e=>cU(cN.rpc.methodNotFound,e),internal:e=>cU(cN.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return cU(t,e)},invalidInput:e=>cU(cN.rpc.invalidInput,e),resourceNotFound:e=>cU(cN.rpc.resourceNotFound,e),resourceUnavailable:e=>cU(cN.rpc.resourceUnavailable,e),transactionRejected:e=>cU(cN.rpc.transactionRejected,e),methodNotSupported:e=>cU(cN.rpc.methodNotSupported,e),limitExceeded:e=>cU(cN.rpc.limitExceeded,e)},cB={userRejectedRequest:e=>cq(cN.provider.userRejectedRequest,e),unauthorized:e=>cq(cN.provider.unauthorized,e),unsupportedMethod:e=>cq(cN.provider.unsupportedMethod,e),disconnected:e=>cq(cN.provider.disconnected,e),chainDisconnected:e=>cq(cN.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:r,data:n}=e;if(!r||"string"!=typeof r)throw Error('"message" must be a nonempty string');return new cL(t,r,n)}};function cU(e,t){let[r,n]=cJ(t);return new cF(e,r??ck(e),n)}function cq(e,t){let[r,n]=cJ(t);return new cL(e,r??ck(e),n)}function cJ(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:r}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[t??void 0,r]}}return[]}function c$(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r1?r-1:0),i=1;i=0,TypeError("Can't start a timer with negative time")),this.state={value:"stopped",remaining:e}}return e=[{key:"status",get:function(){return this.state.value}},{key:"remaining",get:function(){return this.state.remaining}},{key:"cancel",value:function(){(0,z.assert)("paused"===this.status||"running"===this.status,Error("Tried to cancel a not running Timer")),this.onFinish(!1)}},{key:"finish",value:function(){(0,z.assert)("finished"!==this.status,Error("Tried to finish a finished Timer.")),this.onFinish(!0)}},{key:"pause",value:function(){(0,z.assert)("running"===this.state.value,Error("Tried to pause a not running Timer"));var e=this.state,t=e.callback,r=e.start,n=e.timeout,i=e.remaining;void 0!==n&&clearTimeout(n),this.state={value:"paused",callback:t,remaining:i-(Date.now()-r)}}},{key:"start",value:function(e){(0,z.assert)("stopped"===this.state.value,Error("Tried to start an already running Timer"));var t=this.state.remaining;this.state={value:"paused",remaining:t,callback:e},this.resume()}},{key:"resume",value:function(){var e,t=this;(0,z.assert)("paused"===this.state.value,Error("Tried to resume not paused Timer"));var r=this.state,n=r.remaining,i=r.callback,o=Date.now();n!==Number.POSITIVE_INFINITY&&(e=setTimeout(function(){return t.onFinish(!0)},n)),this.state={value:"running",callback:i,remaining:n,start:o,timeout:e}}},{key:"onFinish",value:function(e){(0,z.assert)("running"===this.state.value||"paused"===this.state.value),"running"===this.state.value&&void 0!==this.state.timeout&&clearTimeout(this.state.timeout);var t=this.state,r=t.callback,n=t.remaining;this.state={value:"finished",remaining:"running"===this.state.value?n-(Date.now()-this.state.start):n},e&&r()}}],cW(r.prototype,e),t&&cW(r,t),r}();function cH(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function cG(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){cH(o,n,i,a,s,"next",e)}function s(e){cH(o,n,i,a,s,"throw",e)}a(void 0)})}}function cZ(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}(t,["maxRequestTime"]));return s?(i=function(e){for(var t=1;t0),{caveats:t}})),_r(M,p$.targetName,pI(function(e){return{caveats:[{type:n.KeyringOrigin,value:e}]}})),_r(M,p6.targetName,pI(function(e){return!e||!(0,z.isObject)(e)||(0,z.isObject)(e)&&0===Object.keys(e).length?{caveats:null}:{caveats:[{type:n.SignatureOrigin,value:(0,z.hasProperty)(e,"allowSignatureOrigin")&&e.allowSignatureOrigin}]}})),_r(M,pV.targetName,pk),_r(M,pU.targetName,pk),M);_r(N={},e.OnRpcRequest,p2.targetName),_r(N,e.OnTransaction,p7.targetName),_r(N,e.OnCronjob,pF.targetName),_r(N,e.OnNameLookup,pH.targetName),_r(N,e.OnInstall,pV.targetName),_r(N,e.OnUpdate,pV.targetName),_r(N,e.OnKeyringRequest,p$.targetName),_r(N,e.OnHomePage,pU.targetName),_r(N,e.OnSignature,p6.targetName),_r(N,e.OnUserInput,null);let _a=BigInt(4294967296-1),_s=BigInt(32),_l=(e,t,r)=>e<>>32-r,_u=(e,t,r)=>t<>>32-r,_c=(e,t,r)=>t<>>64-r,_p=(e,t,r)=>e<>>64-r,__=[],_d=[],_f=[],_m=BigInt(0),_h=BigInt(1),_y=BigInt(2),_g=BigInt(7),_b=BigInt(256),_v=BigInt(113);for(let e=0,t=_h,r=1,n=0;e<24;e++){[r,n]=[n,(2*r+3*n)%5],__.push(2*(5*n+r)),_d.push((e+1)*(e+2)/2%64);let i=_m;for(let e=0;e<7;e++)(t=(t<<_h^(t>>_g)*_v)%_b)&_y&&(i^=_h<<(_h<>_s&_a)}:{h:0|Number(e>>_s&_a),l:0|Number(e&_a)}}(e[i],t);[r[i],n[i]]=[o,a]}return[r,n]}(_f,!0),_S=(e,t,r)=>r>32?_c(e,t,r):_l(e,t,r),_E=(e,t,r)=>r>32?_p(e,t,r):_u(e,t,r);class _T extends eY{constructor(e,t,r,n=!1,i=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=r,this.enableXOF=n,this.rounds=i,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,eP(r),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=ez(this.state)}keccak(){eq||e$(this.state32),function(e,t=24){let r=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)r[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,i=(t+2)%10,o=r[i],a=r[i+1],s=_S(o,a,1)^r[n],l=_E(o,a,1)^r[n+1];for(let r=0;r<50;r+=10)e[t+r]^=s,e[t+r+1]^=l}let t=e[2],i=e[3];for(let r=0;r<24;r++){let n=_d[r],o=_S(t,i,n),a=_E(t,i,n),s=__[r];t=e[s],i=e[s+1],e[s]=o,e[s+1]=a}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)r[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~r[(n+2)%10]&r[(n+4)%10]}e[0]^=_x[n],e[1]^=_D[n]}r.fill(0)}(this.state32,this.rounds),eq||e$(this.state32),this.posOut=0,this.pos=0}update(e){eL(this);let{blockLen:t,state:r}=this;e=eK(e);let n=e.length;for(let i=0;i=r&&this.keccak();let o=Math.min(r-this.posOut,i-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return eP(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(eR(e,this),this.finished)throw 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){let{blockLen:t,suffix:r,outputLen:n,rounds:i,enableXOF:o}=this;return e||(e=new _T(t,r,n,o,i)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=i,e.suffix=r,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}let _w=eV(()=>new _T(136,1,32));function _A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]>>0;t.push("bip32:".concat(i-2147483648,"'"))}return t}(_w((0,z.concatBytes)([a,_w(s)]))),[4,tj.SLIP10Node.fromDerivationPath({derivationPath:[i,"bip32:".concat(o)].concat(_N(l)),curve:"secp256k1"})];case 1:return u=c.sent().privateKey,(0,z.assert)(u,"Failed to derive the entropy."),[2,(0,z.add0x)(u)]}})})).apply(this,arguments)}function _O(e){return _P.apply(this,arguments)}function _P(){return(_P=_M(function(e){var t,r,n,i;return _j(this,function(o){switch(o.label){case 0:return t=e.curve,r=e.secretRecoveryPhrase,n=e.path,i=function(e){switch(e){case"secp256k1":return"bip32";case"ed25519":return"slip10";case"ed25519Bip32":return"cip3";default:return(0,z.assertExhaustive)(e)}}(t),[4,tj.SLIP10Node.fromDerivationPath({curve:t,derivationPath:[r].concat(_N(n.slice(1).map(function(e){return"".concat(i,":").concat(e)})))})];case 1:return[2,o.sent()]}})})).apply(this,arguments)}function _F(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}var _L="snap_getBip32Entropy",_R=Object.freeze({targetName:_L,specificationBuilder:function(e){var t,r,i,o,a=e.methodHooks;return{permissionType:tz.PermissionType.RestrictedMethod,targetName:_L,allowedCaveats:[n.PermittedDerivationPaths],methodImplementation:(i=a.getMnemonic,o=a.getUnlockPromise,t=function(e){var t,r;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2147483647)throw cz.invalidParams({message:'Invalid "coinType" parameter. Coin type must be a non-negative integer.'});if(rr.includes(e.coinType))throw cz.invalidParams({message:"Coin type ".concat(e.coinType," is forbidden.")})}var _0=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},n.PermittedCoinTypes,Object.freeze({type:n.PermittedCoinTypes,decorator:function(e,t){var r,n;return r=function(r){var n;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]3&&void 0!==arguments[3]&&arguments[3];(0,z.assert)(t.schema,"Expected a struct with a schema. Make sure to use `union` from `@metamask/snaps-sdk`."),(0,z.assert)(t.schema.length>0,"Expected a non-empty array of structs.");var i=t.schema.map(function(e){return e.schema[r]}),o=(0,eD.type)(t5({},r,t2(i))),a=t8((0,eD.validate)(e,o,{coerce:n}),1)[0];if(a)throw Error(t9(o,a.failures()[0],!1));var s=t.schema.filter(function(t){return(0,eD.is)(e[r],t.schema[r])});(0,z.assert)(s.length>0,"Expected a struct to match the value.");var l=s.map(function(t){return(0,eD.validate)(e,t,{coerce:n})}),u=l.find(function(e){return!t8(e,1)[0]});if(u)return u[1];throw(0,z.assert)(l[0][0],"Expected at least one error."),Error(t9(t,l.reduce(function(e,t){var r=t8(t,1)[0];return((0,z.assert)(r,"Expected an error."),r.failures().length0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2&&void 0!==arguments[2]?arguments[2]:104857600;if(!(0,z.isObject)(e))throw cz.invalidParams({message:"Expected params to be a single object."});var i=e.operation,o=e.newState,a=e.encrypted;if(!i||"string"!=typeof i||!Object.values(P).includes(i))throw cz.invalidParams({message:'Must specify a valid manage state "operation".'});if(void 0!==a&&"boolean"!=typeof a)throw cz.invalidParams({message:'"encrypted" parameter must be a boolean if specified.'});if(i===P.UpdateState){if(!(0,z.isObject)(o))throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be a plain object.'),data:{receivedNewState:void 0===o?"undefined":o}});try{r=(0,z.getJsonSize)(o)}catch(e){throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must be JSON serializable.'),data:{receivedNewState:void 0===o?"undefined":o}})}if(r>n)throw cz.invalidParams({message:"Invalid ".concat(t,' "updateState" parameter: The new state must not exceed ').concat(n," bytes in size."),data:{receivedNewState:void 0===o?"undefined":o}})}return e}(r,s)).encrypted)||void 0===c||c)&&u.operation!==P.ClearState))return[3,2];return[4,n(!0)];case 1:_.sent(),_.label=2;case 2:switch(u.operation){case P.ClearState:return[3,3];case P.GetState:return[3,4];case P.UpdateState:return[3,6]}return[3,8];case 3:return i(l,p),[2,null];case 4:return[4,o(l,p)];case 5:return[2,_.sent()];case 6:return[4,a(l,u.newState,p)];case 7:return _.sent(),[2,null];case 8:throw cz.invalidParams("Invalid ".concat(s,' operation: "').concat(u.operation,'"'));case 9:return[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(e){dz(o,n,i,a,s,"next",e)}function s(e){dz(o,n,i,a,s,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)}),subjectTypes:[tz.SubjectType.Snap]}},methodHooks:{getUnlockPromise:!0,clearSnapState:!0,getSnapState:!0,updateSnapState:!0}});function dq(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}var dJ="snap_notify",d$=Object.freeze({targetName:dJ,specificationBuilder:function(e){var t,r,n,i,o,a,s=e.allowedCaveats,l=e.methodHooks;return{permissionType:tz.PermissionType.RestrictedMethod,targetName:dJ,allowedCaveats:void 0===s?null:s,methodImplementation:(n=l.showNativeNotification,i=l.showInAppNotification,o=l.isOnPhishingList,a=l.maybeUpdatePhishingList,t=function(e){var t,r,s;return function(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]=50)throw cz.invalidParams({message:'Must specify a non-empty string "message" less than 50 characters long.'});return e}(t),[4,a()];case 1:switch(l.sent(),function(e,t){var r=(a=ay(e,{gfm:!1}),s=[],ah(a,function(e){"link"===e.type&&s.push(e)}),s),n=!0,i=!1,o=void 0;try{for(var a,s,l,u=r[Symbol.iterator]();!(n=(l=u.next()).done);n=!0){var c=l.value;aT(c.href,t)}}catch(e){i=!0,o=e}finally{try{n||null==u.return||u.return()}finally{if(i)throw o}}}(s.message,o),s.type){case S.Native:return[3,2];case S.InApp:return[3,4]}return[3,6];case 2:return[4,n(r,s)];case 3:case 5:return[2,l.sent()];case 4:return[4,i(r,s)];case 6:throw cz.invalidParams({message:'Must specify a valid notification "type".'});case 7:return[2]}})},r=function(){var e=this,r=arguments;return new Promise(function(n,i){var o=t.apply(e,r);function a(e){dq(o,n,i,a,s,"next",e)}function s(e){dq(o,n,i,a,s,"throw",e)}a(void 0)})},function(e){return r.apply(this,arguments)}),subjectTypes:[tz.SubjectType.Snap]}},methodHooks:{showNativeNotification:!0,showInAppNotification:!0,isOnPhishingList:!0,maybeUpdatePhishingList:!0}});function dK(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var dY=(dK(F={},dx.targetName,dx),dK(F,_R.targetName,_R),dK(F,_q.targetName,_q),dK(F,_K.targetName,_K),dK(F,dj.targetName,dj),dK(F,_G.targetName,_G),dK(F,dU.targetName,dU),dK(F,d$.targetName,d$),dK(F,dR.targetName,dR),dK(F,dO.targetName,dO),F);function dV(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==a[1]?a[1]:L.Base64,[4,uL(nz)];case 1:if(n=s.sent(),i=rS(e),!(o=null===(r=n.find(function(e){return e.path===i}))||void 0===r?void 0:r.toString("base64")))return[2,null];return[4,uO(fw,o,t)];case 2:return[2,s.sent()]}})}function fF(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"createInterface"],e,t)];case 2:return[2,r.sent()]}})}function fL(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"getInterface"],e,t)];case 2:return[2,r.sent()]}})}function fR(e,t,r){return fM(this,function(n){switch(n.label){case 0:return[4,uL(nC)];case 1:return[4,uO([n.sent(),"updateInterface"],e,t,r)];case 2:return n.sent(),[4,uO(fL,e,t)];case 3:return[4,uj(nh(fC({id:t},n.sent())))];case 4:return n.sent(),[2]}})}function fz(e,t){return fM(this,function(r){switch(r.label){case 0:return[4,uL(nC)];case 1:return[4,uO([r.sent(),"getInterface"],e,t)];case 2:return[2,r.sent().state]}})}function fB(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function fU(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){fB(o,n,i,a,s,"next",e)}function s(e){fB(o,n,i,a,s,"throw",e)}a(void 0)})}}function fq(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]2?r-2:0),i=2;i0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),ms(this,"cache",new Map),ms(this,"validatedManifest",void 0),ms(this,"url",void 0),ms(this,"fetchFn",void 0),ms(this,"fetchOptions",void 0),(0,z.assertStruct)(e.toString(),tT,"Invalid Snap Id: "),this.fetchFn=null!==(t=n.fetch)&&void 0!==t?t:globalThis.fetch.bind(globalThis),this.fetchOptions=n.fetchOptions,this.url=e}return e=[{key:"manifest",value:function(){var e=this;return mo(function(){var t,r,n,o,a;return ml(this,function(s){switch(s.label){case 0:if(e.validatedManifest)return[2,e.validatedManifest.clone()];return t=new URL(i.Manifest,e.url).toString(),[4,e.fetchFn(t,e.fetchOptions)];case 1:if(!(r=s.sent()).ok)throw Error('Failed to fetch "'.concat(t,'". Status code: ').concat(r.status,"."));return[4,r.text()];case 2:return o=tM(n=s.sent()),a=new e8({value:n,result:rD(o),path:i.Manifest,data:{canonicalPath:t}}),e.validatedManifest=a,[2,e.manifest()]}})})()}},{key:"fetch",value:function(e){var t=this;return mo(function(){var r,n,i,o,a,s,l,u,c,p,_;return ml(this,function(d){switch(d.label){case 0:if(r=rS(e),!(void 0!==(n=t.cache.get(r))))return[3,2];return i=n.file,o=n.contents,s=Uint8Array.bind,[4,o.arrayBuffer()];case 1:return a=new(s.apply(Uint8Array,[void 0,d.sent()])),(l=i.clone()).value=a,[2,l];case 2:return u=t.toCanonical(r).toString(),[4,t.fetchFn(u,t.fetchOptions)];case 3:if(!(c=d.sent()).ok)throw Error('Failed to fetch "'.concat(u,'". Status code: ').concat(c.status,"."));return p=new e8({value:"",path:r,data:{canonicalPath:u}}),[4,c.blob()];case 4:return _=d.sent(),(0,z.assert)(!t.cache.has(r),"Corrupted cache, multiple files with same path."),t.cache.set(r,{file:p,contents:_}),[2,t.fetch(r)]}})})()}},{key:"root",get:function(){return new URL(this.url)}},{key:"toCanonical",value:function(e){return(0,z.assert)(!e.startsWith("/"),"Tried to parse absolute path."),new URL(e,this.url)}}],ma(r.prototype,e),t&&ma(r,t),r}();function mc(e,t,r,n,i,o,a){try{var s=e[o](a),l=s.value}catch(e){r(e);return}s.done?t(l):Promise.resolve(l).then(n,i)}function mp(e){return function(){var t=this,r=arguments;return new Promise(function(n,i){var o=e.apply(t,r);function a(e){mc(o,n,i,a,s,"next",e)}function s(e){mc(o,n,i,a,s,"throw",e)}a(void 0)})}}function m_(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}function md(e,t){var r=m_(e,t,"get");return r.get?r.get.call(e):r.value}function mf(e,t){for(var r=0;r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]1&&void 0!==arguments[1]?arguments[1]:{};(function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")})(this,r),function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(this,mh),mh.set(this,{writable:!0,value:void 0}),(0,z.assertStruct)(e.toString(),tS,"Invalid Snap Id"),(0,z.assert)(void 0===a.fetchOptions,"Currently adding fetch options to local: is unsupported."),i=new mu(new URL(e.toString().slice(o.local.length)),(t=function(e){for(var t=1;t0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0?[2,r.join("\n")]:[2,!0]})});return function(t,r){return e.apply(this,arguments)}}()},{name:"Checksum",manifestName:"source.shasum",validator:function(){var e=mI(function(e,t){var r,n,i,o,a,s,l;return mP(this,function(u){switch(u.label){case 0:if(r=t.sourceCode,n=t.icon,i=t.auxiliaryFiles,o=t.localizationFiles,!e)return[3,2];return s=null===(a=e.result)||void 0===a?void 0:a.source.shasum,[4,function(e){return tv.apply(this,arguments)}({manifest:e,sourceCode:r,svgIcon:n,auxiliaryFiles:i,localizationFiles:o})];case 1:if(l=u.sent(),s!==l)return[2,'Checksum mismatch - expected "'.concat(l,'" got "').concat(s,'"')];u.label=2;case 2:return[2,!0]}})});return function(t,r){return e.apply(this,arguments)}}()},{name:"Bundle",manifestName:"filePath",validator:function(){var e=mI(function(e,t){var r,n,i,o,a,s,l;return mP(this,function(u){return(r=t.sourceCode,l=mO(rx.schema.source.schema.location.schema.npm.schema.filePath.validate(null===(s=e)||void 0===s?void 0:null===(a=s.result)||void 0===a?void 0:null===(o=a.source)||void 0===o?void 0:null===(i=o.location)||void 0===i?void 0:null===(n=i.npm)||void 0===n?void 0:n.filePath),1)[0])?[2,l.message]:r?[2,!0]:[2,"Unable to load bundle."]})});return function(t,r){return e.apply(this,arguments)}}()}];function mL(e,t){var r,n,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function s(o){return function(s){return function(o){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,n=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=(i=a.trys).length>0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]0&&i[i.length-1])&&(6===o[0]||2===o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{var e={51119:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=i(3408);function r(e,t,i){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},7560:(e,t,i)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;tn})},98283:(e,t,i)=>{"use strict";function n(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n=0||(r[i]=e[i]);return r}i.d(t,{Z:()=>n})},74938:(e,t,i)=>{"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}i.d(t,{Z:()=>n})},3408:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=i(90929);function r(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!==(0,n.Z)(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},90929:(e,t,i)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i.d(t,{Z:()=>n})},25191:(e,t,i)=>{"use strict";i.d(t,{$5:()=>s,AB:()=>a,Eb:()=>C,Ji:()=>w,OP:()=>d,SG:()=>T,SM:()=>_,TB:()=>u,TJ:()=>g,V1:()=>y,VM:()=>A,X:()=>f,aP:()=>o,aj:()=>E,ao:()=>p,bN:()=>l,f2:()=>S,iU:()=>c,ke:()=>L,l1:()=>D,lN:()=>h,nY:()=>x,nw:()=>N,q0:()=>k,rk:()=>v,sA:()=>r,vE:()=>m,wl:()=>b});var n=i(94859),r=(0,n.O)("accordion").parts("root","container","button","panel").extend("icon"),o=(0,n.O)("alert").parts("title","description","container").extend("icon","spinner"),s=(0,n.O)("avatar").parts("label","badge","container").extend("excessLabel","group"),a=(0,n.O)("breadcrumb").parts("link","item","container").extend("separator"),l=(0,n.O)("button").parts(),u=(0,n.O)("checkbox").parts("control","icon","container").extend("label"),d=(0,n.O)("progress").parts("track","filledTrack").extend("label"),c=(0,n.O)("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),h=(0,n.O)("editable").parts("preview","input","textarea"),g=(0,n.O)("form").parts("container","requiredIndicator","helperText"),p=(0,n.O)("formError").parts("text","icon"),f=(0,n.O)("input").parts("addon","field","element"),m=(0,n.O)("list").parts("container","item","icon"),v=(0,n.O)("menu").parts("button","list","item").extend("groupTitle","command","divider"),b=(0,n.O)("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),y=(0,n.O)("numberinput").parts("root","field","stepperGroup","stepper"),_=(0,n.O)("pininput").parts("field"),w=(0,n.O)("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),C=(0,n.O)("progress").parts("label","filledTrack","track"),S=(0,n.O)("radio").parts("container","control","label"),x=(0,n.O)("select").parts("field","icon"),k=(0,n.O)("slider").parts("container","track","thumb","filledTrack","mark"),E=(0,n.O)("stat").parts("container","label","helpText","number","icon"),L=(0,n.O)("switch").parts("container","track","thumb"),D=(0,n.O)("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),N=(0,n.O)("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),A=(0,n.O)("tag").parts("container","label","closeButton"),T=(0,n.O)("card").parts("container","header","body","footer")},94859:(e,t,i)=>{"use strict";i.d(t,{O:()=>function e(t,i={}){let n=!1;function r(e){let i=`chakra-${(["container","root"].includes(null!=e?e:"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:i,selector:`.${i}`,toString:()=>e}}return{parts:function(...o){for(let e of(!function(){if(!n){n=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),o))i[e]=r(e);return e(t,i)},toPart:r,extend:function(...n){for(let e of n)e in i||(i[e]=r(e));return e(t,i)},selectors:function(){return Object.fromEntries(Object.entries(i).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(i).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(i)},__type:{}}}})},57879:(e,t,i)=>{"use strict";i.r(t),i.d(t,{accordionAnatomy:()=>n.sA,alertAnatomy:()=>n.aP,anatomy:()=>r.O,avatarAnatomy:()=>n.$5,breadcrumbAnatomy:()=>n.AB,buttonAnatomy:()=>n.bN,cardAnatomy:()=>n.SG,checkboxAnatomy:()=>n.TB,circularProgressAnatomy:()=>n.OP,drawerAnatomy:()=>n.iU,editableAnatomy:()=>n.lN,formAnatomy:()=>n.TJ,formErrorAnatomy:()=>n.ao,inputAnatomy:()=>n.X,listAnatomy:()=>n.vE,menuAnatomy:()=>n.rk,modalAnatomy:()=>n.wl,numberInputAnatomy:()=>n.V1,pinInputAnatomy:()=>n.SM,popoverAnatomy:()=>n.Ji,progressAnatomy:()=>n.Eb,radioAnatomy:()=>n.f2,selectAnatomy:()=>n.nY,sliderAnatomy:()=>n.q0,statAnatomy:()=>n.aj,switchAnatomy:()=>n.ke,tableAnatomy:()=>n.l1,tabsAnatomy:()=>n.nw,tagAnatomy:()=>n.VM});var n=i(25191),r=i(94859)},82323:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AbsoluteCenter:()=>gM,Accordion:()=>a8,AccordionButton:()=>aW,AccordionIcon:()=>aK,AccordionItem:()=>aG,AccordionPanel:()=>a3,AccordionProvider:()=>aU,Alert:()=>s6,AlertDescription:()=>s5,AlertDialog:()=>mA,AlertDialogBody:()=>mK,AlertDialogCloseButton:()=>mG,AlertDialogContent:()=>mT,AlertDialogFooter:()=>mW,AlertDialogHeader:()=>mj,AlertDialogOverlay:()=>mq,AlertIcon:()=>s3,AlertTitle:()=>s8,AspectRatio:()=>gN,Avatar:()=>ll,AvatarBadge:()=>le,AvatarGroup:()=>ld,Badge:()=>gA,Box:()=>gb,Breadcrumb:()=>lm,BreadcrumbItem:()=>lf,BreadcrumbLink:()=>lg,BreadcrumbSeparator:()=>lp,Button:()=>lx,ButtonGroup:()=>lw,ButtonSpinner:()=>lS,CSSPolyfill:()=>R,CSSReset:()=>P,CSSVars:()=>tW,Card:()=>lI,CardBody:()=>lN,CardFooter:()=>lA,CardHeader:()=>lT,Center:()=>gT,ChakraBaseProvider:()=>ab,ChakraProvider:()=>av,Checkbox:()=>ua,CheckboxGroup:()=>lF,CheckboxIcon:()=>lH,Circle:()=>g_,CircularProgress:()=>vj,CircularProgressLabel:()=>vR,CloseButton:()=>s9,Code:()=>gR,Collapse:()=>a6,ColorModeContext:()=>W,ColorModeProvider:()=>t6,ColorModeScript:()=>yp,Container:()=>gP,ControlBox:()=>ul,DarkMode:()=>t3,Divider:()=>gO,Drawer:()=>mP,DrawerBody:()=>mK,DrawerCloseButton:()=>mG,DrawerContent:()=>mH,DrawerFooter:()=>mW,DrawerHeader:()=>mj,DrawerOverlay:()=>mq,EASINGS:()=>aZ,Editable:()=>uP,EditableInput:()=>uS,EditablePreview:()=>ux,EditableTextarea:()=>uk,EnvironmentProvider:()=>t9,Fade:()=>mU,Flex:()=>gF,FocusLock:()=>ca,FormControl:()=>l$,FormErrorIcon:()=>cc,FormErrorMessage:()=>cd,FormHelperText:()=>lq,FormLabel:()=>ch,GenericAvatarIcon:()=>ln,GlobalStyle:()=>t$,Grid:()=>ge,GridItem:()=>gm,HStack:()=>gg,Heading:()=>gv,Hide:()=>gj,Highlight:()=>gx,Icon:()=>sG,IconButton:()=>lE,Image:()=>hW,Img:()=>hj,Input:()=>h2,InputAddon:()=>hZ,InputGroup:()=>hq,InputLeftAddon:()=>hY,InputLeftElement:()=>h0,InputRightAddon:()=>hQ,InputRightElement:()=>h1,Kbd:()=>gk,LightMode:()=>t8,Link:()=>gD,LinkBox:()=>gL,LinkOverlay:()=>gE,List:()=>h8,ListIcon:()=>h7,ListItem:()=>h9,Mark:()=>gS,Menu:()=>f_,MenuButton:()=>fT,MenuCommand:()=>fw,MenuDescendantsProvider:()=>ft,MenuDivider:()=>fI,MenuGroup:()=>fD,MenuIcon:()=>fS,MenuItem:()=>fx,MenuItemOption:()=>fR,MenuList:()=>fL,MenuOptionGroup:()=>fN,MenuProvider:()=>fo,Modal:()=>f5,ModalBody:()=>mK,ModalCloseButton:()=>mG,ModalContent:()=>mN,ModalContextProvider:()=>f3,ModalFocusScope:()=>mD,ModalFooter:()=>mW,ModalHeader:()=>mj,ModalOverlay:()=>mq,NumberDecrementStepper:()=>m7,NumberIncrementStepper:()=>ve,NumberInput:()=>m8,NumberInputField:()=>m4,NumberInputStepper:()=>m5,OrderedList:()=>h5,PinInput:()=>vc,PinInputDescendantsProvider:()=>vt,PinInputField:()=>vh,PinInputProvider:()=>vo,Popover:()=>vS,PopoverAnchor:()=>vx,PopoverArrow:()=>vE,PopoverBody:()=>vL,PopoverCloseButton:()=>vD,PopoverContent:()=>vI,PopoverFooter:()=>vM,PopoverHeader:()=>vv,PopoverTrigger:()=>vb,Portal:()=>ah,PortalManager:()=>H,Progress:()=>vq,ProgressLabel:()=>vK,Radio:()=>v1,RadioGroup:()=>vQ,RangeSlider:()=>bR,RangeSliderFilledTrack:()=>bF,RangeSliderMark:()=>bB,RangeSliderProvider:()=>bA,RangeSliderThumb:()=>bP,RangeSliderTrack:()=>bO,RequiredIndicator:()=>cg,ScaleFade:()=>fB,Select:()=>v6,SelectField:()=>v2,Show:()=>g$,SimpleGrid:()=>gn,Skeleton:()=>bi,SkeletonCircle:()=>bn,SkeletonText:()=>br,Slide:()=>mB,SlideFade:()=>fO,Slider:()=>bU,SliderFilledTrack:()=>bK,SliderMark:()=>bG,SliderProvider:()=>bH,SliderThumb:()=>b$,SliderTrack:()=>bq,Spacer:()=>gr,Spinner:()=>sQ,Square:()=>gy,Stack:()=>gc,StackDivider:()=>gp,StackItem:()=>gu,Stat:()=>bQ,StatArrow:()=>b0,StatDownArrow:()=>bJ,StatGroup:()=>b1,StatHelpText:()=>b2,StatLabel:()=>b6,StatNumber:()=>b3,StatUpArrow:()=>bX,Step:()=>ye,StepDescription:()=>yn,StepIcon:()=>ys,StepIndicator:()=>yl,StepIndicatorContent:()=>yu,StepNumber:()=>ya,StepSeparator:()=>yd,StepStatus:()=>yr,StepTitle:()=>b7,Stepper:()=>yt,StylesProvider:()=>tj,Switch:()=>yc,Tab:()=>yZ,TabIndicator:()=>y$,TabList:()=>yq,TabPanel:()=>yK,TabPanels:()=>yG,Table:()=>yv,TableCaption:()=>y_,TableContainer:()=>yw,Tabs:()=>yU,TabsDescendantsProvider:()=>yE,TabsProvider:()=>yT,Tag:()=>yJ,TagCloseButton:()=>y6,TagLabel:()=>yX,TagLeftIcon:()=>y0,TagRightIcon:()=>y1,Tbody:()=>yC,Td:()=>yS,Text:()=>go,Textarea:()=>y8,Tfoot:()=>yx,Th:()=>yk,Thead:()=>yb,ThemeProvider:()=>tH,Toast:()=>at,ToastOptionProvider:()=>ag,ToastProvider:()=>af,Tooltip:()=>_u,Tr:()=>yy,UnorderedList:()=>h4,VStack:()=>gh,VisuallyHidden:()=>_d,VisuallyHiddenInput:()=>_c,Wrap:()=>ga,WrapItem:()=>gl,addPrefix:()=>eX,assignRef:()=>cD,background:()=>eC,baseTheme:()=>sc,border:()=>eS,calc:()=>eJ,chakra:()=>sE,color:()=>ex,cookieStorageManager:()=>tJ,cookieStorageManagerSSR:()=>tX,createCookieStorageManager:()=>tQ,createIcon:()=>hV,createLocalStorageManager:()=>tG,createMultiStyleConfigHelpers:()=>tx,createRenderToast:()=>ai,createStandaloneToast:()=>_i,createStylesContext:()=>tU,createToastFn:()=>an,css:()=>tw,cssVar:()=>e2,defineCssVars:()=>e6,defineStyle:()=>tC,defineStyleConfig:()=>tS,effect:()=>ek,extendBaseTheme:()=>sB,extendTheme:()=>sF,fadeConfig:()=>mz,filter:()=>eE,flattenTokens:()=>td,flexbox:()=>eL,forwardRef:()=>sA,getCSSVar:()=>tE,getCss:()=>t_,getScriptSrc:()=>yg,getSlideTransition:()=>aQ,getToastPlacement:()=>sN,getToken:()=>sR,grid:()=>eD,interactivity:()=>eN,isChakraTheme:()=>it,isStyleProp:()=>tm,keyframes:()=>A.keyframes,layout:()=>eA,layoutPropNames:()=>tg,list:()=>eT,localStorageManager:()=>tZ,mergeThemeOverride:()=>sV,omitThemingProps:()=>tL,others:()=>eO,popperCSSVars:()=>gX,position:()=>eF,propNames:()=>tp,pseudoPropNames:()=>to,pseudoSelectors:()=>tr,requiredChakraThemeKeys:()=>ie,resolveStyleConfig:()=>tk,ring:()=>eB,scaleFadeConfig:()=>fF,scroll:()=>eU,shouldForwardProp:()=>sw,slideFadeConfig:()=>fP,space:()=>eV,styled:()=>sk,systemProps:()=>th,textDecoration:()=>eH,theme:()=>sd,toCSSObject:()=>sx,toCSSVar:()=>tc,toVarDefinition:()=>e1,toVarReference:()=>e0,tokenToCSSVar:()=>er,transform:()=>eW,transition:()=>ej,typography:()=>ez,useAccordion:()=>az,useAccordionContext:()=>a$,useAccordionItem:()=>aq,useAccordionItemState:()=>a5,useAccordionStyles:()=>aR,useAlertStyles:()=>s1,useAnimationState:()=>hE,useAvatarStyles:()=>a9,useBoolean:()=>hL,useBreadcrumbStyles:()=>lh,useBreakpoint:()=>gq,useBreakpointValue:()=>gK,useButtonGroup:()=>lb,useCallbackRef:()=>cS,useCardStyles:()=>lD,useChakra:()=>sI,useCheckbox:()=>ue,useCheckboxGroup:()=>lO,useClipboard:()=>hA,useColorMode:()=>j,useColorModePreference:()=>gU,useColorModeValue:()=>z,useComponentStyles__unstable:()=>sq,useConst:()=>hT,useControllableProp:()=>hl,useControllableState:()=>hu,useCounter:()=>ug,useDimensions:()=>hB,useDisclosure:()=>hd,useDrawerContext:()=>mM,useEditable:()=>uR,useEditableContext:()=>u_,useEditableControls:()=>uO,useEditableState:()=>uw,useEditableStyles:()=>ub,useEnvironment:()=>t4,useEventListener:()=>cA,useEventListenerMap:()=>hc,useFocusEffect:()=>hy,useFocusOnHide:()=>h_,useFocusOnPointerDown:()=>hw,useFocusOnShow:()=>hx,useForceUpdate:()=>hk,useFormControl:()=>lK,useFormControlContext:()=>lU,useFormControlProps:()=>lG,useFormControlStyles:()=>lj,useFormErrorStyles:()=>cu,useHighlight:()=>gC,useId:()=>ho,useIds:()=>hs,useImage:()=>lr,useInputGroupStyles:()=>h$,useInterval:()=>cE,useLatestRef:()=>cL,useListStyles:()=>h3,useMediaQuery:()=>gB,useMenu:()=>fu,useMenuButton:()=>fd,useMenuContext:()=>fs,useMenuDescendant:()=>fr,useMenuDescendants:()=>fn,useMenuDescendantsContext:()=>fi,useMenuItem:()=>fp,useMenuList:()=>fh,useMenuOption:()=>ff,useMenuOptionGroup:()=>fm,useMenuPositioner:()=>fg,useMenuState:()=>fv,useMenuStyles:()=>fy,useMergeRefs:()=>cN,useModal:()=>f1,useModalContext:()=>f8,useModalStyles:()=>f6,useMouseDownRef:()=>cT,useMultiStyleConfig:()=>s$,useNumberInput:()=>m0,useNumberInputStyles:()=>m2,useOptionalPart:()=>ha,useOutsideClick:()=>cI,usePanGesture:()=>hr,usePinInput:()=>vu,usePinInputContext:()=>vs,usePinInputField:()=>vd,usePointerEvent:()=>cU,usePopover:()=>v_,usePopoverContext:()=>vp,usePopoverStyles:()=>vm,usePopper:()=>p8,usePortalManager:()=>V,usePrefersReducedMotion:()=>gz,usePrevious:()=>cp,useProgressStyles:()=>vU,useQuery:()=>gW,useRadio:()=>vX,useRadioGroup:()=>vG,useRadioGroupContext:()=>vY,useRangeSlider:()=>bN,useRangeSliderContext:()=>bT,useRangeSliderStyles:()=>bM,useSafeLayoutEffect:()=>cC,useShortcut:()=>cf,useSlider:()=>bV,useSliderContext:()=>bW,useSliderStyles:()=>bz,useStatStyles:()=>bY,useStepContext:()=>b5,useStepperStyles:()=>b9,useSteps:()=>yi,useStyleConfig:()=>sU,useStyles:()=>tz,useTab:()=>yR,useTabIndicator:()=>yV,useTabList:()=>yM,useTabPanel:()=>yB,useTabPanels:()=>yF,useTableStyles:()=>ym,useTabs:()=>yA,useTabsContext:()=>yI,useTabsDescendant:()=>yN,useTabsDescendants:()=>yD,useTabsDescendantsContext:()=>yL,useTabsStyles:()=>yz,useTagStyles:()=>yQ,useTheme:()=>sT,useTimeout:()=>cx,useToast:()=>_e,useToken:()=>sM,useTooltip:()=>_s,useUnmountEffect:()=>c$,useUpdateEffect:()=>hh,useWhyDidYouUpdate:()=>ck,visuallyHiddenStyle:()=>lZ,withDefaultColorScheme:()=>y5,withDefaultProps:()=>y7,withDefaultSize:()=>y4,withDefaultVariant:()=>y9,withDelay:()=>aX});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A=i(28165),T=i(52322),I=String.raw,M=I` +var vendor_8ea0f6150a64e2283b95;(()=>{var e={51119:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=i(3408);function r(e,t,i){return(t=(0,n.Z)(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},7560:(e,t,i)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;tn})},98283:(e,t,i)=>{"use strict";function n(e,t){if(null==e)return{};var i,n,r={},o=Object.keys(e);for(n=0;n=0||(r[i]=e[i]);return r}i.d(t,{Z:()=>n})},74938:(e,t,i)=>{"use strict";function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}i.d(t,{Z:()=>n})},3408:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=i(90929);function r(e){var t=function(e,t){if("object"!==(0,n.Z)(e)||null===e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var r=i.call(e,t||"default");if("object"!==(0,n.Z)(r))return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===(0,n.Z)(t)?t:String(t)}},90929:(e,t,i)=>{"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i.d(t,{Z:()=>n})},25191:(e,t,i)=>{"use strict";i.d(t,{$5:()=>s,AB:()=>a,Eb:()=>C,Ji:()=>w,OP:()=>d,SG:()=>T,SM:()=>_,TB:()=>u,TJ:()=>g,V1:()=>y,VM:()=>A,X:()=>f,aP:()=>o,aj:()=>E,ao:()=>p,bN:()=>l,f2:()=>S,iU:()=>c,ke:()=>L,l1:()=>D,lN:()=>h,nY:()=>x,nw:()=>N,q0:()=>k,rk:()=>v,sA:()=>r,vE:()=>m,wl:()=>b});var n=i(94859),r=(0,n.O)("accordion").parts("root","container","button","panel").extend("icon"),o=(0,n.O)("alert").parts("title","description","container").extend("icon","spinner"),s=(0,n.O)("avatar").parts("label","badge","container").extend("excessLabel","group"),a=(0,n.O)("breadcrumb").parts("link","item","container").extend("separator"),l=(0,n.O)("button").parts(),u=(0,n.O)("checkbox").parts("control","icon","container").extend("label"),d=(0,n.O)("progress").parts("track","filledTrack").extend("label"),c=(0,n.O)("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),h=(0,n.O)("editable").parts("preview","input","textarea"),g=(0,n.O)("form").parts("container","requiredIndicator","helperText"),p=(0,n.O)("formError").parts("text","icon"),f=(0,n.O)("input").parts("addon","field","element"),m=(0,n.O)("list").parts("container","item","icon"),v=(0,n.O)("menu").parts("button","list","item").extend("groupTitle","command","divider"),b=(0,n.O)("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),y=(0,n.O)("numberinput").parts("root","field","stepperGroup","stepper"),_=(0,n.O)("pininput").parts("field"),w=(0,n.O)("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton"),C=(0,n.O)("progress").parts("label","filledTrack","track"),S=(0,n.O)("radio").parts("container","control","label"),x=(0,n.O)("select").parts("field","icon"),k=(0,n.O)("slider").parts("container","track","thumb","filledTrack","mark"),E=(0,n.O)("stat").parts("container","label","helpText","number","icon"),L=(0,n.O)("switch").parts("container","track","thumb"),D=(0,n.O)("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),N=(0,n.O)("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),A=(0,n.O)("tag").parts("container","label","closeButton"),T=(0,n.O)("card").parts("container","header","body","footer")},94859:(e,t,i)=>{"use strict";i.d(t,{O:()=>function e(t,i={}){let n=!1;function r(e){let i=`chakra-${(["container","root"].includes(null!=e?e:"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:i,selector:`.${i}`,toString:()=>e}}return{parts:function(...o){for(let e of(!function(){if(!n){n=!0;return}throw Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?")}(),o))i[e]=r(e);return e(t,i)},toPart:r,extend:function(...n){for(let e of n)e in i||(i[e]=r(e));return e(t,i)},selectors:function(){return Object.fromEntries(Object.entries(i).map(([e,t])=>[e,t.selector]))},classnames:function(){return Object.fromEntries(Object.entries(i).map(([e,t])=>[e,t.className]))},get keys(){return Object.keys(i)},__type:{}}}})},57879:(e,t,i)=>{"use strict";i.r(t),i.d(t,{accordionAnatomy:()=>n.sA,alertAnatomy:()=>n.aP,anatomy:()=>r.O,avatarAnatomy:()=>n.$5,breadcrumbAnatomy:()=>n.AB,buttonAnatomy:()=>n.bN,cardAnatomy:()=>n.SG,checkboxAnatomy:()=>n.TB,circularProgressAnatomy:()=>n.OP,drawerAnatomy:()=>n.iU,editableAnatomy:()=>n.lN,formAnatomy:()=>n.TJ,formErrorAnatomy:()=>n.ao,inputAnatomy:()=>n.X,listAnatomy:()=>n.vE,menuAnatomy:()=>n.rk,modalAnatomy:()=>n.wl,numberInputAnatomy:()=>n.V1,pinInputAnatomy:()=>n.SM,popoverAnatomy:()=>n.Ji,progressAnatomy:()=>n.Eb,radioAnatomy:()=>n.f2,selectAnatomy:()=>n.nY,sliderAnatomy:()=>n.q0,statAnatomy:()=>n.aj,switchAnatomy:()=>n.ke,tableAnatomy:()=>n.l1,tabsAnatomy:()=>n.nw,tagAnatomy:()=>n.VM});var n=i(25191),r=i(94859)},82323:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AbsoluteCenter:()=>gM,Accordion:()=>a8,AccordionButton:()=>aj,AccordionIcon:()=>aK,AccordionItem:()=>aG,AccordionPanel:()=>a3,AccordionProvider:()=>aU,Alert:()=>s6,AlertDescription:()=>s5,AlertDialog:()=>mA,AlertDialogBody:()=>mK,AlertDialogCloseButton:()=>mG,AlertDialogContent:()=>mT,AlertDialogFooter:()=>mj,AlertDialogHeader:()=>mW,AlertDialogOverlay:()=>mq,AlertIcon:()=>s3,AlertTitle:()=>s8,AspectRatio:()=>gN,Avatar:()=>ll,AvatarBadge:()=>le,AvatarGroup:()=>ld,Badge:()=>gA,Box:()=>gb,Breadcrumb:()=>lm,BreadcrumbItem:()=>lf,BreadcrumbLink:()=>lg,BreadcrumbSeparator:()=>lp,Button:()=>lx,ButtonGroup:()=>lw,ButtonSpinner:()=>lS,CSSPolyfill:()=>O,CSSReset:()=>P,CSSVars:()=>tj,Card:()=>lI,CardBody:()=>lN,CardFooter:()=>lA,CardHeader:()=>lT,Center:()=>gT,ChakraBaseProvider:()=>ab,ChakraProvider:()=>av,Checkbox:()=>ua,CheckboxGroup:()=>lF,CheckboxIcon:()=>lH,Circle:()=>g_,CircularProgress:()=>vW,CircularProgressLabel:()=>vO,CloseButton:()=>s9,Code:()=>gO,Collapse:()=>a6,ColorModeContext:()=>j,ColorModeProvider:()=>t6,ColorModeScript:()=>yp,Container:()=>gP,ControlBox:()=>ul,DarkMode:()=>t3,Divider:()=>gR,Drawer:()=>mP,DrawerBody:()=>mK,DrawerCloseButton:()=>mG,DrawerContent:()=>mH,DrawerFooter:()=>mj,DrawerHeader:()=>mW,DrawerOverlay:()=>mq,EASINGS:()=>aZ,Editable:()=>uP,EditableInput:()=>uS,EditablePreview:()=>ux,EditableTextarea:()=>uk,EnvironmentProvider:()=>t9,Fade:()=>mU,Flex:()=>gF,FocusLock:()=>ca,FormControl:()=>l$,FormErrorIcon:()=>cc,FormErrorMessage:()=>cd,FormHelperText:()=>lq,FormLabel:()=>ch,GenericAvatarIcon:()=>ln,GlobalStyle:()=>t$,Grid:()=>ge,GridItem:()=>gm,HStack:()=>gg,Heading:()=>gv,Hide:()=>gW,Highlight:()=>gx,Icon:()=>sG,IconButton:()=>lE,Image:()=>hj,Img:()=>hW,Input:()=>h2,InputAddon:()=>hZ,InputGroup:()=>hq,InputLeftAddon:()=>hY,InputLeftElement:()=>h0,InputRightAddon:()=>hQ,InputRightElement:()=>h1,Kbd:()=>gk,LightMode:()=>t8,Link:()=>gD,LinkBox:()=>gL,LinkOverlay:()=>gE,List:()=>h8,ListIcon:()=>h7,ListItem:()=>h9,Mark:()=>gS,Menu:()=>f_,MenuButton:()=>fT,MenuCommand:()=>fw,MenuDescendantsProvider:()=>ft,MenuDivider:()=>fI,MenuGroup:()=>fD,MenuIcon:()=>fS,MenuItem:()=>fx,MenuItemOption:()=>fO,MenuList:()=>fL,MenuOptionGroup:()=>fN,MenuProvider:()=>fo,Modal:()=>f5,ModalBody:()=>mK,ModalCloseButton:()=>mG,ModalContent:()=>mN,ModalContextProvider:()=>f3,ModalFocusScope:()=>mD,ModalFooter:()=>mj,ModalHeader:()=>mW,ModalOverlay:()=>mq,NumberDecrementStepper:()=>m7,NumberIncrementStepper:()=>ve,NumberInput:()=>m8,NumberInputField:()=>m4,NumberInputStepper:()=>m5,OrderedList:()=>h5,PinInput:()=>vc,PinInputDescendantsProvider:()=>vt,PinInputField:()=>vh,PinInputProvider:()=>vo,Popover:()=>vS,PopoverAnchor:()=>vx,PopoverArrow:()=>vE,PopoverBody:()=>vL,PopoverCloseButton:()=>vD,PopoverContent:()=>vI,PopoverFooter:()=>vM,PopoverHeader:()=>vv,PopoverTrigger:()=>vb,Portal:()=>ah,PortalManager:()=>H,Progress:()=>vq,ProgressLabel:()=>vK,Radio:()=>v1,RadioGroup:()=>vQ,RangeSlider:()=>bO,RangeSliderFilledTrack:()=>bF,RangeSliderMark:()=>bB,RangeSliderProvider:()=>bA,RangeSliderThumb:()=>bP,RangeSliderTrack:()=>bR,RequiredIndicator:()=>cg,ScaleFade:()=>fB,Select:()=>v6,SelectField:()=>v2,Show:()=>g$,SimpleGrid:()=>gn,Skeleton:()=>bi,SkeletonCircle:()=>bn,SkeletonText:()=>br,Slide:()=>mB,SlideFade:()=>fR,Slider:()=>bU,SliderFilledTrack:()=>bK,SliderMark:()=>bG,SliderProvider:()=>bH,SliderThumb:()=>b$,SliderTrack:()=>bq,Spacer:()=>gr,Spinner:()=>sQ,Square:()=>gy,Stack:()=>gc,StackDivider:()=>gp,StackItem:()=>gu,Stat:()=>bQ,StatArrow:()=>b0,StatDownArrow:()=>bJ,StatGroup:()=>b1,StatHelpText:()=>b2,StatLabel:()=>b6,StatNumber:()=>b3,StatUpArrow:()=>bX,Step:()=>ye,StepDescription:()=>yn,StepIcon:()=>ys,StepIndicator:()=>yl,StepIndicatorContent:()=>yu,StepNumber:()=>ya,StepSeparator:()=>yd,StepStatus:()=>yr,StepTitle:()=>b7,Stepper:()=>yt,StylesProvider:()=>tW,Switch:()=>yc,Tab:()=>yZ,TabIndicator:()=>y$,TabList:()=>yq,TabPanel:()=>yK,TabPanels:()=>yG,Table:()=>yv,TableCaption:()=>y_,TableContainer:()=>yw,Tabs:()=>yU,TabsDescendantsProvider:()=>yE,TabsProvider:()=>yT,Tag:()=>yJ,TagCloseButton:()=>y6,TagLabel:()=>yX,TagLeftIcon:()=>y0,TagRightIcon:()=>y1,Tbody:()=>yC,Td:()=>yS,Text:()=>go,Textarea:()=>y8,Tfoot:()=>yx,Th:()=>yk,Thead:()=>yb,ThemeProvider:()=>tH,Toast:()=>at,ToastOptionProvider:()=>ag,ToastProvider:()=>af,Tooltip:()=>_u,Tr:()=>yy,UnorderedList:()=>h4,VStack:()=>gh,VisuallyHidden:()=>_d,VisuallyHiddenInput:()=>_c,Wrap:()=>ga,WrapItem:()=>gl,addPrefix:()=>eX,assignRef:()=>cD,background:()=>eC,baseTheme:()=>sc,border:()=>eS,calc:()=>eJ,chakra:()=>sE,color:()=>ex,cookieStorageManager:()=>tJ,cookieStorageManagerSSR:()=>tX,createCookieStorageManager:()=>tQ,createIcon:()=>hV,createLocalStorageManager:()=>tG,createMultiStyleConfigHelpers:()=>tx,createRenderToast:()=>ai,createStandaloneToast:()=>_i,createStylesContext:()=>tU,createToastFn:()=>an,css:()=>tw,cssVar:()=>e2,defineCssVars:()=>e6,defineStyle:()=>tC,defineStyleConfig:()=>tS,effect:()=>ek,extendBaseTheme:()=>sB,extendTheme:()=>sF,fadeConfig:()=>mz,filter:()=>eE,flattenTokens:()=>td,flexbox:()=>eL,forwardRef:()=>sA,getCSSVar:()=>tE,getCss:()=>t_,getScriptSrc:()=>yg,getSlideTransition:()=>aQ,getToastPlacement:()=>sN,getToken:()=>sO,grid:()=>eD,interactivity:()=>eN,isChakraTheme:()=>it,isStyleProp:()=>tm,keyframes:()=>A.keyframes,layout:()=>eA,layoutPropNames:()=>tg,list:()=>eT,localStorageManager:()=>tZ,mergeThemeOverride:()=>sV,omitThemingProps:()=>tL,others:()=>eR,popperCSSVars:()=>gX,position:()=>eF,propNames:()=>tp,pseudoPropNames:()=>to,pseudoSelectors:()=>tr,requiredChakraThemeKeys:()=>ie,resolveStyleConfig:()=>tk,ring:()=>eB,scaleFadeConfig:()=>fF,scroll:()=>eU,shouldForwardProp:()=>sw,slideFadeConfig:()=>fP,space:()=>eV,styled:()=>sk,systemProps:()=>th,textDecoration:()=>eH,theme:()=>sd,toCSSObject:()=>sx,toCSSVar:()=>tc,toVarDefinition:()=>e1,toVarReference:()=>e0,tokenToCSSVar:()=>er,transform:()=>ej,transition:()=>eW,typography:()=>ez,useAccordion:()=>az,useAccordionContext:()=>a$,useAccordionItem:()=>aq,useAccordionItemState:()=>a5,useAccordionStyles:()=>aO,useAlertStyles:()=>s1,useAnimationState:()=>hE,useAvatarStyles:()=>a9,useBoolean:()=>hL,useBreadcrumbStyles:()=>lh,useBreakpoint:()=>gq,useBreakpointValue:()=>gK,useButtonGroup:()=>lb,useCallbackRef:()=>cS,useCardStyles:()=>lD,useChakra:()=>sI,useCheckbox:()=>ue,useCheckboxGroup:()=>lR,useClipboard:()=>hA,useColorMode:()=>W,useColorModePreference:()=>gU,useColorModeValue:()=>z,useComponentStyles__unstable:()=>sq,useConst:()=>hT,useControllableProp:()=>hl,useControllableState:()=>hu,useCounter:()=>ug,useDimensions:()=>hB,useDisclosure:()=>hd,useDrawerContext:()=>mM,useEditable:()=>uO,useEditableContext:()=>u_,useEditableControls:()=>uR,useEditableState:()=>uw,useEditableStyles:()=>ub,useEnvironment:()=>t4,useEventListener:()=>cA,useEventListenerMap:()=>hc,useFocusEffect:()=>hy,useFocusOnHide:()=>h_,useFocusOnPointerDown:()=>hw,useFocusOnShow:()=>hx,useForceUpdate:()=>hk,useFormControl:()=>lK,useFormControlContext:()=>lU,useFormControlProps:()=>lG,useFormControlStyles:()=>lW,useFormErrorStyles:()=>cu,useHighlight:()=>gC,useId:()=>ho,useIds:()=>hs,useImage:()=>lr,useInputGroupStyles:()=>h$,useInterval:()=>cE,useLatestRef:()=>cL,useListStyles:()=>h3,useMediaQuery:()=>gB,useMenu:()=>fu,useMenuButton:()=>fd,useMenuContext:()=>fs,useMenuDescendant:()=>fr,useMenuDescendants:()=>fn,useMenuDescendantsContext:()=>fi,useMenuItem:()=>fp,useMenuList:()=>fh,useMenuOption:()=>ff,useMenuOptionGroup:()=>fm,useMenuPositioner:()=>fg,useMenuState:()=>fv,useMenuStyles:()=>fy,useMergeRefs:()=>cN,useModal:()=>f1,useModalContext:()=>f8,useModalStyles:()=>f6,useMouseDownRef:()=>cT,useMultiStyleConfig:()=>s$,useNumberInput:()=>m0,useNumberInputStyles:()=>m2,useOptionalPart:()=>ha,useOutsideClick:()=>cI,usePanGesture:()=>hr,usePinInput:()=>vu,usePinInputContext:()=>vs,usePinInputField:()=>vd,usePointerEvent:()=>cU,usePopover:()=>v_,usePopoverContext:()=>vp,usePopoverStyles:()=>vm,usePopper:()=>p8,usePortalManager:()=>V,usePrefersReducedMotion:()=>gz,usePrevious:()=>cp,useProgressStyles:()=>vU,useQuery:()=>gj,useRadio:()=>vX,useRadioGroup:()=>vG,useRadioGroupContext:()=>vY,useRangeSlider:()=>bN,useRangeSliderContext:()=>bT,useRangeSliderStyles:()=>bM,useSafeLayoutEffect:()=>cC,useShortcut:()=>cf,useSlider:()=>bV,useSliderContext:()=>bj,useSliderStyles:()=>bz,useStatStyles:()=>bY,useStepContext:()=>b5,useStepperStyles:()=>b9,useSteps:()=>yi,useStyleConfig:()=>sU,useStyles:()=>tz,useTab:()=>yO,useTabIndicator:()=>yV,useTabList:()=>yM,useTabPanel:()=>yB,useTabPanels:()=>yF,useTableStyles:()=>ym,useTabs:()=>yA,useTabsContext:()=>yI,useTabsDescendant:()=>yN,useTabsDescendants:()=>yD,useTabsDescendantsContext:()=>yL,useTabsStyles:()=>yz,useTagStyles:()=>yQ,useTheme:()=>sT,useTimeout:()=>cx,useToast:()=>_e,useToken:()=>sM,useTooltip:()=>_s,useUnmountEffect:()=>c$,useUpdateEffect:()=>hh,useWhyDidYouUpdate:()=>ck,visuallyHiddenStyle:()=>lZ,withDefaultColorScheme:()=>y5,withDefaultProps:()=>y7,withDefaultSize:()=>y4,withDefaultVariant:()=>y9,withDelay:()=>aX});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A=i(28165),T=i(52322),I=String.raw,M=I` :root, :host { --chakra-vh: 100vh; @@ -24,7 +24,7 @@ var vendor_d71fafee4813a2e29a33;(()=>{var e={51119:(e,t,i)=>{"use strict";i.d(t, --chakra-vh: 100dvh; } } -`,R=()=>(0,T.jsx)(A.Global,{styles:M}),P=({scope:e=""})=>(0,T.jsx)(A.Global,{styles:I` +`,O=()=>(0,T.jsx)(A.Global,{styles:M}),P=({scope:e=""})=>(0,T.jsx)(A.Global,{styles:I` html { line-height: 1.5; -webkit-text-size-adjust: 100%; @@ -277,7 +277,7 @@ var vendor_d71fafee4813a2e29a33;(()=>{var e={51119:(e,t,i)=>{"use strict";i.d(t, } ${M} - `}),O=i(2784);function F(e={}){let{name:t,strict:i=!0,hookName:n="useContext",providerName:r="Provider",errorMessage:o,defaultValue:s}=e,a=(0,O.createContext)(s);return a.displayName=t,[a.Provider,function e(){var t;let s=(0,O.useContext)(a);if(!s&&i){let i=Error(null!=o?o:`${n} returned \`undefined\`. Seems you forgot to wrap component within ${r}`);throw i.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,i,e),i}return s},a]}var[B,V]=F({strict:!1,name:"PortalManagerContext"});function H(e){let{children:t,zIndex:i}=e;return(0,T.jsx)(B,{value:{zIndex:i},children:t})}H.displayName="PortalManager";var W=(0,O.createContext)({});function j(){let e=(0,O.useContext)(W);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}function z(e,t){let{colorMode:i}=j();return"dark"===i?t:e}function U(e={}){let{strict:t=!0,errorMessage:i="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,r=(0,O.createContext)(void 0);return r.displayName=n,[r.Provider,function e(){var n;let o=(0,O.useContext)(r);if(!o&&t){let t=Error(i);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return o},r]}W.displayName="ColorModeContext";var $=(...e)=>e.filter(Boolean).join(" ");function q(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var K=e=>{let{condition:t,message:i}=e};function G(e,...t){return Z(e)?e(...t):e}var Z=e=>"function"==typeof e,Y=e=>e?"":void 0,Q=e=>!!e||void 0;function J(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function X(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}var ee=i(63637),et=i.n(ee),ei=e=>/!(important)?$/.test(e),en=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,er=(e,t)=>i=>{let n=String(t),r=ei(n),o=en(n),s=e?`${e}.${o}`:o,a=q(i.__cssMap)&&s in i.__cssMap?i.__cssMap[s].varRef:t;return a=en(a),r?`${a} !important`:a};function eo(e){let{scale:t,transform:i,compose:n}=e;return(e,r)=>{var o;let s=er(t,e)(r),a=null!=(o=null==i?void 0:i(s,r))?o:s;return n&&(a=n(a,r)),a}}var es=(...e)=>t=>e.reduce((e,t)=>t(e),t);function ea(e,t){return i=>{let n={property:i,scale:e};return n.transform=eo({scale:e,transform:t}),n}}var el=({rtl:e,ltr:t})=>i=>"rtl"===i.direction?e:t,eu=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],ed={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},ec={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},eh={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},eg={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},ep=new Set(Object.values(eg)),ef=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),em=e=>e.trim(),ev=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),eb=e=>{let t=parseFloat(e.toString()),i=e.toString().replace(String(t),"");return{unitless:!i,value:t,unit:i}},ey=e=>t=>`${e}(${t})`,e_={filter:e=>"auto"!==e?e:ed,backdropFilter:e=>"auto"!==e?e:ec,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e_.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...eu].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...eu].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=eb(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,t)=>"rtl"===t.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>(function(e,t){if(null==e||ef.has(e))return e;if(!(ev(e)||ef.has(e)))return`url('${e}')`;let i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==i?void 0:i[1],r=null==i?void 0:i[2];if(!n||!r)return e;let o=n.includes("-gradient")?n:`${n}-gradient`,[s,...a]=r.split(",").map(em).filter(Boolean);if((null==a?void 0:a.length)===0)return e;let l=s in eg?eg[s]:s;return a.unshift(l),`${o}(${a.map(e=>{if(ep.has(e))return e;let i=e.indexOf(" "),[n,r]=-1!==i?[e.substr(0,i),e.substr(i+1)]:[e],o=ev(r)?r:r&&r.split(" "),s=`colors.${n}`,a=s in t.__cssMap?t.__cssMap[s].varRef:n;return o?[a,...Array.isArray(o)?o:[o]].join(" "):a}).join(", ")})`})(e,null!=t?t:{}),blur:ey("blur"),opacity:ey("opacity"),brightness:ey("brightness"),contrast:ey("contrast"),dropShadow:ey("drop-shadow"),grayscale:ey("grayscale"),hueRotate:ey("hue-rotate"),invert:ey("invert"),saturate:ey("saturate"),sepia:ey("sepia"),bgImage:e=>null==e?e:ev(e)||ef.has(e)?e:`url(${e})`,outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:i,divide:n}=null!=(t=eh[e])?t:{},r={flexDirection:e};return i&&(r[i]=1),n&&(r[n]=1),r}},ew={borderWidths:ea("borderWidths"),borderStyles:ea("borderStyles"),colors:ea("colors"),borders:ea("borders"),gradients:ea("gradients",e_.gradient),radii:ea("radii",e_.px),space:ea("space",es(e_.vh,e_.px)),spaceT:ea("space",es(e_.vh,e_.px)),degreeT:e=>({property:e,transform:e_.degree}),prop:(e,t,i)=>({property:e,scale:t,...t&&{transform:eo({scale:t,transform:i})}}),propT:(e,t)=>({property:e,transform:t}),sizes:ea("sizes",es(e_.vh,e_.px)),sizesT:ea("sizes",es(e_.vh,e_.fraction)),shadows:ea("shadows"),logical:function(e){let{property:t,scale:i,transform:n}=e;return{scale:i,property:el(t),transform:i?eo({scale:i,compose:n}):n}},blur:ea("blur",e_.blur)},eC={background:ew.colors("background"),backgroundColor:ew.colors("backgroundColor"),backgroundImage:ew.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:e_.bgClip},bgSize:ew.prop("backgroundSize"),bgPosition:ew.prop("backgroundPosition"),bg:ew.colors("background"),bgColor:ew.colors("backgroundColor"),bgPos:ew.prop("backgroundPosition"),bgRepeat:ew.prop("backgroundRepeat"),bgAttachment:ew.prop("backgroundAttachment"),bgGradient:ew.gradients("backgroundImage"),bgClip:{transform:e_.bgClip}};Object.assign(eC,{bgImage:eC.backgroundImage,bgImg:eC.backgroundImage});var eS={border:ew.borders("border"),borderWidth:ew.borderWidths("borderWidth"),borderStyle:ew.borderStyles("borderStyle"),borderColor:ew.colors("borderColor"),borderRadius:ew.radii("borderRadius"),borderTop:ew.borders("borderTop"),borderBlockStart:ew.borders("borderBlockStart"),borderTopLeftRadius:ew.radii("borderTopLeftRadius"),borderStartStartRadius:ew.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:ew.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:ew.radii("borderTopRightRadius"),borderStartEndRadius:ew.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:ew.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:ew.borders("borderRight"),borderInlineEnd:ew.borders("borderInlineEnd"),borderBottom:ew.borders("borderBottom"),borderBlockEnd:ew.borders("borderBlockEnd"),borderBottomLeftRadius:ew.radii("borderBottomLeftRadius"),borderBottomRightRadius:ew.radii("borderBottomRightRadius"),borderLeft:ew.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:ew.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:ew.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:ew.borders(["borderLeft","borderRight"]),borderInline:ew.borders("borderInline"),borderY:ew.borders(["borderTop","borderBottom"]),borderBlock:ew.borders("borderBlock"),borderTopWidth:ew.borderWidths("borderTopWidth"),borderBlockStartWidth:ew.borderWidths("borderBlockStartWidth"),borderTopColor:ew.colors("borderTopColor"),borderBlockStartColor:ew.colors("borderBlockStartColor"),borderTopStyle:ew.borderStyles("borderTopStyle"),borderBlockStartStyle:ew.borderStyles("borderBlockStartStyle"),borderBottomWidth:ew.borderWidths("borderBottomWidth"),borderBlockEndWidth:ew.borderWidths("borderBlockEndWidth"),borderBottomColor:ew.colors("borderBottomColor"),borderBlockEndColor:ew.colors("borderBlockEndColor"),borderBottomStyle:ew.borderStyles("borderBottomStyle"),borderBlockEndStyle:ew.borderStyles("borderBlockEndStyle"),borderLeftWidth:ew.borderWidths("borderLeftWidth"),borderInlineStartWidth:ew.borderWidths("borderInlineStartWidth"),borderLeftColor:ew.colors("borderLeftColor"),borderInlineStartColor:ew.colors("borderInlineStartColor"),borderLeftStyle:ew.borderStyles("borderLeftStyle"),borderInlineStartStyle:ew.borderStyles("borderInlineStartStyle"),borderRightWidth:ew.borderWidths("borderRightWidth"),borderInlineEndWidth:ew.borderWidths("borderInlineEndWidth"),borderRightColor:ew.colors("borderRightColor"),borderInlineEndColor:ew.colors("borderInlineEndColor"),borderRightStyle:ew.borderStyles("borderRightStyle"),borderInlineEndStyle:ew.borderStyles("borderInlineEndStyle"),borderTopRadius:ew.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:ew.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:ew.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:ew.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(eS,{rounded:eS.borderRadius,roundedTop:eS.borderTopRadius,roundedTopLeft:eS.borderTopLeftRadius,roundedTopRight:eS.borderTopRightRadius,roundedTopStart:eS.borderStartStartRadius,roundedTopEnd:eS.borderStartEndRadius,roundedBottom:eS.borderBottomRadius,roundedBottomLeft:eS.borderBottomLeftRadius,roundedBottomRight:eS.borderBottomRightRadius,roundedBottomStart:eS.borderEndStartRadius,roundedBottomEnd:eS.borderEndEndRadius,roundedLeft:eS.borderLeftRadius,roundedRight:eS.borderRightRadius,roundedStart:eS.borderInlineStartRadius,roundedEnd:eS.borderInlineEndRadius,borderStart:eS.borderInlineStart,borderEnd:eS.borderInlineEnd,borderTopStartRadius:eS.borderStartStartRadius,borderTopEndRadius:eS.borderStartEndRadius,borderBottomStartRadius:eS.borderEndStartRadius,borderBottomEndRadius:eS.borderEndEndRadius,borderStartRadius:eS.borderInlineStartRadius,borderEndRadius:eS.borderInlineEndRadius,borderStartWidth:eS.borderInlineStartWidth,borderEndWidth:eS.borderInlineEndWidth,borderStartColor:eS.borderInlineStartColor,borderEndColor:eS.borderInlineEndColor,borderStartStyle:eS.borderInlineStartStyle,borderEndStyle:eS.borderInlineEndStyle});var ex={color:ew.colors("color"),textColor:ew.colors("color"),fill:ew.colors("fill"),stroke:ew.colors("stroke")},ek={boxShadow:ew.shadows("boxShadow"),mixBlendMode:!0,blendMode:ew.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:ew.prop("backgroundBlendMode"),opacity:!0};Object.assign(ek,{shadow:ek.boxShadow});var eE={filter:{transform:e_.filter},blur:ew.blur("--chakra-blur"),brightness:ew.propT("--chakra-brightness",e_.brightness),contrast:ew.propT("--chakra-contrast",e_.contrast),hueRotate:ew.degreeT("--chakra-hue-rotate"),invert:ew.propT("--chakra-invert",e_.invert),saturate:ew.propT("--chakra-saturate",e_.saturate),dropShadow:ew.propT("--chakra-drop-shadow",e_.dropShadow),backdropFilter:{transform:e_.backdropFilter},backdropBlur:ew.blur("--chakra-backdrop-blur"),backdropBrightness:ew.propT("--chakra-backdrop-brightness",e_.brightness),backdropContrast:ew.propT("--chakra-backdrop-contrast",e_.contrast),backdropHueRotate:ew.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:ew.propT("--chakra-backdrop-invert",e_.invert),backdropSaturate:ew.propT("--chakra-backdrop-saturate",e_.saturate)},eL={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:e_.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:ew.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:ew.space("gap"),rowGap:ew.space("rowGap"),columnGap:ew.space("columnGap")};Object.assign(eL,{flexDir:eL.flexDirection});var eD={gridGap:ew.space("gridGap"),gridColumnGap:ew.space("gridColumnGap"),gridRowGap:ew.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},eN={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:e_.outline},outlineOffset:!0,outlineColor:ew.colors("outlineColor")},eA={width:ew.sizesT("width"),inlineSize:ew.sizesT("inlineSize"),height:ew.sizes("height"),blockSize:ew.sizes("blockSize"),boxSize:ew.sizes(["width","height"]),minWidth:ew.sizes("minWidth"),minInlineSize:ew.sizes("minInlineSize"),minHeight:ew.sizes("minHeight"),minBlockSize:ew.sizes("minBlockSize"),maxWidth:ew.sizes("maxWidth"),maxInlineSize:ew.sizes("maxInlineSize"),maxHeight:ew.sizes("maxHeight"),maxBlockSize:ew.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var i,n,r;return{[`@media screen and (min-width: ${null!=(r=null==(n=null==(i=t.__breakpoints)?void 0:i.get(e))?void 0:n.minW)?r:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var i,n,r;return{[`@media screen and (max-width: ${null!=(r=null==(n=null==(i=t.__breakpoints)?void 0:i.get(e))?void 0:n._minW)?r:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:ew.propT("float",e_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(eA,{w:eA.width,h:eA.height,minW:eA.minWidth,maxW:eA.maxWidth,minH:eA.minHeight,maxH:eA.maxHeight,overscroll:eA.overscrollBehavior,overscrollX:eA.overscrollBehaviorX,overscrollY:eA.overscrollBehaviorY});var eT={listStyleType:!0,listStylePosition:!0,listStylePos:ew.prop("listStylePosition"),listStyleImage:!0,listStyleImg:ew.prop("listStyleImage")},eI=(e=>{let t=new WeakMap;return(i,n,r,o)=>{if(void 0===i)return e(i,n,r);t.has(i)||t.set(i,new Map);let s=t.get(i);if(s.has(n))return s.get(n);let a=e(i,n,r,o);return s.set(n,a),a}})(function(e,t,i,n){let r="string"==typeof t?t.split("."):[t];for(n=0;n{let n={},r=eI(e,t,{});for(let e in r)e in i&&null!=i[e]||(n[e]=r[e]);return n},eO={srOnly:{transform:e=>!0===e?eM:"focusable"===e?eR:{}},layerStyle:{processResult:!0,transform:(e,t,i)=>eP(t,`layerStyles.${e}`,i)},textStyle:{processResult:!0,transform:(e,t,i)=>eP(t,`textStyles.${e}`,i)},apply:{processResult:!0,transform:(e,t,i)=>eP(t,e,i)}},eF={position:!0,pos:ew.prop("position"),zIndex:ew.prop("zIndex","zIndices"),inset:ew.spaceT("inset"),insetX:ew.spaceT(["left","right"]),insetInline:ew.spaceT("insetInline"),insetY:ew.spaceT(["top","bottom"]),insetBlock:ew.spaceT("insetBlock"),top:ew.spaceT("top"),insetBlockStart:ew.spaceT("insetBlockStart"),bottom:ew.spaceT("bottom"),insetBlockEnd:ew.spaceT("insetBlockEnd"),left:ew.spaceT("left"),insetInlineStart:ew.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:ew.spaceT("right"),insetInlineEnd:ew.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(eF,{insetStart:eF.insetInlineStart,insetEnd:eF.insetInlineEnd});var eB={ring:{transform:e_.ring},ringColor:ew.colors("--chakra-ring-color"),ringOffset:ew.prop("--chakra-ring-offset-width"),ringOffsetColor:ew.colors("--chakra-ring-offset-color"),ringInset:ew.prop("--chakra-ring-inset")},eV={margin:ew.spaceT("margin"),marginTop:ew.spaceT("marginTop"),marginBlockStart:ew.spaceT("marginBlockStart"),marginRight:ew.spaceT("marginRight"),marginInlineEnd:ew.spaceT("marginInlineEnd"),marginBottom:ew.spaceT("marginBottom"),marginBlockEnd:ew.spaceT("marginBlockEnd"),marginLeft:ew.spaceT("marginLeft"),marginInlineStart:ew.spaceT("marginInlineStart"),marginX:ew.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:ew.spaceT("marginInline"),marginY:ew.spaceT(["marginTop","marginBottom"]),marginBlock:ew.spaceT("marginBlock"),padding:ew.space("padding"),paddingTop:ew.space("paddingTop"),paddingBlockStart:ew.space("paddingBlockStart"),paddingRight:ew.space("paddingRight"),paddingBottom:ew.space("paddingBottom"),paddingBlockEnd:ew.space("paddingBlockEnd"),paddingLeft:ew.space("paddingLeft"),paddingInlineStart:ew.space("paddingInlineStart"),paddingInlineEnd:ew.space("paddingInlineEnd"),paddingX:ew.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:ew.space("paddingInline"),paddingY:ew.space(["paddingTop","paddingBottom"]),paddingBlock:ew.space("paddingBlock")};Object.assign(eV,{m:eV.margin,mt:eV.marginTop,mr:eV.marginRight,me:eV.marginInlineEnd,marginEnd:eV.marginInlineEnd,mb:eV.marginBottom,ml:eV.marginLeft,ms:eV.marginInlineStart,marginStart:eV.marginInlineStart,mx:eV.marginX,my:eV.marginY,p:eV.padding,pt:eV.paddingTop,py:eV.paddingY,px:eV.paddingX,pb:eV.paddingBottom,pl:eV.paddingLeft,ps:eV.paddingInlineStart,paddingStart:eV.paddingInlineStart,pr:eV.paddingRight,pe:eV.paddingInlineEnd,paddingEnd:eV.paddingInlineEnd});var eH={textDecorationColor:ew.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:ew.shadows("textShadow")},eW={clipPath:!0,transform:ew.propT("transform",e_.transform),transformOrigin:!0,translateX:ew.spaceT("--chakra-translate-x"),translateY:ew.spaceT("--chakra-translate-y"),skewX:ew.degreeT("--chakra-skew-x"),skewY:ew.degreeT("--chakra-skew-y"),scaleX:ew.prop("--chakra-scale-x"),scaleY:ew.prop("--chakra-scale-y"),scale:ew.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:ew.degreeT("--chakra-rotate")},ej={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:ew.prop("transitionDuration","transition.duration"),transitionProperty:ew.prop("transitionProperty","transition.property"),transitionTimingFunction:ew.prop("transitionTimingFunction","transition.easing")},ez={fontFamily:ew.prop("fontFamily","fonts"),fontSize:ew.prop("fontSize","fontSizes",e_.px),fontWeight:ew.prop("fontWeight","fontWeights"),lineHeight:ew.prop("lineHeight","lineHeights"),letterSpacing:ew.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},eU={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:ew.spaceT("scrollMargin"),scrollMarginTop:ew.spaceT("scrollMarginTop"),scrollMarginBottom:ew.spaceT("scrollMarginBottom"),scrollMarginLeft:ew.spaceT("scrollMarginLeft"),scrollMarginRight:ew.spaceT("scrollMarginRight"),scrollMarginX:ew.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:ew.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:ew.spaceT("scrollPadding"),scrollPaddingTop:ew.spaceT("scrollPaddingTop"),scrollPaddingBottom:ew.spaceT("scrollPaddingBottom"),scrollPaddingLeft:ew.spaceT("scrollPaddingLeft"),scrollPaddingRight:ew.spaceT("scrollPaddingRight"),scrollPaddingX:ew.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:ew.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function e$(e){return q(e)&&e.reference?e.reference:String(e)}var eq=(e,...t)=>t.map(e$).join(` ${e} `).replace(/calc/g,""),eK=(...e)=>`calc(${eq("+",...e)})`,eG=(...e)=>`calc(${eq("-",...e)})`,eZ=(...e)=>`calc(${eq("*",...e)})`,eY=(...e)=>`calc(${eq("/",...e)})`,eQ=e=>{let t=e$(e);return null==t||Number.isNaN(parseFloat(t))?eZ(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},eJ=Object.assign(e=>({add:(...t)=>eJ(eK(e,...t)),subtract:(...t)=>eJ(eG(e,...t)),multiply:(...t)=>eJ(eZ(e,...t)),divide:(...t)=>eJ(eY(e,...t)),negate:()=>eJ(eQ(e)),toString:()=>e.toString()}),{add:eK,subtract:eG,multiply:eZ,divide:eY,negate:eQ});function eX(e,t=""){return[t,e].filter(Boolean).join("-")}function e0(e,t){return`var(${e}${t?`, ${t}`:""})`}function e1(e,t=""){var i;return((i=function(e,t="-"){return e.replace(/\s+/g,t)}(`--${eX(e,t)}`.toString())).includes("\\.")?i:Number.isInteger(parseFloat(i.toString()))?i:i.replace(".","\\.")).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function e2(e,t,i){let n=e1(e,i);return{variable:n,reference:e0(n,t)}}function e6(e,t){let i={};for(let n of t){if(Array.isArray(n)){let[t,r]=n;i[t]=e2(`${e}-${t}`,r);continue}i[n]=e2(`${e}-${n}`)}return i}function e3(e){let t,i;if(null==e)return e;let{unitless:n}=(t=parseFloat(e.toString()),{unitless:!(i=e.toString().replace(String(t),"")),value:t,unit:i});return n||"number"==typeof e?`${e}px`:e}var e8=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,e5=e=>Object.fromEntries(Object.entries(e).sort(e8));function e4(e){let t=e5(e);return Object.assign(Object.values(t),t)}function e9(e){var t;return e?"number"==typeof(e=null!=(t=e3(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function e7(e,t){let i=["@media screen"];return e&&i.push("and",`(min-width: ${e3(e)})`),t&&i.push("and",`(max-width: ${e3(t)})`),i.join(" ")}var te={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},tt=e=>tn(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ti=e=>tn(t=>e(t,"~ &"),"[data-peer]",".peer"),tn=(e,...t)=>t.map(e).join(", "),tr={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:tt(te.hover),_peerHover:ti(te.hover),_groupFocus:tt(te.focus),_peerFocus:ti(te.focus),_groupFocusVisible:tt(te.focusVisible),_peerFocusVisible:ti(te.focusVisible),_groupActive:tt(te.active),_peerActive:ti(te.active),_groupDisabled:tt(te.disabled),_peerDisabled:ti(te.disabled),_groupInvalid:tt(te.invalid),_peerInvalid:ti(te.invalid),_groupChecked:tt(te.checked),_peerChecked:ti(te.checked),_groupFocusWithin:tt(te.focusWithin),_peerFocusWithin:ti(te.focusWithin),_peerPlaceholderShown:ti(te.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},to=Object.keys(tr);function ts(e,t){return e2(String(e).replace(/\./g,"-"),void 0,t)}function ta(e,t,i={}){let{stop:n,getKey:r}=i;return function e(i,o=[]){var s;if("object"==typeof i&&null!=i&&!Array.isArray(i)||Array.isArray(i)){let a={};for(let[l,u]of Object.entries(i)){let d=null!=(s=null==r?void 0:r(l))?s:l,c=[...o,d];if(null==n?void 0:n(i,c))return t(i,o);a[d]=e(u,c)}return a}return t(i,o)}(e)}var tl=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],tu=e=>to.includes(e)||"default"===e;function td({tokens:e,semanticTokens:t}){let i={};return ta(e,(e,t)=>{null!=e&&(i[t.join(".")]={isSemantic:!1,value:e})}),ta(t,(e,t)=>{null!=e&&(i[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(tu)}),i}function tc(e){var t;let i=function(e){let{__cssMap:t,__cssVars:i,__breakpoints:n,...r}=e;return r}(e),{cssMap:n,cssVars:r}=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e)){let{isSemantic:s,value:a}=o,{variable:l,reference:u}=ts(r,null==t?void 0:t.cssVarPrefix);if(!s){if(r.startsWith("space")){let[e,...t]=r.split("."),i=`${e}.-${t.join(".")}`,o=eJ.negate(a),s=eJ.negate(u);n[i]={value:o,var:l,varRef:s}}i[l]=a,n[r]={value:a,var:l,varRef:u};continue}let d=i=>{let n=[String(r).split(".")[0],i].join(".");if(!e[n])return i;let{reference:o}=ts(n,null==t?void 0:t.cssVarPrefix);return o},c=q(a)?a:{default:a};i=et()(i,Object.entries(c).reduce((e,[t,i])=>{var n;if(!i)return e;let r=d(`${i}`);return"default"===t?e[l]=r:e[null!=(n=null==tr?void 0:tr[t])?n:t]={[l]:r},e},{})),n[r]={value:u,var:l,varRef:u}}return{cssVars:i,cssMap:n}}(td({tokens:function(e,t){let i={};for(let n of t)n in e&&(i[n]=e[n]);return i}(i,tl),semanticTokens:i.semanticTokens}),{cssVarPrefix:null==(t=i.config)?void 0:t.cssVarPrefix});return Object.assign(i,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...r},__cssMap:n,__breakpoints:function(e){var t;let i;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let n=e4(e),r=Object.entries(e).sort(e8).map(([e,t],i,n)=>{var r;let[,o]=null!=(r=n[i+1])?r:[];return o=parseFloat(o)>0?e9(o):void 0,{_minW:e9(t),breakpoint:e,minW:t,maxW:o,maxWQuery:e7(null,o),minWQuery:e7(t),minMaxQuery:e7(t,o)}}),o=(i=Object.keys(e5(e)),new Set(i)),s=Array.from(o.values());return{keys:o,normalized:n,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:e5(e),asArray:e4(e),details:r,get:e=>r.find(t=>t.breakpoint===e),media:[null,...n.map(e=>e7(e)).slice(1)],toArrayValue(e){let t;if(!q(e))throw Error("toArrayValue: value must be an object");let i=s.map(t=>{var i;return null!=(i=e[t])?i:null});for(;null===((t=null==i?0:i.length)?i[t-1]:void 0);)i.pop();return i},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,i)=>{let n=s[i];return null!=n&&null!=t&&(e[n]=t),e},{})}}}(i.breakpoints)}),i}var th=et()({},eC,eS,ex,eL,eA,eE,eB,eN,eD,eO,eF,ek,eV,eU,ez,eH,eW,eT,ej),tg=Object.keys(Object.assign({},eV,eA,eL,eD,eF)),tp=[...Object.keys(th),...to],tf={...th,...tr},tm=e=>e in tf,tv=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:i,toArrayValue:n,media:r}=t.__breakpoints,o={};for(let s in e){let a=G(e[s],t);if(null==a)continue;if(!Array.isArray(a=q(a)&&i(a)?n(a):a)){o[s]=a;continue}let l=a.slice(0,r.length).length;for(let e=0;ee.startsWith("--")&&"string"==typeof t&&!/^var\(--.+\)$/.test(t),ty=(e,t)=>{var i,n;if(null==t)return t;let r=t=>{var i,n;return null==(n=null==(i=e.__cssMap)?void 0:i[t])?void 0:n.varRef},o=e=>{var t;return null!=(t=r(e))?t:e},[s,a]=function(e){let t=[],i="",n=!1;for(let r=0;r{var s,a,l;let u=G(e,n),d=tv(u)(n),c={};for(let e in d){let h=G(d[e],n);e in i&&(e=i[e]),tb(e,h)&&(h=ty(n,h));let g=t[e];if(!0===g&&(g={property:e}),q(h)){c[e]=null!=(s=c[e])?s:{},c[e]=et()({},c[e],r(h,!0));continue}let p=null!=(l=null==(a=null==g?void 0:g.transform)?void 0:a.call(g,h,n,u))?l:h;p=(null==g?void 0:g.processResult)?r(p,!0):p;let f=G(null==g?void 0:g.property,n);if(!o&&(null==g?void 0:g.static)){let e=G(g.static,n);c=et()({},c,e)}if(f&&Array.isArray(f)){for(let e of f)c[e]=p;continue}if(f){"&"===f&&q(p)?c=et()({},c,p):c[f]=p;continue}if(q(p)){c=et()({},c,p);continue}c[e]=p}return c};return r}var tw=e=>t=>t_({theme:t,pseudos:tr,configs:th})(e);function tC(e){return e}function tS(e){return e}function tx(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function tk(e){return t=>{var i;let n;let{variant:r,size:o,theme:s}=t,a=(n=s.__breakpoints,function(e,t,i,r){var o,s,a;if(!n)return;let l={},u=(a=n.toArrayValue,Array.isArray(i)?i:q(i)?a(i):null!=i?[i]:void 0);if(!u)return l;let d=u.length,c=1===d,h=!!e.parts;for(let i=0;i{et()(l,{[e]:c?p[e]:{[g]:p[e]}})});continue}if(!h){c?et()(l,p):l[g]=p;continue}l[g]=p}}return l});return et()({},G(null!=(i=e.baseStyle)?i:{},t),a(e,"sizes",o,t),a(e,"variants",r,t))}}function tE(e,t,i){var n,r,o;return null!=(o=null==(r=null==(n=e.__cssMap)?void 0:n[`${t}.${i}`])?void 0:r.varRef)?o:i}function tL(e){return function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(e,["styleConfig","size","variant","colorScheme"])}var tD=(e=>{let t=new WeakMap;return(i,n,r,o)=>{if(void 0===i)return e(i,n,r);t.has(i)||t.set(i,new Map);let s=t.get(i);if(s.has(n))return s.get(n);let a=e(i,n,r,o);return s.set(n,a),a}})(function(e,t,i,n){let r="string"==typeof t?t.split("."):[t];for(n=0;n{let r=e[n];t(r,n,e)&&(i[n]=r)}),i}var tA=e=>tN(e,e=>null!=e);function tT(e){return"number"==typeof e}function tI(e){return"current"in e}function tM(e,...t){return"function"==typeof e?e(...t):e}var tR=()=>{},tP=function(e){let t;return function(...i){return e&&(t=e.apply(this,i),e=null),t}}(e=>()=>{let{condition:t,message:i}=e}),tO=(...e)=>t=>e.reduce((e,t)=>t(e),t),tF=(e,t)=>Math.abs(e-t),tB=e=>"x"in e&&"y"in e,tV=i(33895);function tH(e){let{cssVarsRoot:t,theme:i,children:n}=e,r=(0,O.useMemo)(()=>tc(i),[i]);return(0,T.jsxs)(tV.a,{theme:r,children:[(0,T.jsx)(tW,{root:t}),n]})}function tW({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,T.jsx)(A.Global,{styles:e=>({[t]:e.__cssVars})})}var[tj,tz]=U({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function tU(e){return U({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function t$(){let{colorMode:e}=j();return(0,T.jsx)(A.Global,{styles:t=>{let i=tM(tD(t,"styles.global"),{theme:t,colorMode:e});if(i)return tw(i)(t)}})}var tq={light:"chakra-ui-light",dark:"chakra-ui-dark"},tK="chakra-ui-color-mode";function tG(e){return{ssr:!1,type:"localStorage",get(t){let i;if(!(null==globalThis?void 0:globalThis.document))return t;try{i=localStorage.getItem(e)||t}catch(e){}return i||t},set(t){try{localStorage.setItem(e,t)}catch(e){}}}}var tZ=tG(tK);function tY(e,t){let i=e.match(RegExp(`(^| )${t}=([^;]+)`));return null==i?void 0:i[2]}function tQ(e,t){return{ssr:!!t,type:"cookie",get:i=>t?tY(t,e):(null==globalThis?void 0:globalThis.document)&&tY(document.cookie,e)||i,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}var tJ=tQ(tK),tX=e=>tQ(tK,e),t0=(null==globalThis?void 0:globalThis.document)?O.useLayoutEffect:O.useEffect,t1=()=>{};function t2(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function t6(e){let{value:t,children:i,options:{useSystemColorMode:n,initialColorMode:r,disableTransitionOnChange:o}={},colorModeManager:s=tZ}=e,a="dark"===r?"dark":"light",[l,u]=(0,O.useState)(()=>t2(s,a)),[d,c]=(0,O.useState)(()=>t2(s)),{getSystemTheme:h,setClassName:g,setDataset:p,addListener:f}=(0,O.useMemo)(()=>(function(e={}){let{preventTransition:t=!0}=e,i={setDataset:e=>{let n=t?i.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?tq.dark:tq.light),document.body.classList.remove(e?tq.light:tq.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=i.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){let t=i.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return i})({preventTransition:o}),[o]),m="system"!==r||l?l:d,v=(0,O.useCallback)(e=>{let t="system"===e?h():e;u(t),g("dark"===t),p(t),s.set(t)},[s,h,g,p]);t0(()=>{"system"===r&&c(h())},[]),(0,O.useEffect)(()=>{let e=s.get();if(e){v(e);return}if("system"===r){v("system");return}v(a)},[s,a,r,v]);let b=(0,O.useCallback)(()=>{v("dark"===m?"light":"dark")},[m,v]);(0,O.useEffect)(()=>{if(n)return f(v)},[n,f,v]);let y=(0,O.useMemo)(()=>({colorMode:null!=t?t:m,toggleColorMode:t?t1:b,setColorMode:t?t1:v,forced:void 0!==t}),[m,b,v,t]);return(0,T.jsx)(W.Provider,{value:y,children:i})}function t3(e){let t=(0,O.useMemo)(()=>({colorMode:"dark",toggleColorMode:t1,setColorMode:t1,forced:!0}),[]);return(0,T.jsx)(W.Provider,{value:t,...e})}function t8(e){let t=(0,O.useMemo)(()=>({colorMode:"light",toggleColorMode:t1,setColorMode:t1,forced:!0}),[]);return(0,T.jsx)(W.Provider,{value:t,...e})}t6.displayName="ColorModeProvider",t3.displayName="DarkMode",t8.displayName="LightMode";var t5=(0,O.createContext)({getDocument:()=>document,getWindow:()=>window});function t4({defer:e}={}){let[,t]=(0,O.useReducer)(e=>e+1,0);return t0(()=>{e&&t()},[e]),(0,O.useContext)(t5)}function t9(e){let{children:t,environment:i,disabled:n}=e,r=(0,O.useRef)(null),o=(0,O.useMemo)(()=>i||{getDocument:()=>{var e,t;return null!=(t=null==(e=r.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=r.current)?void 0:e.ownerDocument.defaultView)?t:window}},[i]),s=!n||!i;return(0,T.jsxs)(t5.Provider,{value:o,children:[t,s&&(0,T.jsx)("span",{id:"__chakra_env",hidden:!0,ref:r})]})}t5.displayName="EnvironmentContext",t9.displayName="EnvironmentProvider";var t7=e=>{let{children:t,colorModeManager:i,portalZIndex:n,resetScope:r,resetCSS:o=!0,theme:s={},environment:a,cssVarsRoot:l,disableEnvironment:u}=e,d=(0,T.jsx)(t9,{environment:a,disabled:u,children:t});return(0,T.jsx)(tH,{theme:s,cssVarsRoot:l,children:(0,T.jsxs)(t6,{colorModeManager:i,options:s.config,children:[o?(0,T.jsx)(P,{scope:r}):(0,T.jsx)(R,{}),(0,T.jsx)(t$,{}),n?(0,T.jsx)(H,{zIndex:n,children:d}):d]})})},ie=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function it(e){return!!q(e)&&ie.every(t=>Object.prototype.hasOwnProperty.call(e,t))}var ii={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},ir={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},io={...ir,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},is={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...ii,sizes:io,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:ir,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},{defineMultiStyleConfig:ia,definePartsStyle:il}=tx(["stepper","step","title","description","indicator","separator","icon","number"]),iu=e2("stepper-indicator-size"),id=e2("stepper-icon-size"),ic=e2("stepper-title-font-size"),ih=e2("stepper-description-font-size"),ig=e2("stepper-accent-color"),ip=ia({baseStyle:il(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ig.variable]:`colors.${e}.500`,_dark:{[ig.variable]:`colors.${e}.200`}},title:{fontSize:ic.reference,fontWeight:"medium"},description:{fontSize:ih.reference,color:"chakra-subtle-text"},number:{fontSize:ic.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:id.reference,height:id.reference},indicator:{flexShrink:0,borderRadius:"full",width:iu.reference,height:iu.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ig.reference},"&[data-status=complete]":{bg:ig.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ig.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${iu.reference} - 8px)`,top:`calc(${iu.reference} + 4px)`,insetStart:`calc(${iu.reference} / 2 - 1px)`}}})),sizes:{xs:il({stepper:{[iu.variable]:"sizes.4",[id.variable]:"sizes.3",[ic.variable]:"fontSizes.xs",[ih.variable]:"fontSizes.xs"}}),sm:il({stepper:{[iu.variable]:"sizes.6",[id.variable]:"sizes.4",[ic.variable]:"fontSizes.sm",[ih.variable]:"fontSizes.xs"}}),md:il({stepper:{[iu.variable]:"sizes.8",[id.variable]:"sizes.5",[ic.variable]:"fontSizes.md",[ih.variable]:"fontSizes.sm"}}),lg:il({stepper:{[iu.variable]:"sizes.10",[id.variable]:"sizes.6",[ic.variable]:"fontSizes.lg",[ih.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),im=i(25191);function iv(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function ib(e,t){var i,n;let r=function(e,t=""){return`--${function(e,t=""){return[t,iv(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:r,reference:(i="string"==typeof(n=null==t?void 0:t.fallback)?n:null==n?void 0:n.reference,`var(${iv(r)}${i?`, ${i}`:""})`)}}function iy(e){return q(e)&&e.reference?e.reference:String(e)}var i_=(e,...t)=>t.map(iy).join(` ${e} `).replace(/calc/g,""),iw=(...e)=>`calc(${i_("+",...e)})`,iC=(...e)=>`calc(${i_("-",...e)})`,iS=(...e)=>`calc(${i_("*",...e)})`,ix=(...e)=>`calc(${i_("/",...e)})`,ik=e=>{let t=iy(e);return null==t||Number.isNaN(parseFloat(t))?iS(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},iE=Object.assign(e=>({add:(...t)=>iE(iw(e,...t)),subtract:(...t)=>iE(iC(e,...t)),multiply:(...t)=>iE(iS(e,...t)),divide:(...t)=>iE(ix(e,...t)),negate:()=>iE(ik(e)),toString:()=>e.toString()}),{add:iw,subtract:iC,multiply:iS,divide:ix,negate:ik}),{defineMultiStyleConfig:iL,definePartsStyle:iD}=tx(im.ke.keys),iN=ib("switch-track-width"),iA=ib("switch-track-height"),iT=ib("switch-track-diff"),iI=iE.subtract(iN,iA),iM=ib("switch-thumb-x"),iR=ib("switch-bg"),iP=e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[iN.reference],height:[iA.reference],transitionProperty:"common",transitionDuration:"fast",[iR.variable]:"colors.gray.300",_dark:{[iR.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[iR.variable]:`colors.${t}.500`,_dark:{[iR.variable]:`colors.${t}.200`}},bg:iR.reference}},iO={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[iA.reference],height:[iA.reference],_checked:{transform:`translateX(${iM.reference})`}},iF=iL({baseStyle:iD(e=>({container:{[iT.variable]:iI,[iM.variable]:iT.reference,_rtl:{[iM.variable]:iE(iT).negate().toString()}},track:iP(e),thumb:iO})),sizes:{sm:iD({container:{[iN.variable]:"1.375rem",[iA.variable]:"sizes.3"}}),md:iD({container:{[iN.variable]:"1.875rem",[iA.variable]:"sizes.4"}}),lg:iD({container:{[iN.variable]:"2.875rem",[iA.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function iB(e,t){return i=>"dark"===i.colorMode?t:e}function iV(e){let{orientation:t,vertical:i,horizontal:n}=e;return t?"vertical"===t?i:n:{}}var{defineMultiStyleConfig:iH,definePartsStyle:iW}=tx(im.l1.keys),ij=iW({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),iz={"&[data-is-numeric=true]":{textAlign:"end"}},iU=iH({baseStyle:ij,variants:{simple:iW(e=>{let{colorScheme:t}=e;return{th:{color:iB("gray.600","gray.400")(e),borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},td:{borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},caption:{color:iB("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:iW(e=>{let{colorScheme:t}=e;return{th:{color:iB("gray.600","gray.400")(e),borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},td:{borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},caption:{color:iB("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e)},td:{background:iB(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:iW({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:iW({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:iW({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function i$(e,t,i){return Math.min(Math.max(e,i),t)}var iq=class extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}};function iK(e){if("string"!=typeof e)throw new iq(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=i1.test(e)?function(e){let t=iZ[function(e){let t=5381,i=e.length;for(;i;)t=33*t^e.charCodeAt(--i);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new iq(e);return`#${t}`}(e):e;let i=iQ.exec(t);if(i){let e=Array.from(i).slice(1);return[...e.slice(0,3).map(e=>parseInt(iY(e,2),16)),parseInt(iY(e[3]||"f",2),16)/255]}let n=iJ.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let r=iX.exec(t);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let o=i0.exec(t);if(o){let[t,i,n,r]=Array.from(o).slice(1).map(parseFloat);if(i$(0,100,i)!==i||i$(0,100,n)!==n)throw new iq(e);return[...i6(t,i,n),Number.isNaN(r)?1:r]}throw new iq(e)}let iG=e=>parseInt(e.replace(/_/g,""),36),iZ="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let i=iG(t.substring(0,3)),n=iG(t.substring(3)).toString(16),r="";for(let e=0;e<6-n.length;e++)r+="0";return e[i]=`${r}${n}`,e},{}),iY=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),iQ=RegExp(`^#${iY("([a-f0-9])",3)}([a-f0-9])?$`,"i"),iJ=RegExp(`^#${iY("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),iX=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${iY(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),i0=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,i1=/^[a-z]+$/i,i2=e=>Math.round(255*e),i6=(e,t,i)=>{let n=i/100;if(0===t)return[n,n,n].map(i2);let r=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*(t/100),s=o*(1-Math.abs(r%2-1)),a=0,l=0,u=0;r>=0&&r<1?(a=o,l=s):r>=1&&r<2?(a=s,l=o):r>=2&&r<3?(l=o,u=s):r>=3&&r<4?(l=s,u=o):r>=4&&r<5?(a=s,u=o):r>=5&&r<6&&(a=o,u=s);let d=n-o/2;return[a+d,l+d,u+d].map(i2)};var i3=e=>0===Object.keys(e).length,i8=(e,t,i)=>{let n=function(e,t,i,n,r){for(t=t.split?t.split("."):t,n=0;n{let t=i$(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(i),o(n),r<1&&o(Math.round(255*r))}(n),n}catch{return null!=i?i:"#000000"}},i5=e=>{let[t,i,n]=iK(e);return(299*t+587*i+114*n)/1e3},i4=e=>t=>128>i5(i8(t,e))?"dark":"light",i9=e=>t=>"dark"===i4(e)(t),i7=(e,t)=>i=>(function(e,t){let[i,n,r,o]=iK(e);return`rgba(${i$(0,255,i).toFixed()}, ${i$(0,255,n).toFixed()}, ${i$(0,255,r).toFixed()}, ${parseFloat(i$(0,1,o-t).toFixed(3))})`})(i8(i,e),1-t);function ne(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( + `}),R=i(2784);function F(e={}){let{name:t,strict:i=!0,hookName:n="useContext",providerName:r="Provider",errorMessage:o,defaultValue:s}=e,a=(0,R.createContext)(s);return a.displayName=t,[a.Provider,function e(){var t;let s=(0,R.useContext)(a);if(!s&&i){let i=Error(null!=o?o:`${n} returned \`undefined\`. Seems you forgot to wrap component within ${r}`);throw i.name="ContextError",null==(t=Error.captureStackTrace)||t.call(Error,i,e),i}return s},a]}var[B,V]=F({strict:!1,name:"PortalManagerContext"});function H(e){let{children:t,zIndex:i}=e;return(0,T.jsx)(B,{value:{zIndex:i},children:t})}H.displayName="PortalManager";var j=(0,R.createContext)({});function W(){let e=(0,R.useContext)(j);if(void 0===e)throw Error("useColorMode must be used within a ColorModeProvider");return e}function z(e,t){let{colorMode:i}=W();return"dark"===i?t:e}function U(e={}){let{strict:t=!0,errorMessage:i="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:n}=e,r=(0,R.createContext)(void 0);return r.displayName=n,[r.Provider,function e(){var n;let o=(0,R.useContext)(r);if(!o&&t){let t=Error(i);throw t.name="ContextError",null==(n=Error.captureStackTrace)||n.call(Error,t,e),t}return o},r]}j.displayName="ColorModeContext";var $=(...e)=>e.filter(Boolean).join(" ");function q(e){let t=typeof e;return null!=e&&("object"===t||"function"===t)&&!Array.isArray(e)}var K=e=>{let{condition:t,message:i}=e};function G(e,...t){return Z(e)?e(...t):e}var Z=e=>"function"==typeof e,Y=e=>e?"":void 0,Q=e=>!!e||void 0;function J(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function X(...e){return function(t){e.forEach(e=>{null==e||e(t)})}}var ee=i(63637),et=i.n(ee),ei=e=>/!(important)?$/.test(e),en=e=>"string"==typeof e?e.replace(/!(important)?$/,"").trim():e,er=(e,t)=>i=>{let n=String(t),r=ei(n),o=en(n),s=e?`${e}.${o}`:o,a=q(i.__cssMap)&&s in i.__cssMap?i.__cssMap[s].varRef:t;return a=en(a),r?`${a} !important`:a};function eo(e){let{scale:t,transform:i,compose:n}=e;return(e,r)=>{var o;let s=er(t,e)(r),a=null!=(o=null==i?void 0:i(s,r))?o:s;return n&&(a=n(a,r)),a}}var es=(...e)=>t=>e.reduce((e,t)=>t(e),t);function ea(e,t){return i=>{let n={property:i,scale:e};return n.transform=eo({scale:e,transform:t}),n}}var el=({rtl:e,ltr:t})=>i=>"rtl"===i.direction?e:t,eu=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"],ed={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:"var(--chakra-blur) var(--chakra-brightness) var(--chakra-contrast) var(--chakra-grayscale) var(--chakra-hue-rotate) var(--chakra-invert) var(--chakra-saturate) var(--chakra-sepia) var(--chakra-drop-shadow)"},ec={backdropFilter:"var(--chakra-backdrop-blur) var(--chakra-backdrop-brightness) var(--chakra-backdrop-contrast) var(--chakra-backdrop-grayscale) var(--chakra-backdrop-hue-rotate) var(--chakra-backdrop-invert) var(--chakra-backdrop-opacity) var(--chakra-backdrop-saturate) var(--chakra-backdrop-sepia)","--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"},eh={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},eg={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},ep=new Set(Object.values(eg)),ef=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),em=e=>e.trim(),ev=e=>"string"==typeof e&&e.includes("(")&&e.includes(")"),eb=e=>{let t=parseFloat(e.toString()),i=e.toString().replace(String(t),"");return{unitless:!i,value:t,unit:i}},ey=e=>t=>`${e}(${t})`,e_={filter:e=>"auto"!==e?e:ed,backdropFilter:e=>"auto"!==e?e:ec,ring:e=>({"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":e_.px(e),boxShadow:"var(--chakra-ring-offset-shadow), var(--chakra-ring-shadow), var(--chakra-shadow, 0 0 #0000)"}),bgClip:e=>"text"===e?{color:"transparent",backgroundClip:"text"}:{backgroundClip:e},transform:e=>"auto"===e?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...eu].join(" "):"auto-gpu"===e?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...eu].join(" "):e,vh:e=>"$100vh"===e?"var(--chakra-vh)":e,px(e){if(null==e)return e;let{unitless:t}=eb(e);return t||"number"==typeof e?`${e}px`:e},fraction:e=>"number"!=typeof e||e>1?e:`${100*e}%`,float:(e,t)=>"rtl"===t.direction?({left:"right",right:"left"})[e]:e,degree(e){if(/^var\(--.+\)$/.test(e)||null==e)return e;let t="string"==typeof e&&!e.endsWith("deg");return"number"==typeof e||t?`${e}deg`:e},gradient:(e,t)=>(function(e,t){if(null==e||ef.has(e))return e;if(!(ev(e)||ef.has(e)))return`url('${e}')`;let i=/(^[a-z-A-Z]+)\((.*)\)/g.exec(e),n=null==i?void 0:i[1],r=null==i?void 0:i[2];if(!n||!r)return e;let o=n.includes("-gradient")?n:`${n}-gradient`,[s,...a]=r.split(",").map(em).filter(Boolean);if((null==a?void 0:a.length)===0)return e;let l=s in eg?eg[s]:s;return a.unshift(l),`${o}(${a.map(e=>{if(ep.has(e))return e;let i=e.indexOf(" "),[n,r]=-1!==i?[e.substr(0,i),e.substr(i+1)]:[e],o=ev(r)?r:r&&r.split(" "),s=`colors.${n}`,a=s in t.__cssMap?t.__cssMap[s].varRef:n;return o?[a,...Array.isArray(o)?o:[o]].join(" "):a}).join(", ")})`})(e,null!=t?t:{}),blur:ey("blur"),opacity:ey("opacity"),brightness:ey("brightness"),contrast:ey("contrast"),dropShadow:ey("drop-shadow"),grayscale:ey("grayscale"),hueRotate:ey("hue-rotate"),invert:ey("invert"),saturate:ey("saturate"),sepia:ey("sepia"),bgImage:e=>null==e?e:ev(e)||ef.has(e)?e:`url(${e})`,outline(e){let t="0"===String(e)||"none"===String(e);return null!==e&&t?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:e}},flexDirection(e){var t;let{space:i,divide:n}=null!=(t=eh[e])?t:{},r={flexDirection:e};return i&&(r[i]=1),n&&(r[n]=1),r}},ew={borderWidths:ea("borderWidths"),borderStyles:ea("borderStyles"),colors:ea("colors"),borders:ea("borders"),gradients:ea("gradients",e_.gradient),radii:ea("radii",e_.px),space:ea("space",es(e_.vh,e_.px)),spaceT:ea("space",es(e_.vh,e_.px)),degreeT:e=>({property:e,transform:e_.degree}),prop:(e,t,i)=>({property:e,scale:t,...t&&{transform:eo({scale:t,transform:i})}}),propT:(e,t)=>({property:e,transform:t}),sizes:ea("sizes",es(e_.vh,e_.px)),sizesT:ea("sizes",es(e_.vh,e_.fraction)),shadows:ea("shadows"),logical:function(e){let{property:t,scale:i,transform:n}=e;return{scale:i,property:el(t),transform:i?eo({scale:i,compose:n}):n}},blur:ea("blur",e_.blur)},eC={background:ew.colors("background"),backgroundColor:ew.colors("backgroundColor"),backgroundImage:ew.gradients("backgroundImage"),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:e_.bgClip},bgSize:ew.prop("backgroundSize"),bgPosition:ew.prop("backgroundPosition"),bg:ew.colors("background"),bgColor:ew.colors("backgroundColor"),bgPos:ew.prop("backgroundPosition"),bgRepeat:ew.prop("backgroundRepeat"),bgAttachment:ew.prop("backgroundAttachment"),bgGradient:ew.gradients("backgroundImage"),bgClip:{transform:e_.bgClip}};Object.assign(eC,{bgImage:eC.backgroundImage,bgImg:eC.backgroundImage});var eS={border:ew.borders("border"),borderWidth:ew.borderWidths("borderWidth"),borderStyle:ew.borderStyles("borderStyle"),borderColor:ew.colors("borderColor"),borderRadius:ew.radii("borderRadius"),borderTop:ew.borders("borderTop"),borderBlockStart:ew.borders("borderBlockStart"),borderTopLeftRadius:ew.radii("borderTopLeftRadius"),borderStartStartRadius:ew.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:ew.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:ew.radii("borderTopRightRadius"),borderStartEndRadius:ew.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:ew.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:ew.borders("borderRight"),borderInlineEnd:ew.borders("borderInlineEnd"),borderBottom:ew.borders("borderBottom"),borderBlockEnd:ew.borders("borderBlockEnd"),borderBottomLeftRadius:ew.radii("borderBottomLeftRadius"),borderBottomRightRadius:ew.radii("borderBottomRightRadius"),borderLeft:ew.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:ew.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:ew.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:ew.borders(["borderLeft","borderRight"]),borderInline:ew.borders("borderInline"),borderY:ew.borders(["borderTop","borderBottom"]),borderBlock:ew.borders("borderBlock"),borderTopWidth:ew.borderWidths("borderTopWidth"),borderBlockStartWidth:ew.borderWidths("borderBlockStartWidth"),borderTopColor:ew.colors("borderTopColor"),borderBlockStartColor:ew.colors("borderBlockStartColor"),borderTopStyle:ew.borderStyles("borderTopStyle"),borderBlockStartStyle:ew.borderStyles("borderBlockStartStyle"),borderBottomWidth:ew.borderWidths("borderBottomWidth"),borderBlockEndWidth:ew.borderWidths("borderBlockEndWidth"),borderBottomColor:ew.colors("borderBottomColor"),borderBlockEndColor:ew.colors("borderBlockEndColor"),borderBottomStyle:ew.borderStyles("borderBottomStyle"),borderBlockEndStyle:ew.borderStyles("borderBlockEndStyle"),borderLeftWidth:ew.borderWidths("borderLeftWidth"),borderInlineStartWidth:ew.borderWidths("borderInlineStartWidth"),borderLeftColor:ew.colors("borderLeftColor"),borderInlineStartColor:ew.colors("borderInlineStartColor"),borderLeftStyle:ew.borderStyles("borderLeftStyle"),borderInlineStartStyle:ew.borderStyles("borderInlineStartStyle"),borderRightWidth:ew.borderWidths("borderRightWidth"),borderInlineEndWidth:ew.borderWidths("borderInlineEndWidth"),borderRightColor:ew.colors("borderRightColor"),borderInlineEndColor:ew.colors("borderInlineEndColor"),borderRightStyle:ew.borderStyles("borderRightStyle"),borderInlineEndStyle:ew.borderStyles("borderInlineEndStyle"),borderTopRadius:ew.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:ew.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:ew.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:ew.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(eS,{rounded:eS.borderRadius,roundedTop:eS.borderTopRadius,roundedTopLeft:eS.borderTopLeftRadius,roundedTopRight:eS.borderTopRightRadius,roundedTopStart:eS.borderStartStartRadius,roundedTopEnd:eS.borderStartEndRadius,roundedBottom:eS.borderBottomRadius,roundedBottomLeft:eS.borderBottomLeftRadius,roundedBottomRight:eS.borderBottomRightRadius,roundedBottomStart:eS.borderEndStartRadius,roundedBottomEnd:eS.borderEndEndRadius,roundedLeft:eS.borderLeftRadius,roundedRight:eS.borderRightRadius,roundedStart:eS.borderInlineStartRadius,roundedEnd:eS.borderInlineEndRadius,borderStart:eS.borderInlineStart,borderEnd:eS.borderInlineEnd,borderTopStartRadius:eS.borderStartStartRadius,borderTopEndRadius:eS.borderStartEndRadius,borderBottomStartRadius:eS.borderEndStartRadius,borderBottomEndRadius:eS.borderEndEndRadius,borderStartRadius:eS.borderInlineStartRadius,borderEndRadius:eS.borderInlineEndRadius,borderStartWidth:eS.borderInlineStartWidth,borderEndWidth:eS.borderInlineEndWidth,borderStartColor:eS.borderInlineStartColor,borderEndColor:eS.borderInlineEndColor,borderStartStyle:eS.borderInlineStartStyle,borderEndStyle:eS.borderInlineEndStyle});var ex={color:ew.colors("color"),textColor:ew.colors("color"),fill:ew.colors("fill"),stroke:ew.colors("stroke")},ek={boxShadow:ew.shadows("boxShadow"),mixBlendMode:!0,blendMode:ew.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:ew.prop("backgroundBlendMode"),opacity:!0};Object.assign(ek,{shadow:ek.boxShadow});var eE={filter:{transform:e_.filter},blur:ew.blur("--chakra-blur"),brightness:ew.propT("--chakra-brightness",e_.brightness),contrast:ew.propT("--chakra-contrast",e_.contrast),hueRotate:ew.degreeT("--chakra-hue-rotate"),invert:ew.propT("--chakra-invert",e_.invert),saturate:ew.propT("--chakra-saturate",e_.saturate),dropShadow:ew.propT("--chakra-drop-shadow",e_.dropShadow),backdropFilter:{transform:e_.backdropFilter},backdropBlur:ew.blur("--chakra-backdrop-blur"),backdropBrightness:ew.propT("--chakra-backdrop-brightness",e_.brightness),backdropContrast:ew.propT("--chakra-backdrop-contrast",e_.contrast),backdropHueRotate:ew.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:ew.propT("--chakra-backdrop-invert",e_.invert),backdropSaturate:ew.propT("--chakra-backdrop-saturate",e_.saturate)},eL={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:e_.flexDirection},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:ew.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:ew.space("gap"),rowGap:ew.space("rowGap"),columnGap:ew.space("columnGap")};Object.assign(eL,{flexDir:eL.flexDirection});var eD={gridGap:ew.space("gridGap"),gridColumnGap:ew.space("gridColumnGap"),gridRowGap:ew.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},eN={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:e_.outline},outlineOffset:!0,outlineColor:ew.colors("outlineColor")},eA={width:ew.sizesT("width"),inlineSize:ew.sizesT("inlineSize"),height:ew.sizes("height"),blockSize:ew.sizes("blockSize"),boxSize:ew.sizes(["width","height"]),minWidth:ew.sizes("minWidth"),minInlineSize:ew.sizes("minInlineSize"),minHeight:ew.sizes("minHeight"),minBlockSize:ew.sizes("minBlockSize"),maxWidth:ew.sizes("maxWidth"),maxInlineSize:ew.sizes("maxInlineSize"),maxHeight:ew.sizes("maxHeight"),maxBlockSize:ew.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,aspectRatio:!0,hideFrom:{scale:"breakpoints",transform:(e,t)=>{var i,n,r;return{[`@media screen and (min-width: ${null!=(r=null==(n=null==(i=t.__breakpoints)?void 0:i.get(e))?void 0:n.minW)?r:e})`]:{display:"none"}}}},hideBelow:{scale:"breakpoints",transform:(e,t)=>{var i,n,r;return{[`@media screen and (max-width: ${null!=(r=null==(n=null==(i=t.__breakpoints)?void 0:i.get(e))?void 0:n._minW)?r:e})`]:{display:"none"}}}},verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:ew.propT("float",e_.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(eA,{w:eA.width,h:eA.height,minW:eA.minWidth,maxW:eA.maxWidth,minH:eA.minHeight,maxH:eA.maxHeight,overscroll:eA.overscrollBehavior,overscrollX:eA.overscrollBehaviorX,overscrollY:eA.overscrollBehaviorY});var eT={listStyleType:!0,listStylePosition:!0,listStylePos:ew.prop("listStylePosition"),listStyleImage:!0,listStyleImg:ew.prop("listStyleImage")},eI=(e=>{let t=new WeakMap;return(i,n,r,o)=>{if(void 0===i)return e(i,n,r);t.has(i)||t.set(i,new Map);let s=t.get(i);if(s.has(n))return s.get(n);let a=e(i,n,r,o);return s.set(n,a),a}})(function(e,t,i,n){let r="string"==typeof t?t.split("."):[t];for(n=0;n{let n={},r=eI(e,t,{});for(let e in r)e in i&&null!=i[e]||(n[e]=r[e]);return n},eR={srOnly:{transform:e=>!0===e?eM:"focusable"===e?eO:{}},layerStyle:{processResult:!0,transform:(e,t,i)=>eP(t,`layerStyles.${e}`,i)},textStyle:{processResult:!0,transform:(e,t,i)=>eP(t,`textStyles.${e}`,i)},apply:{processResult:!0,transform:(e,t,i)=>eP(t,e,i)}},eF={position:!0,pos:ew.prop("position"),zIndex:ew.prop("zIndex","zIndices"),inset:ew.spaceT("inset"),insetX:ew.spaceT(["left","right"]),insetInline:ew.spaceT("insetInline"),insetY:ew.spaceT(["top","bottom"]),insetBlock:ew.spaceT("insetBlock"),top:ew.spaceT("top"),insetBlockStart:ew.spaceT("insetBlockStart"),bottom:ew.spaceT("bottom"),insetBlockEnd:ew.spaceT("insetBlockEnd"),left:ew.spaceT("left"),insetInlineStart:ew.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:ew.spaceT("right"),insetInlineEnd:ew.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(eF,{insetStart:eF.insetInlineStart,insetEnd:eF.insetInlineEnd});var eB={ring:{transform:e_.ring},ringColor:ew.colors("--chakra-ring-color"),ringOffset:ew.prop("--chakra-ring-offset-width"),ringOffsetColor:ew.colors("--chakra-ring-offset-color"),ringInset:ew.prop("--chakra-ring-inset")},eV={margin:ew.spaceT("margin"),marginTop:ew.spaceT("marginTop"),marginBlockStart:ew.spaceT("marginBlockStart"),marginRight:ew.spaceT("marginRight"),marginInlineEnd:ew.spaceT("marginInlineEnd"),marginBottom:ew.spaceT("marginBottom"),marginBlockEnd:ew.spaceT("marginBlockEnd"),marginLeft:ew.spaceT("marginLeft"),marginInlineStart:ew.spaceT("marginInlineStart"),marginX:ew.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:ew.spaceT("marginInline"),marginY:ew.spaceT(["marginTop","marginBottom"]),marginBlock:ew.spaceT("marginBlock"),padding:ew.space("padding"),paddingTop:ew.space("paddingTop"),paddingBlockStart:ew.space("paddingBlockStart"),paddingRight:ew.space("paddingRight"),paddingBottom:ew.space("paddingBottom"),paddingBlockEnd:ew.space("paddingBlockEnd"),paddingLeft:ew.space("paddingLeft"),paddingInlineStart:ew.space("paddingInlineStart"),paddingInlineEnd:ew.space("paddingInlineEnd"),paddingX:ew.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:ew.space("paddingInline"),paddingY:ew.space(["paddingTop","paddingBottom"]),paddingBlock:ew.space("paddingBlock")};Object.assign(eV,{m:eV.margin,mt:eV.marginTop,mr:eV.marginRight,me:eV.marginInlineEnd,marginEnd:eV.marginInlineEnd,mb:eV.marginBottom,ml:eV.marginLeft,ms:eV.marginInlineStart,marginStart:eV.marginInlineStart,mx:eV.marginX,my:eV.marginY,p:eV.padding,pt:eV.paddingTop,py:eV.paddingY,px:eV.paddingX,pb:eV.paddingBottom,pl:eV.paddingLeft,ps:eV.paddingInlineStart,paddingStart:eV.paddingInlineStart,pr:eV.paddingRight,pe:eV.paddingInlineEnd,paddingEnd:eV.paddingInlineEnd});var eH={textDecorationColor:ew.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:ew.shadows("textShadow")},ej={clipPath:!0,transform:ew.propT("transform",e_.transform),transformOrigin:!0,translateX:ew.spaceT("--chakra-translate-x"),translateY:ew.spaceT("--chakra-translate-y"),skewX:ew.degreeT("--chakra-skew-x"),skewY:ew.degreeT("--chakra-skew-y"),scaleX:ew.prop("--chakra-scale-x"),scaleY:ew.prop("--chakra-scale-y"),scale:ew.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:ew.degreeT("--chakra-rotate")},eW={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:ew.prop("transitionDuration","transition.duration"),transitionProperty:ew.prop("transitionProperty","transition.property"),transitionTimingFunction:ew.prop("transitionTimingFunction","transition.easing")},ez={fontFamily:ew.prop("fontFamily","fonts"),fontSize:ew.prop("fontSize","fontSizes",e_.px),fontWeight:ew.prop("fontWeight","fontWeights"),lineHeight:ew.prop("lineHeight","lineHeights"),letterSpacing:ew.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,isTruncated:{transform(e){if(!0===e)return{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}}},noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},eU={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:ew.spaceT("scrollMargin"),scrollMarginTop:ew.spaceT("scrollMarginTop"),scrollMarginBottom:ew.spaceT("scrollMarginBottom"),scrollMarginLeft:ew.spaceT("scrollMarginLeft"),scrollMarginRight:ew.spaceT("scrollMarginRight"),scrollMarginX:ew.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:ew.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:ew.spaceT("scrollPadding"),scrollPaddingTop:ew.spaceT("scrollPaddingTop"),scrollPaddingBottom:ew.spaceT("scrollPaddingBottom"),scrollPaddingLeft:ew.spaceT("scrollPaddingLeft"),scrollPaddingRight:ew.spaceT("scrollPaddingRight"),scrollPaddingX:ew.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:ew.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function e$(e){return q(e)&&e.reference?e.reference:String(e)}var eq=(e,...t)=>t.map(e$).join(` ${e} `).replace(/calc/g,""),eK=(...e)=>`calc(${eq("+",...e)})`,eG=(...e)=>`calc(${eq("-",...e)})`,eZ=(...e)=>`calc(${eq("*",...e)})`,eY=(...e)=>`calc(${eq("/",...e)})`,eQ=e=>{let t=e$(e);return null==t||Number.isNaN(parseFloat(t))?eZ(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},eJ=Object.assign(e=>({add:(...t)=>eJ(eK(e,...t)),subtract:(...t)=>eJ(eG(e,...t)),multiply:(...t)=>eJ(eZ(e,...t)),divide:(...t)=>eJ(eY(e,...t)),negate:()=>eJ(eQ(e)),toString:()=>e.toString()}),{add:eK,subtract:eG,multiply:eZ,divide:eY,negate:eQ});function eX(e,t=""){return[t,e].filter(Boolean).join("-")}function e0(e,t){return`var(${e}${t?`, ${t}`:""})`}function e1(e,t=""){var i;return((i=function(e,t="-"){return e.replace(/\s+/g,t)}(`--${eX(e,t)}`.toString())).includes("\\.")?i:Number.isInteger(parseFloat(i.toString()))?i:i.replace(".","\\.")).replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}function e2(e,t,i){let n=e1(e,i);return{variable:n,reference:e0(n,t)}}function e6(e,t){let i={};for(let n of t){if(Array.isArray(n)){let[t,r]=n;i[t]=e2(`${e}-${t}`,r);continue}i[n]=e2(`${e}-${n}`)}return i}function e3(e){let t,i;if(null==e)return e;let{unitless:n}=(t=parseFloat(e.toString()),{unitless:!(i=e.toString().replace(String(t),"")),value:t,unit:i});return n||"number"==typeof e?`${e}px`:e}var e8=(e,t)=>parseInt(e[1],10)>parseInt(t[1],10)?1:-1,e5=e=>Object.fromEntries(Object.entries(e).sort(e8));function e4(e){let t=e5(e);return Object.assign(Object.values(t),t)}function e9(e){var t;return e?"number"==typeof(e=null!=(t=e3(e))?t:e)?`${e+-.02}`:e.replace(/(\d+\.?\d*)/u,e=>`${parseFloat(e)+-.02}`):e}function e7(e,t){let i=["@media screen"];return e&&i.push("and",`(min-width: ${e3(e)})`),t&&i.push("and",`(max-width: ${e3(t)})`),i.join(" ")}var te={hover:(e,t)=>`${e}:hover ${t}, ${e}[data-hover] ${t}`,focus:(e,t)=>`${e}:focus ${t}, ${e}[data-focus] ${t}`,focusVisible:(e,t)=>`${e}:focus-visible ${t}`,focusWithin:(e,t)=>`${e}:focus-within ${t}`,active:(e,t)=>`${e}:active ${t}, ${e}[data-active] ${t}`,disabled:(e,t)=>`${e}:disabled ${t}, ${e}[data-disabled] ${t}`,invalid:(e,t)=>`${e}:invalid ${t}, ${e}[data-invalid] ${t}`,checked:(e,t)=>`${e}:checked ${t}, ${e}[data-checked] ${t}`,placeholderShown:(e,t)=>`${e}:placeholder-shown ${t}`},tt=e=>tn(t=>e(t,"&"),"[role=group]","[data-group]",".group"),ti=e=>tn(t=>e(t,"~ &"),"[data-peer]",".peer"),tn=(e,...t)=>t.map(e).join(", "),tr={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_firstLetter:"&::first-letter",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:tt(te.hover),_peerHover:ti(te.hover),_groupFocus:tt(te.focus),_peerFocus:ti(te.focus),_groupFocusVisible:tt(te.focusVisible),_peerFocusVisible:ti(te.focusVisible),_groupActive:tt(te.active),_peerActive:ti(te.active),_groupDisabled:tt(te.disabled),_peerDisabled:ti(te.disabled),_groupInvalid:tt(te.invalid),_peerInvalid:ti(te.invalid),_groupChecked:tt(te.checked),_peerChecked:ti(te.checked),_groupFocusWithin:tt(te.focusWithin),_peerFocusWithin:ti(te.focusWithin),_peerPlaceholderShown:ti(te.placeholderShown),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]",_horizontal:"&[data-orientation=horizontal]",_vertical:"&[data-orientation=vertical]"},to=Object.keys(tr);function ts(e,t){return e2(String(e).replace(/\./g,"-"),void 0,t)}function ta(e,t,i={}){let{stop:n,getKey:r}=i;return function e(i,o=[]){var s;if("object"==typeof i&&null!=i&&!Array.isArray(i)||Array.isArray(i)){let a={};for(let[l,u]of Object.entries(i)){let d=null!=(s=null==r?void 0:r(l))?s:l,c=[...o,d];if(null==n?void 0:n(i,c))return t(i,o);a[d]=e(u,c)}return a}return t(i,o)}(e)}var tl=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","gradients","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur","breakpoints"],tu=e=>to.includes(e)||"default"===e;function td({tokens:e,semanticTokens:t}){let i={};return ta(e,(e,t)=>{null!=e&&(i[t.join(".")]={isSemantic:!1,value:e})}),ta(t,(e,t)=>{null!=e&&(i[t.join(".")]={isSemantic:!0,value:e})},{stop:e=>Object.keys(e).every(tu)}),i}function tc(e){var t;let i=function(e){let{__cssMap:t,__cssVars:i,__breakpoints:n,...r}=e;return r}(e),{cssMap:n,cssVars:r}=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e)){let{isSemantic:s,value:a}=o,{variable:l,reference:u}=ts(r,null==t?void 0:t.cssVarPrefix);if(!s){if(r.startsWith("space")){let[e,...t]=r.split("."),i=`${e}.-${t.join(".")}`,o=eJ.negate(a),s=eJ.negate(u);n[i]={value:o,var:l,varRef:s}}i[l]=a,n[r]={value:a,var:l,varRef:u};continue}let d=i=>{let n=[String(r).split(".")[0],i].join(".");if(!e[n])return i;let{reference:o}=ts(n,null==t?void 0:t.cssVarPrefix);return o},c=q(a)?a:{default:a};i=et()(i,Object.entries(c).reduce((e,[t,i])=>{var n;if(!i)return e;let r=d(`${i}`);return"default"===t?e[l]=r:e[null!=(n=null==tr?void 0:tr[t])?n:t]={[l]:r},e},{})),n[r]={value:u,var:l,varRef:u}}return{cssVars:i,cssMap:n}}(td({tokens:function(e,t){let i={};for(let n of t)n in e&&(i[n]=e[n]);return i}(i,tl),semanticTokens:i.semanticTokens}),{cssVarPrefix:null==(t=i.config)?void 0:t.cssVarPrefix});return Object.assign(i,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...r},__cssMap:n,__breakpoints:function(e){var t;let i;if(!e)return null;e.base=null!=(t=e.base)?t:"0px";let n=e4(e),r=Object.entries(e).sort(e8).map(([e,t],i,n)=>{var r;let[,o]=null!=(r=n[i+1])?r:[];return o=parseFloat(o)>0?e9(o):void 0,{_minW:e9(t),breakpoint:e,minW:t,maxW:o,maxWQuery:e7(null,o),minWQuery:e7(t),minMaxQuery:e7(t,o)}}),o=(i=Object.keys(e5(e)),new Set(i)),s=Array.from(o.values());return{keys:o,normalized:n,isResponsive(e){let t=Object.keys(e);return t.length>0&&t.every(e=>o.has(e))},asObject:e5(e),asArray:e4(e),details:r,get:e=>r.find(t=>t.breakpoint===e),media:[null,...n.map(e=>e7(e)).slice(1)],toArrayValue(e){let t;if(!q(e))throw Error("toArrayValue: value must be an object");let i=s.map(t=>{var i;return null!=(i=e[t])?i:null});for(;null===((t=null==i?0:i.length)?i[t-1]:void 0);)i.pop();return i},toObjectValue(e){if(!Array.isArray(e))throw Error("toObjectValue: value must be an array");return e.reduce((e,t,i)=>{let n=s[i];return null!=n&&null!=t&&(e[n]=t),e},{})}}}(i.breakpoints)}),i}var th=et()({},eC,eS,ex,eL,eA,eE,eB,eN,eD,eR,eF,ek,eV,eU,ez,eH,ej,eT,eW),tg=Object.keys(Object.assign({},eV,eA,eL,eD,eF)),tp=[...Object.keys(th),...to],tf={...th,...tr},tm=e=>e in tf,tv=e=>t=>{if(!t.__breakpoints)return e;let{isResponsive:i,toArrayValue:n,media:r}=t.__breakpoints,o={};for(let s in e){let a=G(e[s],t);if(null==a)continue;if(!Array.isArray(a=q(a)&&i(a)?n(a):a)){o[s]=a;continue}let l=a.slice(0,r.length).length;for(let e=0;ee.startsWith("--")&&"string"==typeof t&&!/^var\(--.+\)$/.test(t),ty=(e,t)=>{var i,n;if(null==t)return t;let r=t=>{var i,n;return null==(n=null==(i=e.__cssMap)?void 0:i[t])?void 0:n.varRef},o=e=>{var t;return null!=(t=r(e))?t:e},[s,a]=function(e){let t=[],i="",n=!1;for(let r=0;r{var s,a,l;let u=G(e,n),d=tv(u)(n),c={};for(let e in d){let h=G(d[e],n);e in i&&(e=i[e]),tb(e,h)&&(h=ty(n,h));let g=t[e];if(!0===g&&(g={property:e}),q(h)){c[e]=null!=(s=c[e])?s:{},c[e]=et()({},c[e],r(h,!0));continue}let p=null!=(l=null==(a=null==g?void 0:g.transform)?void 0:a.call(g,h,n,u))?l:h;p=(null==g?void 0:g.processResult)?r(p,!0):p;let f=G(null==g?void 0:g.property,n);if(!o&&(null==g?void 0:g.static)){let e=G(g.static,n);c=et()({},c,e)}if(f&&Array.isArray(f)){for(let e of f)c[e]=p;continue}if(f){"&"===f&&q(p)?c=et()({},c,p):c[f]=p;continue}if(q(p)){c=et()({},c,p);continue}c[e]=p}return c};return r}var tw=e=>t=>t_({theme:t,pseudos:tr,configs:th})(e);function tC(e){return e}function tS(e){return e}function tx(e){return{definePartsStyle:e=>e,defineMultiStyleConfig:t=>({parts:e,...t})}}function tk(e){return t=>{var i;let n;let{variant:r,size:o,theme:s}=t,a=(n=s.__breakpoints,function(e,t,i,r){var o,s,a;if(!n)return;let l={},u=(a=n.toArrayValue,Array.isArray(i)?i:q(i)?a(i):null!=i?[i]:void 0);if(!u)return l;let d=u.length,c=1===d,h=!!e.parts;for(let i=0;i{et()(l,{[e]:c?p[e]:{[g]:p[e]}})});continue}if(!h){c?et()(l,p):l[g]=p;continue}l[g]=p}}return l});return et()({},G(null!=(i=e.baseStyle)?i:{},t),a(e,"sizes",o,t),a(e,"variants",r,t))}}function tE(e,t,i){var n,r,o;return null!=(o=null==(r=null==(n=e.__cssMap)?void 0:n[`${t}.${i}`])?void 0:r.varRef)?o:i}function tL(e){return function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(e,["styleConfig","size","variant","colorScheme"])}var tD=(e=>{let t=new WeakMap;return(i,n,r,o)=>{if(void 0===i)return e(i,n,r);t.has(i)||t.set(i,new Map);let s=t.get(i);if(s.has(n))return s.get(n);let a=e(i,n,r,o);return s.set(n,a),a}})(function(e,t,i,n){let r="string"==typeof t?t.split("."):[t];for(n=0;n{let r=e[n];t(r,n,e)&&(i[n]=r)}),i}var tA=e=>tN(e,e=>null!=e);function tT(e){return"number"==typeof e}function tI(e){return"current"in e}function tM(e,...t){return"function"==typeof e?e(...t):e}var tO=()=>{},tP=function(e){let t;return function(...i){return e&&(t=e.apply(this,i),e=null),t}}(e=>()=>{let{condition:t,message:i}=e}),tR=(...e)=>t=>e.reduce((e,t)=>t(e),t),tF=(e,t)=>Math.abs(e-t),tB=e=>"x"in e&&"y"in e,tV=i(33895);function tH(e){let{cssVarsRoot:t,theme:i,children:n}=e,r=(0,R.useMemo)(()=>tc(i),[i]);return(0,T.jsxs)(tV.a,{theme:r,children:[(0,T.jsx)(tj,{root:t}),n]})}function tj({root:e=":host, :root"}){let t=[e,"[data-theme]"].join(",");return(0,T.jsx)(A.Global,{styles:e=>({[t]:e.__cssVars})})}var[tW,tz]=U({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `` "});function tU(e){return U({name:`${e}StylesContext`,errorMessage:`useStyles: "styles" is undefined. Seems you forgot to wrap the components in "<${e} />" `})}function t$(){let{colorMode:e}=W();return(0,T.jsx)(A.Global,{styles:t=>{let i=tM(tD(t,"styles.global"),{theme:t,colorMode:e});if(i)return tw(i)(t)}})}var tq={light:"chakra-ui-light",dark:"chakra-ui-dark"},tK="chakra-ui-color-mode";function tG(e){return{ssr:!1,type:"localStorage",get(t){let i;if(!(null==globalThis?void 0:globalThis.document))return t;try{i=localStorage.getItem(e)||t}catch(e){}return i||t},set(t){try{localStorage.setItem(e,t)}catch(e){}}}}var tZ=tG(tK);function tY(e,t){let i=e.match(RegExp(`(^| )${t}=([^;]+)`));return null==i?void 0:i[2]}function tQ(e,t){return{ssr:!!t,type:"cookie",get:i=>t?tY(t,e):(null==globalThis?void 0:globalThis.document)&&tY(document.cookie,e)||i,set(t){document.cookie=`${e}=${t}; max-age=31536000; path=/`}}}var tJ=tQ(tK),tX=e=>tQ(tK,e),t0=(null==globalThis?void 0:globalThis.document)?R.useLayoutEffect:R.useEffect,t1=()=>{};function t2(e,t){return"cookie"===e.type&&e.ssr?e.get(t):t}function t6(e){let{value:t,children:i,options:{useSystemColorMode:n,initialColorMode:r,disableTransitionOnChange:o}={},colorModeManager:s=tZ}=e,a="dark"===r?"dark":"light",[l,u]=(0,R.useState)(()=>t2(s,a)),[d,c]=(0,R.useState)(()=>t2(s)),{getSystemTheme:h,setClassName:g,setDataset:p,addListener:f}=(0,R.useMemo)(()=>(function(e={}){let{preventTransition:t=!0}=e,i={setDataset:e=>{let n=t?i.preventTransition():void 0;document.documentElement.dataset.theme=e,document.documentElement.style.colorScheme=e,null==n||n()},setClassName(e){document.body.classList.add(e?tq.dark:tq.light),document.body.classList.remove(e?tq.light:tq.dark)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme(e){var t;return(null!=(t=i.query().matches)?t:"dark"===e)?"dark":"light"},addListener(e){let t=i.query(),n=t=>{e(t.matches?"dark":"light")};return"function"==typeof t.addListener?t.addListener(n):t.addEventListener("change",n),()=>{"function"==typeof t.removeListener?t.removeListener(n):t.removeEventListener("change",n)}},preventTransition(){let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),requestAnimationFrame(()=>{requestAnimationFrame(()=>{document.head.removeChild(e)})})}}};return i})({preventTransition:o}),[o]),m="system"!==r||l?l:d,v=(0,R.useCallback)(e=>{let t="system"===e?h():e;u(t),g("dark"===t),p(t),s.set(t)},[s,h,g,p]);t0(()=>{"system"===r&&c(h())},[]),(0,R.useEffect)(()=>{let e=s.get();if(e){v(e);return}if("system"===r){v("system");return}v(a)},[s,a,r,v]);let b=(0,R.useCallback)(()=>{v("dark"===m?"light":"dark")},[m,v]);(0,R.useEffect)(()=>{if(n)return f(v)},[n,f,v]);let y=(0,R.useMemo)(()=>({colorMode:null!=t?t:m,toggleColorMode:t?t1:b,setColorMode:t?t1:v,forced:void 0!==t}),[m,b,v,t]);return(0,T.jsx)(j.Provider,{value:y,children:i})}function t3(e){let t=(0,R.useMemo)(()=>({colorMode:"dark",toggleColorMode:t1,setColorMode:t1,forced:!0}),[]);return(0,T.jsx)(j.Provider,{value:t,...e})}function t8(e){let t=(0,R.useMemo)(()=>({colorMode:"light",toggleColorMode:t1,setColorMode:t1,forced:!0}),[]);return(0,T.jsx)(j.Provider,{value:t,...e})}t6.displayName="ColorModeProvider",t3.displayName="DarkMode",t8.displayName="LightMode";var t5=(0,R.createContext)({getDocument:()=>document,getWindow:()=>window});function t4({defer:e}={}){let[,t]=(0,R.useReducer)(e=>e+1,0);return t0(()=>{e&&t()},[e]),(0,R.useContext)(t5)}function t9(e){let{children:t,environment:i,disabled:n}=e,r=(0,R.useRef)(null),o=(0,R.useMemo)(()=>i||{getDocument:()=>{var e,t;return null!=(t=null==(e=r.current)?void 0:e.ownerDocument)?t:document},getWindow:()=>{var e,t;return null!=(t=null==(e=r.current)?void 0:e.ownerDocument.defaultView)?t:window}},[i]),s=!n||!i;return(0,T.jsxs)(t5.Provider,{value:o,children:[t,s&&(0,T.jsx)("span",{id:"__chakra_env",hidden:!0,ref:r})]})}t5.displayName="EnvironmentContext",t9.displayName="EnvironmentProvider";var t7=e=>{let{children:t,colorModeManager:i,portalZIndex:n,resetScope:r,resetCSS:o=!0,theme:s={},environment:a,cssVarsRoot:l,disableEnvironment:u}=e,d=(0,T.jsx)(t9,{environment:a,disabled:u,children:t});return(0,T.jsx)(tH,{theme:s,cssVarsRoot:l,children:(0,T.jsxs)(t6,{colorModeManager:i,options:s.config,children:[o?(0,T.jsx)(P,{scope:r}):(0,T.jsx)(O,{}),(0,T.jsx)(t$,{}),n?(0,T.jsx)(H,{zIndex:n,children:d}):d]})})},ie=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function it(e){return!!q(e)&&ie.every(t=>Object.prototype.hasOwnProperty.call(e,t))}var ii={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},ir={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},io={...ir,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}},is={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...ii,sizes:io,shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},space:ir,borders:{none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},transition:{property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}}},{defineMultiStyleConfig:ia,definePartsStyle:il}=tx(["stepper","step","title","description","indicator","separator","icon","number"]),iu=e2("stepper-indicator-size"),id=e2("stepper-icon-size"),ic=e2("stepper-title-font-size"),ih=e2("stepper-description-font-size"),ig=e2("stepper-accent-color"),ip=ia({baseStyle:il(({colorScheme:e})=>({stepper:{display:"flex",justifyContent:"space-between",gap:"4","&[data-orientation=vertical]":{flexDirection:"column",alignItems:"flex-start"},"&[data-orientation=horizontal]":{flexDirection:"row",alignItems:"center"},[ig.variable]:`colors.${e}.500`,_dark:{[ig.variable]:`colors.${e}.200`}},title:{fontSize:ic.reference,fontWeight:"medium"},description:{fontSize:ih.reference,color:"chakra-subtle-text"},number:{fontSize:ic.reference},step:{flexShrink:0,position:"relative",display:"flex",gap:"2","&[data-orientation=horizontal]":{alignItems:"center"},flex:"1","&:last-of-type:not([data-stretch])":{flex:"initial"}},icon:{flexShrink:0,width:id.reference,height:id.reference},indicator:{flexShrink:0,borderRadius:"full",width:iu.reference,height:iu.reference,display:"flex",justifyContent:"center",alignItems:"center","&[data-status=active]":{borderWidth:"2px",borderColor:ig.reference},"&[data-status=complete]":{bg:ig.reference,color:"chakra-inverse-text"},"&[data-status=incomplete]":{borderWidth:"2px"}},separator:{bg:"chakra-border-color",flex:"1","&[data-status=complete]":{bg:ig.reference},"&[data-orientation=horizontal]":{width:"100%",height:"2px",marginStart:"2"},"&[data-orientation=vertical]":{width:"2px",position:"absolute",height:"100%",maxHeight:`calc(100% - ${iu.reference} - 8px)`,top:`calc(${iu.reference} + 4px)`,insetStart:`calc(${iu.reference} / 2 - 1px)`}}})),sizes:{xs:il({stepper:{[iu.variable]:"sizes.4",[id.variable]:"sizes.3",[ic.variable]:"fontSizes.xs",[ih.variable]:"fontSizes.xs"}}),sm:il({stepper:{[iu.variable]:"sizes.6",[id.variable]:"sizes.4",[ic.variable]:"fontSizes.sm",[ih.variable]:"fontSizes.xs"}}),md:il({stepper:{[iu.variable]:"sizes.8",[id.variable]:"sizes.5",[ic.variable]:"fontSizes.md",[ih.variable]:"fontSizes.sm"}}),lg:il({stepper:{[iu.variable]:"sizes.10",[id.variable]:"sizes.6",[ic.variable]:"fontSizes.lg",[ih.variable]:"fontSizes.md"}})},defaultProps:{size:"md",colorScheme:"blue"}}),im=i(25191);function iv(e){let t=function(e,t="-"){return e.replace(/\s+/g,t)}(e.toString());return t.includes("\\.")?e:Number.isInteger(parseFloat(e.toString()))?e:t.replace(".","\\.")}function ib(e,t){var i,n;let r=function(e,t=""){return`--${function(e,t=""){return[t,iv(e)].filter(Boolean).join("-")}(e,t)}`}(e,null==t?void 0:t.prefix);return{variable:r,reference:(i="string"==typeof(n=null==t?void 0:t.fallback)?n:null==n?void 0:n.reference,`var(${iv(r)}${i?`, ${i}`:""})`)}}function iy(e){return q(e)&&e.reference?e.reference:String(e)}var i_=(e,...t)=>t.map(iy).join(` ${e} `).replace(/calc/g,""),iw=(...e)=>`calc(${i_("+",...e)})`,iC=(...e)=>`calc(${i_("-",...e)})`,iS=(...e)=>`calc(${i_("*",...e)})`,ix=(...e)=>`calc(${i_("/",...e)})`,ik=e=>{let t=iy(e);return null==t||Number.isNaN(parseFloat(t))?iS(t,-1):String(t).startsWith("-")?String(t).slice(1):`-${t}`},iE=Object.assign(e=>({add:(...t)=>iE(iw(e,...t)),subtract:(...t)=>iE(iC(e,...t)),multiply:(...t)=>iE(iS(e,...t)),divide:(...t)=>iE(ix(e,...t)),negate:()=>iE(ik(e)),toString:()=>e.toString()}),{add:iw,subtract:iC,multiply:iS,divide:ix,negate:ik}),{defineMultiStyleConfig:iL,definePartsStyle:iD}=tx(im.ke.keys),iN=ib("switch-track-width"),iA=ib("switch-track-height"),iT=ib("switch-track-diff"),iI=iE.subtract(iN,iA),iM=ib("switch-thumb-x"),iO=ib("switch-bg"),iP=e=>{let{colorScheme:t}=e;return{borderRadius:"full",p:"0.5",width:[iN.reference],height:[iA.reference],transitionProperty:"common",transitionDuration:"fast",[iO.variable]:"colors.gray.300",_dark:{[iO.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[iO.variable]:`colors.${t}.500`,_dark:{[iO.variable]:`colors.${t}.200`}},bg:iO.reference}},iR={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[iA.reference],height:[iA.reference],_checked:{transform:`translateX(${iM.reference})`}},iF=iL({baseStyle:iD(e=>({container:{[iT.variable]:iI,[iM.variable]:iT.reference,_rtl:{[iM.variable]:iE(iT).negate().toString()}},track:iP(e),thumb:iR})),sizes:{sm:iD({container:{[iN.variable]:"1.375rem",[iA.variable]:"sizes.3"}}),md:iD({container:{[iN.variable]:"1.875rem",[iA.variable]:"sizes.4"}}),lg:iD({container:{[iN.variable]:"2.875rem",[iA.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}});function iB(e,t){return i=>"dark"===i.colorMode?t:e}function iV(e){let{orientation:t,vertical:i,horizontal:n}=e;return t?"vertical"===t?i:n:{}}var{defineMultiStyleConfig:iH,definePartsStyle:ij}=tx(im.l1.keys),iW=ij({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),iz={"&[data-is-numeric=true]":{textAlign:"end"}},iU=iH({baseStyle:iW,variants:{simple:ij(e=>{let{colorScheme:t}=e;return{th:{color:iB("gray.600","gray.400")(e),borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},td:{borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},caption:{color:iB("gray.600","gray.100")(e)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),striped:ij(e=>{let{colorScheme:t}=e;return{th:{color:iB("gray.600","gray.400")(e),borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},td:{borderBottom:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e),...iz},caption:{color:iB("gray.600","gray.100")(e)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:iB(`${t}.100`,`${t}.700`)(e)},td:{background:iB(`${t}.100`,`${t}.700`)(e)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}}),unstyled:{}},sizes:{sm:ij({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:ij({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:ij({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}});function i$(e,t,i){return Math.min(Math.max(e,i),t)}var iq=class extends Error{constructor(e){super(`Failed to parse color: "${e}"`)}};function iK(e){if("string"!=typeof e)throw new iq(e);if("transparent"===e.trim().toLowerCase())return[0,0,0,0];let t=e.trim();t=i1.test(e)?function(e){let t=iZ[function(e){let t=5381,i=e.length;for(;i;)t=33*t^e.charCodeAt(--i);return(t>>>0)%2341}(e.toLowerCase().trim())];if(!t)throw new iq(e);return`#${t}`}(e):e;let i=iQ.exec(t);if(i){let e=Array.from(i).slice(1);return[...e.slice(0,3).map(e=>parseInt(iY(e,2),16)),parseInt(iY(e[3]||"f",2),16)/255]}let n=iJ.exec(t);if(n){let e=Array.from(n).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,16)),parseInt(e[3]||"ff",16)/255]}let r=iX.exec(t);if(r){let e=Array.from(r).slice(1);return[...e.slice(0,3).map(e=>parseInt(e,10)),parseFloat(e[3]||"1")]}let o=i0.exec(t);if(o){let[t,i,n,r]=Array.from(o).slice(1).map(parseFloat);if(i$(0,100,i)!==i||i$(0,100,n)!==n)throw new iq(e);return[...i6(t,i,n),Number.isNaN(r)?1:r]}throw new iq(e)}let iG=e=>parseInt(e.replace(/_/g,""),36),iZ="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce((e,t)=>{let i=iG(t.substring(0,3)),n=iG(t.substring(3)).toString(16),r="";for(let e=0;e<6-n.length;e++)r+="0";return e[i]=`${r}${n}`,e},{}),iY=(e,t)=>Array.from(Array(t)).map(()=>e).join(""),iQ=RegExp(`^#${iY("([a-f0-9])",3)}([a-f0-9])?$`,"i"),iJ=RegExp(`^#${iY("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),iX=RegExp(`^rgba?\\(\\s*(\\d+)\\s*${iY(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),i0=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,i1=/^[a-z]+$/i,i2=e=>Math.round(255*e),i6=(e,t,i)=>{let n=i/100;if(0===t)return[n,n,n].map(i2);let r=(e%360+360)%360/60,o=(1-Math.abs(2*n-1))*(t/100),s=o*(1-Math.abs(r%2-1)),a=0,l=0,u=0;r>=0&&r<1?(a=o,l=s):r>=1&&r<2?(a=s,l=o):r>=2&&r<3?(l=o,u=s):r>=3&&r<4?(l=s,u=o):r>=4&&r<5?(a=s,u=o):r>=5&&r<6&&(a=o,u=s);let d=n-o/2;return[a+d,l+d,u+d].map(i2)};var i3=e=>0===Object.keys(e).length,i8=(e,t,i)=>{let n=function(e,t,i,n,r){for(t=t.split?t.split("."):t,n=0;n{let t=i$(0,255,e).toString(16);return 1===t.length?`0${t}`:t};o(t),o(i),o(n),r<1&&o(Math.round(255*r))}(n),n}catch{return null!=i?i:"#000000"}},i5=e=>{let[t,i,n]=iK(e);return(299*t+587*i+114*n)/1e3},i4=e=>t=>128>i5(i8(t,e))?"dark":"light",i9=e=>t=>"dark"===i4(e)(t),i7=(e,t)=>i=>(function(e,t){let[i,n,r,o]=iK(e);return`rgba(${i$(0,255,i).toFixed()}, ${i$(0,255,n).toFixed()}, ${i$(0,255,r).toFixed()}, ${parseFloat(i$(0,1,o-t).toFixed(3))})`})(i8(i,e),1-t);function ne(e="1rem",t="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient( 45deg, ${t} 25%, transparent 25%, @@ -286,23 +286,23 @@ var vendor_d71fafee4813a2e29a33;(()=>{var e={51119:(e,t,i)=>{"use strict";i.d(t, ${t} 75%, transparent 75%, transparent - )`,backgroundSize:`${e} ${e}`}}var nt=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,ni=e2("tabs-color"),nn=e2("tabs-bg"),nr=e2("tabs-border-color"),{defineMultiStyleConfig:no,definePartsStyle:ns}=tx(im.nw.keys),na=e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},nl=e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},nu=e=>{let{align:t="start",orientation:i}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===i?"column":"row"}},nd={p:4},nc=no({baseStyle:ns(e=>({root:na(e),tab:nl(e),tablist:nu(e),tabpanel:nd})),sizes:{sm:ns({tab:{py:1,px:4,fontSize:"sm"}}),md:ns({tab:{fontSize:"md",py:2,px:4}}),lg:ns({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:ns(e=>{let{colorScheme:t,orientation:i}=e,n="vertical"===i,r=n?"borderStart":"borderBottom";return{tablist:{[r]:"2px solid",borderColor:"inherit"},tab:{[r]:"2px solid",borderColor:"transparent",[n?"marginStart":"marginBottom"]:"-2px",_selected:{[ni.variable]:`colors.${t}.600`,_dark:{[ni.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[nn.variable]:"colors.gray.200",_dark:{[nn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:ni.reference,bg:nn.reference}}}),enclosed:ns(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[nr.variable]:"transparent",_selected:{[ni.variable]:`colors.${t}.600`,[nr.variable]:"colors.white",_dark:{[ni.variable]:`colors.${t}.300`,[nr.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:nr.reference},color:ni.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":ns(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[nn.variable]:"colors.gray.50",_dark:{[nn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[nn.variable]:"colors.white",[ni.variable]:`colors.${t}.600`,_dark:{[nn.variable]:"colors.gray.800",[ni.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:ni.reference,bg:nn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":ns(e=>{let{colorScheme:t,theme:i}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:i8(i,`${t}.700`),bg:i8(i,`${t}.100`)}}}}),"solid-rounded":ns(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[ni.variable]:"colors.gray.600",_dark:{[ni.variable]:"inherit"},_selected:{[ni.variable]:"colors.white",[nn.variable]:`colors.${t}.600`,_dark:{[ni.variable]:"colors.gray.800",[nn.variable]:`colors.${t}.300`}},color:ni.reference,bg:nn.reference}}}),unstyled:ns({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),nh=e6("badge",["bg","color","shadow"]),ng={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:nh.bg.reference,color:nh.color.reference,boxShadow:nh.shadow.reference},variants:{solid:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.500`,.6)(i);return{[nh.bg.variable]:`colors.${t}.500`,[nh.color.variable]:"colors.white",_dark:{[nh.bg.variable]:n,[nh.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.200`,.16)(i);return{[nh.bg.variable]:`colors.${t}.100`,[nh.color.variable]:`colors.${t}.800`,_dark:{[nh.bg.variable]:n,[nh.color.variable]:`colors.${t}.200`}}},outline:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.200`,.8)(i);return{[nh.color.variable]:`colors.${t}.500`,_dark:{[nh.color.variable]:n},[nh.shadow.variable]:`inset 0 0 0px 1px ${nh.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:np,definePartsStyle:nf}=tx(im.VM.keys),nm=e2("tag-bg"),nv=e2("tag-color"),nb=e2("tag-shadow"),ny=e2("tag-min-height"),n_=e2("tag-min-width"),nw=e2("tag-font-size"),nC=e2("tag-padding-inline"),nS=nf({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[nv.variable]:nh.color.reference,[nm.variable]:nh.bg.reference,[nb.variable]:nh.shadow.reference,color:nv.reference,bg:nm.reference,boxShadow:nb.reference,borderRadius:"md",minH:ny.reference,minW:n_.reference,fontSize:nw.reference,px:nC.reference,_focusVisible:{[nb.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),nx={sm:nf({container:{[ny.variable]:"sizes.5",[n_.variable]:"sizes.5",[nw.variable]:"fontSizes.xs",[nC.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:nf({container:{[ny.variable]:"sizes.6",[n_.variable]:"sizes.6",[nw.variable]:"fontSizes.sm",[nC.variable]:"space.2"}}),lg:nf({container:{[ny.variable]:"sizes.8",[n_.variable]:"sizes.8",[nw.variable]:"fontSizes.md",[nC.variable]:"space.3"}})},nk=np({variants:{subtle:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.subtle(e)}}),solid:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.solid(e)}}),outline:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.outline(e)}})},baseStyle:nS,sizes:nx,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:nE,defineMultiStyleConfig:nL}=tx(im.X.keys),nD=nE({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),nN={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}};function nA(e){let{focusBorderColor:t,errorBorderColor:i}=e;return{focusBorderColor:t||iB("blue.500","blue.300")(e),errorBorderColor:i||iB("red.500","red.300")(e)}}var nT=nL({baseStyle:nD,sizes:{lg:nE({field:nN.lg,addon:nN.lg}),md:nE({field:nN.md,addon:nN.md}),sm:nE({field:nN.sm,addon:nN.sm}),xs:nE({field:nN.xs,addon:nN.xs})},variants:{outline:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:iB("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n),boxShadow:`0 0 0 1px ${i8(t,n)}`},_focusVisible:{zIndex:1,borderColor:i8(t,i),boxShadow:`0 0 0 1px ${i8(t,i)}`}},addon:{border:"1px solid",borderColor:iB("inherit","whiteAlpha.50")(e),bg:iB("gray.100","whiteAlpha.300")(e)}}}),filled:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{border:"2px solid",borderColor:"transparent",bg:iB("gray.100","whiteAlpha.50")(e),_hover:{bg:iB("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n)},_focusVisible:{bg:"transparent",borderColor:i8(t,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:iB("gray.100","whiteAlpha.50")(e)}}}),flushed:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n),boxShadow:`0px 1px 0px 0px ${i8(t,n)}`},_focusVisible:{borderColor:i8(t,i),boxShadow:`0px 1px 0px 0px ${i8(t,i)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:nE({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),nI={...null==(r=nT.baseStyle)?void 0:r.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},nM={outline:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.outline(e).field)?i:{}},flushed:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.flushed(e).field)?i:{}},filled:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.filled(e).field)?i:{}},unstyled:null!=(s=null==(o=nT.variants)?void 0:o.unstyled.field)?s:{}},nR={xs:null!=(l=null==(a=nT.sizes)?void 0:a.xs.field)?l:{},sm:null!=(d=null==(u=nT.sizes)?void 0:u.sm.field)?d:{},md:null!=(h=null==(c=nT.sizes)?void 0:c.md.field)?h:{},lg:null!=(p=null==(g=nT.sizes)?void 0:g.lg.field)?p:{}},nP=ib("tooltip-bg"),nO=ib("tooltip-fg"),nF=ib("popper-arrow-bg"),nB={bg:nP.reference,color:nO.reference,[nP.variable]:"colors.gray.700",[nO.variable]:"colors.whiteAlpha.900",_dark:{[nP.variable]:"colors.gray.300",[nO.variable]:"colors.gray.900"},[nF.variable]:nP.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},{defineMultiStyleConfig:nV,definePartsStyle:nH}=tx(im.Eb.keys),nW=e=>{let{colorScheme:t,theme:i,isIndeterminate:n,hasStripe:r}=e,o=iB(ne(),ne("1rem","rgba(0,0,0,0.1)"))(e),s=iB(`${t}.500`,`${t}.200`)(e),a=`linear-gradient( + )`,backgroundSize:`${e} ${e}`}}var nt=()=>`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`,ni=e2("tabs-color"),nn=e2("tabs-bg"),nr=e2("tabs-border-color"),{defineMultiStyleConfig:no,definePartsStyle:ns}=tx(im.nw.keys),na=e=>{let{orientation:t}=e;return{display:"vertical"===t?"flex":"block"}},nl=e=>{let{isFitted:t}=e;return{flex:t?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},nu=e=>{let{align:t="start",orientation:i}=e;return{justifyContent:({end:"flex-end",center:"center",start:"flex-start"})[t],flexDirection:"vertical"===i?"column":"row"}},nd={p:4},nc=no({baseStyle:ns(e=>({root:na(e),tab:nl(e),tablist:nu(e),tabpanel:nd})),sizes:{sm:ns({tab:{py:1,px:4,fontSize:"sm"}}),md:ns({tab:{fontSize:"md",py:2,px:4}}),lg:ns({tab:{fontSize:"lg",py:3,px:4}})},variants:{line:ns(e=>{let{colorScheme:t,orientation:i}=e,n="vertical"===i,r=n?"borderStart":"borderBottom";return{tablist:{[r]:"2px solid",borderColor:"inherit"},tab:{[r]:"2px solid",borderColor:"transparent",[n?"marginStart":"marginBottom"]:"-2px",_selected:{[ni.variable]:`colors.${t}.600`,_dark:{[ni.variable]:`colors.${t}.300`},borderColor:"currentColor"},_active:{[nn.variable]:"colors.gray.200",_dark:{[nn.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:ni.reference,bg:nn.reference}}}),enclosed:ns(e=>{let{colorScheme:t}=e;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[nr.variable]:"transparent",_selected:{[ni.variable]:`colors.${t}.600`,[nr.variable]:"colors.white",_dark:{[ni.variable]:`colors.${t}.300`,[nr.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:nr.reference},color:ni.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"enclosed-colored":ns(e=>{let{colorScheme:t}=e;return{tab:{border:"1px solid",borderColor:"inherit",[nn.variable]:"colors.gray.50",_dark:{[nn.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[nn.variable]:"colors.white",[ni.variable]:`colors.${t}.600`,_dark:{[nn.variable]:"colors.gray.800",[ni.variable]:`colors.${t}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:ni.reference,bg:nn.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}}),"soft-rounded":ns(e=>{let{colorScheme:t,theme:i}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:i8(i,`${t}.700`),bg:i8(i,`${t}.100`)}}}}),"solid-rounded":ns(e=>{let{colorScheme:t}=e;return{tab:{borderRadius:"full",fontWeight:"semibold",[ni.variable]:"colors.gray.600",_dark:{[ni.variable]:"inherit"},_selected:{[ni.variable]:"colors.white",[nn.variable]:`colors.${t}.600`,_dark:{[ni.variable]:"colors.gray.800",[nn.variable]:`colors.${t}.300`}},color:ni.reference,bg:nn.reference}}}),unstyled:ns({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),nh=e6("badge",["bg","color","shadow"]),ng={baseStyle:{px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold",bg:nh.bg.reference,color:nh.color.reference,boxShadow:nh.shadow.reference},variants:{solid:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.500`,.6)(i);return{[nh.bg.variable]:`colors.${t}.500`,[nh.color.variable]:"colors.white",_dark:{[nh.bg.variable]:n,[nh.color.variable]:"colors.whiteAlpha.800"}}},subtle:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.200`,.16)(i);return{[nh.bg.variable]:`colors.${t}.100`,[nh.color.variable]:`colors.${t}.800`,_dark:{[nh.bg.variable]:n,[nh.color.variable]:`colors.${t}.200`}}},outline:e=>{let{colorScheme:t,theme:i}=e,n=i7(`${t}.200`,.8)(i);return{[nh.color.variable]:`colors.${t}.500`,_dark:{[nh.color.variable]:n},[nh.shadow.variable]:`inset 0 0 0px 1px ${nh.color.reference}`}}},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:np,definePartsStyle:nf}=tx(im.VM.keys),nm=e2("tag-bg"),nv=e2("tag-color"),nb=e2("tag-shadow"),ny=e2("tag-min-height"),n_=e2("tag-min-width"),nw=e2("tag-font-size"),nC=e2("tag-padding-inline"),nS=nf({container:{fontWeight:"medium",lineHeight:1.2,outline:0,[nv.variable]:nh.color.reference,[nm.variable]:nh.bg.reference,[nb.variable]:nh.shadow.reference,color:nv.reference,bg:nm.reference,boxShadow:nb.reference,borderRadius:"md",minH:ny.reference,minW:n_.reference,fontSize:nw.reference,px:nC.reference,_focusVisible:{[nb.variable]:"shadows.outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),nx={sm:nf({container:{[ny.variable]:"sizes.5",[n_.variable]:"sizes.5",[nw.variable]:"fontSizes.xs",[nC.variable]:"space.2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:nf({container:{[ny.variable]:"sizes.6",[n_.variable]:"sizes.6",[nw.variable]:"fontSizes.sm",[nC.variable]:"space.2"}}),lg:nf({container:{[ny.variable]:"sizes.8",[n_.variable]:"sizes.8",[nw.variable]:"fontSizes.md",[nC.variable]:"space.3"}})},nk=np({variants:{subtle:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.subtle(e)}}),solid:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.solid(e)}}),outline:nf(e=>{var t;return{container:null==(t=ng.variants)?void 0:t.outline(e)}})},baseStyle:nS,sizes:nx,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),{definePartsStyle:nE,defineMultiStyleConfig:nL}=tx(im.X.keys),nD=nE({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),nN={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}};function nA(e){let{focusBorderColor:t,errorBorderColor:i}=e;return{focusBorderColor:t||iB("blue.500","blue.300")(e),errorBorderColor:i||iB("red.500","red.300")(e)}}var nT=nL({baseStyle:nD,sizes:{lg:nE({field:nN.lg,addon:nN.lg}),md:nE({field:nN.md,addon:nN.md}),sm:nE({field:nN.sm,addon:nN.sm}),xs:nE({field:nN.xs,addon:nN.xs})},variants:{outline:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:iB("gray.300","whiteAlpha.400")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n),boxShadow:`0 0 0 1px ${i8(t,n)}`},_focusVisible:{zIndex:1,borderColor:i8(t,i),boxShadow:`0 0 0 1px ${i8(t,i)}`}},addon:{border:"1px solid",borderColor:iB("inherit","whiteAlpha.50")(e),bg:iB("gray.100","whiteAlpha.300")(e)}}}),filled:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{border:"2px solid",borderColor:"transparent",bg:iB("gray.100","whiteAlpha.50")(e),_hover:{bg:iB("gray.200","whiteAlpha.100")(e)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n)},_focusVisible:{bg:"transparent",borderColor:i8(t,i)}},addon:{border:"2px solid",borderColor:"transparent",bg:iB("gray.100","whiteAlpha.50")(e)}}}),flushed:nE(e=>{let{theme:t}=e,{focusBorderColor:i,errorBorderColor:n}=nA(e);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:i8(t,n),boxShadow:`0px 1px 0px 0px ${i8(t,n)}`},_focusVisible:{borderColor:i8(t,i),boxShadow:`0px 1px 0px 0px ${i8(t,i)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}}),unstyled:nE({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),nI={...null==(r=nT.baseStyle)?void 0:r.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},nM={outline:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.outline(e).field)?i:{}},flushed:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.flushed(e).field)?i:{}},filled:e=>{var t,i;return null!=(i=null==(t=nT.variants)?void 0:t.filled(e).field)?i:{}},unstyled:null!=(s=null==(o=nT.variants)?void 0:o.unstyled.field)?s:{}},nO={xs:null!=(l=null==(a=nT.sizes)?void 0:a.xs.field)?l:{},sm:null!=(d=null==(u=nT.sizes)?void 0:u.sm.field)?d:{},md:null!=(h=null==(c=nT.sizes)?void 0:c.md.field)?h:{},lg:null!=(p=null==(g=nT.sizes)?void 0:g.lg.field)?p:{}},nP=ib("tooltip-bg"),nR=ib("tooltip-fg"),nF=ib("popper-arrow-bg"),nB={bg:nP.reference,color:nR.reference,[nP.variable]:"colors.gray.700",[nR.variable]:"colors.whiteAlpha.900",_dark:{[nP.variable]:"colors.gray.300",[nR.variable]:"colors.gray.900"},[nF.variable]:nP.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},{defineMultiStyleConfig:nV,definePartsStyle:nH}=tx(im.Eb.keys),nj=e=>{let{colorScheme:t,theme:i,isIndeterminate:n,hasStripe:r}=e,o=iB(ne(),ne("1rem","rgba(0,0,0,0.1)"))(e),s=iB(`${t}.500`,`${t}.200`)(e),a=`linear-gradient( to right, transparent 0%, ${i8(i,s)} 50%, transparent 100% - )`;return{...!n&&r&&o,...n?{bgImage:a}:{bgColor:s}}},nj={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},nz=e=>({bg:iB("gray.100","whiteAlpha.300")(e)}),nU=e=>({transitionProperty:"common",transitionDuration:"slow",...nW(e)}),n$=nH(e=>({label:nj,filledTrack:nU(e),track:nz(e)})),nq=nV({sizes:{xs:nH({track:{h:"1"}}),sm:nH({track:{h:"2"}}),md:nH({track:{h:"3"}}),lg:nH({track:{h:"4"}})},baseStyle:n$,defaultProps:{size:"md",colorScheme:"blue"}}),nK=e=>"function"==typeof e;function nG(e,...t){return nK(e)?e(...t):e}var{definePartsStyle:nZ,defineMultiStyleConfig:nY}=tx(im.TB.keys),nQ=e2("checkbox-size"),nJ=e=>{let{colorScheme:t}=e;return{w:nQ.reference,h:nQ.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:iB(`${t}.500`,`${t}.200`)(e),borderColor:iB(`${t}.500`,`${t}.200`)(e),color:iB("white","gray.900")(e),_hover:{bg:iB(`${t}.600`,`${t}.300`)(e),borderColor:iB(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:iB("gray.200","transparent")(e),bg:iB("gray.200","whiteAlpha.300")(e),color:iB("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:iB(`${t}.500`,`${t}.200`)(e),borderColor:iB(`${t}.500`,`${t}.200`)(e),color:iB("white","gray.900")(e)},_disabled:{bg:iB("gray.100","whiteAlpha.100")(e),borderColor:iB("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:iB("red.500","red.300")(e)}}},nX={_disabled:{cursor:"not-allowed"}},n0={userSelect:"none",_disabled:{opacity:.4}},n1={transitionProperty:"transform",transitionDuration:"normal"},n2=nY({baseStyle:nZ(e=>({icon:n1,container:nX,control:nG(nJ,e),label:n0})),sizes:{sm:nZ({control:{[nQ.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:nZ({control:{[nQ.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:nZ({control:{[nQ.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:n6,definePartsStyle:n3}=tx(im.f2.keys),n8=e=>{var t;let i=null==(t=nG(n2.baseStyle,e))?void 0:t.control;return{...i,borderRadius:"full",_checked:{...null==i?void 0:i._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},n5=n6({baseStyle:n3(e=>{var t,i;return{label:null==(t=n2.baseStyle)?void 0:t.call(n2,e).label,container:null==(i=n2.baseStyle)?void 0:i.call(n2,e).container,control:n8(e)}}),sizes:{md:n3({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:n3({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:n3({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:n4,definePartsStyle:n9}=tx(im.nY.keys),n7=e2("select-bg"),re=n9({field:{...null==(f=nT.baseStyle)?void 0:f.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:n7.reference,[n7.variable]:"colors.white",_dark:{[n7.variable]:"colors.gray.700"},"> option, > optgroup":{bg:n7.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),rt={paddingInlineEnd:"8"},ri=n4({baseStyle:re,sizes:{lg:{...null==(m=nT.sizes)?void 0:m.lg,field:{...null==(v=nT.sizes)?void 0:v.lg.field,...rt}},md:{...null==(b=nT.sizes)?void 0:b.md,field:{...null==(y=nT.sizes)?void 0:y.md.field,...rt}},sm:{...null==(_=nT.sizes)?void 0:_.sm,field:{...null==(w=nT.sizes)?void 0:w.sm.field,...rt}},xs:{...null==(C=nT.sizes)?void 0:C.xs,field:{...null==(S=nT.sizes)?void 0:S.xs.field,...rt},icon:{insetEnd:"1"}}},variants:nT.variants,defaultProps:nT.defaultProps}),rn=e2("skeleton-start-color"),rr=e2("skeleton-end-color"),ro={[rn.variable]:"colors.gray.100",[rr.variable]:"colors.gray.400",_dark:{[rn.variable]:"colors.gray.800",[rr.variable]:"colors.gray.600"},background:rn.reference,borderColor:rr.reference,opacity:.7,borderRadius:"sm"},rs=e2("skip-link-bg"),ra={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rs.variable]:"colors.white",_dark:{[rs.variable]:"colors.gray.700"},bg:rs.reference}},{defineMultiStyleConfig:rl,definePartsStyle:ru}=tx(im.q0.keys),rd=e2("slider-thumb-size"),rc=e2("slider-track-size"),rh=e2("slider-bg"),rg=e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...iV({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rp=e=>({...iV({orientation:e.orientation,horizontal:{h:rc.reference},vertical:{w:rc.reference}}),overflow:"hidden",borderRadius:"sm",[rh.variable]:"colors.gray.200",_dark:{[rh.variable]:"colors.whiteAlpha.200"},_disabled:{[rh.variable]:"colors.gray.300",_dark:{[rh.variable]:"colors.whiteAlpha.300"}},bg:rh.reference}),rf=e=>{let{orientation:t}=e;return{...iV({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:rd.reference,h:rd.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},rm=e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[rh.variable]:`colors.${t}.500`,_dark:{[rh.variable]:`colors.${t}.200`},bg:rh.reference}},rv=rl({baseStyle:ru(e=>({container:rg(e),track:rp(e),thumb:rf(e),filledTrack:rm(e)})),sizes:{lg:ru({container:{[rd.variable]:"sizes.4",[rc.variable]:"sizes.1"}}),md:ru({container:{[rd.variable]:"sizes.3.5",[rc.variable]:"sizes.1"}}),sm:ru({container:{[rd.variable]:"sizes.2.5",[rc.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rb=ib("spinner-size"),ry={width:[rb.reference],height:[rb.reference]},r_={xs:{[rb.variable]:"sizes.3"},sm:{[rb.variable]:"sizes.4"},md:{[rb.variable]:"sizes.6"},lg:{[rb.variable]:"sizes.8"},xl:{[rb.variable]:"sizes.12"}},{defineMultiStyleConfig:rw,definePartsStyle:rC}=tx(im.aj.keys),rS=rw({baseStyle:rC({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:rC({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),rx=e2("kbd-bg"),rk={[rx.variable]:"colors.gray.100",_dark:{[rx.variable]:"colors.whiteAlpha.100"},bg:rx.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},{defineMultiStyleConfig:rE,definePartsStyle:rL}=tx(im.vE.keys),rD=rE({baseStyle:rL({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:rN,definePartsStyle:rA}=tx(im.rk.keys),rT=e2("menu-bg"),rI=e2("menu-shadow"),rM=rN({baseStyle:rA({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[rT.variable]:"#fff",[rI.variable]:"shadows.sm",_dark:{[rT.variable]:"colors.gray.700",[rI.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:rT.reference,boxShadow:rI.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[rT.variable]:"colors.gray.100",_dark:{[rT.variable]:"colors.whiteAlpha.100"}},_active:{[rT.variable]:"colors.gray.200",_dark:{[rT.variable]:"colors.whiteAlpha.200"}},_expanded:{[rT.variable]:"colors.gray.100",_dark:{[rT.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:rT.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:rR,definePartsStyle:rP}=tx(im.wl.keys),rO=e2("modal-bg"),rF=e2("modal-shadow"),rB={bg:"blackAlpha.600",zIndex:"modal"},rV=e=>{let{isCentered:t,scrollBehavior:i}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===i?"hidden":"auto",overscrollBehaviorY:"none"}},rH=e=>{let{isCentered:t,scrollBehavior:i}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===i?"calc(100% - 7.5rem)":void 0,[rO.variable]:"colors.white",[rF.variable]:"shadows.lg",_dark:{[rO.variable]:"colors.gray.700",[rF.variable]:"shadows.dark-lg"},bg:rO.reference,boxShadow:rF.reference}},rW={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},rj={position:"absolute",top:"2",insetEnd:"3"},rz=e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},rU={px:"6",py:"4"};function r$(e){return"full"===e?rP({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):rP({dialog:{maxW:e}})}var rq=rR({baseStyle:rP(e=>({overlay:rB,dialogContainer:nG(rV,e),dialog:nG(rH,e),header:rW,closeButton:rj,body:nG(rz,e),footer:rU})),sizes:{xs:r$("xs"),sm:r$("sm"),md:r$("md"),lg:r$("lg"),xl:r$("xl"),"2xl":r$("2xl"),"3xl":r$("3xl"),"4xl":r$("4xl"),"5xl":r$("5xl"),"6xl":r$("6xl"),full:r$("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:rK,definePartsStyle:rG}=tx(im.V1.keys),rZ=ib("number-input-stepper-width"),rY=ib("number-input-input-padding"),rQ=iE(rZ).add("0.5rem").toString(),rJ=ib("number-input-bg"),rX=ib("number-input-color"),r0=ib("number-input-border-color"),r1={[rZ.variable]:"sizes.6",[rY.variable]:rQ},r2=e=>{var t,i;return null!=(i=null==(t=nG(nT.baseStyle,e))?void 0:t.field)?i:{}},r6={width:rZ.reference},r3={borderStart:"1px solid",borderStartColor:r0.reference,color:rX.reference,bg:rJ.reference,[rX.variable]:"colors.chakra-body-text",[r0.variable]:"colors.chakra-border-color",_dark:{[rX.variable]:"colors.whiteAlpha.800",[r0.variable]:"colors.whiteAlpha.300"},_active:{[rJ.variable]:"colors.gray.200",_dark:{[rJ.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function r8(e){var t,i,n;let r=null==(t=nT.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},s=null!=(n=null==(i=r.field)?void 0:i.fontSize)?n:"md",a=ii.fontSizes[s];return rG({field:{...r.field,paddingInlineEnd:rY.reference,verticalAlign:"top"},stepper:{fontSize:iE(a).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var r5=rK({baseStyle:rG(e=>{var t;return{root:r1,field:null!=(t=nG(r2,e))?t:{},stepperGroup:r6,stepper:r3}}),sizes:{xs:r8("xs"),sm:r8("sm"),md:r8("md"),lg:r8("lg")},variants:nT.variants,defaultProps:nT.defaultProps}),r4={baseStyle:{...null==(x=nT.baseStyle)?void 0:x.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.outline,e))?void 0:i.field)?n:{}},flushed:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.flushed,e))?void 0:i.field)?n:{}},filled:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.filled,e))?void 0:i.field)?n:{}},unstyled:null!=(E=null==(k=nT.variants)?void 0:k.unstyled.field)?E:{}},defaultProps:nT.defaultProps},{defineMultiStyleConfig:r9,definePartsStyle:r7}=tx(im.Ji.keys),oe=ib("popper-bg"),ot=ib("popper-arrow-bg"),oi=ib("popper-arrow-shadow-color"),on=r9({baseStyle:r7({popper:{zIndex:10},content:{[oe.variable]:"colors.white",bg:oe.reference,[ot.variable]:oe.reference,[oi.variable]:"colors.gray.200",_dark:{[oe.variable]:"colors.gray.700",[oi.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{definePartsStyle:or,defineMultiStyleConfig:oo}=tx(im.iU.keys),os=e2("drawer-bg"),oa=e2("drawer-box-shadow");function ol(e){return"full"===e?or({dialog:{maxW:"100vw",h:"100vh"}}):or({dialog:{maxW:e}})}var ou={bg:"blackAlpha.600",zIndex:"overlay"},od={display:"flex",zIndex:"modal",justifyContent:"center"},oc=e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[os.variable]:"colors.white",[oa.variable]:"shadows.lg",_dark:{[os.variable]:"colors.gray.700",[oa.variable]:"shadows.dark-lg"},bg:os.reference,boxShadow:oa.reference}},oh={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},og={position:"absolute",top:"2",insetEnd:"3"},op={px:"6",py:"2",flex:"1",overflow:"auto"},of={px:"6",py:"4"},om=oo({baseStyle:or(e=>({overlay:ou,dialogContainer:od,dialog:nG(oc,e),header:oh,closeButton:og,body:op,footer:of})),sizes:{xs:ol("xs"),sm:ol("md"),md:ol("lg"),lg:ol("2xl"),xl:ol("4xl"),full:ol("full")},defaultProps:{size:"xs"}}),{definePartsStyle:ov,defineMultiStyleConfig:ob}=tx(im.lN.keys),oy=ob({baseStyle:ov({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:o_,defineMultiStyleConfig:ow}=tx(im.TJ.keys),oC=e2("form-control-color"),oS=ow({baseStyle:o_({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[oC.variable]:"colors.red.500",_dark:{[oC.variable]:"colors.red.300"},color:oC.reference},helperText:{mt:"2",[oC.variable]:"colors.gray.600",_dark:{[oC.variable]:"colors.whiteAlpha.600"},color:oC.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:ox,defineMultiStyleConfig:ok}=tx(im.ao.keys),oE=e2("form-error-color"),oL=ok({baseStyle:ox({text:{[oE.variable]:"colors.red.500",_dark:{[oE.variable]:"colors.red.300"},color:oE.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[oE.variable]:"colors.red.500",_dark:{[oE.variable]:"colors.red.300"},color:oE.reference}})}),{defineMultiStyleConfig:oD,definePartsStyle:oN}=tx(im.AB.keys),oA=e2("breadcrumb-link-decor"),oT=oD({baseStyle:oN({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:oA.reference,[oA.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[oA.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),oI=e=>{let{colorScheme:t,theme:i}=e;if("gray"===t)return{color:iB("inherit","whiteAlpha.900")(e),_hover:{bg:iB("gray.100","whiteAlpha.200")(e)},_active:{bg:iB("gray.200","whiteAlpha.300")(e)}};let n=i7(`${t}.200`,.12)(i),r=i7(`${t}.200`,.24)(i);return{color:iB(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:iB(`${t}.50`,n)(e)},_active:{bg:iB(`${t}.100`,r)(e)}}},oM={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},{definePartsStyle:oR,defineMultiStyleConfig:oP}=tx(im.SG.keys),oO=e2("card-bg"),oF=e2("card-padding"),oB=e2("card-shadow"),oV=e2("card-radius"),oH=e2("card-border-width","0"),oW=e2("card-border-color"),oj=oR({container:{[oO.variable]:"colors.chakra-body-bg",backgroundColor:oO.reference,boxShadow:oB.reference,borderRadius:oV.reference,color:"chakra-body-text",borderWidth:oH.reference,borderColor:oW.reference},body:{padding:oF.reference,flex:"1 1 0%"},header:{padding:oF.reference},footer:{padding:oF.reference}}),oz={sm:oR({container:{[oV.variable]:"radii.base",[oF.variable]:"space.3"}}),md:oR({container:{[oV.variable]:"radii.md",[oF.variable]:"space.5"}}),lg:oR({container:{[oV.variable]:"radii.xl",[oF.variable]:"space.7"}})},oU=oP({baseStyle:oj,variants:{elevated:oR({container:{[oB.variable]:"shadows.base",_dark:{[oO.variable]:"colors.gray.700"}}}),outline:oR({container:{[oH.variable]:"1px",[oW.variable]:"colors.chakra-border-color"}}),filled:oR({container:{[oO.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[oF.variable]:0},header:{[oF.variable]:0},footer:{[oF.variable]:0}}},sizes:oz,defaultProps:{variant:"elevated",size:"md"}}),o$=ib("close-button-size"),oq=ib("close-button-bg"),oK={w:[o$.reference],h:[o$.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[oq.variable]:"colors.blackAlpha.100",_dark:{[oq.variable]:"colors.whiteAlpha.100"}},_active:{[oq.variable]:"colors.blackAlpha.200",_dark:{[oq.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:oq.reference},oG={lg:{[o$.variable]:"sizes.10",fontSize:"md"},md:{[o$.variable]:"sizes.8",fontSize:"xs"},sm:{[o$.variable]:"sizes.6",fontSize:"2xs"}},{variants:oZ,defaultProps:oY}=ng,oQ={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:nh.bg.reference,color:nh.color.reference,boxShadow:nh.shadow.reference},{definePartsStyle:oJ,defineMultiStyleConfig:oX}=tx(im.sA.keys),o0=oX({baseStyle:oJ({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:o1,defineMultiStyleConfig:o2}=tx(im.aP.keys),o6=e2("alert-fg"),o3=e2("alert-bg");function o8(e){let{theme:t,colorScheme:i}=e,n=i7(`${i}.200`,.16)(t);return{light:`colors.${i}.100`,dark:n}}var o5=o2({baseStyle:o1({container:{bg:o3.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:o6.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:o6.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark}}}}),"left-accent":o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:o6.reference}}}),"top-accent":o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark},pt:"2",borderTopWidth:"4px",borderTopColor:o6.reference}}}),solid:o1(e=>{let{colorScheme:t}=e;return{container:{[o6.variable]:"colors.white",[o3.variable]:`colors.${t}.500`,_dark:{[o6.variable]:"colors.gray.900",[o3.variable]:`colors.${t}.200`},color:o6.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:o4,defineMultiStyleConfig:o9}=tx(im.$5.keys),o7=e2("avatar-border-color"),se=e2("avatar-bg"),st={borderRadius:"full",border:"0.2em solid",[o7.variable]:"white",_dark:{[o7.variable]:"colors.gray.800"},borderColor:o7.reference},si={[se.variable]:"colors.gray.200",_dark:{[se.variable]:"colors.whiteAlpha.400"},bgColor:se.reference},sn=e2("avatar-background"),sr=e=>{let{name:t,theme:i}=e,n=t?function(e){var t;let i=nt();return!e||i3(e)?i:e.string&&e.colors?function(e,t){let i=0;if(0===e.length)return t[0];for(let t=0;t>8*e&255).toString(16)}`.substr(-2);return i}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:i}({string:t}):"colors.gray.400",r=i9(n)(i),o="white";return r||(o="gray.800"),{bg:sn.reference,"&:not([data-loaded])":{[sn.variable]:n},color:o,[o7.variable]:"colors.white",_dark:{[o7.variable]:"colors.gray.800"},borderColor:o7.reference,verticalAlign:"top"}};function so(e){let t="100%"!==e?io[e]:void 0;return o4({container:{width:e,height:e,fontSize:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${null!=t?t:e} / 2.5)`,lineHeight:"100%"!==e?null!=t?t:e:void 0}})}var ss=o9({baseStyle:o4(e=>({badge:nG(st,e),excessLabel:nG(si,e),container:nG(sr,e)})),sizes:{"2xs":so(4),xs:so(6),sm:so(8),md:so(12),lg:so(16),xl:so(24),"2xl":so(32),full:so("100%")},defaultProps:{size:"md"}}),sa={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},sl={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},su={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},sd={semanticTokens:sa,direction:"ltr",...is,components:{Accordion:o0,Alert:o5,Avatar:ss,Badge:ng,Breadcrumb:oT,Button:{baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:oI,outline:e=>{let{colorScheme:t}=e,i=iB("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?i:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...nG(oI,e)}},solid:e=>{var t;let{colorScheme:i}=e;if("gray"===i){let t=iB("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:iB("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:iB("gray.300","whiteAlpha.400")(e)}}}let{bg:n=`${i}.500`,color:r="white",hoverBg:o=`${i}.600`,activeBg:s=`${i}.700`}=null!=(t=oM[i])?t:{},a=iB(n,`${i}.200`)(e);return{bg:a,color:iB(r,"gray.800")(e),_hover:{bg:iB(o,`${i}.300`)(e),_disabled:{bg:a}},_active:{bg:iB(s,`${i}.400`)(e)}}},link:e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:iB(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:iB(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},Checkbox:n2,CloseButton:{baseStyle:oK,sizes:oG,defaultProps:{size:"md"}},Code:{baseStyle:oQ,variants:oZ,defaultProps:oY},Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:om,Editable:oy,Form:oS,FormError:oL,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Input:nT,Kbd:{baseStyle:rk},Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:rD,Menu:rM,Modal:rq,NumberInput:r5,PinInput:r4,Popover:on,Progress:nq,Radio:n5,Select:ri,Skeleton:{baseStyle:ro},SkipLink:{baseStyle:ra},Slider:rv,Spinner:{baseStyle:ry,sizes:r_,defaultProps:{size:"md"}},Stat:rS,Switch:iF,Table:iU,Tabs:nc,Tag:nk,Textarea:{baseStyle:nI,sizes:nR,variants:nM,defaultProps:{size:"md",variant:"outline"}},Tooltip:{baseStyle:nB},Card:oU,Stepper:ip},styles:sl,config:su},sc={semanticTokens:sa,direction:"ltr",components:{},...is,styles:sl,config:su},sh=(e,t)=>e.find(e=>e.id===t);function sg(e,t){let i=sp(e,t),n=i?e[i].findIndex(e=>e.id===t):-1;return{position:i,index:n}}function sp(e,t){for(let[i,n]of Object.entries(e))if(sh(n,t))return i}function sf(e,t=[]){let i=(0,O.useRef)(e);return(0,O.useEffect)(()=>{i.current=e}),(0,O.useCallback)((...e)=>{var t;return null==(t=i.current)?void 0:t.call(i,...e)},t)}function sm(e,t){let i=(0,O.useRef)(!1),n=(0,O.useRef)(!1);(0,O.useEffect)(()=>{if(i.current&&n.current)return e();n.current=!0},t),(0,O.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[])}var sv=i(32565),sb=i(40836),sy=new Set([...tp,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),s_=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function sw(e){return s_.has(e)||!sy.has(e)}var sC=i(74126),sS=null!=(L=sC.default.default)?L:sC.default,sx=({baseStyle:e})=>t=>{let{theme:i,css:n,__css:r,sx:o,...s}=t,a=tN(s,(e,t)=>tm(t)),l=tw(function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let i={...e};for(let e of t)if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in i&&delete i[t],i[t]=e[t]);return i}({},r,tM(e,t),tA(a),o))(t.theme);return n?[l,n]:l};function sk(e,t){let{baseStyle:i,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=sw);let r=sx({baseStyle:i}),o=sS(e,n)(r);return O.forwardRef(function(e,t){let{colorMode:i,forced:n}=j();return O.createElement(o,{ref:t,"data-theme":n?i:void 0,...e})})}var sE=function(){let e=new Map;return new Proxy(sk,{apply:(e,t,i)=>sk(...i),get:(t,i)=>(e.has(i)||e.set(i,sk(i)),e.get(i))})}(),sL={initial:e=>{let{position:t}=e,i=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[i]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},sD=(0,O.memo)(e=>{let{id:t,message:i,onCloseComplete:n,onRequestRemove:r,requestClose:o=!1,position:s="bottom",duration:a=5e3,containerStyle:l,motionVariants:u=sL,toastSpacing:d="0.5rem"}=e,[c,h]=(0,O.useState)(a),g=(0,sv.hO)();sm(()=>{g||null==n||n()},[g]),sm(()=>{h(a)},[a]);let p=()=>{g&&r()};(0,O.useEffect)(()=>{g&&o&&r()},[g,o,r]),function(e,t){let i=sf(e);(0,O.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{i()},t),()=>{e&&window.clearTimeout(e)}},[t,i])}(p,c);let f=(0,O.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),m=(0,O.useMemo)(()=>(function(e){let t=e.includes("right"),i=e.includes("left"),n="center";return t&&(n="flex-end"),i&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}})(s),[s]);return(0,T.jsx)(sb.E.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>h(null),onHoverEnd:()=>h(a),custom:{position:s},style:m,children:(0,T.jsx)(sE.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:f,children:G(i,{id:t,onClose:p})})})});function sN(e,t){var i;let n=null!=e?e:"bottom",r={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return null!=(i=null==r?void 0:r[t])?i:n}function sA(e){return(0,O.forwardRef)(e)}function sT(){let e=(0,O.useContext)(tV.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function sI(){let e=j(),t=sT();return{...e,theme:t}}function sM(e,t,i){let n=sT();return sR(e,t,i)(n)}function sR(e,t,i){let n=Array.isArray(t)?t:[t],r=Array.isArray(i)?i:[i];return i=>{let o=r.filter(Boolean),s=n.map((t,n)=>{var r,s;return"breakpoints"===e?function(e,t,i){var n,r;if(null==t)return t;let o=t=>{var i,n;return null==(n=null==(i=e.__breakpoints)?void 0:i.asArray)?void 0:n[t]};return null!=(r=null!=(n=o(t))?n:o(i))?r:i}(i,t,null!=(r=o[n])?r:t):function(e,t,i){var n,r;if(null==t)return t;let o=t=>{var i,n;return null==(n=null==(i=e.__cssMap)?void 0:i[t])?void 0:n.value};return null!=(r=null!=(n=o(t))?n:o(i))?r:i}(i,`${e}.${t}`,null!=(s=o[n])?s:t)});return Array.isArray(t)?s:s[0]}}function sP(e){return"function"==typeof e}sD.displayName="ToastComponent";var sO=e=>function(...t){let i=[...t],n=t[t.length-1];return it(n)&&i.length>1?i=i.slice(0,i.length-1):n=e,(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...i.map(e=>t=>sP(e)?e(t):sV(t,e)))(n)},sF=sO(sd),sB=sO(sc);function sV(...e){return et()({},...e,sH)}function sH(e,t,i,n){if((sP(e)||sP(t))&&Object.prototype.hasOwnProperty.call(n,i))return(...i)=>{let n=sP(e)?e(...i):e,r=sP(t)?t(...i):t;return et()({},n,r,sH)}}var sW=i(78435),sj=i.n(sW);function sz(e,t={}){var i,n;let r;let{styleConfig:o,...s}=t,{theme:a,colorMode:l}=sI(),u=e?tD(a,`components.${e}`):void 0,d=o||u,c=et()({theme:a,colorMode:l},null!=(i=null==d?void 0:d.defaultProps)?i:{},tA((n=["children"],r={},Object.keys(s).forEach(e=>{n.includes(e)||(r[e]=s[e])}),r))),h=(0,O.useRef)({});if(d){let e=tk(d)(c);sj()(h.current,e)||(h.current=e)}return h.current}function sU(e,t={}){return sz(e,t)}function s$(e,t={}){return sz(e,t)}function sq(e,t){var i;let{baseConfig:n,...r}=t,{theme:o}=sI(),s=null==(i=o.components)?void 0:i[e],a=s?sV(s,n):n;return sz(null,{...r,styleConfig:a})}var sK={path:(0,T.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,T.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,T.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,T.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},sG=sA((e,t)=>{let{as:i,viewBox:n,color:r="currentColor",focusable:o=!1,children:s,className:a,__css:l,...u}=e,d=$("chakra-icon",a),c=sU("Icon",e),h={ref:t,focusable:o,className:d,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:r,...l,...c}},g=null!=n?n:sK.viewBox;if(i&&"string"!=typeof i)return(0,T.jsx)(sE.svg,{as:i,...h,...u});let p=null!=s?s:sK.path;return(0,T.jsx)(sE.svg,{verticalAlign:"middle",viewBox:g,...h,...u,children:p})});function sZ(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}sG.displayName="Icon";var sY=(0,A.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),sQ=sA((e,t)=>{let i=sU("Spinner",e),{label:n="Loading...",thickness:r="2px",speed:o="0.45s",emptyColor:s="transparent",className:a,...l}=tL(e),u=$("chakra-spinner",a),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:r,borderBottomColor:s,borderLeftColor:s,animation:`${sY} ${o} linear infinite`,...i};return(0,T.jsx)(sE.div,{ref:t,__css:d,className:u,...l,children:n&&(0,T.jsx)(sE.span,{srOnly:!0,children:n})})});sQ.displayName="Spinner";var[sJ,sX]=F({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[s0,s1]=F({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),s2={info:{icon:function(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:sZ,colorScheme:"orange"},success:{icon:function(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:sZ,colorScheme:"red"},loading:{icon:sQ,colorScheme:"blue"}},s6=sA(function(e,t){var i;let{status:n="info",addRole:r=!0,...o}=tL(e),s=null!=(i=e.colorScheme)?i:s2[n].colorScheme,a=s$("Alert",{...e,colorScheme:s}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...a.container};return(0,T.jsx)(sJ,{value:{status:n},children:(0,T.jsx)(s0,{value:a,children:(0,T.jsx)(sE.div,{"data-status":n,role:r?"alert":void 0,ref:t,...o,className:$("chakra-alert",e.className),__css:l})})})});function s3(e){let{status:t}=sX(),i=s2[t].icon,n=s1(),r="loading"===t?n.spinner:n.icon;return(0,T.jsx)(sE.span,{display:"inherit","data-status":t,...e,className:$("chakra-alert__icon",e.className),__css:r,children:e.children||(0,T.jsx)(i,{h:"100%",w:"100%"})})}s6.displayName="Alert",s3.displayName="AlertIcon";var s8=sA(function(e,t){let i=s1(),{status:n}=sX();return(0,T.jsx)(sE.div,{ref:t,"data-status":n,...e,className:$("chakra-alert__title",e.className),__css:i.title})});s8.displayName="AlertTitle";var s5=sA(function(e,t){let i=s1(),{status:n}=sX(),r={display:"inline",...i.description};return(0,T.jsx)(sE.div,{ref:t,"data-status":n,...e,className:$("chakra-alert__desc",e.className),__css:r})});function s4(e){return(0,T.jsx)(sG,{focusable:"false","aria-hidden":!0,...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}s5.displayName="AlertDescription";var s9=sA(function(e,t){let i=sU("CloseButton",e),{children:n,isDisabled:r,__css:o,...s}=tL(e);return(0,T.jsx)(sE.button,{type:"button","aria-label":"Close",ref:t,disabled:r,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...i,...o},...s,children:n||(0,T.jsx)(s4,{width:"1em",height:"1em"})})});s9.displayName="CloseButton";var s7=function(e){let t=e,i=new Set,n=e=>{t=e(t),i.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(i.add(t),()=>{n(()=>e),i.delete(t)}),removeToast:(e,t)=>{n(i=>({...i,[t]:i[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let i=function(e,t={}){var i,n;ae+=1;let r=null!=(i=t.id)?i:ae,o=null!=(n=t.position)?n:"bottom";return{id:r,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>s7.removeToast(String(r),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:r,id:o}=i;return n(e=>{var t,n;let o=r.includes("top")?[i,...null!=(t=e[r])?t:[]]:[...null!=(n=e[r])?n:[],i];return{...e,[r]:o}}),o},update:(e,t)=>{e&&n(i=>{let n={...i},{position:r,index:o}=sg(n,e);return r&&-1!==o&&(n[r][o]={...n[r][o],...t,message:ai(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,i)=>(e[i]=t[i].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{let i=sp(t,e);return i?{...t,[i]:t[i].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!sg(s7.getState(),e).position}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),ae=0,at=e=>{let{status:t,variant:i="solid",id:n,title:r,isClosable:o,onClose:s,description:a,colorScheme:l,icon:u}=e,d=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,T.jsxs)(s6,{addRole:!1,status:t,variant:i,id:null==d?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,T.jsx)(s3,{children:u}),(0,T.jsxs)(sE.div,{flex:"1",maxWidth:"100%",children:[r&&(0,T.jsx)(s8,{id:null==d?void 0:d.title,children:r}),a&&(0,T.jsx)(s5,{id:null==d?void 0:d.description,display:"block",children:a})]}),o&&(0,T.jsx)(s9,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function ai(e={}){let{render:t,toastComponent:i=at}=e;return n=>"function"==typeof t?t({...n,...e}):(0,T.jsx)(i,{...n,...e})}function an(e,t){let i=i=>{var n;return{...t,...i,position:sN(null!=(n=null==i?void 0:i.position)?n:null==t?void 0:t.position,e)}},n=e=>{let t=i(e),n=ai(t);return s7.notify(n,t)};return n.update=(e,t)=>{s7.update(e,i(t))},n.promise=(e,t)=>{let i=n({...t.loading,status:"loading",duration:null});e.then(e=>n.update(i,{status:"success",duration:5e3,...G(t.success,e)})).catch(e=>n.update(i,{status:"error",duration:5e3,...G(t.error,e)}))},n.closeAll=s7.closeAll,n.close=s7.close,n.isActive=s7.isActive,n}var ar=i(82988),ao=i(28316),[as,aa]=F({strict:!1,name:"PortalContext"}),al="chakra-portal",au=e=>(0,T.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ad=e=>{let{appendToParentPortal:t,children:i}=e,[n,r]=(0,O.useState)(null),o=(0,O.useRef)(null),[,s]=(0,O.useState)({});(0,O.useEffect)(()=>s({}),[]);let a=aa(),l=V();t0(()=>{if(!n)return;let e=n.ownerDocument,i=t&&null!=a?a:e.body;if(!i)return;o.current=e.createElement("div"),o.current.className=al,i.appendChild(o.current),s({});let r=o.current;return()=>{i.contains(r)&&i.removeChild(r)}},[n]);let u=(null==l?void 0:l.zIndex)?(0,T.jsx)(au,{zIndex:null==l?void 0:l.zIndex,children:i}):i;return o.current?(0,ao.createPortal)((0,T.jsx)(as,{value:o.current,children:u}),o.current):(0,T.jsx)("span",{ref:e=>{e&&r(e)}})},ac=e=>{let{children:t,containerRef:i,appendToParentPortal:n}=e,r=i.current,o=null!=r?r:"undefined"!=typeof window?document.body:void 0,s=(0,O.useMemo)(()=>{let e=null==r?void 0:r.ownerDocument.createElement("div");return e&&(e.className=al),e},[r]),[,a]=(0,O.useState)({});return(t0(()=>a({}),[]),t0(()=>{if(s&&o)return o.appendChild(s),()=>{o.removeChild(s)}},[s,o]),o&&s)?(0,ao.createPortal)((0,T.jsx)(as,{value:n?s:null,children:t}),s):null};function ah(e){let{containerRef:t,...i}={appendToParentPortal:!0,...e};return t?(0,T.jsx)(ac,{containerRef:t,...i}):(0,T.jsx)(ad,{...i})}ah.className=al,ah.selector=".chakra-portal",ah.displayName="Portal";var[ag,ap]=F({name:"ToastOptionsContext",strict:!1}),af=e=>{let t=(0,O.useSyncExternalStore)(s7.subscribe,s7.getState,s7.getState),{motionVariants:i,component:n=sD,portalProps:r}=e,o=Object.keys(t).map(e=>{let r=t[e];return(0,T.jsx)("div",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${e}`,style:function(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,n=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",r=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:i,right:n,left:r}}(e),children:(0,T.jsx)(ar.M,{initial:!1,children:r.map(e=>(0,T.jsx)(n,{motionVariants:i,...e},e.id))})},e)});return(0,T.jsx)(ah,{...r,children:o})},am=e=>function({children:t,theme:i=e,toastOptions:n,...r}){return(0,T.jsxs)(t7,{theme:i,...r,children:[(0,T.jsx)(ag,{value:null==n?void 0:n.defaultOptions,children:t}),(0,T.jsx)(af,{...n})]})},av=am(sd),ab=am(sc),ay=Object.defineProperty,a_=(e,t,i)=>t in e?ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,aw=(e,t,i)=>(a_(e,"symbol"!=typeof t?t+"":t,i),i);function aC(e){return e.sort((e,t)=>{let i=e.compareDocumentPosition(t);if(i&Node.DOCUMENT_POSITION_FOLLOWING||i&Node.DOCUMENT_POSITION_CONTAINED_BY)return -1;if(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(!(i&Node.DOCUMENT_POSITION_DISCONNECTED)&&!(i&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))return 0;throw Error("Cannot sort the given nodes.")})}var aS=e=>"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function ax(e,t,i){let n=e+1;return i&&n>=t&&(n=0),n}function ak(e,t,i){let n=e-1;return i&&n<0&&(n=t),n}var aE="undefined"!=typeof window?O.useLayoutEffect:O.useEffect,aL=e=>e,aD=class{constructor(){aw(this,"descendants",new Map),aw(this,"register",e=>{if(null!=e)return aS(e)?this.registerNode(e):t=>{this.registerNode(t,e)}}),aw(this,"unregister",e=>{this.descendants.delete(e);let t=aC(Array.from(this.descendants.keys()));this.assignIndex(t)}),aw(this,"destroy",()=>{this.descendants.clear()}),aw(this,"assignIndex",e=>{this.descendants.forEach(t=>{let i=e.indexOf(t.node);t.index=i,t.node.dataset.index=t.index.toString()})}),aw(this,"count",()=>this.descendants.size),aw(this,"enabledCount",()=>this.enabledValues().length),aw(this,"values",()=>Array.from(this.descendants.values()).sort((e,t)=>e.index-t.index)),aw(this,"enabledValues",()=>this.values().filter(e=>!e.disabled)),aw(this,"item",e=>{if(0!==this.count())return this.values()[e]}),aw(this,"enabledItem",e=>{if(0!==this.enabledCount())return this.enabledValues()[e]}),aw(this,"first",()=>this.item(0)),aw(this,"firstEnabled",()=>this.enabledItem(0)),aw(this,"last",()=>this.item(this.descendants.size-1)),aw(this,"lastEnabled",()=>{let e=this.enabledValues().length-1;return this.enabledItem(e)}),aw(this,"indexOf",e=>{var t,i;return e&&null!=(i=null==(t=this.descendants.get(e))?void 0:t.index)?i:-1}),aw(this,"enabledIndexOf",e=>null==e?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e))),aw(this,"next",(e,t=!0)=>{let i=ax(e,this.count(),t);return this.item(i)}),aw(this,"nextEnabled",(e,t=!0)=>{let i=this.item(e);if(!i)return;let n=ax(this.enabledIndexOf(i.node),this.enabledCount(),t);return this.enabledItem(n)}),aw(this,"prev",(e,t=!0)=>{let i=ak(e,this.count()-1,t);return this.item(i)}),aw(this,"prevEnabled",(e,t=!0)=>{let i=this.item(e);if(!i)return;let n=ak(this.enabledIndexOf(i.node),this.enabledCount()-1,t);return this.enabledItem(n)}),aw(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;let i=aC(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);let n={node:e,index:-1,...t};this.descendants.set(e,n),this.assignIndex(i)})}};function aN(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(i){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})}}var[aA,aT]=F({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function aI(){return[aL(aA),()=>aL(aT()),()=>{let e;return e=(0,O.useRef)(new aD),aE(()=>()=>e.current.destroy()),e.current},e=>(function(e){let t=aT(),[i,n]=(0,O.useState)(-1),r=(0,O.useRef)(null);aE(()=>()=>{r.current&&t.unregister(r.current)},[]),aE(()=>{if(!r.current)return;let e=Number(r.current.dataset.index);i==e||Number.isNaN(e)||n(e)});let o=e?aL(t.register(e)):aL(t.register);return{descendants:t,index:i,enabledIndex:t.enabledIndexOf(r.current),register:aN(o,r)}})(e)]}var[aM,aR]=F({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[aP,aO]=F({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[aF,aB,aV,aH]=aI(),aW=sA(function(e,t){let{getButtonProps:i}=aO(),n=i(e,t),r={display:"flex",alignItems:"center",width:"100%",outline:0,...aR().button};return(0,T.jsx)(sE.button,{...n,className:$("chakra-accordion__button",e.className),__css:r})});function aj(e){let{value:t,defaultValue:i,onChange:n,shouldUpdate:r=(e,t)=>e!==t}=e,o=sf(n),s=sf(r),[a,l]=(0,O.useState)(i),u=void 0!==t,d=u?t:a,c=sf(e=>{let t="function"==typeof e?e(d):e;s(d,t)&&(u||l(t),o(t))},[u,o,d,s]);return[d,c]}function az(e){let t,{onChange:i,defaultIndex:n,index:r,allowMultiple:o,allowToggle:s,...a}=e;K({condition:!!(null!=(t=e.index||e.defaultIndex)&&!Array.isArray(t)&&e.allowMultiple),message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`}),K({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"});let l=aV(),[u,d]=(0,O.useState)(-1);(0,O.useEffect)(()=>()=>{d(-1)},[]);let[c,h]=aj({value:r,defaultValue:()=>o?null!=n?n:[]:null!=n?n:-1,onChange:i});return{index:c,setIndex:h,htmlProps:a,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(c)?c.includes(e):c===e),{isOpen:t,onChange:t=>{null!==e&&(o&&Array.isArray(c)?h(t?c.concat(e):c.filter(t=>t!==e)):t?h(e):s&&h(-1))}}},focusedIndex:u,setFocusedIndex:d,descendants:l}}aW.displayName="AccordionButton";var[aU,a$]=F({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function aq(e){var t;let{isDisabled:i,isFocusable:n,id:r,...o}=e,{getAccordionItemProps:s,setFocusedIndex:a}=a$(),l=(0,O.useRef)(null),u=(0,O.useId)(),d=null!=r?r:u,c=`accordion-button-${d}`,h=`accordion-panel-${d}`;K({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. - `});let{register:g,index:p,descendants:f}=aH({disabled:i&&!n}),{isOpen:m,onChange:v}=s(-1===p?null:p);K({condition:(t={isOpen:m,isDisabled:i}).isOpen&&!!t.isDisabled,message:"Cannot open a disabled accordion item"});let b=(0,O.useCallback)(()=>{null==v||v(!m),a(p)},[p,a,m,v]),y=(0,O.useCallback)(e=>{let t={ArrowDown:()=>{let e=f.nextEnabled(p);null==e||e.node.focus()},ArrowUp:()=>{let e=f.prevEnabled(p);null==e||e.node.focus()},Home:()=>{let e=f.firstEnabled();null==e||e.node.focus()},End:()=>{let e=f.lastEnabled();null==e||e.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))},[f,p]),_=(0,O.useCallback)(()=>{a(p)},[a,p]),w=(0,O.useCallback)(function(e={},t=null){return{...e,type:"button",ref:aN(g,l,t),id:c,disabled:!!i,"aria-expanded":!!m,"aria-controls":h,onClick:J(e.onClick,b),onFocus:J(e.onFocus,_),onKeyDown:J(e.onKeyDown,y)}},[c,i,m,b,_,y,h,g]),C=(0,O.useCallback)(function(e={},t=null){return{...e,ref:t,role:"region",id:h,"aria-labelledby":c,hidden:!m}},[c,m,h]);return{isOpen:m,isDisabled:i,isFocusable:n,onOpen:()=>{null==v||v(!0)},onClose:()=>{null==v||v(!1)},getButtonProps:w,getPanelProps:C,htmlProps:o}}function aK(e){let{isOpen:t,isDisabled:i}=aO(),{reduceMotion:n}=a$(),r=$("chakra-accordion__icon",e.className),o={opacity:i?.4:1,transform:t?"rotate(-180deg)":void 0,transition:n?void 0:"transform 0.2s",transformOrigin:"center",...aR().icon};return(0,T.jsx)(sG,{viewBox:"0 0 24 24","aria-hidden":!0,className:r,__css:o,...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}aK.displayName="AccordionIcon";var aG=sA(function(e,t){let{children:i,className:n}=e,{htmlProps:r,...o}=aq(e),s={...aR().container,overflowAnchor:"none"},a=(0,O.useMemo)(()=>o,[o]);return(0,T.jsx)(aP,{value:a,children:(0,T.jsx)(sE.div,{ref:t,...r,className:$("chakra-accordion__item",n),__css:s,children:"function"==typeof i?i({isExpanded:!!o.isOpen,isDisabled:!!o.isDisabled}):i})})});aG.displayName="AccordionItem";var aZ={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},aY={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function aQ(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return aY.slideRight;case"left":return aY.slideLeft;case"bottom":return aY.slideDown;case"top":return aY.slideUp}}var aJ={enter:{duration:.2,ease:aZ.easeOut},exit:{duration:.1,ease:aZ.easeIn}},aX={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})},a0=e=>null!=e&&parseInt(e.toString(),10)>0,a1={exit:{height:{duration:.2,ease:aZ.ease},opacity:{duration:.3,ease:aZ.ease}},enter:{height:{duration:.3,ease:aZ.ease},opacity:{duration:.4,ease:aZ.ease}}},a2={exit:({animateOpacity:e,startingHeight:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{...e&&{opacity:a0(t)?1:0},height:t,transitionEnd:null==n?void 0:n.exit,transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(a1.exit,r)}},enter:({animateOpacity:e,endingHeight:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{...e&&{opacity:1},height:t,transitionEnd:null==n?void 0:n.enter,transition:null!=(o=null==i?void 0:i.enter)?o:aX.enter(a1.enter,r)}}},a6=(0,O.forwardRef)((e,t)=>{let{in:i,unmountOnExit:n,animateOpacity:r=!0,startingHeight:o=0,endingHeight:s="auto",style:a,className:l,transition:u,transitionEnd:d,...c}=e,[h,g]=(0,O.useState)(!1);(0,O.useEffect)(()=>{let e=setTimeout(()=>{g(!0)});return()=>clearTimeout(e)},[]),K({condition:Number(o)>0&&!!n,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});let p=parseFloat(o.toString())>0,f={startingHeight:o,endingHeight:s,animateOpacity:r,transition:h?u:{enter:{duration:0}},transitionEnd:{enter:null==d?void 0:d.enter,exit:n?null==d?void 0:d.exit:{...null==d?void 0:d.exit,display:p?"block":"none"}}};return(0,T.jsx)(ar.M,{initial:!1,custom:f,children:(!n||i)&&(0,T.jsx)(sb.E.div,{ref:t,...c,className:$("chakra-collapse",l),style:{overflow:"hidden",display:"block",...a},custom:f,variants:a2,initial:!!n&&"exit",animate:i||n?"enter":"exit",exit:"exit"})})});a6.displayName="Collapse";var a3=sA(function(e,t){let{className:i,motionProps:n,...r}=e,{reduceMotion:o}=a$(),{getPanelProps:s,isOpen:a}=aO(),l=s(r,t),u=$("chakra-accordion__panel",i),d=aR();o||delete l.hidden;let c=(0,T.jsx)(sE.div,{...l,__css:d.panel,className:u});return o?c:(0,T.jsx)(a6,{in:a,...n,children:c})});a3.displayName="AccordionPanel";var a8=sA(function({children:e,reduceMotion:t,...i},n){let r=s$("Accordion",i),{htmlProps:o,descendants:s,...a}=az(tL(i)),l=(0,O.useMemo)(()=>({...a,reduceMotion:!!t}),[a,t]);return(0,T.jsx)(aF,{value:s,children:(0,T.jsx)(aU,{value:l,children:(0,T.jsx)(aM,{value:r,children:(0,T.jsx)(sE.div,{ref:n,...o,className:$("chakra-accordion",i.className),__css:r.root,children:e})})})})});function a5(){let{isOpen:e,isDisabled:t,onClose:i,onOpen:n}=aO();return{isOpen:e,onClose:i,isDisabled:t,onOpen:n}}a8.displayName="Accordion";var[a4,a9]=F({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:""}),a7={"top-start":{top:"0",insetStart:"0",transform:"translate(-25%, -25%)"},"top-end":{top:"0",insetEnd:"0",transform:"translate(25%, -25%)"},"bottom-start":{bottom:"0",insetStart:"0",transform:"translate(-25%, 25%)"},"bottom-end":{bottom:"0",insetEnd:"0",transform:"translate(25%, 25%)"}},le=sA(function(e,t){let{placement:i="bottom-end",className:n,...r}=e,o=a9(),s={position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",...a7[i],...o.badge};return(0,T.jsx)(sE.div,{ref:t,...r,className:$("chakra-avatar__badge",n),__css:s})});function lt(e){var t;let i=e.split(" "),n=null!=(t=i.at(0))?t:"",r=i.length>1?i.at(-1):"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function li(e){let{name:t,getInitials:i,...n}=e,r=a9();return(0,T.jsx)(sE.div,{role:"img","aria-label":t,...n,__css:r.label,children:t?null==i?void 0:i(t):null})}le.displayName="AvatarBadge",li.displayName="AvatarName";var ln=e=>(0,T.jsxs)(sE.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[(0,T.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,T.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});function lr(e){let{loading:t,src:i,srcSet:n,onLoad:r,onError:o,crossOrigin:s,sizes:a,ignoreFallback:l}=e,[u,d]=(0,O.useState)("pending");(0,O.useEffect)(()=>{d(i?"loading":"pending")},[i]);let c=(0,O.useRef)(),h=(0,O.useCallback)(()=>{if(!i)return;g();let e=new Image;e.src=i,s&&(e.crossOrigin=s),n&&(e.srcset=n),a&&(e.sizes=a),t&&(e.loading=t),e.onload=e=>{g(),d("loaded"),null==r||r(e)},e.onerror=e=>{g(),d("failed"),null==o||o(e)},c.current=e},[i,s,n,a,r,o,t]),g=()=>{c.current&&(c.current.onload=null,c.current.onerror=null,c.current=null)};return t0(()=>{if(!l)return"loading"===u&&h(),()=>{g()}},[u,h,l]),l?"loaded":u}var lo=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t;function ls(e){let{src:t,srcSet:i,onError:n,onLoad:r,getInitials:o,name:s,borderRadius:a,loading:l,iconLabel:u,icon:d=(0,T.jsx)(ln,{}),ignoreFallback:c,referrerPolicy:h,crossOrigin:g}=e,p=lr({src:t,onError:n,crossOrigin:g,ignoreFallback:c});return t&&"loaded"===p?(0,T.jsx)(sE.img,{src:t,srcSet:i,alt:s,onLoad:r,referrerPolicy:h,crossOrigin:null!=g?g:void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:a}}):s?(0,T.jsx)(li,{className:"chakra-avatar__initials",getInitials:o,name:s}):(0,O.cloneElement)(d,{role:"img","aria-label":u})}ls.displayName="AvatarImage";var la={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},ll=sA((e,t)=>{let i=s$("Avatar",e),[n,r]=(0,O.useState)(!1),{src:o,srcSet:s,name:a,showBorder:l,borderRadius:u="full",onError:d,onLoad:c,getInitials:h=lt,icon:g=(0,T.jsx)(ln,{}),iconLabel:p=" avatar",loading:f,children:m,borderColor:v,ignoreFallback:b,crossOrigin:y,..._}=tL(e),w={borderRadius:u,borderWidth:l?"2px":void 0,...la,...i.container};return v&&(w.borderColor=v),(0,T.jsx)(sE.span,{ref:t,..._,className:$("chakra-avatar",e.className),"data-loaded":Y(n),__css:w,children:(0,T.jsxs)(a4,{value:i,children:[(0,T.jsx)(ls,{src:o,srcSet:s,loading:f,onLoad:J(c,()=>{r(!0)}),onError:d,getInitials:h,name:a,borderRadius:u,icon:g,iconLabel:p,ignoreFallback:b,crossOrigin:y}),m]})})});function lu(e){return O.Children.toArray(e).filter(e=>(0,O.isValidElement)(e))}ll.displayName="Avatar";var ld=sA(function(e,t){let i=s$("Avatar",e),{children:n,borderColor:r,max:o,spacing:s="-0.75rem",borderRadius:a="full",...l}=tL(e),u=lu(n),d=null!=o?u.slice(0,o):u,c=null!=o?u.length-o:0,h=d.reverse().map((t,i)=>{var n;let o={marginEnd:0===i?0:s,size:e.size,borderColor:null!=(n=t.props.borderColor)?n:r,showBorder:!0};return(0,O.cloneElement)(t,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}(o))}),g={display:"flex",alignItems:"center",justifyContent:"flex-end",flexDirection:"row-reverse",...i.group},p={borderRadius:a,marginStart:s,...la,...i.excessLabel};return(0,T.jsxs)(sE.div,{ref:t,role:"group",__css:g,...l,className:$("chakra-avatar__group",e.className),children:[c>0&&(0,T.jsx)(sE.span,{className:"chakra-avatar__excess",__css:p,children:`+${c}`}),h]})});ld.displayName="AvatarGroup";var[lc,lh]=F({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),lg=sA(function(e,t){let{isCurrentPage:i,as:n,className:r,href:o,...s}=e,a=lh(),l={ref:t,as:n,className:$("chakra-breadcrumb__link",r),...s};return i?(0,T.jsx)(sE.span,{"aria-current":"page",__css:a.link,...l}):(0,T.jsx)(sE.a,{__css:a.link,href:o,...l})});lg.displayName="BreadcrumbLink";var lp=sA(function(e,t){let{spacing:i,...n}=e,r={mx:i,...lh().separator};return(0,T.jsx)(sE.span,{ref:t,role:"presentation",...n,__css:r})});lp.displayName="BreadcrumbSeparator";var lf=sA(function(e,t){let{isCurrentPage:i,separator:n,isLastChild:r,spacing:o,children:s,className:a,...l}=e,u=lu(s).map(e=>e.type===lg?(0,O.cloneElement)(e,{isCurrentPage:i}):e.type===lp?(0,O.cloneElement)(e,{spacing:o,children:e.props.children||n}):e),d={display:"inline-flex",alignItems:"center",...lh().item},c=$("chakra-breadcrumb__list-item",a);return(0,T.jsxs)(sE.li,{ref:t,className:c,...l,__css:d,children:[u,!r&&(0,T.jsx)(lp,{spacing:o,children:n})]})});lf.displayName="BreadcrumbItem";var lm=sA(function(e,t){let i=s$("Breadcrumb",e),{children:n,spacing:r="0.5rem",separator:o="/",className:s,listProps:a,...l}=tL(e),u=lu(n),d=u.length,c=u.map((e,t)=>(0,O.cloneElement)(e,{separator:o,spacing:r,isLastChild:d===t+1})),h=$("chakra-breadcrumb",s);return(0,T.jsx)(sE.nav,{ref:t,"aria-label":"breadcrumb",className:h,__css:i.container,...l,children:(0,T.jsx)(lc,{value:i,children:(0,T.jsx)(sE.ol,{className:"chakra-breadcrumb__list",...a,__css:{display:"flex",alignItems:"center",...i.list},children:c})})})});lm.displayName="Breadcrumb";var[lv,lb]=F({strict:!1,name:"ButtonGroupContext"}),ly={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},l_={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},lw=sA(function(e,t){let{size:i,colorScheme:n,variant:r,className:o,spacing:s="0.5rem",isAttached:a,isDisabled:l,orientation:u="horizontal",...d}=e,c=$("chakra-button__group",o),h=(0,O.useMemo)(()=>({size:i,colorScheme:n,variant:r,isDisabled:l}),[i,n,r,l]),g={display:"inline-flex",...a?ly[u]:l_[u](s)};return(0,T.jsx)(lv,{value:h,children:(0,T.jsx)(sE.div,{ref:t,role:"group",__css:g,className:c,"data-attached":a?"":void 0,"data-orientation":u,flexDir:"vertical"===u?"column":void 0,...d})})});function lC(e){let{children:t,className:i,...n}=e,r=(0,O.isValidElement)(t)?(0,O.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,o=$("chakra-button__icon",i);return(0,T.jsx)(sE.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...n,className:o,children:r})}function lS(e){let{label:t,placement:i,spacing:n="0.5rem",children:r=(0,T.jsx)(sQ,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:s,...a}=e,l=$("chakra-button__spinner",o),u="start"===i?"marginEnd":"marginStart",d=(0,O.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?n:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,u,n]);return(0,T.jsx)(sE.div,{className:l,...a,__css:d,children:r})}lw.displayName="ButtonGroup",lC.displayName="ButtonIcon",lS.displayName="ButtonSpinner";var lx=sA((e,t)=>{let i=lb(),n=sU("Button",{...i,...e}),{isDisabled:r=null==i?void 0:i.isDisabled,isLoading:o,isActive:s,children:a,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:c="0.5rem",type:h,spinner:g,spinnerPlacement:p="start",className:f,as:m,...v}=tL(e),b=(0,O.useMemo)(()=>{let e={...null==n?void 0:n._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...n,...!!i&&{_focus:e}}},[n,i]),{ref:y,type:_}=function(e){let[t,i]=(0,O.useState)(!e);return{ref:(0,O.useCallback)(e=>{e&&i("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(m),w={rightIcon:u,leftIcon:l,iconSpacing:c,children:a};return(0,T.jsxs)(sE.button,{ref:function(...e){return(0,O.useMemo)(()=>aN(...e),e)}(t,y),as:m,type:null!=h?h:_,"data-active":Y(s),"data-loading":Y(o),__css:b,className:$("chakra-button",f),...v,disabled:r||o,children:[o&&"start"===p&&(0,T.jsx)(lS,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:c,children:g}),o?d||(0,T.jsx)(sE.span,{opacity:0,children:(0,T.jsx)(lk,{...w})}):(0,T.jsx)(lk,{...w}),o&&"end"===p&&(0,T.jsx)(lS,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:c,children:g})]})});function lk(e){let{leftIcon:t,rightIcon:i,children:n,iconSpacing:r}=e;return(0,T.jsxs)(T.Fragment,{children:[t&&(0,T.jsx)(lC,{marginEnd:r,children:t}),n,i&&(0,T.jsx)(lC,{marginStart:r,children:i})]})}lx.displayName="Button";var lE=sA((e,t)=>{let{icon:i,children:n,isRound:r,"aria-label":o,...s}=e,a=i||n,l=(0,O.isValidElement)(a)?(0,O.cloneElement)(a,{"aria-hidden":!0,focusable:!1}):null;return(0,T.jsx)(lx,{padding:"0",borderRadius:r?"full":void 0,ref:t,"aria-label":o,...s,children:l})});lE.displayName="IconButton";var[lL,lD]=tU("Card"),lN=sA(function(e,t){let{className:i,...n}=e,r=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__body",i),__css:r.body,...n})}),lA=sA(function(e,t){let{className:i,justify:n,...r}=e,o=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__footer",i),__css:{display:"flex",justifyContent:n,...o.footer},...r})}),lT=sA(function(e,t){let{className:i,...n}=e,r=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__header",i),__css:r.header,...n})}),lI=sA(function(e,t){let{className:i,children:n,direction:r="column",justify:o,align:s,...a}=tL(e),l=s$("Card",e);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card",i),__css:{display:"flex",flexDirection:r,justifyContent:o,alignItems:s,position:"relative",minWidth:0,wordWrap:"break-word",...l.container},...a,children:(0,T.jsx)(lL,{value:l,children:n})})}),[lM,lR]=F({name:"CheckboxGroupContext",strict:!1});function lP(e){return e&&q(e)&&q(e.target)}function lO(e={}){let{defaultValue:t,value:i,onChange:n,isDisabled:r,isNative:o}=e,[s,a]=aj({value:i,defaultValue:t||[],onChange:sf(n)}),l=(0,O.useCallback)(e=>{if(!s)return;let t=lP(e)?e.target.checked:!s.includes(e),i=lP(e)?e.target.value:e;a(t?[...s,i]:s.filter(e=>String(e)!==String(i)))},[a,s]),u=(0,O.useCallback)((e={})=>{let t=o?"checked":"isChecked";return{...e,[t]:s.some(t=>String(e.value)===String(t)),onChange:l}},[l,o,s]);return{value:s,isDisabled:r,onChange:l,setValue:a,getCheckboxProps:u}}function lF(e){let{colorScheme:t,size:i,variant:n,children:r,isDisabled:o}=e,{value:s,onChange:a}=lO(e),l=(0,O.useMemo)(()=>({size:i,onChange:a,colorScheme:t,value:s,variant:n,isDisabled:o}),[i,a,t,s,n,o]);return(0,T.jsx)(lM,{value:l,children:r})}function lB(e){return(0,T.jsx)(sE.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,T.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function lV(e){return(0,T.jsx)(sE.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,T.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function lH(e){let{isIndeterminate:t,isChecked:i,...n}=e,r=t?lV:lB;return i||t?(0,T.jsx)(sE.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,T.jsx)(r,{...n})}):null}lF.displayName="CheckboxGroup";var[lW,lj]=F({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[lz,lU]=F({strict:!1,name:"FormControlContext"}),l$=sA(function(e,t){let i=s$("Form",e),{getRootProps:n,htmlProps:r,...o}=function(e){let{id:t,isRequired:i,isInvalid:n,isDisabled:r,isReadOnly:o,...s}=e,a=(0,O.useId)(),l=t||`field-${a}`,u=`${l}-label`,d=`${l}-feedback`,c=`${l}-helptext`,[h,g]=(0,O.useState)(!1),[p,f]=(0,O.useState)(!1),[m,v]=(0,O.useState)(!1),b=(0,O.useCallback)((e={},t=null)=>({id:c,...e,ref:aN(t,e=>{e&&f(!0)})}),[c]),y=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,"data-focus":Y(m),"data-disabled":Y(r),"data-invalid":Y(n),"data-readonly":Y(o),id:void 0!==e.id?e.id:u,htmlFor:void 0!==e.htmlFor?e.htmlFor:l}),[l,r,m,n,o,u]),_=(0,O.useCallback)((e={},t=null)=>({id:d,...e,ref:aN(t,e=>{e&&g(!0)}),"aria-live":"polite"}),[d]),w=(0,O.useCallback)((e={},t=null)=>({...e,...s,ref:t,role:"group"}),[s]);return{isRequired:!!i,isInvalid:!!n,isReadOnly:!!o,isDisabled:!!r,isFocused:!!m,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:h,setHasFeedbackText:g,hasHelpText:p,setHasHelpText:f,id:l,labelId:u,feedbackId:d,helpTextId:c,htmlProps:s,getHelpTextProps:b,getErrorMessageProps:_,getRootProps:w,getLabelProps:y,getRequiredIndicatorProps:(0,O.useCallback)((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[])}}(tL(e)),s=$("chakra-form-control",e.className);return(0,T.jsx)(lz,{value:o,children:(0,T.jsx)(lW,{value:i,children:(0,T.jsx)(sE.div,{...n({},t),className:s,__css:i.container})})})});l$.displayName="FormControl";var lq=sA(function(e,t){let i=lU(),n=lj(),r=$("chakra-form__helper-text",e.className);return(0,T.jsx)(sE.div,{...null==i?void 0:i.getHelpTextProps(e,t),__css:n.helperText,className:r})});function lK(e){let{isDisabled:t,isInvalid:i,isReadOnly:n,isRequired:r,...o}=lG(e);return{...o,disabled:t,readOnly:n,required:r,"aria-invalid":Q(i),"aria-required":Q(r),"aria-readonly":Q(n)}}function lG(e){var t,i,n;let r=lU(),{id:o,disabled:s,readOnly:a,required:l,isRequired:u,isInvalid:d,isReadOnly:c,isDisabled:h,onFocus:g,onBlur:p,...f}=e,m=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==r?void 0:r.hasFeedbackText)&&(null==r?void 0:r.isInvalid)&&m.push(r.feedbackId),(null==r?void 0:r.hasHelpText)&&m.push(r.helpTextId),{...f,"aria-describedby":m.join(" ")||void 0,id:null!=o?o:null==r?void 0:r.id,isDisabled:null!=(t=null!=s?s:h)?t:null==r?void 0:r.isDisabled,isReadOnly:null!=(i=null!=a?a:c)?i:null==r?void 0:r.isReadOnly,isRequired:null!=(n=null!=l?l:u)?n:null==r?void 0:r.isRequired,isInvalid:null!=d?d:null==r?void 0:r.isInvalid,onFocus:J(null==r?void 0:r.onFocus,g),onBlur:J(null==r?void 0:r.onBlur,p)}}lq.displayName="FormHelperText";var lZ={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},lY=!1,lQ=null,lJ=!1,lX=!1,l0=new Set;function l1(e,t){l0.forEach(i=>i(e,t))}var l2="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function l6(e){lJ=!0,e.metaKey||!l2&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(lQ="keyboard",l1("keyboard",e))}function l3(e){if(lQ="pointer","mousedown"===e.type||"pointerdown"===e.type){lJ=!0;let t=e.composedPath?e.composedPath()[0]:e.target,i=!1;try{i=t.matches(":focus-visible")}catch{}i||l1("pointer",e)}}function l8(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(lJ=!0,lQ="virtual")}function l5(e){e.target!==window&&e.target!==document&&(lJ||lX||(lQ="virtual",l1("virtual",e)),lJ=!1,lX=!1)}function l4(){lJ=!1,lX=!0}function l9(){return"pointer"!==lQ}function l7(e){(function(){if("undefined"==typeof window||lY)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){lJ=!0,e.apply(this,t)},document.addEventListener("keydown",l6,!0),document.addEventListener("keyup",l6,!0),document.addEventListener("click",l8,!0),window.addEventListener("focus",l5,!0),window.addEventListener("blur",l4,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",l3,!0),document.addEventListener("pointermove",l3,!0),document.addEventListener("pointerup",l3,!0)):(document.addEventListener("mousedown",l3,!0),document.addEventListener("mousemove",l3,!0),document.addEventListener("mouseup",l3,!0)),lY=!0})(),e(l9());let t=()=>e(l9());return l0.add(t),()=>{l0.delete(t)}}function ue(e={}){let{isDisabled:t,isReadOnly:i,isRequired:n,isInvalid:r,id:o,onBlur:s,onFocus:a,"aria-describedby":l}=lG(e),{defaultChecked:u,isChecked:d,isFocusable:c,onChange:h,isIndeterminate:g,name:p,value:f,tabIndex:m,"aria-label":v,"aria-labelledby":b,"aria-invalid":y,..._}=e,w=function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(_,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),C=sf(h),S=sf(s),x=sf(a),[k,E]=(0,O.useState)(!1),[L,D]=(0,O.useState)(!1),[N,A]=(0,O.useState)(!1),[T,I]=(0,O.useState)(!1);(0,O.useEffect)(()=>l7(E),[]);let M=(0,O.useRef)(null),[R,P]=(0,O.useState)(!0),[F,B]=(0,O.useState)(!!u),V=void 0!==d,H=V?d:F,W=(0,O.useCallback)(e=>{if(i||t){e.preventDefault();return}V||(H?B(e.target.checked):B(!!g||e.target.checked)),null==C||C(e)},[i,t,H,V,g,C]);t0(()=>{M.current&&(M.current.indeterminate=!!g)},[g]),sm(()=>{t&&D(!1)},[t,D]),t0(()=>{let e=M.current;(null==e?void 0:e.form)&&(e.form.onreset=()=>{B(!!u)})},[]);let j=t&&!c,z=(0,O.useCallback)(e=>{" "===e.key&&I(!0)},[I]),U=(0,O.useCallback)(e=>{" "===e.key&&I(!1)},[I]);t0(()=>{M.current&&M.current.checked!==H&&B(M.current.checked)},[M.current]);let $=(0,O.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":Y(T),"data-hover":Y(N),"data-checked":Y(H),"data-focus":Y(L),"data-focus-visible":Y(L&&k),"data-indeterminate":Y(g),"data-disabled":Y(t),"data-invalid":Y(r),"data-readonly":Y(i),"aria-hidden":!0,onMouseDown:J(e.onMouseDown,e=>{L&&e.preventDefault(),I(!0)}),onMouseUp:J(e.onMouseUp,()=>I(!1)),onMouseEnter:J(e.onMouseEnter,()=>A(!0)),onMouseLeave:J(e.onMouseLeave,()=>A(!1))}),[T,H,t,L,k,N,g,r,i]),q=(0,O.useCallback)((e={},i=null)=>({...w,...e,ref:aN(i,e=>{e&&P("LABEL"===e.tagName)}),onClick:J(e.onClick,()=>{var e;R||(null==(e=M.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=M.current)||e.focus({preventScroll:!0})}))}),"data-disabled":Y(t),"data-checked":Y(H),"data-invalid":Y(r)}),[w,t,H,r,R]),K=(0,O.useCallback)((e={},s=null)=>({...e,ref:aN(M,s),type:"checkbox",name:p,value:f,id:o,tabIndex:m,onChange:J(e.onChange,W),onBlur:J(e.onBlur,S,()=>D(!1)),onFocus:J(e.onFocus,x,()=>D(!0)),onKeyDown:J(e.onKeyDown,z),onKeyUp:J(e.onKeyUp,U),required:n,checked:H,disabled:j,readOnly:i,"aria-label":v,"aria-labelledby":b,"aria-invalid":y?!!y:r,"aria-describedby":l,"aria-disabled":t,style:lZ}),[p,f,o,W,S,x,z,U,n,H,j,i,v,b,y,r,l,t,m]),G=(0,O.useCallback)((e={},i=null)=>({...e,ref:i,onMouseDown:J(e.onMouseDown,ut),"data-disabled":Y(t),"data-checked":Y(H),"data-invalid":Y(r)}),[H,t,r]);return{state:{isInvalid:r,isFocused:L,isChecked:H,isActive:T,isHovered:N,isIndeterminate:g,isDisabled:t,isReadOnly:i,isRequired:n},getRootProps:q,getCheckboxProps:$,getInputProps:K,getLabelProps:G,htmlProps:w}}function ut(e){e.preventDefault(),e.stopPropagation()}var ui={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},un={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ur=(0,A.keyframes)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),uo=(0,A.keyframes)({from:{opacity:0},to:{opacity:1}}),us=(0,A.keyframes)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),ua=sA(function(e,t){let i=lR(),n=s$("Checkbox",{...i,...e}),r=tL(e),{spacing:o="0.5rem",className:s,children:a,iconColor:l,iconSize:u,icon:d=(0,T.jsx)(lH,{}),isChecked:c,isDisabled:h=null==i?void 0:i.isDisabled,onChange:g,inputProps:p,...f}=r,m=c;(null==i?void 0:i.value)&&r.value&&(m=i.value.includes(r.value));let v=g;(null==i?void 0:i.onChange)&&r.value&&(v=X(i.onChange,g));let{state:b,getInputProps:y,getCheckboxProps:_,getLabelProps:w,getRootProps:C}=ue({...f,isDisabled:h,isChecked:m,onChange:v}),S=function(e){let[t,i]=(0,O.useState)(e),[n,r]=(0,O.useState)(!1);return e!==t&&(r(!0),i(e)),n}(b.isChecked),x=(0,O.useMemo)(()=>({animation:S?b.isIndeterminate?`${uo} 20ms linear, ${us} 200ms linear`:`${ur} 200ms linear`:void 0,fontSize:u,color:l,...n.icon}),[l,u,S,b.isIndeterminate,n.icon]),k=(0,O.cloneElement)(d,{__css:x,isIndeterminate:b.isIndeterminate,isChecked:b.isChecked});return(0,T.jsxs)(sE.label,{__css:{...un,...n.container},className:$("chakra-checkbox",s),...C(),children:[(0,T.jsx)("input",{className:"chakra-checkbox__input",...y(p,t)}),(0,T.jsx)(sE.span,{__css:{...ui,...n.control},className:"chakra-checkbox__control",..._(),children:k}),a&&(0,T.jsx)(sE.span,{className:"chakra-checkbox__label",...w(),__css:{marginStart:o,...n.label},children:a})]})});ua.displayName="Checkbox";var ul=e=>{let{type:t="checkbox",_hover:i,_invalid:n,_disabled:r,_focus:o,_checked:s,_child:a={opacity:0},_checkedAndChild:l={opacity:1},_checkedAndDisabled:u,_checkedAndFocus:d,_checkedAndHover:c,children:h,...g}=e,p=`input[type=${t}]:checked:disabled + &`,f=`input[type=${t}]:checked:hover:not(:disabled) + &`,m=`input[type=${t}]:checked:focus + &`,v=`input[type=${t}]:disabled + &`,b=`input[type=${t}]:focus + &`,y=`input[type=${t}]:hover:not(:disabled):not(:checked) + &`,_=`input[type=${t}]:checked + &, input[type=${t}][aria-checked=mixed] + &`,w=`input[type=${t}][aria-invalid=true] + &`,C="& > *";return(0,T.jsx)(sE.div,{...g,"aria-hidden":!0,__css:{display:"inline-flex",alignItems:"center",justifyContent:"center",transitionProperty:"common",transitionDuration:"fast",flexShrink:0,[b]:o,[y]:i,[v]:r,[w]:n,[p]:u,[m]:d,[f]:c,[C]:a,[_]:{...s,[C]:l}},children:h})};function uu(e,t){let i;let n="number"!=typeof(i=parseFloat(e))||Number.isNaN(i)?0:i,r=10**(null!=t?t:10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function ud(e){if(!Number.isFinite(e))return 0;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i+=1;return i}function uc(e,t,i){return uu(Math.round((e-t)/i)*i+t,ud(i))}function uh(e,t,i){return null==e?e:(i{var e;return null==n?"":null!=(e=um(n,o,i))?e:""}),h=void 0!==r,g=h?r:d,p=uf(up(g),o),f=null!=i?i:p,m=(0,O.useCallback)(e=>{e!==g&&(h||c(e.toString()),null==u||u(e.toString(),up(e)))},[u,h,g]),v=(0,O.useCallback)(e=>{let t=e;return l&&(t=uh(t,s,a)),uu(t,f)},[f,l,a,s]),b=(0,O.useCallback)((e=o)=>{m(v(""===g?up(e):up(g)+e))},[v,o,m,g]),y=(0,O.useCallback)((e=o)=>{m(v(""===g?up(-e):up(g)-e))},[v,o,m,g]),_=(0,O.useCallback)(()=>{var e;m(null==n?"":null!=(e=um(n,o,i))?e:s)},[n,i,o,m,s]),w=(0,O.useCallback)(e=>{var t;m(null!=(t=um(e,o,f))?t:s)},[f,o,m,s]),C=up(g);return{isOutOfRange:C>a||C\" "}),[uy,u_]=F({name:"EditableContext",errorMessage:"useEditableContext: context is undefined. Seems you forgot to wrap the editable components in ``"});function uw(){let{isEditing:e,onSubmit:t,onCancel:i,onEdit:n,isDisabled:r}=u_();return{isEditing:e,onSubmit:t,onCancel:i,onEdit:n,isDisabled:r}}var uC={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent"},uS=sA(function(e,t){let{getInputProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__input",e.className);return(0,T.jsx)(sE.input,{...r,__css:{outline:0,...uC,...n.input},className:o})});uS.displayName="EditableInput";var ux=sA(function(e,t){let{getPreviewProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__preview",e.className);return(0,T.jsx)(sE.span,{...r,__css:{cursor:"text",display:"inline-block",...uC,...n.preview},className:o})});ux.displayName="EditablePreview";var uk=sA(function(e,t){let{getTextareaProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__textarea",e.className);return(0,T.jsx)(sE.textarea,{...r,__css:{outline:0,...uC,...n.textarea},className:o})});function uE(e,t,i,n){let r=sf(i);return(0,O.useEffect)(()=>{let o="function"==typeof e?e():null!=e?e:document;if(i&&o)return o.addEventListener(t,r,n),()=>{o.removeEventListener(t,r,n)}},[t,e,n,r,i]),()=>{let i="function"==typeof e?e():null!=e?e:document;null==i||i.removeEventListener(t,r,n)}}uk.displayName="EditableTextarea";var uL=()=>"undefined"!=typeof window,uD=e=>uL()&&e.test(navigator.vendor),uN=e=>uL()&&e.test(function(){var e;let t=navigator.userAgentData;return null!=(e=null==t?void 0:t.platform)?e:navigator.platform}()),uA=()=>uN(/mac|iphone|ipad|ipod/i),uT=()=>uA()&&uD(/apple/i);function uI(e){let{ref:t,elements:i,enabled:n}=e,r=()=>{var e,i;return null!=(i=null==(e=t.current)?void 0:e.ownerDocument)?i:document};uE(r,"pointerdown",e=>{if(!uT()||!n)return;let o=e.target,s=(null!=i?i:[t]).some(e=>{let t="current"in e?e.current:e;return(null==t?void 0:t.contains(o))||t===o});r().activeElement!==o&&s&&(e.preventDefault(),o.focus())})}function uM(e,t){return!!e&&(e===t||e.contains(t))}function uR(e={}){let{onChange:t,onCancel:i,onSubmit:n,onBlur:r,value:o,isDisabled:s,defaultValue:a,startWithEditView:l,isPreviewFocusable:u=!0,submitOnBlur:d=!0,selectAllOnFocus:c=!0,placeholder:h,onEdit:g,finalFocusRef:p,...f}=e,m=sf(g),v=!!(l&&!s),[b,y]=(0,O.useState)(v),[_,w]=aj({defaultValue:a||"",value:o,onChange:t}),[C,S]=(0,O.useState)(_),x=(0,O.useRef)(null),k=(0,O.useRef)(null),E=(0,O.useRef)(null),L=(0,O.useRef)(null),D=(0,O.useRef)(null);uI({ref:x,enabled:b,elements:[L,D]});let N=!b&&!s;t0(()=>{var e,t;b&&(null==(e=x.current)||e.focus(),c&&(null==(t=x.current)||t.select()))},[]),sm(()=>{var e,t,i,n;if(!b){p?null==(e=p.current)||e.focus():null==(t=E.current)||t.focus();return}null==(i=x.current)||i.focus(),c&&(null==(n=x.current)||n.select()),null==m||m()},[b,m,c]);let A=(0,O.useCallback)(()=>{N&&y(!0)},[N]),T=(0,O.useCallback)(()=>{S(_)},[_]),I=(0,O.useCallback)(()=>{y(!1),w(C),null==i||i(C),null==r||r(C)},[i,r,w,C]),M=(0,O.useCallback)(()=>{y(!1),S(_),null==n||n(_),null==r||r(C)},[_,n,r,C]);(0,O.useEffect)(()=>{if(b)return;let e=x.current;(null==e?void 0:e.ownerDocument.activeElement)===e&&(null==e||e.blur())},[b]);let R=(0,O.useCallback)(e=>{w(e.currentTarget.value)},[w]),P=(0,O.useCallback)(e=>{let t={Escape:I,Enter:e=>{e.shiftKey||e.metaKey||M()}}[e.key];t&&(e.preventDefault(),t(e))},[I,M]),F=(0,O.useCallback)(e=>{let t={Escape:I}[e.key];t&&(e.preventDefault(),t(e))},[I]),B=0===_.length,V=(0,O.useCallback)(e=>{var t;if(!b)return;let i=e.currentTarget.ownerDocument,n=null!=(t=e.relatedTarget)?t:i.activeElement,r=uM(L.current,n),o=uM(D.current,n);r||o||(d?M():I())},[d,M,I,b]),H=(0,O.useCallback)((e={},t=null)=>{let i=N&&u?0:void 0;return{...e,ref:aN(t,k),children:B?h:_,hidden:b,"aria-disabled":Q(s),tabIndex:i,onFocus:J(e.onFocus,A,T)}},[s,b,N,u,B,A,T,h,_]),W=(0,O.useCallback)((e={},t=null)=>({...e,hidden:!b,placeholder:h,ref:aN(t,x),disabled:s,"aria-disabled":Q(s),value:_,onBlur:J(e.onBlur,V),onChange:J(e.onChange,R),onKeyDown:J(e.onKeyDown,P),onFocus:J(e.onFocus,T)}),[s,b,V,R,P,T,h,_]),j=(0,O.useCallback)((e={},t=null)=>({...e,hidden:!b,placeholder:h,ref:aN(t,x),disabled:s,"aria-disabled":Q(s),value:_,onBlur:J(e.onBlur,V),onChange:J(e.onChange,R),onKeyDown:J(e.onKeyDown,F),onFocus:J(e.onFocus,T)}),[s,b,V,R,F,T,h,_]),z=(0,O.useCallback)((e={},t=null)=>({"aria-label":"Edit",...e,type:"button",onClick:J(e.onClick,A),ref:aN(t,E),disabled:s}),[A,s]),U=(0,O.useCallback)((e={},t=null)=>({...e,"aria-label":"Submit",ref:aN(D,t),type:"button",onClick:J(e.onClick,M),disabled:s}),[M,s]),$=(0,O.useCallback)((e={},t=null)=>({"aria-label":"Cancel",id:"cancel",...e,ref:aN(L,t),type:"button",onClick:J(e.onClick,I),disabled:s}),[I,s]);return{isEditing:b,isDisabled:s,isValueEmpty:B,value:_,onEdit:A,onCancel:I,onSubmit:M,getPreviewProps:H,getInputProps:W,getTextareaProps:j,getEditButtonProps:z,getSubmitButtonProps:U,getCancelButtonProps:$,htmlProps:f}}var uP=sA(function(e,t){let i=s$("Editable",e),{htmlProps:n,...r}=uR(tL(e)),{isEditing:o,onSubmit:s,onCancel:a,onEdit:l}=r,u=$("chakra-editable",e.className),d=G(e.children,{isEditing:o,onSubmit:s,onCancel:a,onEdit:l});return(0,T.jsx)(uy,{value:r,children:(0,T.jsx)(uv,{value:i,children:(0,T.jsx)(sE.div,{ref:t,...n,className:u,children:d})})})});function uO(){let{isEditing:e,getEditButtonProps:t,getCancelButtonProps:i,getSubmitButtonProps:n}=u_();return{isEditing:e,getEditButtonProps:t,getCancelButtonProps:i,getSubmitButtonProps:n}}uP.displayName="Editable";var uF=i(98283),uB=i(7560),uV="data-focus-lock",uH="data-focus-lock-disabled";function uW(e,t){var i,n,r;return i=t||null,n=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(r=(0,O.useState)(function(){return{value:i,callback:n,facade:{get current(){return r.value},set current(value){var e=r.value;e!==value&&(r.value=value,r.callback(value,e))}}}})[0]).callback=n,r.facade}var uj={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},uz=function(e){var t=e.children;return O.createElement(O.Fragment,null,O.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:uj}),t,t&&O.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:uj}))};uz.propTypes={},uz.defaultProps={children:null};var uU=i(5163);function u$(e){return e}function uq(e,t){void 0===t&&(t=u$);var i=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(e){var r=t(e,n);return i.push(r),function(){i=i.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(n=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){n=!0;var t=[];if(i.length){var r=i;i=[],r.forEach(e),t=i}var o=function(){var i=t;t=[],i.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),i={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),i}}}}}function uK(e,t){return void 0===t&&(t=u$),uq(e,t)}function uG(e){void 0===e&&(e={});var t=uq(null);return t.options=(0,uU.pi)({async:!0,ssr:!1},e),t}var uZ=uK({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),uY=uK(),uQ=uK(),uJ=uG({async:!0}),uX=[],u0=O.forwardRef(function(e,t){var i,n=O.useState(),r=n[0],o=n[1],s=O.useRef(),a=O.useRef(!1),l=O.useRef(null),u=e.children,d=e.disabled,c=e.noFocusGuards,h=e.persistentFocus,g=e.crossFrame,p=e.autoFocus,f=(e.allowTextSelection,e.group),m=e.className,v=e.whiteList,b=e.hasPositiveIndices,y=e.shards,_=void 0===y?uX:y,w=e.as,C=void 0===w?"div":w,S=e.lockProps,x=void 0===S?{}:S,k=e.sideCar,E=e.returnFocus,L=e.focusOptions,D=e.onActivation,N=e.onDeactivation,A=O.useState({})[0],T=O.useCallback(function(){l.current=l.current||document&&document.activeElement,s.current&&D&&D(s.current),a.current=!0},[D]),I=O.useCallback(function(){a.current=!1,N&&N(s.current)},[N]);(0,O.useEffect)(function(){d||(l.current=null)},[]);var M=O.useCallback(function(e){var t=l.current;if(t&&t.focus){var i="function"==typeof E?E(t):E;if(i){var n="object"==typeof i?i:void 0;l.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}}},[E]),R=O.useCallback(function(e){a.current&&uZ.useMedium(e)},[]),P=uY.useMedium,F=O.useCallback(function(e){s.current!==e&&(s.current=e,o(e))},[]),B=(0,uB.Z)(((i={})[uH]=d&&"disabled",i[uV]=f,i),x),V=!0!==c,H=V&&"tail"!==c,W=uW([t,F]);return O.createElement(O.Fragment,null,V&&[O.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:uj}),b?O.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:uj}):null],!d&&O.createElement(k,{id:A,sideCar:uJ,observed:r,disabled:d,persistentFocus:h,crossFrame:g,autoFocus:p,whiteList:v,shards:_,onActivation:T,onDeactivation:I,returnFocus:M,focusOptions:L}),O.createElement(C,(0,uB.Z)({ref:W},B,{className:m,onBlur:P,onFocus:R}),u),H&&O.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:uj}))});u0.propTypes={},u0.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var u1=i(74938),u2=i(51119),u6=function(e){for(var t=Array(e.length),i=0;i=0}).sort(du)},dc="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",dh="".concat(dc,", [data-focus-guard]"),dg=function(e,t){return u6((e.shadowRoot||e).children).reduce(function(e,i){return e.concat(i.matches(t?dh:dc)?[i]:[],dg(i))},[])},dp=function(e,t){var i;return e instanceof HTMLIFrameElement&&(null===(i=e.contentDocument)||void 0===i?void 0:i.body)?df([e.contentDocument.body],t):[e]},df=function(e,t){return e.reduce(function(e,i){var n,r=dg(i,t),o=(n=[]).concat.apply(n,r.map(function(e){return dp(e,t)}));return e.concat(o,i.parentNode?u6(i.parentNode.querySelectorAll(dc)).filter(function(e){return e===i}):[])},[])},dm=function(e,t){return u6(e).filter(function(e){return u7(t,e)}).filter(function(e){return!((di(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},dv=function(e,t){return void 0===t&&(t=new Map),u6(e).filter(function(e){return de(t,e)})},db=function(e,t,i){return dd(dm(df(e,i),t),!0,i)},dy=function(e,t){return dd(dm(df(e),t),!1)},d_=function(e,t){return e.shadowRoot?d_(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||u6(e.children).some(function(e){var i;if(e instanceof HTMLIFrameElement){var n=null===(i=e.contentDocument)||void 0===i?void 0:i.body;return!!n&&d_(n,t)}return d_(e,t)})},dw=function(e){try{return e()}catch(e){return}},dC=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?dC(t.shadowRoot):t instanceof HTMLIFrameElement&&dw(function(){return t.contentWindow.document})?dC(t.contentWindow.document):t}},dS=function(e){void 0===e&&(e=document);var t=dC(e);return!!t&&u6(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return d_(e,t)})},dx=function(e){for(var t=new Set,i=e.length,n=0;n0&&t.add(r),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,i){return!t.has(i)})},dk=function(e){return e.parentNode?dk(e.parentNode):e},dE=function(e){return u3(e).filter(Boolean).reduce(function(e,t){var i=t.getAttribute(uV);return e.push.apply(e,i?dx(u6(dk(t).querySelectorAll("[".concat(uV,'="').concat(i,'"]:not([').concat(uH,'="disabled"])')))):[t]),e},[])},dL=function(e,t){return void 0===t&&(t=dC(u8(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&dE(e).some(function(e){var i;return d_(e,t)||(i=t,!!u6(e.querySelectorAll("iframe")).some(function(e){return e===i}))})},dD=function(e,t){return dn(e)&&e.name&&t.filter(dn).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},dN=function(e){var t=new Set;return e.forEach(function(i){return t.add(dD(i,e))}),e.filter(function(e){return t.has(e)})},dA=function(e){return e[0]&&e.length>1?dD(e[0],e):e[0]},dT=function(e,t){return e.length>1?e.indexOf(dD(e[t],e)):t},dI="NEW_FOCUS",dM=function(e,t,i,n){var r=e.length,o=e[0],s=e[r-1],a=ds(i);if(!(i&&e.indexOf(i)>=0)){var l=void 0!==i?t.indexOf(i):-1,u=n?t.indexOf(n):l,d=n?e.indexOf(n):-1,c=l-u,h=t.indexOf(o),g=t.indexOf(s),p=dN(t),f=(void 0!==i?p.indexOf(i):-1)-(n?p.indexOf(n):l),m=dT(e,0),v=dT(e,r-1);if(-1===l||-1===d)return dI;if(!c&&d>=0)return d;if(l<=h&&a&&Math.abs(c)>1)return v;if(l>=g&&a&&Math.abs(c)>1)return m;if(c&&Math.abs(f)>1)return d;if(l<=h)return v;if(l>g)return m;if(c)return Math.abs(c)>1?d:(r+d+c)%r}},dR=function(e,t,i){var n=dv(e.map(function(e){return e.node}).filter(function(e){var t,n=null===(t=dt(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||i.indexOf(e)>=0}));return n&&n.length?dA(n):dA(dv(t))},dP=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&dP(e.parentNode.host||e.parentNode,t),t},dO=function(e,t){for(var i=dP(e),n=dP(t),r=0;r=0)return o}return!1},dF=function(e,t,i){var n=u3(e),r=u3(t),o=n[0],s=!1;return r.filter(Boolean).forEach(function(e){s=dO(s||e,e)||s,i.filter(Boolean).forEach(function(e){var t=dO(o,e);t&&(s=!s||d_(t,s)?t:dO(t,s))})}),s},dB=function(e,t){var i=new Map;return t.forEach(function(e){return i.set(e.node,e)}),e.map(function(e){return i.get(e)}).filter(dl)},dV=function(e,t){var i=dC(u3(e).length>0?document:u8(e).ownerDocument),n=dE(e).filter(da),r=dF(i||e,e,n),o=new Map,s=dy(n,o),a=db(n,o).filter(function(e){return da(e.node)});if(a[0]||(a=s)[0]){var l=dy([r],o).map(function(e){return e.node}),u=dB(l,a),d=u.map(function(e){return e.node}),c=dM(d,l,i,t);if(c===dI){var h=dR(s,d,n.reduce(function(e,t){return e.concat(dm(u6(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return df([e])}).reduce(function(e,t){return e.concat(t)},[]),o))},[]));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===c?c:u[c]}},dH=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},dW=0,dj=!1;let dz=function(e,t,i){void 0===i&&(i={});var n=dV(e,t);if(!dj&&n){if(dW>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),dj=!0,setTimeout(function(){dj=!1},1);return}dW++,dH(n.node,i.focusOptions),dW--}};var dU=function(e){var t=dE(e).filter(da),i=dF(e,e,t),n=new Map,r=db([i],n,!0),o=db(t,n).filter(function(e){return da(e.node)}).map(function(e){return e.node});return r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:ds(t)}})};function d$(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var dq=null,dK=null,dG=null,dZ=!1,dY=function(e,t){dG={observerNode:e,portaledElement:t}};function dQ(e,t,i,n){var r=null,o=e;do{var s=n[o];if(s.guard)s.node.dataset.focusAutoGuard&&(r=s);else if(s.lockItem){if(o!==e)return;r=null}else break}while((o+=i)!==t)r&&(r.node.tabIndex=0)}var dJ=function(e){return e&&"current"in e?e.current:e},dX=function(){var e=!1;if(dq){var t=dq,i=t.observed,n=t.persistentFocus,r=t.autoFocus,o=t.shards,s=t.crossFrame,a=t.focusOptions,l=i||dG&&dG.portaledElement,u=document&&document.activeElement;if(l){var d=[l].concat(o.map(dJ).filter(Boolean));if((!u||(dq.whiteList||function(){return!0})(u))&&(n||(s?!!dZ:"meanwhile"===dZ)||!(document&&document.activeElement===document.body||dS())||!dK&&r)&&(l&&!(dL(d)||u&&d.some(function(e){return function e(t,i,n){return i&&(i.host===t&&(!i.activeElement||n.contains(i.activeElement))||i.parentNode&&e(t,i.parentNode,n))}(u,e,e)})||dG&&dG.portaledElement===u)&&(document&&!dK&&u&&!r?(u.blur&&u.blur(),document.body.focus()):(e=dz(d,dK,{focusOptions:a}),dG={})),dZ=!1,dK=document&&document.activeElement),document){var c=document&&document.activeElement,h=dU(d),g=h.map(function(e){return e.node}).indexOf(c);g>-1&&(h.filter(function(e){var t=e.guard,i=e.node;return t&&i.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),dQ(g,h.length,1,h),dQ(g,-1,-1,h))}}}return e},d0=function(e){dX()&&e&&(e.stopPropagation(),e.preventDefault())},d1=function(){return d$(dX)},d2=function(){dZ="just",setTimeout(function(){dZ="meanwhile"},0)},d6=function(){document.addEventListener("focusin",d0),document.addEventListener("focusout",d1),window.addEventListener("blur",d2)},d3=function(){document.removeEventListener("focusin",d0),document.removeEventListener("focusout",d1),window.removeEventListener("blur",d2)};uZ.assignSyncMedium(function(e){var t=e.target,i=e.currentTarget;i.contains(t)||dY(i,t)}),uY.assignMedium(d1),uQ.assignMedium(function(e){return e({moveFocusInside:dz,focusInside:dL})});let d8=(n=function(e){var t=e.slice(-1)[0];t&&!dq&&d6();var i=dq,n=i&&t&&t.id===i.id;dq=t,!i||n||(i.onDeactivation(),e.filter(function(e){return e.id===i.id}).length||i.returnFocus(!t)),t?(dK=null,n&&i.observed===t.observed||t.onActivation(),dX(!0),d$(dX)):(d3(),dK=null)},function(e){var t,i=[];function r(){n(t=i.map(function(e){return e.props}).filter(function(e){return!e.disabled}))}var o=function(n){function o(){return n.apply(this,arguments)||this}o.prototype=Object.create(n.prototype),o.prototype.constructor=o,u1.Z(o,n),o.peek=function(){return t};var s=o.prototype;return s.componentDidMount=function(){i.push(this),r()},s.componentDidUpdate=function(){r()},s.componentWillUnmount=function(){var e=i.indexOf(this);i.splice(e,1),r()},s.render=function(){return O.createElement(e,this.props)},o}(O.PureComponent);return u2.Z(o,"displayName","SideEffect("+(e.displayName||e.name||"Component")+")"),o})(function(){return null});var d5=O.forwardRef(function(e,t){return O.createElement(u0,(0,uB.Z)({sideCar:d8,ref:t},e))}),d4=u0.propTypes||{};function d9(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function d7(e){var t;if(!d9(e))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}function ce(e){return d9(e)?e.ownerDocument:document}d4.sideCar,(0,uF.Z)(d4,["sideCar"]),d5.propTypes={};var ct=e=>e.hasAttribute("tabindex"),ci=e=>ct(e)&&-1===e.tabIndex;function cn(e){var t;let i;if(!d7(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in r?r[n]():!!("false"!==(i=e.getAttribute("contenteditable"))&&null!=i)||ct(e)}var cr=e=>e.offsetWidth>0&&e.offsetHeight>0;function co(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>cn(e)&&cr(e))}var cs=null!=(D=d5.default)?D:d5,ca=e=>{let{initialFocusRef:t,finalFocusRef:i,contentRef:n,restoreFocus:r,children:o,isDisabled:s,autoFocus:a,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=(0,O.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==n?void 0:n.current)&&0===co(n.current).length&&requestAnimationFrame(()=>{var e;null==(e=n.current)||e.focus()})},[t,n]),c=(0,O.useCallback)(()=>{var e;null==(e=null==i?void 0:i.current)||e.focus()},[i]),h=r&&!i;return(0,T.jsx)(cs,{crossFrame:u,persistentFocus:l,autoFocus:a,disabled:s,onActivation:d,onDeactivation:c,returnFocus:h,children:o})};ca.displayName="FocusLock";var[cl,cu]=F({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),cd=sA((e,t)=>{let i=s$("FormError",e),n=tL(e),r=lU();return(null==r?void 0:r.isInvalid)?(0,T.jsx)(cl,{value:i,children:(0,T.jsx)(sE.div,{...null==r?void 0:r.getErrorMessageProps(n,t),className:$("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...i.text}})}):null});cd.displayName="FormErrorMessage";var cc=sA((e,t)=>{let i=cu(),n=lU();if(!(null==n?void 0:n.isInvalid))return null;let r=$("chakra-form__error-icon",e.className);return(0,T.jsx)(sG,{ref:t,"aria-hidden":!0,...e,__css:i.icon,className:r,children:(0,T.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})});cc.displayName="FormErrorIcon";var ch=sA(function(e,t){var i;let n=sU("FormLabel",e),r=tL(e),{className:o,children:s,requiredIndicator:a=(0,T.jsx)(cg,{}),optionalIndicator:l=null,...u}=r,d=lU(),c=null!=(i=null==d?void 0:d.getLabelProps(u,t))?i:{ref:t,...u};return(0,T.jsxs)(sE.label,{...c,className:$("chakra-form__label",r.className),__css:{display:"block",textAlign:"start",...n},children:[s,(null==d?void 0:d.isRequired)?a:l]})});ch.displayName="FormLabel";var cg=sA(function(e,t){let i=lU(),n=lj();if(!(null==i?void 0:i.isRequired))return null;let r=$("chakra-form__required-indicator",e.className);return(0,T.jsx)(sE.span,{...null==i?void 0:i.getRequiredIndicatorProps(e,t),__css:n.requiredIndicator,className:r})});function cp(e){let t=(0,O.useRef)();return(0,O.useEffect)(()=>{t.current=e},[e]),t.current}function cf(e={}){let{timeout:t=300,preventDefault:i=()=>!0}=e,[n,r]=(0,O.useState)([]),o=(0,O.useRef)(),s=()=>{o.current&&(clearTimeout(o.current),o.current=null)},a=()=>{s(),o.current=setTimeout(()=>{r([]),o.current=null},t)};return(0,O.useEffect)(()=>s,[]),function(e){return t=>{if("Backspace"===t.key){let e=[...n];e.pop(),r(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){let o=n.concat(t.key);i(t)&&(t.preventDefault(),t.stopPropagation()),r(o),e(o.join("")),a()}}}}function cm(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function cv(e){var t;if(!cm(e))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}function cb(e){var t;return cm(e)&&null!=(t=e.ownerDocument)?t:document}function cy(e){var t;return null!=(t=e.view)?t:window}cg.displayName="RequiredIndicator";var c_=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function cw(e,t){return!!e&&(e===t||e.contains(t))}var cC=c_?O.useLayoutEffect:O.useEffect;function cS(e,t=[]){let i=(0,O.useRef)(e);return cC(()=>{i.current=e}),(0,O.useCallback)((...e)=>{var t;return null==(t=i.current)?void 0:t.call(i,...e)},t)}function cx(e,t){let i=cS(e);(0,O.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{i()},t),()=>{e&&window.clearTimeout(e)}},[t,i])}function ck(e,t){let i=(0,O.useRef)();(0,O.useEffect)(()=>{if(i.current){let n=Object.keys({...i.current,...t}),r={};n.forEach(e=>{i.current[e]!==t[e]&&(r[e]={from:i.current[e],to:t[e]})}),Object.keys(r).length&&console.log("[why-did-you-update]",e,r)}i.current=t})}function cE(e,t){let i=cS(e);(0,O.useEffect)(()=>{let e=null;return null!==t&&(e=window.setInterval(()=>i(),t)),()=>{e&&window.clearInterval(e)}},[t,i])}function cL(e){let t=(0,O.useRef)(null);return t.current=e,t}function cD(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(i){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function cN(...e){return(0,O.useMemo)(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{e&&cD(e,t)})},e)}function cA(e,t,i,n){let r=cS(t);return(0,O.useEffect)(()=>{var o;let s=null!=(o=tM(i))?o:document;if(t)return s.addEventListener(e,r,n),()=>{s.removeEventListener(e,r,n)}},[e,i,n,r,t]),()=>{var t;(null!=(t=tM(i))?t:document).removeEventListener(e,r,n)}}function cT(e=!0){let t=(0,O.useRef)();return cA("mousedown",i=>{e&&(t.current=i.target)}),t}function cI(e){let{ref:t,handler:i,enabled:n=!0}=e,r=cS(i),o=(0,O.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,O.useEffect)(()=>{if(!n)return;let e=e=>{cM(e,t)&&(o.isPointerDown=!0)},s=e=>{if(o.ignoreEmulatedMouseEvents){o.ignoreEmulatedMouseEvents=!1;return}o.isPointerDown&&i&&cM(e,t)&&(o.isPointerDown=!1,r(e))},a=e=>{o.ignoreEmulatedMouseEvents=!0,i&&o.isPointerDown&&cM(e,t)&&(o.isPointerDown=!1,r(e))},l=cb(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",s,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",a,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",s,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",a,!0)}},[i,t,r,o,n])}function cM(e,t){var i;let n=e.target;return(!n||!!cb(n).contains(n))&&!(null==(i=t.current)?void 0:i.contains(n))}var cR={pageX:0,pageY:0};function cP(e,t="page"){return{point:e.touches?function(e,t="page"){let i=e.touches[0]||e.changedTouches[0]||cR;return{x:i[`${t}X`],y:i[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}}var cO=(e,t=!1)=>{let i=t=>e(t,cP(t));return t?e=>{let t=cy(e),n=e instanceof t.MouseEvent;(!n||n&&0===e.button)&&i(e)}:i},cF=()=>c_&&null===window.onpointerdown,cB=()=>c_&&null===window.ontouchstart,cV=()=>c_&&null===window.onmousedown,cH={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},cW={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function cj(e){return cF()?e:cB()?cW[e]:cV()?cH[e]:e}function cz(e,t,i,n){var r,o;return r=cj(t),o=cO(i,"pointerdown"===t),e.addEventListener(r,o,n),()=>{e.removeEventListener(r,o,n)}}function cU(e,t,i,n){return cA(cj(t),cO(i,"pointerdown"===t),e,n)}function c$(e,t=[]){return(0,O.useEffect)(()=>()=>e(),t)}var cq=Object.defineProperty,cK=(e,t,i)=>t in e?cq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,cG=(e,t,i)=>(cK(e,"symbol"!=typeof t?t+"":t,i),i);let cZ=1/60*1e3,cY="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),cQ="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cY()),cZ),cJ=!0,cX=!1,c0=!1,c1={delta:0,timestamp:0},c2=["read","update","preRender","render","postRender"],c6=c2.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;icX=!0),e),{}),c3=c2.reduce((e,t)=>{let i=c6[t];return e[t]=(e,t=!1,n=!1)=>(cX||c9(),i.schedule(e,t,n)),e},{}),c8=c2.reduce((e,t)=>(e[t]=c6[t].cancel,e),{});c2.reduce((e,t)=>(e[t]=()=>c6[t].process(c1),e),{});let c5=e=>c6[e].process(c1),c4=e=>{cX=!1,c1.delta=cJ?cZ:Math.max(Math.min(e-c1.timestamp,40),1),c1.timestamp=e,c0=!0,c2.forEach(c5),c0=!1,cX&&(cJ=!1,cQ(c4))},c9=()=>{cX=!0,cJ=!0,c0||cQ(c4)},c7=()=>c1;var he=class{constructor(e,t,i){if(cG(this,"history",[]),cG(this,"startEvent",null),cG(this,"lastEvent",null),cG(this,"lastEventInfo",null),cG(this,"handlers",{}),cG(this,"removeListeners",tR),cG(this,"threshold",3),cG(this,"win"),cG(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;let e=hi(this.lastEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return tT(e)&&tT(t)?tF(e,t):tB(e)&&tB(t)?Math.sqrt(tF(e.x,t.x)**2+tF(e.y,t.y)**2):0}(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!i)return;let{timestamp:n}=c7();this.history.push({...e.point,timestamp:n});let{onStart:r,onMove:o}=this.handlers;t||(null==r||r(this.lastEvent,e),this.startEvent=this.lastEvent),null==o||o(this.lastEvent,e)}),cG(this,"onPointerMove",(e,t)=>{if(this.lastEvent=e,this.lastEventInfo=t,function(e){let t=cy(e);return void 0!==t.PointerEvent&&e instanceof t.PointerEvent?!("mouse"!==e.pointerType):e instanceof t.MouseEvent}(e)&&0===e.buttons){this.onPointerUp(e,t);return}c3.update(this.updatePoint,!0)}),cG(this,"onPointerUp",(e,t)=>{let i=hi(t,this.history),{onEnd:n,onSessionEnd:r}=this.handlers;null==r||r(e,i),this.end(),n&&this.startEvent&&(null==n||n(e,i))}),this.win=cy(e),function(e){return!!e.touches&&e.touches.length>1}(e))return;this.handlers=t,i&&(this.threshold=i),e.stopPropagation(),e.preventDefault();let n=cP(e),{timestamp:r}=c7();this.history=[{...n.point,timestamp:r}];let{onSessionStart:o}=t;null==o||o(e,hi(n,this.history)),this.removeListeners=tO(cz(this.win,"pointermove",this.onPointerMove),cz(this.win,"pointerup",this.onPointerUp),cz(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),c8.update(this.updatePoint)}};function ht(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hi(e,t){return{point:e.point,delta:ht(e.point,t[t.length-1]),offset:ht(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=e[e.length-1];for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>hn(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}var hn=e=>1e3*e;function hr(e,t){let{onPan:i,onPanStart:n,onPanEnd:r,onPanSessionStart:o,onPanSessionEnd:s,threshold:a}=t,l=!!(i||n||r||o||s),u=(0,O.useRef)(null),d={onSessionStart:o,onSessionEnd:s,onStart:n,onMove:i,onEnd(e,t){u.current=null,null==r||r(e,t)}};(0,O.useEffect)(()=>{var e;null==(e=u.current)||e.updateHandlers(d)}),cU(()=>e.current,"pointerdown",l?function(e){u.current=new he(e,d,a)}:tR),c$(()=>{var e;null==(e=u.current)||e.end(),u.current=null})}function ho(e,t){let i=(0,O.useId)();return(0,O.useMemo)(()=>e||[t,i].filter(Boolean).join("-"),[e,t,i])}function hs(e,...t){let i=ho(e);return(0,O.useMemo)(()=>t.map(e=>`${e}-${i}`),[i,t])}function ha(e){let[t,i]=(0,O.useState)(null);return{ref:(0,O.useCallback)(t=>{i(t?e:null)},[e]),id:t,isRendered:!!t}}function hl(e,t){let i=void 0!==e;return[i,i&&void 0!==e?e:t]}function hu(e){let{value:t,defaultValue:i,onChange:n,shouldUpdate:r=(e,t)=>e!==t}=e,o=cS(n),s=cS(r),[a,l]=(0,O.useState)(i),u=void 0!==t,d=u?t:a,c=(0,O.useCallback)(e=>{let t=tM(e,d);s(d,t)&&(u||l(t),o(t))},[u,o,d,s]);return[d,c]}function hd(e={}){let{onClose:t,onOpen:i,isOpen:n,id:r}=e,o=cS(i),s=cS(t),[a,l]=(0,O.useState)(e.defaultIsOpen||!1),[u,d]=hl(n,a),c=ho(r,"disclosure"),h=(0,O.useCallback)(()=>{u||l(!1),null==s||s()},[u,s]),g=(0,O.useCallback)(()=>{u||l(!0),null==o||o()},[u,o]),p=(0,O.useCallback)(()=>{(d?h:g)()},[d,g,h]);return{isOpen:!!d,onOpen:g,onClose:h,onToggle:p,isControlled:u,getButtonProps:(e={})=>({...e,"aria-expanded":d,"aria-controls":c,onClick:function(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}(e.onClick,p)}),getDisclosureProps:(e={})=>({...e,hidden:!d,id:c})}}function hc(){let e=(0,O.useRef)(new Map),t=e.current,i=(0,O.useCallback)((t,i,n,r)=>{let o=cO(n,"pointerdown"===i);e.current.set(n,{__listener:o,type:cj(i),el:t,options:r}),t.addEventListener(i,o,r)},[]),n=(0,O.useCallback)((t,i,n,r)=>{let{__listener:o}=e.current.get(n);t.removeEventListener(i,o,r),e.current.delete(o)},[]);return(0,O.useEffect)(()=>()=>{t.forEach((e,t)=>{n(e.el,e.type,t,e.options)})},[n,t]),{add:i,remove:n}}var hh=(e,t)=>{let i=(0,O.useRef)(!1),n=(0,O.useRef)(!1);(0,O.useEffect)(()=>{if(i.current&&n.current)return e();n.current=!0},t),(0,O.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[])},hg=e=>e.hasAttribute("tabindex"),hp=e=>hg(e)&&-1===e.tabIndex;function hf(e){return(cv(e)?cb(e):document).activeElement===e}function hm(e){var t;let i;if(!cv(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in r?r[n]():!!("false"!==(i=e.getAttribute("contenteditable"))&&null!=i)||hg(e)}function hv(e,t={}){let{isActive:i=hf,nextTick:n,preventScroll:r=!0,selectTextIfInput:o=!0}=t;if(!e||i(e))return -1;function s(){if(!e){tP({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}!function(){if(null==hb){hb=!1;try{document.createElement("div").focus({get preventScroll(){return hb=!0,!0}})}catch(e){}}return hb}()?(e.focus(),r&&function(e){for(let{element:t,scrollTop:i,scrollLeft:n}of e)t.scrollTop=i,t.scrollLeft=n}(function(e){var t;let i=cb(e),n=null!=(t=i.defaultView)?t:window,r=e.parentNode,o=[],s=i.scrollingElement||i.documentElement;for(;r instanceof n.HTMLElement&&r!==s;)(r.offsetHeight{let t=e.current;t&&i&&(document.activeElement&&t.contains(document.activeElement)||hv(t,{preventScroll:n,nextTick:!0}))},[i,e,n])}function h_(e,t){let{shouldFocus:i,visible:n,focusRef:r}=t,o=i&&!n;hh(()=>{if(!o||function(e){let t,i=e.current;if(!i)return!1;let n=null==(t=cb(i))?void 0:t.activeElement;return!(!n||cw(i,n))&&!!(n&&cv(n)&&hm(n)&&!hp(n))}(e))return;let t=(null==r?void 0:r.current)||e.current;t&&hv(t,{nextTick:!0})},[o,e,r])}function hw(e){let{ref:t,elements:i,enabled:n}=e,r=!!c_&&"Safari"===function(e){let{userAgent:t,vendor:i}=e,n=/(android)/i.test(t);switch(!0){case/CriOS/.test(t):return"Chrome for iOS";case/Edg\//.test(t):return"Edge";case n&&/Silk\//.test(t):return"Silk";case/Chrome/.test(t)&&/Google Inc/.test(i):return"Chrome";case/Firefox\/\d+\.\d+$/.test(t):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(t):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(t):return"Safari";case/AppleWebKit/.test(t):return"WebKit";default:return null}}(window.navigator);cU(()=>cb(t.current),"pointerdown",e=>{if(!r||!n)return;let o=e.target,s=(null!=i?i:[t]).some(e=>cw(tI(e)?e.current:e,o));!hf(o)&&s&&(e.preventDefault(),hv(o))})}var hC=e=>e.offsetWidth>0&&e.offsetHeight>0,hS={preventScroll:!0,shouldFocus:!1};function hx(e,t=hS){let{focusRef:i,preventScroll:n,shouldFocus:r,visible:o}=t,s=tI(e)?e.current:e,a=r&&o,l=(0,O.useRef)(a),u=(0,O.useRef)(o);cC(()=>{!u.current&&o&&(l.current=a),u.current=o},[o,a]);let d=(0,O.useCallback)(()=>{if(o&&s&&l.current&&(l.current=!1,!cw(s,document.activeElement))){if(null==i?void 0:i.current)hv(i.current,{preventScroll:n,nextTick:!0});else{let e;let t=((e=Array.from(s.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"))).unshift(s),e.filter(e=>hm(e)&&hC(e)));t.length>0&&hv(t[0],{preventScroll:n,nextTick:!0})}}},[o,n,s,i]);hh(()=>{d()},[d]),cA("transitionend",d,s)}function hk(){let e=(0,O.useRef)(!1),[t,i]=(0,O.useState)(0);return c$(()=>{e.current=!0}),(0,O.useCallback)(()=>{e.current||i(t+1)},[t])}function hE(e){let{isOpen:t,ref:i}=e,[n,r]=(0,O.useState)(t),[o,s]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{o||(r(t),s(!0))},[t,o,n]),cA("animationend",()=>{r(t)},()=>i.current),{present:!(!t&&!n),onComplete(){var e,t,n,r;let o=new(cm(t=i.current)&&null!=(r=null==(n=cb(t))?void 0:n.defaultView)?r:window).CustomEvent("animationend",{bubbles:!0});null==(e=i.current)||e.dispatchEvent(o)}}}function hL(e=!1){let[t,i]=(0,O.useState)(e);return[t,(0,O.useMemo)(()=>({on:()=>i(!0),off:()=>i(!1),toggle:()=>i(e=>!e)}),[])]}var hD=i(50381),hN=i.n(hD);function hA(e,t={}){let[i,n]=(0,O.useState)(!1),[r,o]=(0,O.useState)(e);(0,O.useEffect)(()=>o(e),[e]);let{timeout:s=1500,...a}="number"==typeof t?{timeout:t}:t,l=(0,O.useCallback)(()=>{n(hN()(r,a))},[r,a]);return(0,O.useEffect)(()=>{let e=null;return i&&(e=window.setTimeout(()=>{n(!1)},s)),()=>{e&&window.clearTimeout(e)}},[s,i]),{value:r,setValue:o,onCopy:l,hasCopied:i}}function hT(e){let t=(0,O.useRef)(null);return null===t.current&&(t.current="function"==typeof e?e():e),t.current}var hI=function(e){var t=e.top,i=e.right,n=e.bottom,r=e.left;return{top:t,right:i,bottom:n,left:r,width:i-r,height:n-t,x:r,y:t,center:{x:(i+r)/2,y:(n+t)/2}}},hM=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},hR={top:0,right:0,bottom:0,left:0},hP=function(e){var t=e.borderBox,i=e.margin,n=void 0===i?hR:i,r=e.border,o=void 0===r?hR:r,s=e.padding,a=void 0===s?hR:s,l=hI({top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}),u=hI(hM(t,o)),d=hI(hM(u,a));return{marginBox:l,borderBox:hI(t),paddingBox:u,contentBox:d,margin:n,border:o,padding:a}},hO=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var i=Number(t);return isNaN(i)&&function(e,t){if(!e)throw Error("Invariant failed")}(!1),i},hF=function(e){var t;return hP({borderBox:e.getBoundingClientRect(),margin:{top:hO((t=window.getComputedStyle(e)).marginTop),right:hO(t.marginRight),bottom:hO(t.marginBottom),left:hO(t.marginLeft)},padding:{top:hO(t.paddingTop),right:hO(t.paddingRight),bottom:hO(t.paddingBottom),left:hO(t.paddingLeft)},border:{top:hO(t.borderTopWidth),right:hO(t.borderRightWidth),bottom:hO(t.borderBottomWidth),left:hO(t.borderLeftWidth)}})};function hB(e,t){let[i,n]=(0,O.useState)(null),r=(0,O.useRef)();return cC(()=>{function i(){let t=e.current;t&&(r.current=requestAnimationFrame(()=>{n(hF(t))}))}return i(),t&&(window.addEventListener("resize",i),window.addEventListener("scroll",i)),()=>{t&&(window.removeEventListener("resize",i),window.removeEventListener("scroll",i)),r.current&&cancelAnimationFrame(r.current)}},[t]),i}function hV(e){let{viewBox:t="0 0 24 24",d:i,displayName:n,defaultProps:r={}}=e,o=O.Children.toArray(e.path),s=sA((e,n)=>(0,T.jsx)(sG,{ref:n,viewBox:t,...r,...e,children:o.length?o:(0,T.jsx)("path",{fill:"currentColor",d:i})}));return s.displayName=n,s}var hH=sA(function(e,t){let{htmlWidth:i,htmlHeight:n,alt:r,...o}=e;return(0,T.jsx)("img",{width:i,height:n,ref:t,alt:r,...o})});hH.displayName="NativeImage";var hW=sA(function(e,t){let{fallbackSrc:i,fallback:n,src:r,srcSet:o,align:s,fit:a,loading:l,ignoreFallback:u,crossOrigin:d,fallbackStrategy:c="beforeLoadOrError",referrerPolicy:h,...g}=e,p=null!=l||u||!(void 0!==i||void 0!==n),f=lo(lr({...e,crossOrigin:d,ignoreFallback:p}),c),m={ref:t,objectFit:a,objectPosition:s,...p?g:function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(g,["onError","onLoad"])};return f?n||(0,T.jsx)(sE.img,{as:hH,className:"chakra-image__placeholder",src:i,...m}):(0,T.jsx)(sE.img,{as:hH,src:r,srcSet:o,crossOrigin:d,loading:l,referrerPolicy:h,className:"chakra-image",...m})});hW.displayName="Image";var hj=sA((e,t)=>(0,T.jsx)(sE.img,{ref:t,as:hH,className:"chakra-image",...e}));function hz(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}var[hU,h$]=F({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),hq=sA(function(e,t){let i=s$("Input",e),{children:n,className:r,...o}=tL(e),s=$("chakra-input__group",r),a={},l=lu(n),u=i.field;l.forEach(e=>{var t,n;i&&(u&&"InputLeftElement"===e.type.id&&(a.paddingStart=null!=(t=u.height)?t:u.h),u&&"InputRightElement"===e.type.id&&(a.paddingEnd=null!=(n=u.height)?n:u.h),"InputRightAddon"===e.type.id&&(a.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(a.borderStartRadius=0))});let d=l.map(t=>{var i,n;let r=hz({size:(null==(i=t.props)?void 0:i.size)||e.size,variant:(null==(n=t.props)?void 0:n.variant)||e.variant});return"Input"!==t.type.id?(0,O.cloneElement)(t,r):(0,O.cloneElement)(t,Object.assign(r,a,t.props))});return(0,T.jsx)(sE.div,{className:s,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate"},"data-group":!0,...o,children:(0,T.jsx)(hU,{value:i,children:d})})});hq.displayName="InputGroup";var hK={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},hG=sE("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),hZ=sA(function(e,t){var i;let{placement:n="left",...r}=e,o=null!=(i=hK[n])?i:{},s=h$();return(0,T.jsx)(hG,{ref:t,...r,__css:{...s.addon,...o}})});hZ.displayName="InputAddon";var hY=sA(function(e,t){return(0,T.jsx)(hZ,{ref:t,placement:"left",...e,className:$("chakra-input__left-addon",e.className)})});hY.displayName="InputLeftAddon",hY.id="InputLeftAddon";var hQ=sA(function(e,t){return(0,T.jsx)(hZ,{ref:t,placement:"right",...e,className:$("chakra-input__right-addon",e.className)})});hQ.displayName="InputRightAddon",hQ.id="InputRightAddon";var hJ=sE("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),hX=sA(function(e,t){var i,n;let{placement:r="left",...o}=e,s=h$(),a=s.field,l={["left"===r?"insetStart":"insetEnd"]:"0",width:null!=(i=null==a?void 0:a.height)?i:null==a?void 0:a.h,height:null!=(n=null==a?void 0:a.height)?n:null==a?void 0:a.h,fontSize:null==a?void 0:a.fontSize,...s.element};return(0,T.jsx)(hJ,{ref:t,__css:l,...o})});hX.id="InputElement",hX.displayName="InputElement";var h0=sA(function(e,t){let{className:i,...n}=e,r=$("chakra-input__left-element",i);return(0,T.jsx)(hX,{ref:t,placement:"left",className:r,...n})});h0.id="InputLeftElement",h0.displayName="InputLeftElement";var h1=sA(function(e,t){let{className:i,...n}=e,r=$("chakra-input__right-element",i);return(0,T.jsx)(hX,{ref:t,placement:"right",className:r,...n})});h1.id="InputRightElement",h1.displayName="InputRightElement";var h2=sA(function(e,t){let{htmlSize:i,...n}=e,r=s$("Input",n),o=lK(tL(n)),s=$("chakra-input",e.className);return(0,T.jsx)(sE.input,{size:i,...o,__css:r.field,ref:t,className:s})});h2.displayName="Input",h2.id="Input";var[h6,h3]=F({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),h8=sA(function(e,t){let i=s$("List",e),{children:n,styleType:r="none",stylePosition:o,spacing:s,...a}=tL(e),l=lu(n);return(0,T.jsx)(h6,{value:i,children:(0,T.jsx)(sE.ul,{ref:t,listStyleType:r,listStylePosition:o,role:"list",__css:{...i.container,...s?{"& > *:not(style) ~ *:not(style)":{mt:s}}:{}},...a,children:l})})});h8.displayName="List";var h5=sA((e,t)=>{let{as:i,...n}=e;return(0,T.jsx)(h8,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})});h5.displayName="OrderedList";var h4=sA(function(e,t){let{as:i,...n}=e;return(0,T.jsx)(h8,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...n})});h4.displayName="UnorderedList";var h9=sA(function(e,t){let i=h3();return(0,T.jsx)(sE.li,{ref:t,...e,__css:i.item})});h9.displayName="ListItem";var h7=sA(function(e,t){let i=h3();return(0,T.jsx)(sG,{ref:t,role:"presentation",...e,__css:i.icon})});h7.displayName="ListIcon";var ge=sA(function(e,t){let{templateAreas:i,gap:n,rowGap:r,columnGap:o,column:s,row:a,autoFlow:l,autoRows:u,templateRows:d,autoColumns:c,templateColumns:h,...g}=e;return(0,T.jsx)(sE.div,{ref:t,__css:{display:"grid",gridTemplateAreas:i,gridGap:n,gridRowGap:r,gridColumnGap:o,gridAutoColumns:c,gridColumn:s,gridRow:a,gridAutoFlow:l,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:h},...g})});ge.displayName="Grid";var gt=Object.freeze(["base","sm","md","lg","xl","2xl"]);function gi(e,t){return Array.isArray(e)?e.map(e=>null===e?null:t(e)):q(e)?Object.keys(e).reduce((i,n)=>(i[n]=t(e[n]),i),{}):null!=e?t(e):null}var gn=sA(function(e,t){let{columns:i,spacingX:n,spacingY:r,spacing:o,minChildWidth:s,...a}=e,l=sT(),u=s?gi(s,e=>{let t=sR("sizes",e,"number"==typeof e?`${e}px`:e)(l);return null===e?null:`repeat(auto-fit, minmax(${t}, 1fr))`}):gi(i,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return(0,T.jsx)(ge,{ref:t,gap:o,columnGap:n,rowGap:r,templateColumns:u,...a})});gn.displayName="SimpleGrid";var gr=sE("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});gr.displayName="Spacer";var go=sA(function(e,t){let i=sU("Text",e),{className:n,align:r,decoration:o,casing:s,...a}=tL(e),l=hz({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,T.jsx)(sE.p,{ref:t,className:$("chakra-text",e.className),...l,...a,__css:i})});function gs(e){return"number"==typeof e?`${e}px`:e}go.displayName="Text";var ga=sA(function(e,t){let{spacing:i="0.5rem",spacingX:n,spacingY:r,children:o,justify:s,direction:a,align:l,className:u,shouldWrapChildren:d,...c}=e,h=(0,O.useMemo)(()=>{let{spacingX:e=i,spacingY:t=i}={spacingX:n,spacingY:r};return{"--chakra-wrap-x-spacing":t=>gi(e,e=>gs(er("space",e)(t))),"--chakra-wrap-y-spacing":e=>gi(t,t=>gs(er("space",t)(e))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:l,flexDirection:a,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[i,n,r,s,l,a]),g=(0,O.useMemo)(()=>d?O.Children.map(o,(e,t)=>(0,T.jsx)(gl,{children:e},t)):o,[o,d]);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-wrap",u),overflow:"hidden",...c,children:(0,T.jsx)(sE.ul,{className:"chakra-wrap__list",__css:h,children:g})})});ga.displayName="Wrap";var gl=sA(function(e,t){let{className:i,...n}=e;return(0,T.jsx)(sE.li,{ref:t,__css:{display:"flex",alignItems:"flex-start"},className:$("chakra-wrap__listitem",i),...n})});gl.displayName="WrapItem";var gu=e=>(0,T.jsx)(sE.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});gu.displayName="StackItem";var gd="& > *:not(style) ~ *:not(style)",gc=sA((e,t)=>{let{isInline:i,direction:n,align:r,justify:o,spacing:s="0.5rem",wrap:a,children:l,divider:u,className:d,shouldWrapChildren:c,...h}=e,g=i?"row":null!=n?n:"column",p=(0,O.useMemo)(()=>(function(e){let{spacing:t,direction:i}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:i,[gd]:gi(i,e=>n[e])}})({direction:g,spacing:s}),[g,s]),f=(0,O.useMemo)(()=>(function(e){let{spacing:t,direction:i}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":gi(i,e=>n[e])}})({spacing:s,direction:g}),[s,g]),m=!!u,v=!c&&!m,b=(0,O.useMemo)(()=>{let e=lu(l);return v?e:e.map((t,i)=>{let n=void 0!==t.key?t.key:i,r=i+1===e.length,o=(0,T.jsx)(gu,{children:t},n),s=c?o:t;if(!m)return s;let a=(0,O.cloneElement)(u,{__css:f});return(0,T.jsxs)(O.Fragment,{children:[s,r?null:a]},n)})},[u,f,m,v,c,l]),y=$("chakra-stack",d);return(0,T.jsx)(sE.div,{ref:t,display:"flex",alignItems:r,justifyContent:o,flexDirection:p.flexDirection,flexWrap:a,className:y,__css:m?{}:{[gd]:p[gd]},...h,children:b})});gc.displayName="Stack";var gh=sA((e,t)=>(0,T.jsx)(gc,{align:"center",...e,direction:"column",ref:t}));gh.displayName="VStack";var gg=sA((e,t)=>(0,T.jsx)(gc,{align:"center",...e,direction:"row",ref:t}));gg.displayName="HStack";var gp=e=>(0,T.jsx)(sE.div,{className:"chakra-stack__divider",...e,__css:{...e.__css,borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"}});function gf(e){return gi(e,e=>"auto"===e?"auto":`span ${e}/span ${e}`)}gp.displayName="StackDivider";var gm=sA(function(e,t){let{area:i,colSpan:n,colStart:r,colEnd:o,rowEnd:s,rowSpan:a,rowStart:l,...u}=e,d=hz({gridArea:i,gridColumn:gf(n),gridRow:gf(a),gridColumnStart:r,gridColumnEnd:o,gridRowStart:l,gridRowEnd:s});return(0,T.jsx)(sE.div,{ref:t,__css:d,...u})});gm.displayName="GridItem";var gv=sA(function(e,t){let i=sU("Heading",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.h2,{ref:t,className:$("chakra-heading",e.className),...r,__css:i})});gv.displayName="Heading";var gb=sE("div");gb.displayName="Box";var gy=sA(function(e,t){let{size:i,centerContent:n=!0,...r}=e;return(0,T.jsx)(gb,{ref:t,boxSize:i,__css:{...n?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...r})});gy.displayName="Square";var g_=sA(function(e,t){let{size:i,...n}=e;return(0,T.jsx)(gy,{size:i,ref:t,borderRadius:"9999px",...n})});g_.displayName="Circle";var gw=e=>e.replace(/[|\\{}()[\]^$+*?.-]/g,e=>`\\${e}`);function gC(e){let{text:t,query:i}=e;return(0,O.useMemo)(()=>(function({text:e,query:t}){let i;let n=(i=(Array.isArray(t)?t:[t]).filter(e=>0!==e.length).map(e=>gw(e.trim()))).length?RegExp(`(${i.join("|")})`,"ig"):null;return n?e.split(n).filter(Boolean).map(e=>({text:e,match:n.test(e)})):[{text:e,match:!1}]})({text:t,query:i}),[t,i])}var gS=sA(function(e,t){let i=sU("Mark",e),n=tL(e);return(0,T.jsx)(gb,{ref:t,...n,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...i}})});function gx(e){let{children:t,query:i,styles:n}=e;if("string"!=typeof t)throw Error("The children prop of Highlight must be a string");let r=gC({query:i,text:t});return(0,T.jsx)(T.Fragment,{children:r.map((e,t)=>e.match?(0,T.jsx)(gS,{sx:n,children:e.text},t):(0,T.jsx)(O.Fragment,{children:e.text},t))})}var gk=sA(function(e,t){let i=sU("Kbd",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.kbd,{ref:t,className:$("chakra-kbd",n),...r,__css:{fontFamily:"mono",...i}})});gk.displayName="Kbd";var gE=sA(function(e,t){let{isExternal:i,target:n,rel:r,className:o,...s}=e;return(0,T.jsx)(sE.a,{...s,ref:t,className:$("chakra-linkbox__overlay",o),rel:i?"noopener noreferrer":r,target:i?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),gL=sA(function(e,t){let{className:i,...n}=e;return(0,T.jsx)(sE.div,{ref:t,position:"relative",...n,className:$("chakra-linkbox",i),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})}),gD=sA(function(e,t){let i=sU("Link",e),{className:n,isExternal:r,...o}=tL(e);return(0,T.jsx)(sE.a,{target:r?"_blank":void 0,rel:r?"noopener":void 0,ref:t,className:$("chakra-link",n),...o,__css:i})});gD.displayName="Link";var gN=sA(function(e,t){let{ratio:i=4/3,children:n,className:r,...o}=e,s=O.Children.only(n),a=$("chakra-aspect-ratio",r);return(0,T.jsx)(sE.div,{ref:t,position:"relative",className:a,_before:{height:0,content:'""',display:"block",paddingBottom:gi(i,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o,children:s})});gN.displayName="AspectRatio";var gA=sA(function(e,t){let i=sU("Badge",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.span,{ref:t,className:$("chakra-badge",e.className),...r,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...i}})});gA.displayName="Badge";var gT=sE("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});gT.displayName="Center";var gI={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},gM=sA(function(e,t){let{axis:i="both",...n}=e;return(0,T.jsx)(sE.div,{ref:t,__css:gI[i],...n,position:"absolute"})}),gR=sA(function(e,t){let i=sU("Code",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.code,{ref:t,className:$("chakra-code",e.className),...r,__css:{display:"inline-block",...i}})});gR.displayName="Code";var gP=sA(function(e,t){let{className:i,centerContent:n,...r}=tL(e),o=sU("Container",e);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-container",i),...r,__css:{...o,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});gP.displayName="Container";var gO=sA(function(e,t){let{borderLeftWidth:i,borderBottomWidth:n,borderTopWidth:r,borderRightWidth:o,borderWidth:s,borderStyle:a,borderColor:l,...u}=sU("Divider",e),{className:d,orientation:c="horizontal",__css:h,...g}=tL(e);return(0,T.jsx)(sE.hr,{ref:t,"aria-orientation":c,...g,__css:{...u,border:"0",borderColor:l,borderStyle:a,...{vertical:{borderLeftWidth:i||o||s||"1px",height:"100%"},horizontal:{borderBottomWidth:n||r||s||"1px",width:"100%"}}[c],...h},className:$("chakra-divider",d)})});gO.displayName="Divider";var gF=sA(function(e,t){let{direction:i,align:n,justify:r,wrap:o,basis:s,grow:a,shrink:l,...u}=e;return(0,T.jsx)(sE.div,{ref:t,__css:{display:"flex",flexDirection:i,alignItems:n,justifyContent:r,flexWrap:o,flexBasis:s,flexGrow:a,flexShrink:l},...u})});function gB(e,t={}){let{ssr:i=!0,fallback:n}=t,{getWindow:r}=t4(),o=Array.isArray(e)?e:[e],s=Array.isArray(n)?n:[n];s=s.filter(e=>null!=e);let[a,l]=(0,O.useState)(()=>o.map((e,t)=>({media:e,matches:i?!!s[t]:r().matchMedia(e).matches})));return(0,O.useEffect)(()=>{let e=r();l(o.map(t=>({media:t,matches:e.matchMedia(t).matches})));let t=o.map(t=>e.matchMedia(t)),i=e=>{l(t=>t.slice().map(t=>t.media===e.media?{...t,matches:e.matches}:t))};return t.forEach(e=>{"function"==typeof e.addListener?e.addListener(i):e.addEventListener("change",i)}),()=>{t.forEach(e=>{"function"==typeof e.removeListener?e.removeListener(i):e.removeEventListener("change",i)})}},[r]),a.map(e=>e.matches)}function gV(e){let{breakpoint:t,hide:i,children:n,ssr:r}=e,[o]=gB(t,{ssr:r});return(i?!o:o)?n:null}gF.displayName="Flex";var gH=(e,t)=>{var i,n;return null!=(n=null==(i=null==e?void 0:e.breakpoints)?void 0:i[t])?n:t};function gW(e){let{breakpoint:t="",below:i,above:n}=e,r=sT(),o=gH(r,i),s=gH(r,n),a=t;return o?a=`(max-width: ${o})`:s&&(a=`(min-width: ${s})`),a}function gj(e){let{children:t,ssr:i}=e,n=gW(e);return(0,T.jsx)(gV,{breakpoint:n,hide:!0,ssr:i,children:t})}function gz(e){let[t]=gB("(prefers-reduced-motion: reduce)",e);return t}function gU(e){let[t,i]=gB(["(prefers-color-scheme: light)","(prefers-color-scheme: dark)"],e);return t?"light":i?"dark":void 0}function g$(e){let{children:t,ssr:i}=e,n=gW(e);return(0,T.jsx)(gV,{breakpoint:n,ssr:i,children:t})}function gq(e){var t,i;let n=q(e)?e:{fallback:null!=e?e:"base"},r=sT().__breakpoints.details.map(({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")})),o=r.map(e=>e.breakpoint===n.fallback),s=gB(r.map(e=>e.query),{fallback:o,ssr:n.ssr}).findIndex(e=>!0==e);return null!=(i=null==(t=r[s])?void 0:t.breakpoint)?i:n.fallback}function gK(e,t){var i;let n=gq(q(t)?t:{fallback:null!=t?t:"base"}),r=sT();if(!n)return;let o=Array.from((null==(i=r.__breakpoints)?void 0:i.keys)||[]);return function(e,t,i=gt){let n=Object.keys(e).indexOf(t);if(-1!==n)return e[t];let r=i.indexOf(t);for(;r>=0;){let t=i[r];if(e.hasOwnProperty(t)){n=r;break}r-=1}if(-1!==n)return e[i[n]]}(Array.isArray(e)?Object.fromEntries(Object.entries(function(e,t=gt){let i={};return e.forEach((e,n)=>{let r=t[n];null!=e&&(i[r]=e)}),i}(e,o)).map(([e,t])=>[e,t])):e,n,o)}function gG(e){let{tagName:t,isContentEditable:i}=e.target;return"INPUT"!==t&&"TEXTAREA"!==t&&!0!==i}function gZ(e={}){let t,i,n,r;let{ref:o,isDisabled:s,isFocusable:a,clickOnEnter:l=!0,clickOnSpace:u=!0,onMouseDown:d,onMouseUp:c,onClick:h,onKeyDown:g,onKeyUp:p,tabIndex:f,onMouseOver:m,onMouseLeave:v,...b}=e,[y,_]=(0,O.useState)(!0),[w,C]=(0,O.useState)(!1),S=(i=(t=(0,O.useRef)(new Map)).current,n=(0,O.useCallback)((e,i,n,r)=>{t.current.set(n,{type:i,el:e,options:r}),e.addEventListener(i,n,r)},[]),r=(0,O.useCallback)((e,i,n,r)=>{e.removeEventListener(i,n,r),t.current.delete(n)},[]),(0,O.useEffect)(()=>()=>{i.forEach((e,t)=>{r(e.el,e.type,t,e.options)})},[r,i]),{add:n,remove:r}),x=y?f:f||0,k=s&&!a,E=(0,O.useCallback)(e=>{if(s){e.stopPropagation(),e.preventDefault();return}e.currentTarget.focus(),null==h||h(e)},[s,h]),L=(0,O.useCallback)(e=>{w&&gG(e)&&(e.preventDefault(),e.stopPropagation(),C(!1),S.remove(document,"keyup",L,!1))},[w,S]),D=(0,O.useCallback)(e=>{if(null==g||g(e),s||e.defaultPrevented||e.metaKey||!gG(e.nativeEvent)||y)return;let t=l&&"Enter"===e.key;u&&" "===e.key&&(e.preventDefault(),C(!0)),t&&(e.preventDefault(),e.currentTarget.click()),S.add(document,"keyup",L,!1)},[s,y,g,l,u,S,L]),N=(0,O.useCallback)(e=>{null==p||p(e),!s&&!e.defaultPrevented&&!e.metaKey&&gG(e.nativeEvent)&&!y&&u&&" "===e.key&&(e.preventDefault(),C(!1),e.currentTarget.click())},[u,y,s,p]),A=(0,O.useCallback)(e=>{0===e.button&&(C(!1),S.remove(document,"mouseup",A,!1))},[S]),T=(0,O.useCallback)(e=>{if(0===e.button){if(s){e.stopPropagation(),e.preventDefault();return}y||C(!0),e.currentTarget.focus({preventScroll:!0}),S.add(document,"mouseup",A,!1),null==d||d(e)}},[s,y,d,S,A]),I=(0,O.useCallback)(e=>{0===e.button&&(y||C(!1),null==c||c(e))},[c,y]),M=(0,O.useCallback)(e=>{if(s){e.preventDefault();return}null==m||m(e)},[s,m]),R=(0,O.useCallback)(e=>{w&&(e.preventDefault(),C(!1)),null==v||v(e)},[w,v]),P=aN(o,e=>{e&&"BUTTON"!==e.tagName&&_(!1)});return y?{...b,ref:P,type:"button","aria-disabled":k?void 0:s,disabled:k,onClick:E,onMouseDown:d,onMouseUp:c,onKeyUp:p,onKeyDown:g,onMouseOver:m,onMouseLeave:v}:{...b,ref:P,role:"button","data-active":Y(w),"aria-disabled":s?"true":void 0,tabIndex:k?void 0:x,onClick:E,onMouseDown:T,onMouseUp:I,onKeyUp:N,onKeyDown:D,onMouseOver:M,onMouseLeave:R}}function gY(e,t){let{shouldFocus:i,visible:n,focusRef:r}=t,o=i&&!n;sm(()=>{let t;if(!o||function(e){let t=e.current;if(!t)return!1;let i=ce(t).activeElement;return!(!i||t.contains(i))&&!!(i&&d7(i)&&cn(i)&&!ci(i))}(e))return;let i=(null==r?void 0:r.current)||e.current;if(i)return t=requestAnimationFrame(()=>{i.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(t)}},[o,e,r])}gj.displayName="Hide",g$.displayName="Show";var gQ={preventScroll:!0,shouldFocus:!1},gJ=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),gX={arrowShadowColor:gJ("--popper-arrow-shadow-color"),arrowSize:gJ("--popper-arrow-size","8px"),arrowSizeHalf:gJ("--popper-arrow-size-half"),arrowBg:gJ("--popper-arrow-bg"),transformOrigin:gJ("--popper-transform-origin"),arrowOffset:gJ("--popper-arrow-offset")},g0={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},g1=e=>g0[e],g2={scroll:!0,resize:!0},g6={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},g3={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{g8(e)},effect:({state:e})=>()=>{g8(e)}},g8=e=>{e.elements.popper.style.setProperty(gX.transformOrigin.var,g1(e.placement))},g5={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{g4(e)}},g4=e=>{var t;if(!e.placement)return;let i=g9(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&i){Object.assign(e.elements.arrow.style,{[i.property]:i.value,width:gX.arrowSize.varRef,height:gX.arrowSize.varRef,zIndex:-1});let t={[gX.arrowSizeHalf.var]:`calc(${gX.arrowSize.varRef} / 2 - 1px)`,[gX.arrowOffset.var]:`calc(${gX.arrowSizeHalf.varRef} * -1)`};for(let i in t)e.elements.arrow.style.setProperty(i,t[i])}},g9=e=>e.startsWith("top")?{property:"bottom",value:gX.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:gX.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:gX.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:gX.arrowOffset.varRef}:void 0,g7={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{pe(e)},effect:({state:e})=>()=>{pe(e)}},pe=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let i=function(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}(e.placement);i&&t.style.setProperty("--popper-arrow-default-shadow",i),Object.assign(t.style,{transform:"rotate(45deg)",background:gX.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},pt={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},pi={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function pn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pr(e){var t=pn(e).Element;return e instanceof t||e instanceof Element}function po(e){var t=pn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ps(e){if("undefined"==typeof ShadowRoot)return!1;var t=pn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var pa=Math.max,pl=Math.min,pu=Math.round;function pd(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function pc(){return!/^((?!chrome|android).)*safari/i.test(pd())}function ph(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,o=1;t&&po(e)&&(r=e.offsetWidth>0&&pu(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&pu(n.height)/e.offsetHeight||1);var s=(pr(e)?pn(e):window).visualViewport,a=!pc()&&i,l=(n.left+(a&&s?s.offsetLeft:0))/r,u=(n.top+(a&&s?s.offsetTop:0))/o,d=n.width/r,c=n.height/o;return{width:d,height:c,top:u,right:l+d,bottom:u+c,left:l,x:l,y:u}}function pg(e){var t=pn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pp(e){return e?(e.nodeName||"").toLowerCase():null}function pf(e){return((pr(e)?e.ownerDocument:e.document)||window.document).documentElement}function pm(e){return ph(pf(e)).left+pg(e).scrollLeft}function pv(e){return pn(e).getComputedStyle(e)}function pb(e){var t=pv(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function py(e){var t=ph(e),i=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-i)&&(i=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function p_(e){return"html"===pp(e)?e:e.assignedSlot||e.parentNode||(ps(e)?e.host:null)||pf(e)}function pw(e,t){void 0===t&&(t=[]);var i,n=function e(t){return["html","body","#document"].indexOf(pp(t))>=0?t.ownerDocument.body:po(t)&&pb(t)?t:e(p_(t))}(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),o=pn(n),s=r?[o].concat(o.visualViewport||[],pb(n)?n:[]):n,a=t.concat(s);return r?a:a.concat(pw(p_(s)))}function pC(e){return po(e)&&"fixed"!==pv(e).position?e.offsetParent:null}function pS(e){for(var t=pn(e),i=pC(e);i&&["table","td","th"].indexOf(pp(i))>=0&&"static"===pv(i).position;)i=pC(i);return i&&("html"===pp(i)||"body"===pp(i)&&"static"===pv(i).position)?t:i||function(e){var t=/firefox/i.test(pd());if(/Trident/i.test(pd())&&po(e)&&"fixed"===pv(e).position)return null;var i=p_(e);for(ps(i)&&(i=i.host);po(i)&&0>["html","body"].indexOf(pp(i));){var n=pv(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}var px="bottom",pk="right",pE="left",pL="auto",pD=["top",px,pk,pE],pN="start",pA="viewport",pT="popper",pI=pD.reduce(function(e,t){return e.concat([t+"-"+pN,t+"-end"])},[]),pM=[].concat(pD,[pL]).reduce(function(e,t){return e.concat([t,t+"-"+pN,t+"-end"])},[]),pR=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],pP={placement:"bottom",modifiers:[],strategy:"absolute"};function pO(){for(var e=arguments.length,t=Array(e),i=0;i=0?"x":"y"}function pW(e){var t,i=e.reference,n=e.element,r=e.placement,o=r?pB(r):null,s=r?pV(r):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case"top":t={x:a,y:i.y-n.height};break;case px:t={x:a,y:i.y+i.height};break;case pk:t={x:i.x+i.width,y:l};break;case pE:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var u=o?pH(o):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case pN:t[u]=t[u]-(i[d]/2-n[d]/2);break;case"end":t[u]=t[u]+(i[d]/2-n[d]/2)}}return t}var pj={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pz(e){var t,i,n,r,o,s,a,l=e.popper,u=e.popperRect,d=e.placement,c=e.variation,h=e.offsets,g=e.position,p=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,v=e.isFixed,b=h.x,y=void 0===b?0:b,_=h.y,w=void 0===_?0:_,C="function"==typeof m?m({x:y,y:w}):{x:y,y:w};y=C.x,w=C.y;var S=h.hasOwnProperty("x"),x=h.hasOwnProperty("y"),k=pE,E="top",L=window;if(f){var D=pS(l),N="clientHeight",A="clientWidth";D===pn(l)&&"static"!==pv(D=pf(l)).position&&"absolute"===g&&(N="scrollHeight",A="scrollWidth"),("top"===d||(d===pE||d===pk)&&"end"===c)&&(E=px,w-=(v&&D===L&&L.visualViewport?L.visualViewport.height:D[N])-u.height,w*=p?1:-1),(d===pE||("top"===d||d===px)&&"end"===c)&&(k=pk,y-=(v&&D===L&&L.visualViewport?L.visualViewport.width:D[A])-u.width,y*=p?1:-1)}var T=Object.assign({position:g},f&&pj),I=!0===m?(t={x:y,y:w},i=pn(l),n=t.x,r=t.y,{x:pu(n*(o=i.devicePixelRatio||1))/o||0,y:pu(r*o)/o||0}):{x:y,y:w};return(y=I.x,w=I.y,p)?Object.assign({},T,((a={})[E]=x?"0":"",a[k]=S?"0":"",a.transform=1>=(L.devicePixelRatio||1)?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",a)):Object.assign({},T,((s={})[E]=x?w+"px":"",s[k]=S?y+"px":"",s.transform="",s))}var pU={left:"right",right:"left",bottom:"top",top:"bottom"};function p$(e){return e.replace(/left|right|bottom|top/g,function(e){return pU[e]})}var pq={start:"end",end:"start"};function pK(e){return e.replace(/start|end/g,function(e){return pq[e]})}function pG(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&ps(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pZ(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pY(e,t,i){var n,r,o,s,a,l,u,d,c,h;return t===pA?pZ(function(e,t){var i=pn(e),n=pf(e),r=i.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var u=pc();(u||!u&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+pm(e),y:l}}(e,i)):pr(t)?((n=ph(t,!1,"fixed"===i)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):pZ((r=pf(e),s=pf(r),a=pg(r),l=null==(o=r.ownerDocument)?void 0:o.body,u=pa(s.scrollWidth,s.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=pa(s.scrollHeight,s.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),c=-a.scrollLeft+pm(r),h=-a.scrollTop,"rtl"===pv(l||s).direction&&(c+=pa(s.clientWidth,l?l.clientWidth:0)-u),{width:u,height:d,x:c,y:h}))}function pQ(){return{top:0,right:0,bottom:0,left:0}}function pJ(e){return Object.assign({},pQ(),e)}function pX(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}function p0(e,t){void 0===t&&(t={});var i,n,r,o,s,a,l,u=t,d=u.placement,c=void 0===d?e.placement:d,h=u.strategy,g=void 0===h?e.strategy:h,p=u.boundary,f=u.rootBoundary,m=u.elementContext,v=void 0===m?pT:m,b=u.altBoundary,y=u.padding,_=void 0===y?0:y,w=pJ("number"!=typeof _?_:pX(_,pD)),C=e.rects.popper,S=e.elements[void 0!==b&&b?v===pT?"reference":pT:v],x=(i=pr(S)?S:S.contextElement||pf(e.elements.popper),a=(s=[].concat("clippingParents"===(n=void 0===p?"clippingParents":p)?(r=pw(p_(i)),pr(o=["absolute","fixed"].indexOf(pv(i).position)>=0&&po(i)?pS(i):i)?r.filter(function(e){return pr(e)&&pG(e,o)&&"body"!==pp(e)}):[]):[].concat(n),[void 0===f?pA:f]))[0],(l=s.reduce(function(e,t){var n=pY(i,t,g);return e.top=pa(n.top,e.top),e.right=pl(n.right,e.right),e.bottom=pl(n.bottom,e.bottom),e.left=pa(n.left,e.left),e},pY(i,a,g))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),k=ph(e.elements.reference),E=pW({reference:k,element:C,strategy:"absolute",placement:c}),L=pZ(Object.assign({},C,E)),D=v===pT?L:k,N={top:x.top-D.top+w.top,bottom:D.bottom-x.bottom+w.bottom,left:x.left-D.left+w.left,right:D.right-x.right+w.right},A=e.modifiersData.offset;if(v===pT&&A){var T=A[c];Object.keys(N).forEach(function(e){var t=[pk,px].indexOf(e)>=0?1:-1,i=["top",px].indexOf(e)>=0?"y":"x";N[e]+=T[i]*t})}return N}function p1(e,t,i){return pa(e,pl(t,i))}function p2(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function p6(e){return["top",pk,px,pE].some(function(t){return e[t]>=0})}var p3=function(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,r=t.defaultOptions,o=void 0===r?pP:r;return function(e,t,i){void 0===i&&(i=o);var r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},pP,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,u={state:s,setOptions:function(i){var r,l,c,h,g,p="function"==typeof i?i(s.options):i;d(),s.options=Object.assign({},o,s.options,p),s.scrollParents={reference:pr(e)?pw(e):e.contextElement?pw(e.contextElement):[],popper:pw(t)};var f=(l=Object.keys(r=[].concat(n,s.options.modifiers).reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{})).map(function(e){return r[e]}),c=new Map,h=new Set,g=[],l.forEach(function(e){c.set(e.name,e)}),l.forEach(function(e){h.has(e.name)||function e(t){h.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!h.has(t)){var i=c.get(t);i&&e(i)}}),g.push(t)}(e)}),pR.reduce(function(e,t){return e.concat(g.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=e.effect;if("function"==typeof n){var r=n({state:s,name:t,instance:u,options:void 0===i?{}:i});a.push(r||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e,t,i,n,r,o,a,d,c,h,g,p=s.elements,f=p.reference,m=p.popper;if(pO(f,m)){s.rects={reference:(e=pS(m),t="fixed"===s.options.strategy,i=po(e),a=po(e)&&(r=pu((n=e.getBoundingClientRect()).width)/e.offsetWidth||1,o=pu(n.height)/e.offsetHeight||1,1!==r||1!==o),d=pf(e),c=ph(f,a,t),h={scrollLeft:0,scrollTop:0},g={x:0,y:0},(i||!i&&!t)&&(("body"!==pp(e)||pb(d))&&(h=e!==pn(e)&&po(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:pg(e)),po(e)?(g=ph(e,!0),g.x+=e.clientLeft,g.y+=e.clientTop):d&&(g.x=pm(d))),{x:c.left+h.scrollLeft-g.x,y:c.top+h.scrollTop-g.y,width:c.width,height:c.height}),popper:py(m)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=0?-1:1,l=(a="function"==typeof o?o(Object.assign({},n,{placement:i})):o)[0],u=a[1],l=l||0,u=(u||0)*s,[pE,pk].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),a=s[t.placement],l=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=i.mainAxis,o=void 0===r||r,s=i.altAxis,a=void 0===s||s,l=i.fallbackPlacements,u=i.padding,d=i.boundary,c=i.rootBoundary,h=i.altBoundary,g=i.flipVariations,p=void 0===g||g,f=i.allowedAutoPlacements,m=t.options.placement,v=pB(m)===m,b=l||(v||!p?[p$(m)]:function(e){if(pB(e)===pL)return[];var t=p$(e);return[pK(e),t,pK(t)]}(m)),y=[m].concat(b).reduce(function(e,i){var n,r,o,s,a,l,h,g,m,v,b,y;return e.concat(pB(i)===pL?(r=(n={placement:i,boundary:d,rootBoundary:c,padding:u,flipVariations:p,allowedAutoPlacements:f}).placement,o=n.boundary,s=n.rootBoundary,a=n.padding,l=n.flipVariations,g=void 0===(h=n.allowedAutoPlacements)?pM:h,0===(b=(v=(m=pV(r))?l?pI:pI.filter(function(e){return pV(e)===m}):pD).filter(function(e){return g.indexOf(e)>=0})).length&&(b=v),Object.keys(y=b.reduce(function(e,i){return e[i]=p0(t,{placement:i,boundary:o,rootBoundary:s,padding:a})[pB(i)],e},{})).sort(function(e,t){return y[e]-y[t]})):i)},[]),_=t.rects.reference,w=t.rects.popper,C=new Map,S=!0,x=y[0],k=0;k=0,A=N?"width":"height",T=p0(t,{placement:E,boundary:d,rootBoundary:c,altBoundary:h,padding:u}),I=N?D?pk:pE:D?px:"top";_[A]>w[A]&&(I=p$(I));var M=p$(I),R=[];if(o&&R.push(T[L]<=0),a&&R.push(T[I]<=0,T[M]<=0),R.every(function(e){return e})){x=E,S=!1;break}C.set(E,R)}if(S)for(var P=p?3:1,O=function(e){var t=y.find(function(t){var i=C.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},F=P;F>0&&"break"!==O(F);F--);t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,r=i.mainAxis,o=i.altAxis,s=i.boundary,a=i.rootBoundary,l=i.altBoundary,u=i.padding,d=i.tether,c=void 0===d||d,h=i.tetherOffset,g=void 0===h?0:h,p=p0(t,{boundary:s,rootBoundary:a,padding:u,altBoundary:l}),f=pB(t.placement),m=pV(t.placement),v=!m,b=pH(f),y="x"===b?"y":"x",_=t.modifiersData.popperOffsets,w=t.rects.reference,C=t.rects.popper,S="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,x="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(_){if(void 0===r||r){var L,D="y"===b?"top":pE,N="y"===b?px:pk,A="y"===b?"height":"width",T=_[b],I=T+p[D],M=T-p[N],R=c?-C[A]/2:0,P=m===pN?w[A]:C[A],O=m===pN?-C[A]:-w[A],F=t.elements.arrow,B=c&&F?py(F):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pQ(),H=V[D],W=V[N],j=p1(0,w[A],B[A]),z=v?w[A]/2-R-j-H-x.mainAxis:P-j-H-x.mainAxis,U=v?-w[A]/2+R+j+W+x.mainAxis:O+j+W+x.mainAxis,$=t.elements.arrow&&pS(t.elements.arrow),q=$?"y"===b?$.clientTop||0:$.clientLeft||0:0,K=null!=(L=null==k?void 0:k[b])?L:0,G=T+z-K-q,Z=T+U-K,Y=p1(c?pl(I,G):I,T,c?pa(M,Z):M);_[b]=Y,E[b]=Y-T}if(void 0!==o&&o){var Q,J,X="x"===b?"top":pE,ee="x"===b?px:pk,et=_[y],ei="y"===y?"height":"width",en=et+p[X],er=et-p[ee],eo=-1!==["top",pE].indexOf(f),es=null!=(J=null==k?void 0:k[y])?J:0,ea=eo?en:et-w[ei]-C[ei]-es+x.altAxis,el=eo?et+w[ei]+C[ei]-es-x.altAxis:er,eu=c&&eo?(Q=p1(ea,et,el))>el?el:Q:p1(c?ea:en,et,c?el:er);_[y]=eu,E[y]=eu-et}t.modifiersData[n]=E}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,l=pB(n.placement),u=pH(l),d=[pE,pk].indexOf(l)>=0?"height":"width";if(s&&a){var c=pJ("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:pX(t,pD)),h=py(s),g="y"===u?"top":pE,p="y"===u?px:pk,f=n.rects.reference[d]+n.rects.reference[u]-a[u]-n.rects.popper[d],m=a[u]-n.rects.reference[u],v=pS(s),b=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=c[g],_=b-h[d]-c[p],w=b/2-h[d]/2+(f/2-m/2),C=p1(y,w,_);n.modifiersData[r]=((i={})[u]=C,i.centerOffset=C-w,i)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&pG(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=p0(t,{elementContext:"reference"}),a=p0(t,{altBoundary:!0}),l=p2(s,n),u=p2(a,r,o),d=p6(l),c=p6(u);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}}]});function p8(e={}){let{enabled:t=!0,modifiers:i,placement:n="bottom",strategy:r="absolute",arrowPadding:o=8,eventListeners:s=!0,offset:a,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:c=!0,matchWidth:h,direction:g="ltr"}=e,p=(0,O.useRef)(null),f=(0,O.useRef)(null),m=(0,O.useRef)(null),v=function(e,t="ltr"){var i,n;let r=(null==(i=pt[e])?void 0:i[t])||e;return"ltr"===t?r:null!=(n=pi[e])?n:r}(n,g),b=(0,O.useRef)(()=>{}),y=(0,O.useCallback)(()=>{var e;t&&p.current&&f.current&&(null==(e=b.current)||e.call(b),m.current=p3(p.current,f.current,{placement:v,modifiers:[g7,g5,g3,{...g6,enabled:!!h},{name:"eventListeners",..."object"==typeof s?{enabled:!0,options:{...g2,...s}}:{enabled:s,options:g2}},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:null!=a?a:[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!c,options:{boundary:d}},...null!=i?i:[]],strategy:r}),m.current.forceUpdate(),b.current=m.current.destroy)},[v,t,i,h,s,o,a,l,u,c,d,r]);(0,O.useEffect)(()=>()=>{var e;p.current||f.current||(null==(e=m.current)||e.destroy(),m.current=null)},[]);let _=(0,O.useCallback)(e=>{p.current=e,y()},[y]),w=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(_,t)}),[_]),C=(0,O.useCallback)(e=>{f.current=e,y()},[y]),S=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(C,t),style:{...e.style,position:r,minWidth:h?void 0:"max-content",inset:"0 auto auto 0"}}),[r,C,h]),x=(0,O.useCallback)((e={},t=null)=>{let{size:i,shadowColor:n,bg:r,style:o,...s}=e;return{...s,ref:t,"data-popper-arrow":"",style:function(e){let{size:t,shadowColor:i,bg:n,style:r}=e,o={...r,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),i&&(o["--popper-arrow-shadow-color"]=i),n&&(o["--popper-arrow-bg"]=n),o}(e)}},[]),k=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){var e;null==(e=m.current)||e.update()},forceUpdate(){var e;null==(e=m.current)||e.forceUpdate()},transformOrigin:gX.transformOrigin.varRef,referenceRef:_,popperRef:C,getPopperProps:S,getArrowProps:x,getArrowInnerProps:k,getReferenceProps:w}}function p5(e={}){let{onClose:t,onOpen:i,isOpen:n,id:r}=e,o=sf(i),s=sf(t),[a,l]=(0,O.useState)(e.defaultIsOpen||!1),u=void 0!==n?n:a,d=void 0!==n,c=(0,O.useId)(),h=null!=r?r:`disclosure-${c}`,g=(0,O.useCallback)(()=>{d||l(!1),null==s||s()},[d,s]),p=(0,O.useCallback)(()=>{d||l(!0),null==o||o()},[d,o]),f=(0,O.useCallback)(()=>{u?g():p()},[u,p,g]);return{isOpen:u,onOpen:p,onClose:g,onToggle:f,isControlled:d,getButtonProps:function(e={}){return{...e,"aria-expanded":u,"aria-controls":h,onClick(t){var i;null==(i=e.onClick)||i.call(e,t),f()}}},getDisclosureProps:function(e={}){return{...e,hidden:!u,id:h}}}}function p4(e,t){var i;let n=e.target;return(!n||!!p9(n).contains(n))&&!(null==(i=t.current)?void 0:i.contains(n))}function p9(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function p7(e){let{isOpen:t,ref:i}=e,[n,r]=(0,O.useState)(t),[o,s]=(0,O.useState)(!1);return(0,O.useEffect)(()=>{o||(r(t),s(!0))},[t,o,n]),uE(()=>i.current,"animationend",()=>{r(t)}),{present:!(!t&&!n),onComplete(){var e,t,n;let r=new(null!=(n=null==(t=ce(i.current))?void 0:t.defaultView)?n:window).CustomEvent("animationend",{bubbles:!0});null==(e=i.current)||e.dispatchEvent(r)}}}function fe(e){let{wasSelected:t,enabled:i,isSelected:n,mode:r="unmount"}=e;return!i||!!n||"keepMounted"===r&&!!t}var[ft,fi,fn,fr]=aI(),[fo,fs]=F({strict:!1,name:"MenuContext"});function fa(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function fl(e){return fa(e).activeElement===e}function fu(e={}){let{id:t,closeOnSelect:i=!0,closeOnBlur:n=!0,initialFocusRef:r,autoSelect:o=!0,isLazy:s,isOpen:a,defaultIsOpen:l,onClose:u,onOpen:d,placement:c="bottom-start",lazyBehavior:h="unmount",direction:g,computePositionOnMount:p=!1,...f}=e,m=(0,O.useRef)(null),v=(0,O.useRef)(null),b=fn(),y=(0,O.useCallback)(()=>{requestAnimationFrame(()=>{var e;null==(e=m.current)||e.focus({preventScroll:!1})})},[]),_=(0,O.useCallback)(()=>{let e=setTimeout(()=>{var e;if(r)null==(e=r.current)||e.focus();else{let e=b.firstEnabled();e&&D(e.index)}});M.current.add(e)},[b,r]),w=(0,O.useCallback)(()=>{let e=setTimeout(()=>{let e=b.lastEnabled();e&&D(e.index)});M.current.add(e)},[b]),{isOpen:C,onOpen:S,onClose:x,onToggle:k}=p5({isOpen:a,defaultIsOpen:l,onClose:u,onOpen:(0,O.useCallback)(()=>{null==d||d(),o?_():y()},[o,_,y,d])});!function(e){let{ref:t,handler:i,enabled:n=!0}=e,r=sf(i),o=(0,O.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,O.useEffect)(()=>{if(!n)return;let e=e=>{p4(e,t)&&(o.isPointerDown=!0)},s=e=>{if(o.ignoreEmulatedMouseEvents){o.ignoreEmulatedMouseEvents=!1;return}o.isPointerDown&&i&&p4(e,t)&&(o.isPointerDown=!1,r(e))},a=e=>{o.ignoreEmulatedMouseEvents=!0,i&&o.isPointerDown&&p4(e,t)&&(o.isPointerDown=!1,r(e))},l=p9(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",s,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",a,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",s,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",a,!0)}},[i,t,r,o,n])}({enabled:C&&n,ref:m,handler:e=>{var t;(null==(t=v.current)?void 0:t.contains(e.target))||x()}});let E=p8({...f,enabled:C||p,placement:c,direction:g}),[L,D]=(0,O.useState)(-1);sm(()=>{C||D(-1)},[C]),gY(m,{focusRef:v,visible:C,shouldFocus:!0});let N=p7({isOpen:C,ref:m}),[A,T]=function(e,...t){let i=(0,O.useId)(),n=e||i;return(0,O.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(t,"menu-button","menu-list"),I=(0,O.useCallback)(()=>{S(),y()},[S,y]),M=(0,O.useRef)(new Set([]));!function(e,t=[]){(0,O.useEffect)(()=>()=>e(),t)}(()=>{M.current.forEach(e=>clearTimeout(e)),M.current.clear()});let R=(0,O.useCallback)(()=>{S(),_()},[_,S]),P=(0,O.useCallback)(()=>{S(),w()},[S,w]),F=(0,O.useCallback)(()=>{var e,t;let i=fa(m.current),n=null==(e=m.current)?void 0:e.contains(i.activeElement);if(!(C&&!n))return;let r=null==(t=b.item(L))?void 0:t.node;null==r||r.focus()},[C,L,b]),B=(0,O.useRef)(null);return{openAndFocusMenu:I,openAndFocusFirstItem:R,openAndFocusLastItem:P,onTransitionEnd:F,unstable__animationState:N,descendants:b,popper:E,buttonId:A,menuId:T,forceUpdate:E.forceUpdate,orientation:"vertical",isOpen:C,onToggle:k,onOpen:S,onClose:x,menuRef:m,buttonRef:v,focusedIndex:L,closeOnSelect:i,closeOnBlur:n,autoSelect:o,setFocusedIndex:D,isLazy:s,lazyBehavior:h,initialFocusRef:r,rafId:B}}function fd(e={},t=null){let i=fs(),{onToggle:n,popper:r,openAndFocusFirstItem:o,openAndFocusLastItem:s}=i,a=(0,O.useCallback)(e=>{let t={Enter:o,ArrowDown:o,ArrowUp:s}[e.key];t&&(e.preventDefault(),e.stopPropagation(),t(e))},[o,s]);return{...e,ref:aN(i.buttonRef,t,r.referenceRef),id:i.buttonId,"data-active":Y(i.isOpen),"aria-expanded":i.isOpen,"aria-haspopup":"menu","aria-controls":i.menuId,onClick:J(e.onClick,n),onKeyDown:J(e.onKeyDown,a)}}function fc(e){var t;return function(e){var t;if(!(null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}function fh(e={},t=null){let i=fs();if(!i)throw Error("useMenuContext: context is undefined. Seems you forgot to wrap component within ");let{focusedIndex:n,setFocusedIndex:r,menuRef:o,isOpen:s,onClose:a,menuId:l,isLazy:u,lazyBehavior:d,unstable__animationState:c}=i,h=fi(),g=function(e={}){let{timeout:t=300,preventDefault:i=()=>!0}=e,[n,r]=(0,O.useState)([]),o=(0,O.useRef)(),s=()=>{o.current&&(clearTimeout(o.current),o.current=null)},a=()=>{s(),o.current=setTimeout(()=>{r([]),o.current=null},t)};return(0,O.useEffect)(()=>s,[]),function(e){return t=>{if("Backspace"===t.key){let e=[...n];e.pop(),r(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){let o=n.concat(t.key);i(t)&&(t.preventDefault(),t.stopPropagation()),r(o),e(o.join("")),a()}}}}({preventDefault:e=>" "!==e.key&&fc(e.target)}),p=(0,O.useCallback)(e=>{let t={Tab:e=>e.preventDefault(),Escape:a,ArrowDown:()=>{let e=h.nextEnabled(n);e&&r(e.index)},ArrowUp:()=>{let e=h.prevEnabled(n);e&&r(e.index)}}[e.key];if(t){e.preventDefault(),t(e);return}let i=g(e=>{let t=function(e,t,i,n){if(null==t)return n;if(!n)return e.find(e=>i(e).toLowerCase().startsWith(t.toLowerCase()));let r=e.filter(e=>i(e).toLowerCase().startsWith(t.toLowerCase()));if(r.length>0){let t;return r.includes(n)?((t=r.indexOf(n)+1)===r.length&&(t=0),r[t]):(t=e.indexOf(r[0]),e[t])}return n}(h.values(),e,e=>{var t,i;return null!=(i=null==(t=null==e?void 0:e.node)?void 0:t.textContent)?i:""},h.item(n));t&&r(h.indexOf(t.node))});fc(e.target)&&i(e)},[h,n,g,a,r]),f=(0,O.useRef)(!1);s&&(f.current=!0);let m=fe({wasSelected:f.current,enabled:u,mode:d,isSelected:c.present});return{...e,ref:aN(o,t),children:m?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:J(e.onKeyDown,p)}}function fg(e={}){let{popper:t,isOpen:i}=fs();return t.getPopperProps({...e,style:{visibility:i?"visible":"hidden",...e.style}})}function fp(e={},t=null){let{onMouseEnter:i,onMouseMove:n,onMouseLeave:r,onClick:o,onFocus:s,isDisabled:a,isFocusable:l,closeOnSelect:u,type:d,...c}=e,{setFocusedIndex:h,focusedIndex:g,closeOnSelect:p,onClose:f,menuRef:m,isOpen:v,menuId:b,rafId:y}=fs(),_=(0,O.useRef)(null),w=`${b}-menuitem-${(0,O.useId)()}`,{index:C,register:S}=fr({disabled:a&&!l}),x=(0,O.useCallback)(e=>{null==i||i(e),a||h(C)},[h,C,a,i]),k=(0,O.useCallback)(e=>{null==n||n(e),_.current&&!fl(_.current)&&x(e)},[x,n]),E=(0,O.useCallback)(e=>{null==r||r(e),a||h(-1)},[h,a,r]),L=(0,O.useCallback)(e=>{null==o||o(e),fc(e.currentTarget)&&(null!=u?u:p)&&f()},[f,o,p,u]),D=(0,O.useCallback)(e=>{null==s||s(e),h(C)},[h,s,C]),N=C===g,A=a&&!l;sm(()=>{v&&(N&&!A&&_.current?(y.current&&cancelAnimationFrame(y.current),y.current=requestAnimationFrame(()=>{var e;null==(e=_.current)||e.focus(),y.current=null})):m.current&&!fl(m.current)&&m.current.focus({preventScroll:!0}))},[N,A,m,v]);let T=gZ({onClick:L,onFocus:D,onMouseEnter:x,onMouseMove:k,onMouseLeave:E,ref:aN(S,_,t),isDisabled:a,isFocusable:l});return{...c,...T,type:null!=d?d:T.type,id:w,role:"menuitem",tabIndex:N?0:-1}}function ff(e={},t=null){let{type:i="radio",isChecked:n,...r}=e;return{...fp(r,t),role:`menuitem${i}`,"aria-checked":n}}function fm(e={}){let{children:t,type:i="radio",value:n,defaultValue:r,onChange:o,...s}=e,a="radio"===i,[l,u]=aj({defaultValue:null!=r?r:a?"":[],value:n,onChange:o}),d=(0,O.useCallback)(e=>{"radio"===i&&"string"==typeof l&&u(e),"checkbox"===i&&Array.isArray(l)&&u(l.includes(e)?l.filter(t=>t!==e):l.concat(e))},[l,u,i]),c=lu(t).map(e=>{if("MenuItemOption"!==e.type.id)return e;let t="radio"===i?e.props.value===l:l.includes(e.props.value);return(0,O.cloneElement)(e,{type:i,onClick:t=>{var i,n;d(e.props.value),null==(n=(i=e.props).onClick)||n.call(i,t)},isChecked:t})});return{...s,children:c}}function fv(){let{isOpen:e,onClose:t}=fs();return{isOpen:e,onClose:t}}var[fb,fy]=F({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),f_=e=>{let{children:t}=e,i=s$("Menu",e),n=tL(e),{direction:r}=sT(),{descendants:o,...s}=fu({...n,direction:r}),a=(0,O.useMemo)(()=>s,[s]),{isOpen:l,onClose:u,forceUpdate:d}=a;return(0,T.jsx)(ft,{value:o,children:(0,T.jsx)(fo,{value:a,children:(0,T.jsx)(fb,{value:i,children:G(t,{isOpen:l,onClose:u,forceUpdate:d})})})})};f_.displayName="Menu";var fw=sA((e,t)=>{let i=fy();return(0,T.jsx)(sE.span,{ref:t,...e,__css:i.command,className:"chakra-menu__command"})});fw.displayName="MenuCommand";var fC=sA((e,t)=>{let{type:i,...n}=e,r=fy(),o=n.as||i?null!=i?i:void 0:"button",s=(0,O.useMemo)(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...r.item}),[r.item]);return(0,T.jsx)(sE.button,{ref:t,type:o,...n,__css:s})}),fS=e=>{let{className:t,children:i,...n}=e,r=O.Children.only(i),o=(0,O.isValidElement)(r)?(0,O.cloneElement)(r,{focusable:"false","aria-hidden":!0,className:$("chakra-menu__icon",r.props.className)}):null,s=$("chakra-menu__icon-wrapper",t);return(0,T.jsx)(sE.span,{className:s,...n,__css:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:o})};fS.displayName="MenuIcon";var fx=sA((e,t)=>{let{icon:i,iconSpacing:n="0.75rem",command:r,commandSpacing:o="0.75rem",children:s,...a}=e,l=fp(a,t),u=i||r?(0,T.jsx)("span",{style:{pointerEvents:"none",flex:1},children:s}):s;return(0,T.jsxs)(fC,{...l,className:$("chakra-menu__menuitem",l.className),children:[i&&(0,T.jsx)(fS,{fontSize:"0.8em",marginEnd:n,children:i}),u,r&&(0,T.jsx)(fw,{marginStart:o,children:r})]})});fx.displayName="MenuItem";var fk={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},fE=sE(sb.E.div),fL=sA(function(e,t){var i,n;let{rootProps:r,motionProps:o,...s}=e,{isOpen:a,onTransitionEnd:l,unstable__animationState:u}=fs(),d=fh(s,t),c=fg(r),h=fy();return(0,T.jsx)(sE.div,{...c,__css:{zIndex:null!=(n=e.zIndex)?n:null==(i=h.list)?void 0:i.zIndex},children:(0,T.jsx)(fE,{variants:fk,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...h.list},...o,className:$("chakra-menu__menu-list",d.className),...d,onUpdate:l,onAnimationComplete:X(u.onComplete,d.onAnimationComplete)})})});fL.displayName="MenuList";var fD=sA((e,t)=>{let{title:i,children:n,className:r,...o}=e,s=$("chakra-menu__group__title",r),a=fy();return(0,T.jsxs)("div",{ref:t,className:"chakra-menu__group",role:"group",children:[i&&(0,T.jsx)(sE.p,{className:s,...o,__css:a.groupTitle,children:i}),n]})});fD.displayName="MenuGroup";var fN=e=>{let{className:t,title:i,...n}=e,r=fm(n);return(0,T.jsx)(fD,{title:i,className:$("chakra-menu__option-group",t),...r})};fN.displayName="MenuOptionGroup";var fA=sA((e,t)=>{let i=fy();return(0,T.jsx)(sE.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...i.button}})}),fT=sA((e,t)=>{let{children:i,as:n,...r}=e,o=fd(r,t),s=n||fA;return(0,T.jsx)(s,{...o,className:$("chakra-menu__menu-button",e.className),children:(0,T.jsx)(sE.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});fT.displayName="MenuButton";var fI=e=>{let{className:t,...i}=e,n=fy();return(0,T.jsx)(sE.hr,{"aria-orientation":"horizontal",className:$("chakra-menu__divider",t),...i,__css:n.divider})};fI.displayName="MenuDivider";var fM=e=>(0,T.jsx)("svg",{viewBox:"0 0 14 14",width:"1em",height:"1em",...e,children:(0,T.jsx)("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})}),fR=sA((e,t)=>{let{icon:i,iconSpacing:n="0.75rem",...r}=e,o=ff(r,t);return(0,T.jsxs)(fC,{...o,className:$("chakra-menu__menuitem-option",r.className),children:[null!==i&&(0,T.jsx)(fS,{fontSize:"0.8em",marginEnd:n,opacity:e.isChecked?1:0,children:i||(0,T.jsx)(fM,{})}),(0,T.jsx)("span",{style:{flex:1},children:o.children})]})});fR.id="MenuItemOption",fR.displayName="MenuItemOption";var fP={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{opacity:0,x:e,y:t,transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(aJ.exit,r),transitionEnd:null==n?void 0:n.exit}},enter:({transition:e,transitionEnd:t,delay:i})=>{var n;return{opacity:1,x:0,y:0,transition:null!=(n=null==e?void 0:e.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:i,transitionEnd:n,reverse:r,delay:o})=>{var s;let a={x:t,y:e};return{opacity:0,transition:null!=(s=null==i?void 0:i.exit)?s:aX.exit(aJ.exit,o),...r?{...a,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{...a,...null==n?void 0:n.exit}}}}}},fO=(0,O.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,reverse:r=!0,className:o,offsetX:s=0,offsetY:a=8,transition:l,transitionEnd:u,delay:d,...c}=e,h={offsetX:s,offsetY:a,reverse:r,transition:l,transitionEnd:u,delay:d};return(0,T.jsx)(ar.M,{custom:h,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-offset-slide",o),custom:h,...fP,animate:n||i?"enter":"exit",...c})})});fO.displayName="SlideFade";var fF={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{opacity:0,...e?{scale:t,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{scale:t,...null==n?void 0:n.exit}},transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(aJ.exit,r)}},enter:({transitionEnd:e,transition:t,delay:i})=>{var n;return{opacity:1,scale:1,transition:null!=(n=null==t?void 0:t.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==e?void 0:e.enter}}}},fB=(0,O.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,reverse:r=!0,initialScale:o=.95,className:s,transition:a,transitionEnd:l,delay:u,...d}=e,c={initialScale:o,reverse:r,transition:a,transitionEnd:l,delay:u};return(0,T.jsx)(ar.M,{custom:c,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-offset-slide",s),...fF,animate:n||i?"enter":"exit",custom:c,...d})})});fB.displayName="ScaleFade";var fV={slideInBottom:{...fP,custom:{offsetY:16,reverse:!0}},slideInRight:{...fP,custom:{offsetX:16,reverse:!0}},scale:{...fF,custom:{initialScale:.95,reverse:!0}},none:{}},fH=sE(sb.E.section),fW=e=>fV[e||"none"],fj=(0,O.forwardRef)((e,t)=>{let{preset:i,motionProps:n=fW(i),...r}=e;return(0,T.jsx)(fH,{ref:t,...n,...r})});fj.displayName="ModalTransition";var fz=Object.defineProperty,fU=(e,t,i)=>t in e?fz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,f$=(e,t,i)=>(fU(e,"symbol"!=typeof t?t+"":t,i),i),fq=new class{constructor(){f$(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function fK(e,t){let[i,n]=(0,O.useState)(0);return(0,O.useEffect)(()=>{let i=e.current;if(i)return t&&n(fq.add(i)),()=>{fq.remove(i),n(0)}},[t,e]),i}var fG=new WeakMap,fZ=new WeakMap,fY={},fQ=0,fJ=function(e){return e&&(e.host||fJ(e.parentNode))},fX=function(e,t,i,n){var r=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var i=fJ(e);return i&&t.contains(i)?i:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});fY[i]||(fY[i]=new WeakMap);var o=fY[i],s=[],a=new Set,l=new Set(r),u=function(e){!e||a.has(e)||(a.add(e),u(e.parentNode))};r.forEach(u);var d=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))d(e);else{var t=e.getAttribute(n),r=null!==t&&"false"!==t,l=(fG.get(e)||0)+1,u=(o.get(e)||0)+1;fG.set(e,l),o.set(e,u),s.push(e),1===l&&r&&fZ.set(e,!0),1===u&&e.setAttribute(i,"true"),r||e.setAttribute(n,"true")}})};return d(t),a.clear(),fQ++,function(){s.forEach(function(e){var t=fG.get(e)-1,r=o.get(e)-1;fG.set(e,t),o.set(e,r),t||(fZ.has(e)||e.removeAttribute(n),fZ.delete(e)),r||e.removeAttribute(i)}),--fQ||(fG=new WeakMap,fG=new WeakMap,fZ=new WeakMap,fY={})}},f0=function(e,t,i){void 0===i&&(i="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),r=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return r?(n.push.apply(n,Array.from(r.querySelectorAll("[aria-live]"))),fX(n,r,i,"aria-hidden")):function(){return null}};function f1(e){var t;let i,{isOpen:n,onClose:r,id:o,closeOnOverlayClick:s=!0,closeOnEsc:a=!0,useInert:l=!0,onOverlayClick:u,onEsc:d}=e,c=(0,O.useRef)(null),h=(0,O.useRef)(null),[g,p,f]=function(e,...t){let i=(0,O.useId)(),n=e||i;return(0,O.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(o,"chakra-modal","chakra-modal--header","chakra-modal--body");t=n&&l,i=c.current,(0,O.useEffect)(()=>{if(c.current&&t)return f0(c.current)},[t,c,i]),fK(c,n);let m=(0,O.useRef)(null),v=(0,O.useCallback)(e=>{m.current=e.target},[]),b=(0,O.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),a&&(null==r||r()),null==d||d())},[a,r,d]),[y,_]=(0,O.useState)(!1),[w,C]=(0,O.useState)(!1),S=(0,O.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:aN(t,c),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":y?p:void 0,"aria-describedby":w?f:void 0,onClick:J(e.onClick,e=>e.stopPropagation())}),[f,w,g,p,y]),x=(0,O.useCallback)(e=>{e.stopPropagation(),m.current===e.target&&fq.isTopModal(c.current)&&(s&&(null==r||r()),null==u||u())},[r,s,u]),k=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(t,h),onClick:J(e.onClick,x),onKeyDown:J(e.onKeyDown,b),onMouseDown:J(e.onMouseDown,v)}),[b,v,x]);return{isOpen:n,onClose:r,headerId:p,bodyId:f,setBodyMounted:C,setHeaderMounted:_,dialogRef:c,overlayRef:h,getDialogProps:S,getDialogContainerProps:k}}var[f2,f6]=F({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[f3,f8]=F({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),f5=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:i,children:n,autoFocus:r,trapFocus:o,initialFocusRef:s,finalFocusRef:a,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:c,motionPreset:h,lockFocusAcrossFrames:g,onCloseComplete:p}=t,f=s$("Modal",t),m={...f1(t),autoFocus:r,trapFocus:o,initialFocusRef:s,finalFocusRef:a,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:c,motionPreset:h,lockFocusAcrossFrames:g};return(0,T.jsx)(f3,{value:m,children:(0,T.jsx)(f2,{value:f,children:(0,T.jsx)(ar.M,{onExitComplete:p,children:m.isOpen&&(0,T.jsx)(ah,{...i,children:n})})})})};f5.displayName="Modal";var f4="right-scroll-bar-position",f9="width-before-scroll-bar",f7=uG(),me=function(){},mt=O.forwardRef(function(e,t){var i=O.useRef(null),n=O.useState({onScrollCapture:me,onWheelCapture:me,onTouchMoveCapture:me}),r=n[0],o=n[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,c=e.shards,h=e.sideCar,g=e.noIsolation,p=e.inert,f=e.allowPinchZoom,m=e.as,v=void 0===m?"div":m,b=e.gapMode,y=(0,uU._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=uW([i,t]),w=(0,uU.pi)((0,uU.pi)({},y),r);return O.createElement(O.Fragment,null,d&&O.createElement(h,{sideCar:f7,removeScrollBar:u,shards:c,noIsolation:g,inert:p,setCallbacks:o,allowPinchZoom:!!f,lockRef:i,gapMode:b}),s?O.cloneElement(O.Children.only(a),(0,uU.pi)((0,uU.pi)({},w),{ref:_})):O.createElement(v,(0,uU.pi)({},w,{className:l,ref:_}),a))});mt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},mt.classNames={fullWidth:f9,zeroRight:f4};var mi=function(e){var t=e.sideCar,i=(0,uU._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return O.createElement(n,(0,uU.pi)({},i))};mi.isSideCarExport=!0;var mn=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=N||i.nc;return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},mr=function(){var e=mn();return function(t,i){O.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&i])}},mo=function(){var e=mr();return function(t){return e(t.styles,t.dynamic),null}},ms={left:0,top:0,right:0,gap:0},ma=function(e){return parseInt(e||"",10)||0},ml=function(e){var t=window.getComputedStyle(document.body),i=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[ma(i),ma(n),ma(r)]},mu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ms;var t=ml(e),i=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-i+t[2]-t[0])}},md=mo(),mc=function(e,t,i,n){var r=e.left,o=e.top,s=e.right,a=e.gap;return void 0===i&&(i="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(a,"px ").concat(n,";\n }\n body {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===i&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(n,";\n "),"padding"===i&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f4," {\n right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f9," {\n margin-right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f4," .").concat(f4," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f9," .").concat(f9," {\n margin-right: 0 ").concat(n,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},mh=function(e){var t=e.noRelative,i=e.noImportant,n=e.gapMode,r=void 0===n?"margin":n,o=O.useMemo(function(){return mu(r)},[r]);return O.createElement(md,{styles:mc(o,!t,r,i?"":"!important")})},mg=!1;if("undefined"!=typeof window)try{var mp=Object.defineProperty({},"passive",{get:function(){return mg=!0,!0}});window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){mg=!1}var mf=!!mg&&{passive:!1},mm=function(e,t){var i=window.getComputedStyle(e);return"hidden"!==i[t]&&!(i.overflowY===i.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===i[t])},mv=function(e,t){var i=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),mb(e,n)){var r=my(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==i.body)return!1},mb=function(e,t){return"v"===e?mm(t,"overflowY"):mm(t,"overflowX")},my=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},m_=function(e,t,i,n,r){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=i.target,u=t.contains(l),d=!1,c=a>0,h=0,g=0;do{var p=my(e,l),f=p[0],m=p[1]-p[2]-s*f;(f||m)&&mb(e,l)&&(h+=m,g+=f),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return c&&(r&&0===h||!r&&a>h)?d=!0:!c&&(r&&0===g||!r&&-a>g)&&(d=!0),d},mw=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},mC=function(e){return[e.deltaX,e.deltaY]},mS=function(e){return e&&"current"in e?e.current:e},mx=0,mk=[];let mE=(f7.useMedium(function(e){var t=O.useRef([]),i=O.useRef([0,0]),n=O.useRef(),r=O.useState(mx++)[0],o=O.useState(mo)[0],s=O.useRef(e);O.useEffect(function(){s.current=e},[e]),O.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=(0,uU.ev)([e.lockRef.current],(e.shards||[]).map(mS),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=O.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=mw(e),a=i.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],d=e.target,c=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var h=mv(c,d);if(!h)return!0;if(h?r=c:(r="v"===c?"h":"v",h=mv(c,d)),!h)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=r),!r)return!0;var g=n.current||r;return m_(g,t,e,"h"===g?l:u,!0)},[]),l=O.useCallback(function(e){if(mk.length&&mk[mk.length-1]===o){var i="deltaY"in e?mC(e):mw(e),n=t.current.filter(function(t){var n;return t.name===e.type&&t.target===e.target&&(n=t.delta)[0]===i[0]&&n[1]===i[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var r=(s.current.shards||[]).map(mS).filter(Boolean).filter(function(t){return t.contains(e.target)});(r.length>0?a(e,r[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=O.useCallback(function(e,i,n,r){var o={name:e,delta:i,target:n,should:r};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=O.useCallback(function(e){i.current=mw(e),n.current=void 0},[]),c=O.useCallback(function(t){u(t.type,mC(t),t.target,a(t,e.lockRef.current))},[]),h=O.useCallback(function(t){u(t.type,mw(t),t.target,a(t,e.lockRef.current))},[]);O.useEffect(function(){return mk.push(o),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:h}),document.addEventListener("wheel",l,mf),document.addEventListener("touchmove",l,mf),document.addEventListener("touchstart",d,mf),function(){mk=mk.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,mf),document.removeEventListener("touchmove",l,mf),document.removeEventListener("touchstart",d,mf)}},[]);var g=e.removeScrollBar,p=e.inert;return O.createElement(O.Fragment,null,p?O.createElement(o,{styles:"\n .block-interactivity-".concat(r," {pointer-events: none;}\n .allow-interactivity-").concat(r," {pointer-events: all;}\n")}):null,g?O.createElement(mh,{gapMode:e.gapMode}):null)}),mi);var mL=O.forwardRef(function(e,t){return O.createElement(mt,(0,uU.pi)({},e,{ref:t,sideCar:mE}))});function mD(e){let{autoFocus:t,trapFocus:i,dialogRef:n,initialFocusRef:r,blockScrollOnMount:o,allowPinchZoom:s,finalFocusRef:a,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d,isOpen:c}=f8(),[h,g]=(0,sv.oO)();(0,O.useEffect)(()=>{!h&&g&&setTimeout(g)},[h,g]);let p=fK(n,c);return(0,T.jsx)(ca,{autoFocus:t,isDisabled:!i,initialFocusRef:r,finalFocusRef:a,restoreFocus:l,contentRef:n,lockFocusAcrossFrames:d,children:(0,T.jsx)(mL,{removeScrollBar:!u,allowPinchZoom:s,enabled:1===p&&o,forwardProps:!0,children:e.children})})}mL.classNames=mt.classNames;var mN=sA((e,t)=>{let{className:i,children:n,containerProps:r,motionProps:o,...s}=e,{getDialogProps:a,getDialogContainerProps:l}=f8(),u=a(s,t),d=l(r),c=$("chakra-modal__content",i),h=f6(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},p={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{motionPreset:f}=f8();return(0,T.jsx)(mD,{children:(0,T.jsx)(sE.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:p,children:(0,T.jsx)(fj,{preset:f,motionProps:o,className:c,...u,__css:g,children:n})})})});function mA(e){let{leastDestructiveRef:t,...i}=e;return(0,T.jsx)(f5,{...i,initialFocusRef:t})}mN.displayName="ModalContent";var mT=sA((e,t)=>(0,T.jsx)(mN,{ref:t,role:"alertdialog",...e})),[mI,mM]=F(),mR={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function mP(e){var t;let{isOpen:i,onClose:n,placement:r="right",children:o,...s}=e,a=sT(),l=null==(t=a.components)?void 0:t.Drawer,u=function(e,t){var i,n;if(e)return null!=(n=null==(i=mR[e])?void 0:i[t])?n:e}(r,a.direction);return(0,T.jsx)(mI,{value:{placement:u},children:(0,T.jsx)(f5,{isOpen:i,onClose:n,styleConfig:l,...s,children:o})})}var mO={exit:{duration:.15,ease:aZ.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},mF={exit:({direction:e,transition:t,transitionEnd:i,delay:n})=>{var r;let{exit:o}=aQ({direction:e});return{...o,transition:null!=(r=null==t?void 0:t.exit)?r:aX.exit(mO.exit,n),transitionEnd:null==i?void 0:i.exit}},enter:({direction:e,transitionEnd:t,transition:i,delay:n})=>{var r;let{enter:o}=aQ({direction:e});return{...o,transition:null!=(r=null==i?void 0:i.enter)?r:aX.enter(mO.enter,n),transitionEnd:null==t?void 0:t.enter}}},mB=(0,O.forwardRef)(function(e,t){let{direction:i="right",style:n,unmountOnExit:r,in:o,className:s,transition:a,transitionEnd:l,delay:u,motionProps:d,...c}=e,h=Object.assign({position:"fixed"},aQ({direction:i}).position,n),g={transitionEnd:l,transition:a,direction:i,delay:u};return(0,T.jsx)(ar.M,{custom:g,children:(!r||o&&r)&&(0,T.jsx)(sb.E.div,{...c,ref:t,initial:"exit",className:$("chakra-slide",s),animate:o||r?"enter":"exit",exit:"exit",custom:g,variants:mF,style:h,...d})})});mB.displayName="Slide";var mV=sE(mB),mH=sA((e,t)=>{let{className:i,children:n,motionProps:r,containerProps:o,...s}=e,{getDialogProps:a,getDialogContainerProps:l,isOpen:u}=f8(),d=a(s,t),c=l(o),h=$("chakra-modal__content",i),g=f6(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...g.dialog},f={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...g.dialogContainer},{placement:m}=mM();return(0,T.jsx)(mD,{children:(0,T.jsx)(sE.div,{...c,className:"chakra-modal__content-container",__css:f,children:(0,T.jsx)(mV,{motionProps:r,direction:m,in:u,className:h,...d,__css:p,children:n})})})});mH.displayName="DrawerContent";var mW=sA((e,t)=>{let{className:i,...n}=e,r=$("chakra-modal__footer",i),o={display:"flex",alignItems:"center",justifyContent:"flex-end",...f6().footer};return(0,T.jsx)(sE.footer,{ref:t,...n,__css:o,className:r})});mW.displayName="ModalFooter";var mj=sA((e,t)=>{let{className:i,...n}=e,{headerId:r,setHeaderMounted:o}=f8();(0,O.useEffect)(()=>(o(!0),()=>o(!1)),[o]);let s=$("chakra-modal__header",i),a={flex:0,...f6().header};return(0,T.jsx)(sE.header,{ref:t,className:s,id:r,...n,__css:a})});mj.displayName="ModalHeader";var mz={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:i}={})=>{var n;return{opacity:1,transition:null!=(n=null==e?void 0:e.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:i}={})=>{var n;return{opacity:0,transition:null!=(n=null==e?void 0:e.exit)?n:aX.exit(aJ.exit,i),transitionEnd:null==t?void 0:t.exit}}}},mU=(0,O.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,className:r,transition:o,transitionEnd:s,delay:a,...l}=e,u={transition:o,transitionEnd:s,delay:a};return(0,T.jsx)(ar.M,{custom:u,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-fade",r),custom:u,...mz,animate:n||i?"enter":"exit",...l})})});mU.displayName="Fade";var m$=sE(sb.E.div),mq=sA((e,t)=>{let{className:i,transition:n,motionProps:r,...o}=e,s=$("chakra-modal__overlay",i),a={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...f6().overlay},{motionPreset:l}=f8(),u="none"===l?{}:mz,d=r||u;return(0,T.jsx)(m$,{...d,__css:a,ref:t,className:s,...o})});mq.displayName="ModalOverlay";var mK=sA((e,t)=>{let{className:i,...n}=e,{bodyId:r,setBodyMounted:o}=f8();(0,O.useEffect)(()=>(o(!0),()=>o(!1)),[o]);let s=$("chakra-modal__body",i),a=f6();return(0,T.jsx)(sE.div,{ref:t,className:s,id:r,...n,__css:a.body})});mK.displayName="ModalBody";var mG=sA((e,t)=>{let{onClick:i,className:n,...r}=e,{onClose:o}=f8(),s=$("chakra-modal__close-btn",n),a=f6();return(0,T.jsx)(s9,{ref:t,__css:a.closeButton,className:s,onClick:J(i,e=>{e.stopPropagation(),o()}),...r})});mG.displayName="ModalCloseButton";var mZ=e=>(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})}),mY=e=>(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})});function mQ(e,t,i,n){(0,O.useEffect)(()=>{var r;if(!e.current||!n)return;let o=null!=(r=e.current.ownerDocument.defaultView)?r:window,s=Array.isArray(t)?t:[t],a=new o.MutationObserver(e=>{for(let t of e)"attributes"===t.type&&t.attributeName&&s.includes(t.attributeName)&&i(t)});return a.observe(e.current,{attributes:!0,attributeFilter:s}),()=>a.disconnect()})}var mJ=/^[Ee0-9+\-.]$/;function mX(e){return mJ.test(e)}function m0(e={}){let{focusInputOnChange:t=!0,clampValueOnBlur:i=!0,keepWithinRange:n=!0,min:r=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:s=1,isReadOnly:a,isDisabled:l,isRequired:u,isInvalid:d,pattern:c="[0-9]*(.[0-9]+)?",inputMode:h="decimal",allowMouseWheel:g,id:p,onChange:f,precision:m,name:v,"aria-describedby":b,"aria-label":y,"aria-labelledby":_,onFocus:w,onBlur:C,onInvalid:S,getAriaValueText:x,isValidCharacter:k,format:E,parse:L,...D}=e,N=sf(w),A=sf(C),T=sf(S),I=sf(null!=k?k:mX),M=sf(x),R=ug(e),{update:P,increment:F,decrement:B}=R,[V,H]=(0,O.useState)(!1),W=!(a||l),j=(0,O.useRef)(null),z=(0,O.useRef)(null),U=(0,O.useRef)(null),$=(0,O.useRef)(null),q=(0,O.useCallback)(e=>e.split("").filter(I).join(""),[I]),K=(0,O.useCallback)(e=>{var t;return null!=(t=null==L?void 0:L(e))?t:e},[L]),G=(0,O.useCallback)(e=>{var t;return(null!=(t=null==E?void 0:E(e))?t:e).toString()},[E]);sm(()=>{R.valueAsNumber>o?null==T||T("rangeOverflow",G(R.value),R.valueAsNumber):R.valueAsNumber{if(j.current&&j.current.value!=R.value){let e=K(j.current.value);R.setValue(q(e))}},[K,q]);let Z=(0,O.useCallback)((e=s)=>{W&&F(e)},[F,W,s]),Y=(0,O.useCallback)((e=s)=>{W&&B(e)},[B,W,s]),X=function(e,t){var i;let n,[r,o]=(0,O.useState)(!1),[s,a]=(0,O.useState)(null),[l,u]=(0,O.useState)(!0),d=(0,O.useRef)(null),c=()=>clearTimeout(d.current);i=r?50:null,n=sf(()=>{"increment"===s&&e(),"decrement"===s&&t()}),(0,O.useEffect)(()=>{let e=null;return null!==i&&(e=window.setInterval(()=>n(),i)),()=>{e&&window.clearInterval(e)}},[i,n]);let h=(0,O.useCallback)(()=>{l&&e(),d.current=setTimeout(()=>{u(!1),o(!0),a("increment")},300)},[e,l]),g=(0,O.useCallback)(()=>{l&&t(),d.current=setTimeout(()=>{u(!1),o(!0),a("decrement")},300)},[t,l]),p=(0,O.useCallback)(()=>{u(!0),o(!1),c()},[]);return(0,O.useEffect)(()=>()=>c(),[]),{up:h,down:g,stop:p,isSpinning:r}}(Z,Y);mQ(U,"disabled",X.stop,X.isSpinning),mQ($,"disabled",X.stop,X.isSpinning);let ee=(0,O.useCallback)(e=>{e.nativeEvent.isComposing||(P(q(K(e.currentTarget.value))),z.current={start:e.currentTarget.selectionStart,end:e.currentTarget.selectionEnd})},[P,q,K]),et=(0,O.useCallback)(e=>{var t,i,n;null==N||N(e),z.current&&(e.target.selectionStart=null!=(i=z.current.start)?i:null==(t=e.currentTarget.value)?void 0:t.length,e.currentTarget.selectionEnd=null!=(n=z.current.end)?n:e.currentTarget.selectionStart)},[N]),ei=(0,O.useCallback)(e=>{if(e.nativeEvent.isComposing)return;!function(e,t){if(null==e.key)return!0;let i=e.ctrlKey||e.altKey||e.metaKey;return 1!==e.key.length||!!i||t(e.key)}(e,I)&&e.preventDefault();let t=en(e)*s,i={ArrowUp:()=>Z(t),ArrowDown:()=>Y(t),Home:()=>P(r),End:()=>P(o)}[e.key];i&&(e.preventDefault(),i(e))},[I,s,Z,Y,P,r,o]),en=e=>{let t=1;return(e.metaKey||e.ctrlKey)&&(t=.1),e.shiftKey&&(t=10),t},er=(0,O.useMemo)(()=>{let e=null==M?void 0:M(R.value);return null!=e?e:R.value.toString()||void 0},[R.value,M]),eo=(0,O.useCallback)(()=>{let e=R.value;""!==R.value&&(/^[eE]/.test(R.value.toString())?R.setValue(""):(R.valueAsNumbero&&(e=o),R.cast(e)))},[R,o,r]),es=(0,O.useCallback)(()=>{H(!1),i&&eo()},[i,H,eo]),ea=(0,O.useCallback)(()=>{t&&requestAnimationFrame(()=>{var e;null==(e=j.current)||e.focus()})},[t]),el=(0,O.useCallback)(e=>{e.preventDefault(),X.up(),ea()},[ea,X]),eu=(0,O.useCallback)(e=>{e.preventDefault(),X.down(),ea()},[ea,X]);uE(()=>j.current,"wheel",e=>{var t,i;let n=(null!=(i=null==(t=j.current)?void 0:t.ownerDocument)?i:document).activeElement===j.current;if(!g||!n)return;e.preventDefault();let r=en(e)*s,o=Math.sign(e.deltaY);-1===o?Z(r):1===o&&Y(r)},{passive:!1});let ed=(0,O.useCallback)((e={},t=null)=>{let i=l||n&&R.isAtMax;return{...e,ref:aN(t,U),role:"button",tabIndex:-1,onPointerDown:J(e.onPointerDown,e=>{0!==e.button||i||el(e)}),onPointerLeave:J(e.onPointerLeave,X.stop),onPointerUp:J(e.onPointerUp,X.stop),disabled:i,"aria-disabled":Q(i)}},[R.isAtMax,n,el,X.stop,l]),ec=(0,O.useCallback)((e={},t=null)=>{let i=l||n&&R.isAtMin;return{...e,ref:aN(t,$),role:"button",tabIndex:-1,onPointerDown:J(e.onPointerDown,e=>{0!==e.button||i||eu(e)}),onPointerLeave:J(e.onPointerLeave,X.stop),onPointerUp:J(e.onPointerUp,X.stop),disabled:i,"aria-disabled":Q(i)}},[R.isAtMin,n,eu,X.stop,l]),eh=(0,O.useCallback)((e={},t=null)=>{var i,n,s,g;return{name:v,inputMode:h,type:"text",pattern:c,"aria-labelledby":_,"aria-label":y,"aria-describedby":b,id:p,disabled:l,...e,readOnly:null!=(i=e.readOnly)?i:a,"aria-readonly":null!=(n=e.readOnly)?n:a,"aria-required":null!=(s=e.required)?s:u,required:null!=(g=e.required)?g:u,ref:aN(j,t),value:G(R.value),role:"spinbutton","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":Number.isNaN(R.valueAsNumber)?void 0:R.valueAsNumber,"aria-invalid":Q(null!=d?d:R.isOutOfRange),"aria-valuetext":er,autoComplete:"off",autoCorrect:"off",onChange:J(e.onChange,ee),onKeyDown:J(e.onKeyDown,ei),onFocus:J(e.onFocus,et,()=>H(!0)),onBlur:J(e.onBlur,A,es)}},[v,h,c,_,y,G,b,p,l,u,a,d,R.value,R.valueAsNumber,R.isOutOfRange,r,o,er,ee,ei,et,A,es]);return{value:G(R.value),valueAsNumber:R.valueAsNumber,isFocused:V,isDisabled:l,isReadOnly:a,getIncrementButtonProps:ed,getDecrementButtonProps:ec,getInputProps:eh,htmlProps:D}}var[m1,m2]=F({name:"NumberInputStylesContext",errorMessage:"useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[m6,m3]=F({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),m8=sA(function(e,t){let i=s$("NumberInput",e),{htmlProps:n,...r}=m0(lG(tL(e))),o=(0,O.useMemo)(()=>r,[r]);return(0,T.jsx)(m6,{value:o,children:(0,T.jsx)(m1,{value:i,children:(0,T.jsx)(sE.div,{...n,ref:t,className:$("chakra-numberinput",e.className),__css:{position:"relative",zIndex:0,...i.root}})})})});m8.displayName="NumberInput";var m5=sA(function(e,t){let i=m2();return(0,T.jsx)(sE.div,{"aria-hidden":!0,ref:t,...e,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...i.stepperGroup}})});m5.displayName="NumberInputStepper";var m4=sA(function(e,t){let{getInputProps:i}=m3(),n=i(e,t),r=m2();return(0,T.jsx)(sE.input,{...n,className:$("chakra-numberinput__field",e.className),__css:{width:"100%",...r.field}})});m4.displayName="NumberInputField";var m9=sE("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),m7=sA(function(e,t){var i;let n=m2(),{getDecrementButtonProps:r}=m3(),o=r(e,t);return(0,T.jsx)(m9,{...o,__css:n.stepper,children:null!=(i=e.children)?i:(0,T.jsx)(mZ,{})})});m7.displayName="NumberDecrementStepper";var ve=sA(function(e,t){var i;let{getIncrementButtonProps:n}=m3(),r=n(e,t),o=m2();return(0,T.jsx)(m9,{...r,__css:o.stepper,children:null!=(i=e.children)?i:(0,T.jsx)(mY,{})})});ve.displayName="NumberIncrementStepper";var[vt,vi,vn,vr]=aI(),[vo,vs]=F({name:"PinInputContext",errorMessage:"usePinInputContext: `context` is undefined. Seems you forgot to all pin input fields within ``"}),va=e=>null==e?void 0:e.split("");function vl(e,t){return("alphanumeric"===t?/^[a-zA-Z0-9]+$/i:/^[0-9]+$/).test(e)}function vu(e={}){let{autoFocus:t,value:i,defaultValue:n,onChange:r,onComplete:o,placeholder:s="○",manageFocus:a=!0,otp:l=!1,id:u,isDisabled:d,isInvalid:c,type:h="number",mask:g}=e,p=(0,O.useId)(),f=null!=u?u:`pin-input-${p}`,m=vn(),[v,b]=(0,O.useState)(!0),[y,_]=(0,O.useState)(-1),[w,C]=aj({defaultValue:va(n)||[],value:va(i),onChange:e=>null==r?void 0:r(e.join(""))});(0,O.useEffect)(()=>{if(t){let e=m.first();e&&requestAnimationFrame(()=>{e.node.focus()})}},[m]);let S=(0,O.useCallback)(e=>{if(!v||!a)return;let t=m.next(e,!1);t&&requestAnimationFrame(()=>{t.node.focus()})},[m,v,a]),x=(0,O.useCallback)((e,t,i=!0)=>{let n=[...w];n[t]=e,C(n),""!==e&&n.length===m.count()&&n.every(e=>null!=e&&""!==e)?null==o||o(n.join("")):i&&S(t)},[w,C,S,o,m]),k=(0,O.useCallback)(()=>{var e;C(Array(m.count()).fill(""));let t=m.first();null==(e=null==t?void 0:t.node)||e.focus()},[m,C]),E=(0,O.useCallback)((e,t)=>{let i=t;return(null==e?void 0:e.length)>0&&(e[0]===t.charAt(0)?i=t.charAt(1):e[0]===t.charAt(1)&&(i=t.charAt(0))),i},[]);return{getInputProps:(0,O.useCallback)(e=>{let{index:t,...i}=e,n=y===t,r="number"===h?"tel":"text";return{"aria-label":"Please enter your pin code",inputMode:"number"===h?"numeric":"text",type:g?"password":r,...i,id:`${f}-${t}`,disabled:d,"aria-invalid":Q(c),onChange:J(i.onChange,e=>{let i=e.target.value,n=E(w[t],i);if(""===n){x("",t);return}if(i.length>2){if(vl(i,h)){let e=i.split("").filter((e,t)=>t{var i;if("Backspace"===e.key&&a){if(""===e.target.value){let e=m.prev(t,!1);e&&(x("",t-1,!1),null==(i=e.node)||i.focus(),b(!0))}else b(!1)}}),onFocus:J(i.onFocus,()=>{_(t)}),onBlur:J(i.onBlur,()=>{_(-1)}),value:w[t]||"",autoComplete:l?"one-time-code":"off",placeholder:n?"":s}},[m,y,E,f,d,g,c,a,o,l,s,x,C,h,w]),id:f,descendants:m,values:w,setValue:x,setValues:C,clear:k}}function vd(e={},t=null){let{getInputProps:i}=vs(),{index:n,register:r}=vr();return i({...e,ref:aN(r,t),index:n})}function vc(e){let t=sU("PinInput",e),{children:i,...n}=tL(e),{descendants:r,...o}=vu(n),s=lu(i).map(e=>(0,O.cloneElement)(e,{__css:t}));return(0,T.jsx)(vt,{value:r,children:(0,T.jsx)(vo,{value:o,children:s})})}vc.displayName="PinInput";var vh=sA(function(e,t){let i=vd(e,t);return(0,T.jsx)(sE.input,{...i,className:$("chakra-pin-input",e.className)})});vh.displayName="PinInputField";var[vg,vp]=F({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[vf,vm]=F({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),vv=sA(function(e,t){let{getHeaderProps:i}=vp(),n=vm();return(0,T.jsx)(sE.header,{...i(e,t),className:$("chakra-popover__header",e.className),__css:n.header})});function vb(e){let t=O.Children.only(e.children),{getTriggerProps:i}=vp();return(0,O.cloneElement)(t,i(t.props,t.ref))}vv.displayName="PopoverHeader",vb.displayName="PopoverTrigger";var vy={click:"click",hover:"hover"};function v_(e={}){let{closeOnBlur:t=!0,closeOnEsc:i=!0,initialFocusRef:n,id:r,returnFocusOnClose:o=!0,autoFocus:s=!0,arrowSize:a,arrowShadowColor:l,trigger:u=vy.click,openDelay:d=200,closeDelay:c=200,isLazy:h,lazyBehavior:g="unmount",computePositionOnMount:p,...f}=e,{isOpen:m,onClose:v,onOpen:b,onToggle:y}=p5(e),_=(0,O.useRef)(null),w=(0,O.useRef)(null),C=(0,O.useRef)(null),S=(0,O.useRef)(!1),x=(0,O.useRef)(!1);m&&(x.current=!0);let[k,E]=(0,O.useState)(!1),[L,D]=(0,O.useState)(!1),N=(0,O.useId)(),A=null!=r?r:N,[T,I,M,R]=["popover-trigger","popover-content","popover-header","popover-body"].map(e=>`${e}-${A}`),{referenceRef:P,getArrowProps:F,getPopperProps:B,getArrowInnerProps:V,forceUpdate:H}=p8({...f,enabled:m||!!p}),W=p7({isOpen:m,ref:C});uI({enabled:m,ref:w}),gY(C,{focusRef:w,visible:m,shouldFocus:o&&u===vy.click}),function(e,t=gQ){let{focusRef:i,preventScroll:n,shouldFocus:r,visible:o}=t,s="current"in e?e.current:e,a=r&&o,l=(0,O.useRef)(a),u=(0,O.useRef)(o);t0(()=>{!u.current&&o&&(l.current=a),u.current=o},[o,a]);let d=(0,O.useCallback)(()=>{if(o&&s&&l.current&&(l.current=!1,!s.contains(document.activeElement))){if(null==i?void 0:i.current)requestAnimationFrame(()=>{var e;null==(e=i.current)||e.focus({preventScroll:n})});else{let e=co(s);e.length>0&&requestAnimationFrame(()=>{e[0].focus({preventScroll:n})})}}},[o,n,s,i]);sm(()=>{d()},[d]),uE(s,"transitionend",d)}(C,{focusRef:n,visible:m,shouldFocus:s&&u===vy.click});let j=fe({wasSelected:x.current,enabled:h,mode:g,isSelected:W.present}),z=(0,O.useCallback)((e={},n=null)=>{let r={...e,style:{...e.style,transformOrigin:gX.transformOrigin.varRef,[gX.arrowSize.var]:a?`${a}px`:void 0,[gX.arrowShadowColor.var]:l},ref:aN(C,n),children:j?e.children:null,id:I,tabIndex:-1,role:"dialog",onKeyDown:J(e.onKeyDown,e=>{i&&"Escape"===e.key&&v()}),onBlur:J(e.onBlur,e=>{let i=vC(e),n=vw(C.current,i),r=vw(w.current,i);m&&t&&!n&&!r&&v()}),"aria-labelledby":k?M:void 0,"aria-describedby":L?R:void 0};return u===vy.hover&&(r.role="tooltip",r.onMouseEnter=J(e.onMouseEnter,()=>{S.current=!0}),r.onMouseLeave=J(e.onMouseLeave,e=>{null!==e.nativeEvent.relatedTarget&&(S.current=!1,setTimeout(()=>v(),c))})),r},[j,I,k,M,L,R,u,i,v,m,t,c,l,a]),U=(0,O.useCallback)((e={},t=null)=>B({...e,style:{visibility:m?"visible":"hidden",...e.style}},t),[m,B]),$=(0,O.useCallback)((e,t=null)=>({...e,ref:aN(t,_,P)}),[_,P]),q=(0,O.useRef)(),K=(0,O.useRef)(),G=(0,O.useCallback)(e=>{null==_.current&&P(e)},[P]),Z=(0,O.useCallback)((e={},i=null)=>{let n={...e,ref:aN(w,i,G),id:T,"aria-haspopup":"dialog","aria-expanded":m,"aria-controls":I};return u===vy.click&&(n.onClick=J(e.onClick,y)),u===vy.hover&&(n.onFocus=J(e.onFocus,()=>{void 0===q.current&&b()}),n.onBlur=J(e.onBlur,e=>{let i=vC(e),n=!vw(C.current,i);m&&t&&n&&v()}),n.onKeyDown=J(e.onKeyDown,e=>{"Escape"===e.key&&v()}),n.onMouseEnter=J(e.onMouseEnter,()=>{S.current=!0,q.current=window.setTimeout(()=>b(),d)}),n.onMouseLeave=J(e.onMouseLeave,()=>{S.current=!1,q.current&&(clearTimeout(q.current),q.current=void 0),K.current=window.setTimeout(()=>{!1===S.current&&v()},c)})),n},[T,m,I,u,G,y,b,t,v,d,c]);(0,O.useEffect)(()=>()=>{q.current&&clearTimeout(q.current),K.current&&clearTimeout(K.current)},[]);let Y=(0,O.useCallback)((e={},t=null)=>({...e,id:M,ref:aN(t,e=>{E(!!e)})}),[M]),Q=(0,O.useCallback)((e={},t=null)=>({...e,id:R,ref:aN(t,e=>{D(!!e)})}),[R]);return{forceUpdate:H,isOpen:m,onAnimationComplete:W.onComplete,onClose:v,getAnchorProps:$,getArrowProps:F,getArrowInnerProps:V,getPopoverPositionerProps:U,getPopoverProps:z,getTriggerProps:Z,getHeaderProps:Y,getBodyProps:Q}}function vw(e,t){return e===t||(null==e?void 0:e.contains(t))}function vC(e){var t;let i=e.currentTarget.ownerDocument.activeElement;return null!=(t=e.relatedTarget)?t:i}function vS(e){let t=s$("Popover",e),{children:i,...n}=tL(e),r=sT(),o=v_({...n,direction:r.direction});return(0,T.jsx)(vg,{value:o,children:(0,T.jsx)(vf,{value:t,children:G(i,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})})})}function vx(e){let t=O.Children.only(e.children),{getAnchorProps:i}=vp();return(0,O.cloneElement)(t,i(t.props,t.ref))}vS.displayName="Popover",vx.displayName="PopoverAnchor";var vk=(e,t)=>t?`${e}.${t}, ${t}`:void 0;function vE(e){var t;let{bg:i,bgColor:n,backgroundColor:r,shadow:o,boxShadow:s,shadowColor:a}=e,{getArrowProps:l,getArrowInnerProps:u}=vp(),d=vm(),c=null!=(t=null!=i?i:n)?t:r,h=null!=o?o:s;return(0,T.jsx)(sE.div,{...l(),className:"chakra-popover__arrow-positioner",children:(0,T.jsx)(sE.div,{className:$("chakra-popover__arrow",e.className),...u(e),__css:{"--popper-arrow-shadow-color":vk("colors",a),"--popper-arrow-bg":vk("colors",c),"--popper-arrow-shadow":vk("shadows",h),...d.arrow}})})}vE.displayName="PopoverArrow";var vL=sA(function(e,t){let{getBodyProps:i}=vp(),n=vm();return(0,T.jsx)(sE.div,{...i(e,t),className:$("chakra-popover__body",e.className),__css:n.body})});vL.displayName="PopoverBody";var vD=sA(function(e,t){let{onClose:i}=vp(),n=vm();return(0,T.jsx)(s9,{size:"sm",onClick:i,className:$("chakra-popover__close-btn",e.className),__css:n.closeButton,ref:t,...e})});vD.displayName="PopoverCloseButton";var vN={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},vA=sE(sb.E.section),vT=sA(function(e,t){let{variants:i=vN,...n}=e,{isOpen:r}=vp();return(0,T.jsx)(vA,{ref:t,variants:function(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}(i),initial:!1,animate:r?"enter":"exit",...n})});vT.displayName="PopoverTransition";var vI=sA(function(e,t){let{rootProps:i,motionProps:n,...r}=e,{getPopoverProps:o,getPopoverPositionerProps:s,onAnimationComplete:a}=vp(),l=vm(),u={position:"relative",display:"flex",flexDirection:"column",...l.content};return(0,T.jsx)(sE.div,{...s(i),__css:l.popper,className:"chakra-popover__popper",children:(0,T.jsx)(vT,{...n,...o(r,t),onAnimationComplete:X(a,r.onAnimationComplete),className:$("chakra-popover__content",e.className),__css:u})})});function vM(e){let t=vm();return(0,T.jsx)(sE.footer,{...e,className:$("chakra-popover__footer",e.className),__css:t.footer})}vI.displayName="PopoverContent",vM.displayName="PopoverFooter";var vR=sE("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});vR.displayName="CircularProgressLabel";var vP=e=>(0,T.jsx)(sE.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});vP.displayName="Circle";var vO=(0,A.keyframes)({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),vF=(0,A.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),vB=(0,A.keyframes)({"0%":{left:"-40%"},"100%":{left:"100%"}}),vV=(0,A.keyframes)({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function vH(e){let{value:t=0,min:i,max:n,valueText:r,getValueText:o,isIndeterminate:s,role:a="progressbar"}=e,l=(t-i)*100/(n-i);return{bind:{"data-indeterminate":s?"":void 0,"aria-valuemax":n,"aria-valuemin":i,"aria-valuenow":s?void 0:t,"aria-valuetext":(()=>{if(null!=t)return"function"==typeof o?o(t,l):r})(),role:a},percent:l,value:t}}var vW=e=>{let{size:t,isIndeterminate:i,...n}=e;return(0,T.jsx)(sE.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:i?`${vF} 2s linear infinite`:void 0},...n})};vW.displayName="Shape";var vj=sA((e,t)=>{var i;let{size:n="48px",max:r=100,min:o=0,valueText:s,getValueText:a,value:l,capIsRound:u,children:d,thickness:c="10px",color:h="#0078d4",trackColor:g="#edebe9",isIndeterminate:p,...f}=e,m=vH({min:o,max:r,value:l,valueText:s,getValueText:a,isIndeterminate:p}),v=p?void 0:(null!=(i=m.percent)?i:0)*2.64,b=null==v?void 0:`${v} ${264-v}`,y=p?{css:{animation:`${vO} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:b,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"};return(0,T.jsxs)(sE.div,{ref:t,className:"chakra-progress",...m.bind,...f,__css:{display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n},children:[(0,T.jsxs)(vW,{size:n,isIndeterminate:p,children:[(0,T.jsx)(vP,{stroke:g,strokeWidth:c,className:"chakra-progress__track"}),(0,T.jsx)(vP,{stroke:h,strokeWidth:c,className:"chakra-progress__indicator",strokeLinecap:u?"round":void 0,opacity:0!==m.value||p?void 0:0,...y})]}),d]})});vj.displayName="CircularProgress";var[vz,vU]=F({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),v$=sA((e,t)=>{let{min:i,max:n,value:r,isIndeterminate:o,role:s,...a}=e,l=vH({value:r,min:i,max:n,isIndeterminate:o,role:s}),u={height:"100%",...vU().filledTrack};return(0,T.jsx)(sE.div,{ref:t,style:{width:`${l.percent}%`,...a.style},...l.bind,...a,__css:u})}),vq=sA((e,t)=>{var i;let{value:n,min:r=0,max:o=100,hasStripe:s,isAnimated:a,children:l,borderRadius:u,isIndeterminate:d,"aria-label":c,"aria-labelledby":h,"aria-valuetext":g,title:p,role:f,...m}=tL(e),v=s$("Progress",e),b=null!=u?u:null==(i=v.track)?void 0:i.borderRadius,y={animation:`${vV} 1s linear infinite`},_={...!d&&s&&a&&y,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${vB} 1s ease infinite normal none running`}},w={overflow:"hidden",position:"relative",...v.track};return(0,T.jsx)(sE.div,{ref:t,borderRadius:b,__css:w,...m,children:(0,T.jsxs)(vz,{value:v,children:[(0,T.jsx)(v$,{"aria-label":c,"aria-labelledby":h,"aria-valuetext":g,min:r,max:o,value:n,isIndeterminate:d,css:_,borderRadius:b,title:p,role:f}),l]})})});vq.displayName="Progress";var vK=e=>{let t={top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)",...vU().label};return(0,T.jsx)(sE.div,{...e,__css:t})};function vG(e={}){let{onChange:t,value:i,defaultValue:n,name:r,isDisabled:o,isFocusable:s,isNative:a,...l}=e,[u,d]=(0,O.useState)(n||""),c=void 0!==i,h=c?i:u,g=(0,O.useRef)(null),p=(0,O.useCallback)(()=>{let e=g.current;if(!e)return;let t="input:not(:disabled):checked",i=e.querySelector(t);if(i){i.focus();return}t="input:not(:disabled)";let n=e.querySelector(t);null==n||n.focus()},[]),f=`radio-${(0,O.useId)()}`,m=r||f,v=(0,O.useCallback)(e=>{let i=e&&q(e)&&q(e.target)?e.target.value:e;c||d(i),null==t||t(String(i))},[t,c]);return{getRootProps:(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(t,g),role:"radiogroup"}),[]),getRadioProps:(0,O.useCallback)((e={},t=null)=>{let i=a?"checked":"isChecked";return{...e,ref:t,name:m,[i]:null!=h?e.value===h:void 0,onChange(e){v(e)},"data-radiogroup":!0}},[a,m,v,h]),name:m,ref:g,focus:p,setValue:d,value:h,onChange:v,isDisabled:o,isFocusable:s,htmlProps:l}}vK.displayName="ProgressLabel";var[vZ,vY]=F({name:"RadioGroupContext",strict:!1}),vQ=sA((e,t)=>{let{colorScheme:i,size:n,variant:r,children:o,className:s,isDisabled:a,isFocusable:l,...u}=e,{value:d,onChange:c,getRootProps:h,name:g,htmlProps:p}=vG(u),f=(0,O.useMemo)(()=>({name:g,size:n,onChange:c,colorScheme:i,value:d,variant:r,isDisabled:a,isFocusable:l}),[g,n,c,i,d,r,a,l]);return(0,T.jsx)(vZ,{value:f,children:(0,T.jsx)(sE.div,{...h(p,t),className:$("chakra-radio-group",s),children:o})})});vQ.displayName="RadioGroup";var vJ={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function vX(e={}){let{defaultChecked:t,isChecked:i,isFocusable:n,isDisabled:r,isReadOnly:o,isRequired:s,onChange:a,isInvalid:l,name:u,value:d,id:c,"data-radiogroup":h,"aria-describedby":g,...p}=e,f=`radio-${(0,O.useId)()}`,m=lU(),v=vY(),b=m&&!(v||h)?m.id:f;b=null!=c?c:b;let y=null!=r?r:null==m?void 0:m.isDisabled,_=null!=o?o:null==m?void 0:m.isReadOnly,w=null!=s?s:null==m?void 0:m.isRequired,C=null!=l?l:null==m?void 0:m.isInvalid,[S,x]=(0,O.useState)(!1),[k,E]=(0,O.useState)(!1),[L,D]=(0,O.useState)(!1),[N,A]=(0,O.useState)(!1),[T,I]=(0,O.useState)(!!t),M=void 0!==i,R=M?i:T;(0,O.useEffect)(()=>l7(x),[]);let P=(0,O.useCallback)(e=>{if(_||y){e.preventDefault();return}M||I(e.target.checked),null==a||a(e)},[M,y,_,a]),F=(0,O.useCallback)(e=>{" "===e.key&&A(!0)},[A]),B=(0,O.useCallback)(e=>{" "===e.key&&A(!1)},[A]),V=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":Y(N),"data-hover":Y(L),"data-disabled":Y(y),"data-invalid":Y(C),"data-checked":Y(R),"data-focus":Y(k),"data-focus-visible":Y(k&&S),"data-readonly":Y(_),"aria-hidden":!0,onMouseDown:J(e.onMouseDown,()=>A(!0)),onMouseUp:J(e.onMouseUp,()=>A(!1)),onMouseEnter:J(e.onMouseEnter,()=>D(!0)),onMouseLeave:J(e.onMouseLeave,()=>D(!1))}),[N,L,y,C,R,k,_,S]),{onFocus:H,onBlur:W}=null!=m?m:{},j=(0,O.useCallback)((e={},t=null)=>{let i=y&&!n;return{...e,id:b,ref:t,type:"radio",name:u,value:d,onChange:J(e.onChange,P),onBlur:J(W,e.onBlur,()=>E(!1)),onFocus:J(H,e.onFocus,()=>E(!0)),onKeyDown:J(e.onKeyDown,F),onKeyUp:J(e.onKeyUp,B),checked:R,disabled:i,readOnly:_,required:w,"aria-invalid":Q(C),"aria-disabled":Q(i),"aria-required":Q(w),"data-readonly":Y(_),"aria-describedby":g,style:vJ}},[y,n,b,u,d,P,W,H,F,B,R,_,w,C,g]);return{state:{isInvalid:C,isFocused:k,isChecked:R,isActive:N,isHovered:L,isDisabled:y,isReadOnly:_,isRequired:w},getCheckboxProps:V,getRadioProps:V,getInputProps:j,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:J(e.onMouseDown,v0),"data-disabled":Y(y),"data-checked":Y(R),"data-invalid":Y(C)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":Y(y),"data-checked":Y(R),"data-invalid":Y(C)}),htmlProps:p}}function v0(e){e.preventDefault(),e.stopPropagation()}var v1=sA((e,t)=>{var i;let n=vY(),{onChange:r,value:o}=e,s=s$("Radio",{...n,...e}),{spacing:a="0.5rem",children:l,isDisabled:u=null==n?void 0:n.isDisabled,isFocusable:d=null==n?void 0:n.isFocusable,inputProps:c,...h}=tL(e),g=e.isChecked;(null==n?void 0:n.value)!=null&&null!=o&&(g=n.value===o);let p=r;(null==n?void 0:n.onChange)&&null!=o&&(p=X(n.onChange,r));let f=null!=(i=null==e?void 0:e.name)?i:null==n?void 0:n.name,{getInputProps:m,getCheckboxProps:v,getLabelProps:b,getRootProps:y,htmlProps:_}=vX({...h,isChecked:g,isFocusable:d,isDisabled:u,onChange:p,name:f}),[w,C]=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e))t.includes(r)?i[r]=o:n[r]=o;return[i,n]}(_,tg),S=v(C),x=m(c,t),k=b(),E=Object.assign({},w,y()),L={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...s.container},D={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...s.control},N={userSelect:"none",marginStart:a,...s.label};return(0,T.jsxs)(sE.label,{className:"chakra-radio",...E,__css:L,children:[(0,T.jsx)("input",{className:"chakra-radio__input",...x}),(0,T.jsx)(sE.span,{className:"chakra-radio__control",...S,__css:D}),l&&(0,T.jsx)(sE.span,{className:"chakra-radio__label",...k,__css:N,children:l})]})});v1.displayName="Radio";var v2=sA(function(e,t){let{children:i,placeholder:n,className:r,...o}=e;return(0,T.jsxs)(sE.select,{...o,ref:t,className:$("chakra-select",r),children:[n&&(0,T.jsx)("option",{value:"",children:n}),i]})});v2.displayName="SelectField";var v6=sA((e,t)=>{var i;let n=s$("Select",e),{rootProps:r,placeholder:o,icon:s,color:a,height:l,h:u,minH:d,minHeight:c,iconColor:h,iconSize:g,...p}=tL(e),[f,m]=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e))t.includes(r)?i[r]=o:n[r]=o;return[i,n]}(p,tg),v=lK(m),b={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...null==(i=n.field)?void 0:i._focus}};return(0,T.jsxs)(sE.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:a},...f,...r,children:[(0,T.jsx)(v2,{ref:t,height:null!=u?u:l,minH:null!=d?d:c,placeholder:o,...v,__css:b,children:e.children}),(0,T.jsx)(v5,{"data-disabled":Y(v.disabled),...(h||a)&&{color:h||a},__css:n.icon,...g&&{fontSize:g},children:s})]})});v6.displayName="Select";var v3=e=>(0,T.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),v8=sE("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),v5=e=>{let{children:t=(0,T.jsx)(v3,{}),...i}=e,n=(0,O.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,T.jsx)(v8,{...i,className:"chakra-select__icon-wrapper",children:(0,O.isValidElement)(t)?n:null})};v5.displayName="SelectIcon";var v4=sE("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),v9=e2("skeleton-start-color"),v7=e2("skeleton-end-color"),be=(0,A.keyframes)({from:{opacity:0},to:{opacity:1}}),bt=(0,A.keyframes)({from:{borderColor:v9.reference,background:v9.reference},to:{borderColor:v7.reference,background:v7.reference}}),bi=sA((e,t)=>{let i={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},n=sU("Skeleton",i),r=function(){let e=(0,O.useRef)(!0);return(0,O.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:o="",endColor:s="",isLoaded:a,fadeDuration:l,speed:u,className:d,fitContent:c,...h}=tL(i),[g,p]=sM("colors",[o,s]),f=function(e){let t=(0,O.useRef)();return(0,O.useEffect)(()=>{t.current=e},[e]),t.current}(a),m=$("chakra-skeleton",d),v={...g&&{[v9.variable]:g},...p&&{[v7.variable]:p}};if(a){let e=r||f?"none":`${be} ${l}s`;return(0,T.jsx)(sE.div,{ref:t,className:m,__css:{animation:e},...h})}return(0,T.jsx)(v4,{ref:t,className:m,...h,__css:{width:c?"fit-content":void 0,...n,...v,_dark:{...n._dark,...v},animation:`${u}s linear infinite alternate ${bt}`}})});bi.displayName="Skeleton";var bn=({size:e="2rem",...t})=>(0,T.jsx)(bi,{borderRadius:"full",boxSize:e,...t});bn.displayName="SkeletonCircle";var br=e=>{let{noOfLines:t=3,spacing:i="0.5rem",skeletonHeight:n="0.5rem",className:r,startColor:o,endColor:s,isLoaded:a,fadeDuration:l,speed:u,variant:d,size:c,colorScheme:h,children:g,...p}=e,f=gK("number"==typeof t?[t]:t)||3,m=Array(f).fill(1).map((e,t)=>t+1),v=e=>f>1&&e===m.length?"80%":"100%",b=$("chakra-skeleton__group",r);return(0,T.jsx)(sE.div,{className:b,...p,children:m.map((e,t)=>{if(a&&t>0)return null;let r=a?null:{mb:e===m.length?"0":i,width:v(e),height:n};return(0,T.jsx)(bi,{startColor:o,endColor:s,isLoaded:a,fadeDuration:l,speed:u,variant:d,size:c,colorScheme:h,...r,children:0===t?g:void 0},m.length.toString()+e)})})};br.displayName="SkeletonText";var bo=e=>e?"":void 0,bs=e=>!!e||void 0,ba=(...e)=>e.filter(Boolean).join(" ");function bl(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function bu(e){let{orientation:t,vertical:i,horizontal:n}=e;return"vertical"===t?i:n}var bd={width:0,height:0},bc=e=>e||bd;function bh(e){let{orientation:t,thumbPercents:i,thumbRects:n,isReversed:r}=e,o="vertical"===t?n.reduce((e,t)=>bc(e).height>bc(t).height?e:t,bd):n.reduce((e,t)=>bc(e).width>bc(t).width?e:t,bd),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...bu({orientation:t,vertical:o?{paddingLeft:o.width/2,paddingRight:o.width/2}:{},horizontal:o?{paddingTop:o.height/2,paddingBottom:o.height/2}:{}})},a={position:"absolute",...bu({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},l=1===i.length,u=[0,r?100-i[0]:i[0]],d=l?u:i,c=d[0];!l&&r&&(c=100-c);let h=Math.abs(d[d.length-1]-d[0]),g={...a,...bu({orientation:t,vertical:r?{height:`${h}%`,top:`${c}%`}:{height:`${h}%`,bottom:`${c}%`},horizontal:r?{width:`${h}%`,right:`${c}%`}:{width:`${h}%`,left:`${c}%`}})};return{trackStyle:a,innerTrackStyle:g,rootStyle:s,getThumbStyle:e=>{var r;let o=null!=(r=n[e])?r:bd;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...bu({orientation:t,vertical:{bottom:`calc(${i[e]}% - ${o.height/2}px)`},horizontal:{left:`calc(${i[e]}% - ${o.width/2}px)`}})}}}}function bg(e){let{isReversed:t,direction:i,orientation:n}=e;return"ltr"===i||"vertical"===n?t:!t}function bp(e,t="page"){return e.touches?function(e,t="page"){let i=e.touches[0]||e.changedTouches[0];return{x:i[`${t}X`],y:i[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}function bf(e,t,i,n){var r;return r=function(e,t=!1){function i(t){e(t,{point:bp(t)})}return t?e=>{var t;let n;let r=void 0!==(n=null!=(t=e.view)?t:window).PointerEvent&&e instanceof n.PointerEvent?!("mouse"!==e.pointerType):e instanceof n.MouseEvent;(!r||r&&0===e.button)&&i(e)}:i}(i,"pointerdown"===t),e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}var bm=Object.defineProperty,bv=(e,t,i)=>t in e?bm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,bb=(e,t,i)=>(bv(e,"symbol"!=typeof t?t+"":t,i),i),by=class{constructor(e,t,i){var n;if(bb(this,"history",[]),bb(this,"startEvent",null),bb(this,"lastEvent",null),bb(this,"lastEventInfo",null),bb(this,"handlers",{}),bb(this,"removeListeners",()=>{}),bb(this,"threshold",3),bb(this,"win"),bb(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;let e=bw(this.lastEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return"number"==typeof e&&"number"==typeof t?bS(e,t):bx(e)&&bx(t)?Math.sqrt(bS(e.x,t.x)**2+bS(e.y,t.y)**2):0}(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!i)return;let{timestamp:n}=c7();this.history.push({...e.point,timestamp:n});let{onStart:r,onMove:o}=this.handlers;t||(null==r||r(this.lastEvent,e),this.startEvent=this.lastEvent),null==o||o(this.lastEvent,e)}),bb(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,c3.update(this.updatePoint,!0)}),bb(this,"onPointerUp",(e,t)=>{let i=bw(t,this.history),{onEnd:n,onSessionEnd:r}=this.handlers;null==r||r(e,i),this.end(),n&&this.startEvent&&(null==n||n(e,i))}),this.win=null!=(n=e.view)?n:window,function(e){return!!e.touches&&e.touches.length>1}(e))return;this.handlers=t,i&&(this.threshold=i),e.stopPropagation(),e.preventDefault();let r={point:bp(e)},{timestamp:o}=c7();this.history=[{...r.point,timestamp:o}];let{onSessionStart:s}=t;null==s||s(e,bw(r,this.history)),this.removeListeners=function(...e){return t=>e.reduce((e,t)=>t(e),t)}(bf(this.win,"pointermove",this.onPointerMove),bf(this.win,"pointerup",this.onPointerUp),bf(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),c8.update(this.updatePoint)}};function b_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bw(e,t){return{point:e.point,delta:b_(e.point,t[t.length-1]),offset:b_(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=e[e.length-1];for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>bC(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}var bC=e=>1e3*e;function bS(e,t){return Math.abs(e-t)}function bx(e){return"x"in e&&"y"in e}function bk(e){let t=(0,O.useRef)(null);return t.current=e,t}function bE(e,t){let{onPan:i,onPanStart:n,onPanEnd:r,onPanSessionStart:o,onPanSessionEnd:s,threshold:a}=t,l=!!(i||n||r||o||s),u=(0,O.useRef)(null),d=bk({onSessionStart:o,onSessionEnd:s,onStart:n,onMove:i,onEnd(e,t){u.current=null,null==r||r(e,t)}});(0,O.useEffect)(()=>{var e;null==(e=u.current)||e.updateHandlers(d.current)}),(0,O.useEffect)(()=>{let t=e.current;if(t&&l)return bf(t,"pointerdown",function(e){u.current=new by(e,d.current,a)})},[e,l,d,a]),(0,O.useEffect)(()=>()=>{var e;null==(e=u.current)||e.end(),u.current=null},[])}var bL=(null==globalThis?void 0:globalThis.document)?O.useLayoutEffect:O.useEffect;function bD({getNodes:e,observeMutation:t=!0}){let[i,n]=(0,O.useState)([]),[r,o]=(0,O.useState)(0);return bL(()=>{let i=e(),r=i.map((e,t)=>(function(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});let i=new(e.ownerDocument.defaultView??window).ResizeObserver(i=>{let n,r;if(!Array.isArray(i)||!i.length)return;let[o]=i;if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;t({width:n,height:r})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)})(e,e=>{n(i=>[...i.slice(0,t),e,...i.slice(t+1)])}));if(t){let e=i[0];r.push(function(e,t){var i,n;if(!e||!e.parentElement)return;let r=new(null!=(n=null==(i=e.ownerDocument)?void 0:i.defaultView)?n:window).MutationObserver(()=>{t()});return r.observe(e.parentElement,{childList:!0}),()=>{r.disconnect()}}(e,()=>{o(e=>e+1)}))}return()=>{r.forEach(e=>{null==e||e()})}},[r]),i}function bN(e){var t,i;let{min:n=0,max:r=100,onChange:o,value:s,defaultValue:a,isReversed:l,direction:u="ltr",orientation:d="horizontal",id:c,isDisabled:h,isReadOnly:g,onChangeStart:p,onChangeEnd:f,step:m=1,getAriaValueText:v,"aria-valuetext":b,"aria-label":y,"aria-labelledby":_,name:w,focusThumbOnChange:C=!0,minStepsBetweenThumbs:S=0,...x}=e,k=sf(p),E=sf(f),L=sf(v),D=bg({isReversed:l,direction:u,orientation:d}),[N,A]=aj({value:s,defaultValue:null!=a?a:[25,75],onChange:o});if(!Array.isArray(N))throw TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof N}\``);let[T,I]=(0,O.useState)(!1),[M,R]=(0,O.useState)(!1),[P,F]=(0,O.useState)(-1),B=!(h||g),V=(0,O.useRef)(N),H=N.map(e=>uh(e,n,r)),W=(i=S*m,H.map((e,t)=>({min:0===t?n:H[t-1]+i,max:t===H.length-1?r:H[t+1]-i}))),j=(0,O.useRef)({eventSource:null,value:[],valueBounds:[]});j.current.value=H,j.current.valueBounds=W;let z=H.map(e=>r-e+n),U=(D?z:H).map(e=>(e-n)*100/(r-n)),$="vertical"===d,q=(0,O.useRef)(null),K=(0,O.useRef)(null),G=bD({getNodes(){let e=K.current,t=null==e?void 0:e.querySelectorAll("[role=slider]");return t?Array.from(t):[]}}),Z={root:`slider-root-${t=null!=c?c:(0,O.useId)()}`,getThumb:e=>`slider-thumb-${t}-${e}`,getInput:e=>`slider-input-${t}-${e}`,track:`slider-track-${t}`,innerTrack:`slider-filled-track-${t}`,getMarker:e=>`slider-marker-${t}-${e}`,output:`slider-output-${t}`},Y=(0,O.useCallback)(e=>{var t,i;if(!q.current)return;j.current.eventSource="pointer";let o=q.current.getBoundingClientRect(),{clientX:s,clientY:a}=null!=(i=null==(t=e.touches)?void 0:t[0])?i:e,l=($?o.bottom-a:s-o.left)/($?o.height:o.width);return D&&(l=1-l),(r-n)*l+n},[$,D,r,n]),Q=(r-n)/10,J=m||(r-n)/100,X=(0,O.useMemo)(()=>({setValueAtIndex(e,t){if(!B)return;let i=j.current.valueBounds[e];t=uh(t=parseFloat(uc(t,i.min,J)),i.min,i.max);let n=[...j.current.value];n[e]=t,A(n)},setActiveIndex:F,stepUp(e,t=J){let i=j.current.value[e],n=D?i-t:i+t;X.setValueAtIndex(e,n)},stepDown(e,t=J){let i=j.current.value[e],n=D?i+t:i-t;X.setValueAtIndex(e,n)},reset(){A(V.current)}}),[J,D,A,B]),ee=(0,O.useCallback)(e=>{let t={ArrowRight:()=>X.stepUp(P),ArrowUp:()=>X.stepUp(P),ArrowLeft:()=>X.stepDown(P),ArrowDown:()=>X.stepDown(P),PageUp:()=>X.stepUp(P,Q),PageDown:()=>X.stepDown(P,Q),Home:()=>{let{min:e}=W[P];X.setValueAtIndex(P,e)},End:()=>{let{max:e}=W[P];X.setValueAtIndex(P,e)}}[e.key];t&&(e.preventDefault(),e.stopPropagation(),t(e),j.current.eventSource="keyboard")},[X,P,Q,W]),{getThumbStyle:et,rootStyle:ei,trackStyle:en,innerTrackStyle:er}=(0,O.useMemo)(()=>bh({isReversed:D,orientation:d,thumbRects:G,thumbPercents:U}),[D,d,U,G]),eo=(0,O.useCallback)(e=>{var t;let i=null!=e?e:P;if(-1!==i&&C){let e=Z.getThumb(i),n=null==(t=K.current)?void 0:t.ownerDocument.getElementById(e);n&&setTimeout(()=>n.focus())}},[C,P,Z]);sm(()=>{"keyboard"===j.current.eventSource&&(null==E||E(j.current.value))},[H,E]);let es=e=>{let t=Y(e)||0,i=j.current.value.map(e=>Math.abs(e-t)),n=Math.min(...i),r=i.indexOf(n),o=i.filter(e=>e===n);o.length>1&&t>j.current.value[r]&&(r=r+o.length-1),F(r),X.setValueAtIndex(r,t),eo(r)},ea=e=>{if(-1==P)return;let t=Y(e)||0;F(P),X.setValueAtIndex(P,t),eo(P)};bE(K,{onPanSessionStart(e){B&&(I(!0),es(e),null==k||k(j.current.value))},onPanSessionEnd(){B&&(I(!1),null==E||E(j.current.value))},onPan(e){B&&ea(e)}});let el=(0,O.useCallback)((e={},t=null)=>({...e,...x,id:Z.root,ref:aN(t,K),tabIndex:-1,"aria-disabled":bs(h),"data-focused":bo(M),style:{...e.style,...ei}}),[x,h,M,ei,Z]),eu=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(t,q),id:Z.track,"data-disabled":bo(h),style:{...e.style,...en}}),[h,en,Z]),ed=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,id:Z.innerTrack,style:{...e.style,...er}}),[er,Z]),ec=(0,O.useCallback)((e,t=null)=>{var i;let{index:n,...r}=e,o=H[n];if(null==o)throw TypeError(`[range-slider > thumb] Cannot find value at index \`${n}\`. The \`value\` or \`defaultValue\` length is : ${H.length}`);let s=W[n];return{...r,ref:t,role:"slider",tabIndex:B?0:void 0,id:Z.getThumb(n),"data-active":bo(T&&P===n),"aria-valuetext":null!=(i=null==L?void 0:L(o))?i:null==b?void 0:b[n],"aria-valuemin":s.min,"aria-valuemax":s.max,"aria-valuenow":o,"aria-orientation":d,"aria-disabled":bs(h),"aria-readonly":bs(g),"aria-label":null==y?void 0:y[n],"aria-labelledby":(null==y?void 0:y[n])?void 0:null==_?void 0:_[n],style:{...e.style,...et(n)},onKeyDown:bl(e.onKeyDown,ee),onFocus:bl(e.onFocus,()=>{R(!0),F(n)}),onBlur:bl(e.onBlur,()=>{R(!1),F(-1)})}},[Z,H,W,B,T,P,L,b,d,h,g,y,_,et,ee,R]),eh=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,id:Z.output,htmlFor:H.map((e,t)=>Z.getThumb(t)).join(" "),"aria-live":"off"}),[Z,H]),eg=(0,O.useCallback)((e,t=null)=>{let{value:i,...o}=e,s=!(ir),a=i>=H[0]&&i<=H[H.length-1],l=(i-n)*100/(r-n),u={position:"absolute",pointerEvents:"none",...bu({orientation:d,vertical:{bottom:`${l=D?100-l:l}%`},horizontal:{left:`${l}%`}})};return{...o,ref:t,id:Z.getMarker(e.value),role:"presentation","aria-hidden":!0,"data-disabled":bo(h),"data-invalid":bo(!s),"data-highlighted":bo(a),style:{...e.style,...u}}},[h,D,r,n,d,H,Z]),ep=(0,O.useCallback)((e,t=null)=>{let{index:i,...n}=e;return{...n,ref:t,id:Z.getInput(i),type:"hidden",value:H[i],name:Array.isArray(w)?w[i]:`${w}-${i}`}},[w,H,Z]);return{state:{value:H,isFocused:M,isDragging:T,getThumbPercent:e=>U[e],getThumbMinValue:e=>W[e].min,getThumbMaxValue:e=>W[e].max},actions:X,getRootProps:el,getTrackProps:eu,getInnerTrackProps:ed,getThumbProps:ec,getMarkerProps:eg,getInputProps:ep,getOutputProps:eh}}var[bA,bT]=F({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[bI,bM]=F({name:"RangeSliderStylesContext",errorMessage:"useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),bR=sA(function(e,t){let i={orientation:"horizontal",...e},n=s$("Slider",i),r=tL(i),{direction:o}=sT();r.direction=o;let{getRootProps:s,...a}=bN(r),l=(0,O.useMemo)(()=>({...a,name:i.name}),[a,i.name]);return(0,T.jsx)(bA,{value:l,children:(0,T.jsx)(bI,{value:n,children:(0,T.jsx)(sE.div,{...s({},t),className:"chakra-slider",__css:n.container,children:i.children})})})});bR.displayName="RangeSlider";var bP=sA(function(e,t){let{getThumbProps:i,getInputProps:n,name:r}=bT(),o=bM(),s=i(e,t);return(0,T.jsxs)(sE.div,{...s,className:ba("chakra-slider__thumb",e.className),__css:o.thumb,children:[s.children,r&&(0,T.jsx)("input",{...n({index:e.index})})]})});bP.displayName="RangeSliderThumb";var bO=sA(function(e,t){let{getTrackProps:i}=bT(),n=bM(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__track",e.className),__css:n.track,"data-testid":"chakra-range-slider-track"})});bO.displayName="RangeSliderTrack";var bF=sA(function(e,t){let{getInnerTrackProps:i}=bT(),n=bM(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:"chakra-slider__filled-track",__css:n.filledTrack})});bF.displayName="RangeSliderFilledTrack";var bB=sA(function(e,t){let{getMarkerProps:i}=bT(),n=i(e,t);return(0,T.jsx)(sE.div,{...n,className:ba("chakra-slider__marker",e.className)})});function bV(e){var t;let{min:i=0,max:n=100,onChange:r,value:o,defaultValue:s,isReversed:a,direction:l="ltr",orientation:u="horizontal",id:d,isDisabled:c,isReadOnly:h,onChangeStart:g,onChangeEnd:p,step:f=1,getAriaValueText:m,"aria-valuetext":v,"aria-label":b,"aria-labelledby":y,name:_,focusThumbOnChange:w=!0,...C}=e,S=sf(g),x=sf(p),k=sf(m),E=bg({isReversed:a,direction:l,orientation:u}),[L,D]=aj({value:o,defaultValue:null!=s?s:n{var t,i,n,r;if(!j.current)return;let o=W.current;o.eventSource="pointer";let s=j.current.getBoundingClientRect(),{clientX:a,clientY:l}=null!=(i=null==(t=e.touches)?void 0:t[0])?i:e,u=(H?s.bottom-l:a-s.left)/(H?s.height:s.width);E&&(u=1-u);let d=(n=u,r=o.min,(o.max-r)*n+r);return o.step&&(d=parseFloat(uc(d,o.min,o.step))),d=uh(d,o.min,o.max)},[H,E,W]),Y=(0,O.useCallback)(e=>{let t=W.current;t.isInteractive&&D(e=uh(e=parseFloat(uc(e,t.min,P)),t.min,t.max))},[P,D,W]),Q=(0,O.useMemo)(()=>({stepUp(e=P){Y(E?F-e:F+e)},stepDown(e=P){Y(E?F+e:F-e)},reset(){Y(s||0)},stepTo(e){Y(e)}}),[Y,E,F,P,s]),J=(0,O.useCallback)(e=>{let t=W.current,i={ArrowRight:()=>Q.stepUp(),ArrowUp:()=>Q.stepUp(),ArrowLeft:()=>Q.stepDown(),ArrowDown:()=>Q.stepDown(),PageUp:()=>Q.stepUp(R),PageDown:()=>Q.stepDown(R),Home:()=>Y(t.min),End:()=>Y(t.max)}[e.key];i&&(e.preventDefault(),e.stopPropagation(),i(e),t.eventSource="keyboard")},[Q,Y,R,W]),X=null!=(t=null==k?void 0:k(F))?t:v,ee=function(e){let[t]=bD({observeMutation:!1,getNodes:()=>["object"==typeof e&&null!==e&&"current"in e?e.current:e]});return t}(z),{getThumbStyle:et,rootStyle:ei,trackStyle:en,innerTrackStyle:er}=(0,O.useMemo)(()=>{let e=W.current,t=null!=ee?ee:{width:0,height:0};return bh({isReversed:E,orientation:e.orientation,thumbRects:[t],thumbPercents:[V]})},[E,ee,V,W]),eo=(0,O.useCallback)(()=>{W.current.focusThumbOnChange&&setTimeout(()=>{var e;return null==(e=z.current)?void 0:e.focus()})},[W]);function es(e){let t=Z(e);null!=t&&t!==W.current.value&&D(t)}sm(()=>{let e=W.current;eo(),"keyboard"===e.eventSource&&(null==x||x(e.value))},[F,x]),bE(U,{onPanSessionStart(e){let t=W.current;t.isInteractive&&(A(!0),eo(),es(e),null==S||S(t.value))},onPanSessionEnd(){let e=W.current;e.isInteractive&&(A(!1),null==x||x(e.value))},onPan(e){W.current.isInteractive&&es(e)}});let ea=(0,O.useCallback)((e={},t=null)=>({...e,...C,ref:aN(t,U),tabIndex:-1,"aria-disabled":bs(c),"data-focused":bo(T),style:{...e.style,...ei}}),[C,c,T,ei]),el=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(t,j),id:G,"data-disabled":bo(c),style:{...e.style,...en}}),[c,G,en]),eu=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,style:{...e.style,...er}}),[er]),ed=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(t,z),role:"slider",tabIndex:M?0:void 0,id:K,"data-active":bo(N),"aria-valuetext":X,"aria-valuemin":i,"aria-valuemax":n,"aria-valuenow":F,"aria-orientation":u,"aria-disabled":bs(c),"aria-readonly":bs(h),"aria-label":b,"aria-labelledby":b?void 0:y,style:{...e.style,...et(0)},onKeyDown:bl(e.onKeyDown,J),onFocus:bl(e.onFocus,()=>I(!0)),onBlur:bl(e.onBlur,()=>I(!1))}),[M,K,N,X,i,n,F,u,c,h,b,y,et,J]),ec=(0,O.useCallback)((e,t=null)=>{let r=!(e.valuen),o=F>=e.value,s=(e.value-i)*100/(n-i),a={position:"absolute",pointerEvents:"none",...function(e){let{orientation:t,vertical:i,horizontal:n}=e;return"vertical"===t?i:n}({orientation:u,vertical:{bottom:E?`${100-s}%`:`${s}%`},horizontal:{left:E?`${100-s}%`:`${s}%`}})};return{...e,ref:t,role:"presentation","aria-hidden":!0,"data-disabled":bo(c),"data-invalid":bo(!r),"data-highlighted":bo(o),style:{...e.style,...a}}},[c,E,n,i,u,F]),eh=(0,O.useCallback)((e={},t=null)=>({...e,ref:t,type:"hidden",value:F,name:_}),[_,F]);return{state:{value:F,isFocused:T,isDragging:N},actions:Q,getRootProps:ea,getTrackProps:el,getInnerTrackProps:eu,getThumbProps:ed,getMarkerProps:ec,getInputProps:eh}}bB.displayName="RangeSliderMark";var[bH,bW]=F({name:"SliderContext",hookName:"useSliderContext",providerName:""}),[bj,bz]=F({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),bU=sA((e,t)=>{var i;let n={...e,orientation:null!=(i=null==e?void 0:e.orientation)?i:"horizontal"},r=s$("Slider",n),o=tL(n),{direction:s}=sT();o.direction=s;let{getInputProps:a,getRootProps:l,...u}=bV(o),d=l(),c=a({},t);return(0,T.jsx)(bH,{value:u,children:(0,T.jsx)(bj,{value:r,children:(0,T.jsxs)(sE.div,{...d,className:ba("chakra-slider",n.className),__css:r.container,children:[n.children,(0,T.jsx)("input",{...c})]})})})});bU.displayName="Slider";var b$=sA((e,t)=>{let{getThumbProps:i}=bW(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__thumb",e.className),__css:n.thumb})});b$.displayName="SliderThumb";var bq=sA((e,t)=>{let{getTrackProps:i}=bW(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__track",e.className),__css:n.track})});bq.displayName="SliderTrack";var bK=sA((e,t)=>{let{getInnerTrackProps:i}=bW(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__filled-track",e.className),__css:n.filledTrack})});bK.displayName="SliderFilledTrack";var bG=sA((e,t)=>{let{getMarkerProps:i}=bW(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__marker",e.className),__css:n.mark})});bG.displayName="SliderMark";var[bZ,bY]=F({name:"StatStylesContext",errorMessage:"useStatStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),bQ=sA(function(e,t){let i=s$("Stat",e),n={position:"relative",flex:"1 1 0%",...i.container},{className:r,children:o,...s}=tL(e);return(0,T.jsx)(bZ,{value:i,children:(0,T.jsx)(sE.div,{ref:t,...s,className:$("chakra-stat",r),__css:n,children:(0,T.jsx)("dl",{children:o})})})});bQ.displayName="Stat";var bJ=e=>(0,T.jsx)(sG,{color:"red.400",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})});function bX(e){return(0,T.jsx)(sG,{color:"green.400",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})})}function b0(e){let{type:t,"aria-label":i,...n}=e,r=bY(),o="increase"===t?bX:bJ;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(sE.span,{srOnly:!0,children:i||("increase"===t?"increased by":"decreased by")}),(0,T.jsx)(o,{"aria-hidden":!0,...n,__css:r.icon})]})}bJ.displayName="StatDownArrow",bX.displayName="StatUpArrow",b0.displayName="StatArrow";var b1=sA(function(e,t){return(0,T.jsx)(sE.div,{...e,ref:t,role:"group",className:$("chakra-stat__group",e.className),__css:{display:"flex",flexWrap:"wrap",justifyContent:"space-around",alignItems:"flex-start"}})});b1.displayName="StatGroup";var b2=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dd,{ref:t,...e,className:$("chakra-stat__help-text",e.className),__css:i.helpText})});b2.displayName="StatHelpText";var b6=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dt,{ref:t,...e,className:$("chakra-stat__label",e.className),__css:i.label})});b6.displayName="StatLabel";var b3=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dd,{ref:t,...e,className:$("chakra-stat__number",e.className),__css:{...i.number,fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}})});b3.displayName="StatNumber";var[b8,b5]=F({name:"StepContext"}),[b4,b9]=tU("Stepper"),b7=sA(function(e,t){let{status:i}=b5(),n=b9();return(0,T.jsx)(sE.h3,{ref:t,"data-status":i,...e,__css:n.title,className:$("chakra-step__title",e.className)})}),ye=sA(function(e,t){let{orientation:i,status:n,showLastSeparator:r}=b5(),o=b9();return(0,T.jsx)(sE.div,{ref:t,"data-status":n,"data-orientation":i,"data-stretch":Y(r),__css:o.step,...e,className:$("chakra-step",e.className)})}),yt=sA(function(e,t){let i=s$("Stepper",e),{children:n,index:r,orientation:o="horizontal",showLastSeparator:s=!1,...a}=tL(e),l=O.Children.toArray(n),u=l.length;return(0,T.jsx)(sE.div,{ref:t,"aria-label":"Progress","data-orientation":o,...a,__css:i.stepper,className:$("chakra-stepper",e.className),children:(0,T.jsx)(b4,{value:i,children:l.map((e,t)=>(0,T.jsx)(b8,{value:{index:t,status:tr?"incomplete":"active",orientation:o,showLastSeparator:s,count:u,isFirst:0===t,isLast:t===u-1},children:e},t))})})});function yi(e={}){let{index:t=0,count:i}=e,[n,r]=(0,O.useState)(t);return{activeStep:n,setActiveStep:r,activeStepPercent:n/("number"==typeof i?i-1:0),isActiveStep:e=>e===n,isCompleteStep:e=>ee>n,getStatus:e=>en?"incomplete":"active",goToNext(){r(e=>"number"==typeof i?Math.min(i,e+1):e+1)},goToPrevious(){r(e=>Math.max(0,e-1))}}}var yn=sA(function(e,t){let{status:i}=b5(),n=b9();return(0,T.jsx)(sE.p,{ref:t,"data-status":i,...e,className:$("chakra-step__description",e.className),__css:n.description})});function yr(e){let{complete:t,incomplete:i,active:n}=e,r=b5(),o=null;switch(r.status){case"complete":o=G(t,r);break;case"incomplete":o=G(i,r);break;case"active":o=G(n,r)}return o?(0,T.jsx)(T.Fragment,{children:o}):null}function yo(e){return(0,T.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 20 20","aria-hidden":"true",height:"1em",width:"1em",...e,children:(0,T.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function ys(e){let{status:t}=b5(),i=b9();return(0,T.jsx)(sG,{as:"complete"===t?yo:void 0,__css:i.icon,...e,className:$("chakra-step__icon",e.className)})}var ya=sA(function(e,t){let{children:i,...n}=e,{status:r,index:o}=b5(),s=b9();return(0,T.jsx)(sE.div,{ref:t,"data-status":r,__css:s.number,...n,className:$("chakra-step__number",e.className),children:i||o+1})});function yl(e){let{status:t}=b5(),i=b9();return(0,T.jsx)(sE.div,{"data-status":t,...e,__css:i.indicator,className:$("chakra-step__indicator",e.className)})}function yu(){return(0,T.jsx)(yr,{complete:(0,T.jsx)(ys,{}),incomplete:(0,T.jsx)(ya,{}),active:(0,T.jsx)(ya,{})})}var yd=sA(function(e,t){let{orientation:i,status:n,isLast:r,showLastSeparator:o}=b5(),s=b9();return r&&!o?null:(0,T.jsx)(sE.div,{ref:t,role:"separator","data-orientation":i,"data-status":n,__css:s.separator,...e,className:$("chakra-step__separator",e.className)})}),yc=sA(function(e,t){let i=s$("Switch",e),{spacing:n="0.5rem",children:r,...o}=tL(e),{state:s,getInputProps:a,getCheckboxProps:l,getRootProps:u,getLabelProps:d}=ue(o),c=(0,O.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...i.container}),[i.container]),h=(0,O.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...i.track}),[i.track]),g=(0,O.useMemo)(()=>({userSelect:"none",marginStart:n,...i.label}),[n,i.label]);return(0,T.jsxs)(sE.label,{...u(),className:$("chakra-switch",e.className),__css:c,children:[(0,T.jsx)("input",{className:"chakra-switch__input",...a({},t)}),(0,T.jsx)(sE.span,{...l(),className:"chakra-switch__track",__css:h,children:(0,T.jsx)(sE.span,{__css:i.thumb,className:"chakra-switch__thumb","data-checked":Y(s.isChecked),"data-hover":Y(s.isHovered)})}),r&&(0,T.jsx)(sE.span,{className:"chakra-switch__label",...d(),__css:g,children:r})]})});yc.displayName="Switch";var yh=new Set(["dark","light","system"]);function yg(e={}){let t;let{initialColorMode:i="light",type:n="localStorage",storageKey:r="chakra-ui-color-mode"}=e,o=(t=i,yh.has(t)||(t="light"),t);return`!${"cookie"===n?`(function(){try{var a=function(o){var l="(prefers-color-scheme: dark)",v=window.matchMedia(l).matches?"dark":"light",e=o==="system"?v:o,d=document.documentElement,m=document.body,i="chakra-ui-light",n="chakra-ui-dark",s=e==="dark";return m.classList.add(s?n:i),m.classList.remove(s?i:n),d.style.colorScheme=e,d.dataset.theme=e,e},u=a,h="${o}",r="${r}",t=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),c=t?t[2]:null;c?a(c):document.cookie="".concat(r,"=").concat(a(h),"; max-age=31536000; path=/")}catch(a){}})(); + )`;return{...!n&&r&&o,...n?{bgImage:a}:{bgColor:s}}},nW={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},nz=e=>({bg:iB("gray.100","whiteAlpha.300")(e)}),nU=e=>({transitionProperty:"common",transitionDuration:"slow",...nj(e)}),n$=nH(e=>({label:nW,filledTrack:nU(e),track:nz(e)})),nq=nV({sizes:{xs:nH({track:{h:"1"}}),sm:nH({track:{h:"2"}}),md:nH({track:{h:"3"}}),lg:nH({track:{h:"4"}})},baseStyle:n$,defaultProps:{size:"md",colorScheme:"blue"}}),nK=e=>"function"==typeof e;function nG(e,...t){return nK(e)?e(...t):e}var{definePartsStyle:nZ,defineMultiStyleConfig:nY}=tx(im.TB.keys),nQ=e2("checkbox-size"),nJ=e=>{let{colorScheme:t}=e;return{w:nQ.reference,h:nQ.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:iB(`${t}.500`,`${t}.200`)(e),borderColor:iB(`${t}.500`,`${t}.200`)(e),color:iB("white","gray.900")(e),_hover:{bg:iB(`${t}.600`,`${t}.300`)(e),borderColor:iB(`${t}.600`,`${t}.300`)(e)},_disabled:{borderColor:iB("gray.200","transparent")(e),bg:iB("gray.200","whiteAlpha.300")(e),color:iB("gray.500","whiteAlpha.500")(e)}},_indeterminate:{bg:iB(`${t}.500`,`${t}.200`)(e),borderColor:iB(`${t}.500`,`${t}.200`)(e),color:iB("white","gray.900")(e)},_disabled:{bg:iB("gray.100","whiteAlpha.100")(e),borderColor:iB("gray.100","transparent")(e)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:iB("red.500","red.300")(e)}}},nX={_disabled:{cursor:"not-allowed"}},n0={userSelect:"none",_disabled:{opacity:.4}},n1={transitionProperty:"transform",transitionDuration:"normal"},n2=nY({baseStyle:nZ(e=>({icon:n1,container:nX,control:nG(nJ,e),label:n0})),sizes:{sm:nZ({control:{[nQ.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:nZ({control:{[nQ.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:nZ({control:{[nQ.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:n6,definePartsStyle:n3}=tx(im.f2.keys),n8=e=>{var t;let i=null==(t=nG(n2.baseStyle,e))?void 0:t.control;return{...i,borderRadius:"full",_checked:{...null==i?void 0:i._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},n5=n6({baseStyle:n3(e=>{var t,i;return{label:null==(t=n2.baseStyle)?void 0:t.call(n2,e).label,container:null==(i=n2.baseStyle)?void 0:i.call(n2,e).container,control:n8(e)}}),sizes:{md:n3({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:n3({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:n3({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:n4,definePartsStyle:n9}=tx(im.nY.keys),n7=e2("select-bg"),re=n9({field:{...null==(f=nT.baseStyle)?void 0:f.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:n7.reference,[n7.variable]:"colors.white",_dark:{[n7.variable]:"colors.gray.700"},"> option, > optgroup":{bg:n7.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),rt={paddingInlineEnd:"8"},ri=n4({baseStyle:re,sizes:{lg:{...null==(m=nT.sizes)?void 0:m.lg,field:{...null==(v=nT.sizes)?void 0:v.lg.field,...rt}},md:{...null==(b=nT.sizes)?void 0:b.md,field:{...null==(y=nT.sizes)?void 0:y.md.field,...rt}},sm:{...null==(_=nT.sizes)?void 0:_.sm,field:{...null==(w=nT.sizes)?void 0:w.sm.field,...rt}},xs:{...null==(C=nT.sizes)?void 0:C.xs,field:{...null==(S=nT.sizes)?void 0:S.xs.field,...rt},icon:{insetEnd:"1"}}},variants:nT.variants,defaultProps:nT.defaultProps}),rn=e2("skeleton-start-color"),rr=e2("skeleton-end-color"),ro={[rn.variable]:"colors.gray.100",[rr.variable]:"colors.gray.400",_dark:{[rn.variable]:"colors.gray.800",[rr.variable]:"colors.gray.600"},background:rn.reference,borderColor:rr.reference,opacity:.7,borderRadius:"sm"},rs=e2("skip-link-bg"),ra={borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[rs.variable]:"colors.white",_dark:{[rs.variable]:"colors.gray.700"},bg:rs.reference}},{defineMultiStyleConfig:rl,definePartsStyle:ru}=tx(im.q0.keys),rd=e2("slider-thumb-size"),rc=e2("slider-track-size"),rh=e2("slider-bg"),rg=e=>{let{orientation:t}=e;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...iV({orientation:t,vertical:{h:"100%"},horizontal:{w:"100%"}})}},rp=e=>({...iV({orientation:e.orientation,horizontal:{h:rc.reference},vertical:{w:rc.reference}}),overflow:"hidden",borderRadius:"sm",[rh.variable]:"colors.gray.200",_dark:{[rh.variable]:"colors.whiteAlpha.200"},_disabled:{[rh.variable]:"colors.gray.300",_dark:{[rh.variable]:"colors.whiteAlpha.300"}},bg:rh.reference}),rf=e=>{let{orientation:t}=e;return{...iV({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:rd.reference,h:rd.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},rm=e=>{let{colorScheme:t}=e;return{width:"inherit",height:"inherit",[rh.variable]:`colors.${t}.500`,_dark:{[rh.variable]:`colors.${t}.200`},bg:rh.reference}},rv=rl({baseStyle:ru(e=>({container:rg(e),track:rp(e),thumb:rf(e),filledTrack:rm(e)})),sizes:{lg:ru({container:{[rd.variable]:"sizes.4",[rc.variable]:"sizes.1"}}),md:ru({container:{[rd.variable]:"sizes.3.5",[rc.variable]:"sizes.1"}}),sm:ru({container:{[rd.variable]:"sizes.2.5",[rc.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),rb=ib("spinner-size"),ry={width:[rb.reference],height:[rb.reference]},r_={xs:{[rb.variable]:"sizes.3"},sm:{[rb.variable]:"sizes.4"},md:{[rb.variable]:"sizes.6"},lg:{[rb.variable]:"sizes.8"},xl:{[rb.variable]:"sizes.12"}},{defineMultiStyleConfig:rw,definePartsStyle:rC}=tx(im.aj.keys),rS=rw({baseStyle:rC({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:rC({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),rx=e2("kbd-bg"),rk={[rx.variable]:"colors.gray.100",_dark:{[rx.variable]:"colors.whiteAlpha.100"},bg:rx.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"},{defineMultiStyleConfig:rE,definePartsStyle:rL}=tx(im.vE.keys),rD=rE({baseStyle:rL({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:rN,definePartsStyle:rA}=tx(im.rk.keys),rT=e2("menu-bg"),rI=e2("menu-shadow"),rM=rN({baseStyle:rA({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[rT.variable]:"#fff",[rI.variable]:"shadows.sm",_dark:{[rT.variable]:"colors.gray.700",[rI.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:rT.reference,boxShadow:rI.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[rT.variable]:"colors.gray.100",_dark:{[rT.variable]:"colors.whiteAlpha.100"}},_active:{[rT.variable]:"colors.gray.200",_dark:{[rT.variable]:"colors.whiteAlpha.200"}},_expanded:{[rT.variable]:"colors.gray.100",_dark:{[rT.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:rT.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:rO,definePartsStyle:rP}=tx(im.wl.keys),rR=e2("modal-bg"),rF=e2("modal-shadow"),rB={bg:"blackAlpha.600",zIndex:"modal"},rV=e=>{let{isCentered:t,scrollBehavior:i}=e;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:t?"center":"flex-start",overflow:"inside"===i?"hidden":"auto",overscrollBehaviorY:"none"}},rH=e=>{let{isCentered:t,scrollBehavior:i}=e;return{borderRadius:"md",color:"inherit",my:t?"auto":"16",mx:t?"auto":void 0,zIndex:"modal",maxH:"inside"===i?"calc(100% - 7.5rem)":void 0,[rR.variable]:"colors.white",[rF.variable]:"shadows.lg",_dark:{[rR.variable]:"colors.gray.700",[rF.variable]:"shadows.dark-lg"},bg:rR.reference,boxShadow:rF.reference}},rj={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},rW={position:"absolute",top:"2",insetEnd:"3"},rz=e=>{let{scrollBehavior:t}=e;return{px:"6",py:"2",flex:"1",overflow:"inside"===t?"auto":void 0}},rU={px:"6",py:"4"};function r$(e){return"full"===e?rP({dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}):rP({dialog:{maxW:e}})}var rq=rO({baseStyle:rP(e=>({overlay:rB,dialogContainer:nG(rV,e),dialog:nG(rH,e),header:rj,closeButton:rW,body:nG(rz,e),footer:rU})),sizes:{xs:r$("xs"),sm:r$("sm"),md:r$("md"),lg:r$("lg"),xl:r$("xl"),"2xl":r$("2xl"),"3xl":r$("3xl"),"4xl":r$("4xl"),"5xl":r$("5xl"),"6xl":r$("6xl"),full:r$("full")},defaultProps:{size:"md"}}),{defineMultiStyleConfig:rK,definePartsStyle:rG}=tx(im.V1.keys),rZ=ib("number-input-stepper-width"),rY=ib("number-input-input-padding"),rQ=iE(rZ).add("0.5rem").toString(),rJ=ib("number-input-bg"),rX=ib("number-input-color"),r0=ib("number-input-border-color"),r1={[rZ.variable]:"sizes.6",[rY.variable]:rQ},r2=e=>{var t,i;return null!=(i=null==(t=nG(nT.baseStyle,e))?void 0:t.field)?i:{}},r6={width:rZ.reference},r3={borderStart:"1px solid",borderStartColor:r0.reference,color:rX.reference,bg:rJ.reference,[rX.variable]:"colors.chakra-body-text",[r0.variable]:"colors.chakra-border-color",_dark:{[rX.variable]:"colors.whiteAlpha.800",[r0.variable]:"colors.whiteAlpha.300"},_active:{[rJ.variable]:"colors.gray.200",_dark:{[rJ.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function r8(e){var t,i,n;let r=null==(t=nT.sizes)?void 0:t[e],o={lg:"md",md:"md",sm:"sm",xs:"sm"},s=null!=(n=null==(i=r.field)?void 0:i.fontSize)?n:"md",a=ii.fontSizes[s];return rG({field:{...r.field,paddingInlineEnd:rY.reference,verticalAlign:"top"},stepper:{fontSize:iE(a).multiply(.75).toString(),_first:{borderTopEndRadius:o[e]},_last:{borderBottomEndRadius:o[e],mt:"-1px",borderTopWidth:1}}})}var r5=rK({baseStyle:rG(e=>{var t;return{root:r1,field:null!=(t=nG(r2,e))?t:{},stepperGroup:r6,stepper:r3}}),sizes:{xs:r8("xs"),sm:r8("sm"),md:r8("md"),lg:r8("lg")},variants:nT.variants,defaultProps:nT.defaultProps}),r4={baseStyle:{...null==(x=nT.baseStyle)?void 0:x.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.outline,e))?void 0:i.field)?n:{}},flushed:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.flushed,e))?void 0:i.field)?n:{}},filled:e=>{var t,i,n;return null!=(n=null==(i=nG(null==(t=nT.variants)?void 0:t.filled,e))?void 0:i.field)?n:{}},unstyled:null!=(E=null==(k=nT.variants)?void 0:k.unstyled.field)?E:{}},defaultProps:nT.defaultProps},{defineMultiStyleConfig:r9,definePartsStyle:r7}=tx(im.Ji.keys),oe=ib("popper-bg"),ot=ib("popper-arrow-bg"),oi=ib("popper-arrow-shadow-color"),on=r9({baseStyle:r7({popper:{zIndex:10},content:{[oe.variable]:"colors.white",bg:oe.reference,[ot.variable]:oe.reference,[oi.variable]:"colors.gray.200",_dark:{[oe.variable]:"colors.gray.700",[oi.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{definePartsStyle:or,defineMultiStyleConfig:oo}=tx(im.iU.keys),os=e2("drawer-bg"),oa=e2("drawer-box-shadow");function ol(e){return"full"===e?or({dialog:{maxW:"100vw",h:"100vh"}}):or({dialog:{maxW:e}})}var ou={bg:"blackAlpha.600",zIndex:"overlay"},od={display:"flex",zIndex:"modal",justifyContent:"center"},oc=e=>{let{isFullHeight:t}=e;return{...t&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[os.variable]:"colors.white",[oa.variable]:"shadows.lg",_dark:{[os.variable]:"colors.gray.700",[oa.variable]:"shadows.dark-lg"},bg:os.reference,boxShadow:oa.reference}},oh={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},og={position:"absolute",top:"2",insetEnd:"3"},op={px:"6",py:"2",flex:"1",overflow:"auto"},of={px:"6",py:"4"},om=oo({baseStyle:or(e=>({overlay:ou,dialogContainer:od,dialog:nG(oc,e),header:oh,closeButton:og,body:op,footer:of})),sizes:{xs:ol("xs"),sm:ol("md"),md:ol("lg"),lg:ol("2xl"),xl:ol("4xl"),full:ol("full")},defaultProps:{size:"xs"}}),{definePartsStyle:ov,defineMultiStyleConfig:ob}=tx(im.lN.keys),oy=ob({baseStyle:ov({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:o_,defineMultiStyleConfig:ow}=tx(im.TJ.keys),oC=e2("form-control-color"),oS=ow({baseStyle:o_({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[oC.variable]:"colors.red.500",_dark:{[oC.variable]:"colors.red.300"},color:oC.reference},helperText:{mt:"2",[oC.variable]:"colors.gray.600",_dark:{[oC.variable]:"colors.whiteAlpha.600"},color:oC.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:ox,defineMultiStyleConfig:ok}=tx(im.ao.keys),oE=e2("form-error-color"),oL=ok({baseStyle:ox({text:{[oE.variable]:"colors.red.500",_dark:{[oE.variable]:"colors.red.300"},color:oE.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[oE.variable]:"colors.red.500",_dark:{[oE.variable]:"colors.red.300"},color:oE.reference}})}),{defineMultiStyleConfig:oD,definePartsStyle:oN}=tx(im.AB.keys),oA=e2("breadcrumb-link-decor"),oT=oD({baseStyle:oN({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",outline:"none",color:"inherit",textDecoration:oA.reference,[oA.variable]:"none","&:not([aria-current=page])":{cursor:"pointer",_hover:{[oA.variable]:"underline"},_focusVisible:{boxShadow:"outline"}}}})}),oI=e=>{let{colorScheme:t,theme:i}=e;if("gray"===t)return{color:iB("inherit","whiteAlpha.900")(e),_hover:{bg:iB("gray.100","whiteAlpha.200")(e)},_active:{bg:iB("gray.200","whiteAlpha.300")(e)}};let n=i7(`${t}.200`,.12)(i),r=i7(`${t}.200`,.24)(i);return{color:iB(`${t}.600`,`${t}.200`)(e),bg:"transparent",_hover:{bg:iB(`${t}.50`,n)(e)},_active:{bg:iB(`${t}.100`,r)(e)}}},oM={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},{definePartsStyle:oO,defineMultiStyleConfig:oP}=tx(im.SG.keys),oR=e2("card-bg"),oF=e2("card-padding"),oB=e2("card-shadow"),oV=e2("card-radius"),oH=e2("card-border-width","0"),oj=e2("card-border-color"),oW=oO({container:{[oR.variable]:"colors.chakra-body-bg",backgroundColor:oR.reference,boxShadow:oB.reference,borderRadius:oV.reference,color:"chakra-body-text",borderWidth:oH.reference,borderColor:oj.reference},body:{padding:oF.reference,flex:"1 1 0%"},header:{padding:oF.reference},footer:{padding:oF.reference}}),oz={sm:oO({container:{[oV.variable]:"radii.base",[oF.variable]:"space.3"}}),md:oO({container:{[oV.variable]:"radii.md",[oF.variable]:"space.5"}}),lg:oO({container:{[oV.variable]:"radii.xl",[oF.variable]:"space.7"}})},oU=oP({baseStyle:oW,variants:{elevated:oO({container:{[oB.variable]:"shadows.base",_dark:{[oR.variable]:"colors.gray.700"}}}),outline:oO({container:{[oH.variable]:"1px",[oj.variable]:"colors.chakra-border-color"}}),filled:oO({container:{[oR.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{[oF.variable]:0},header:{[oF.variable]:0},footer:{[oF.variable]:0}}},sizes:oz,defaultProps:{variant:"elevated",size:"md"}}),o$=ib("close-button-size"),oq=ib("close-button-bg"),oK={w:[o$.reference],h:[o$.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[oq.variable]:"colors.blackAlpha.100",_dark:{[oq.variable]:"colors.whiteAlpha.100"}},_active:{[oq.variable]:"colors.blackAlpha.200",_dark:{[oq.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:oq.reference},oG={lg:{[o$.variable]:"sizes.10",fontSize:"md"},md:{[o$.variable]:"sizes.8",fontSize:"xs"},sm:{[o$.variable]:"sizes.6",fontSize:"2xs"}},{variants:oZ,defaultProps:oY}=ng,oQ={fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm",bg:nh.bg.reference,color:nh.color.reference,boxShadow:nh.shadow.reference},{definePartsStyle:oJ,defineMultiStyleConfig:oX}=tx(im.sA.keys),o0=oX({baseStyle:oJ({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:o1,defineMultiStyleConfig:o2}=tx(im.aP.keys),o6=e2("alert-fg"),o3=e2("alert-bg");function o8(e){let{theme:t,colorScheme:i}=e,n=i7(`${i}.200`,.16)(t);return{light:`colors.${i}.100`,dark:n}}var o5=o2({baseStyle:o1({container:{bg:o3.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:o6.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:o6.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}}),variants:{subtle:o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark}}}}),"left-accent":o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:o6.reference}}}),"top-accent":o1(e=>{let{colorScheme:t}=e,i=o8(e);return{container:{[o6.variable]:`colors.${t}.500`,[o3.variable]:i.light,_dark:{[o6.variable]:`colors.${t}.200`,[o3.variable]:i.dark},pt:"2",borderTopWidth:"4px",borderTopColor:o6.reference}}}),solid:o1(e=>{let{colorScheme:t}=e;return{container:{[o6.variable]:"colors.white",[o3.variable]:`colors.${t}.500`,_dark:{[o6.variable]:"colors.gray.900",[o3.variable]:`colors.${t}.200`},color:o6.reference}}})},defaultProps:{variant:"subtle",colorScheme:"blue"}}),{definePartsStyle:o4,defineMultiStyleConfig:o9}=tx(im.$5.keys),o7=e2("avatar-border-color"),se=e2("avatar-bg"),st={borderRadius:"full",border:"0.2em solid",[o7.variable]:"white",_dark:{[o7.variable]:"colors.gray.800"},borderColor:o7.reference},si={[se.variable]:"colors.gray.200",_dark:{[se.variable]:"colors.whiteAlpha.400"},bgColor:se.reference},sn=e2("avatar-background"),sr=e=>{let{name:t,theme:i}=e,n=t?function(e){var t;let i=nt();return!e||i3(e)?i:e.string&&e.colors?function(e,t){let i=0;if(0===e.length)return t[0];for(let t=0;t>8*e&255).toString(16)}`.substr(-2);return i}(e.string):e.colors&&!e.string?(t=e.colors)[Math.floor(Math.random()*t.length)]:i}({string:t}):"colors.gray.400",r=i9(n)(i),o="white";return r||(o="gray.800"),{bg:sn.reference,"&:not([data-loaded])":{[sn.variable]:n},color:o,[o7.variable]:"colors.white",_dark:{[o7.variable]:"colors.gray.800"},borderColor:o7.reference,verticalAlign:"top"}};function so(e){let t="100%"!==e?io[e]:void 0;return o4({container:{width:e,height:e,fontSize:`calc(${null!=t?t:e} / 2.5)`},excessLabel:{width:e,height:e},label:{fontSize:`calc(${null!=t?t:e} / 2.5)`,lineHeight:"100%"!==e?null!=t?t:e:void 0}})}var ss=o9({baseStyle:o4(e=>({badge:nG(st,e),excessLabel:nG(si,e),container:nG(sr,e)})),sizes:{"2xs":so(4),xs:so(6),sm:so(8),md:so(12),lg:so(16),xl:so(24),"2xl":so(32),full:so("100%")},defaultProps:{size:"md"}}),sa={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-inverse-text":{_light:"white",_dark:"gray.800"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-subtle-text":{_light:"gray.600",_dark:"gray.400"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},sl={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color"}}},su={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},sd={semanticTokens:sa,direction:"ltr",...is,components:{Accordion:o0,Alert:o5,Avatar:ss,Badge:ng,Breadcrumb:oT,Button:{baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:oI,outline:e=>{let{colorScheme:t}=e,i=iB("gray.200","whiteAlpha.300")(e);return{border:"1px solid",borderColor:"gray"===t?i:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...nG(oI,e)}},solid:e=>{var t;let{colorScheme:i}=e;if("gray"===i){let t=iB("gray.100","whiteAlpha.200")(e);return{bg:t,_hover:{bg:iB("gray.200","whiteAlpha.300")(e),_disabled:{bg:t}},_active:{bg:iB("gray.300","whiteAlpha.400")(e)}}}let{bg:n=`${i}.500`,color:r="white",hoverBg:o=`${i}.600`,activeBg:s=`${i}.700`}=null!=(t=oM[i])?t:{},a=iB(n,`${i}.200`)(e);return{bg:a,color:iB(r,"gray.800")(e),_hover:{bg:iB(o,`${i}.300`)(e),_disabled:{bg:a}},_active:{bg:iB(s,`${i}.400`)(e)}}},link:e=>{let{colorScheme:t}=e;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:iB(`${t}.500`,`${t}.200`)(e),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:iB(`${t}.700`,`${t}.500`)(e)}}},unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},Checkbox:n2,CloseButton:{baseStyle:oK,sizes:oG,defaultProps:{size:"md"}},Code:{baseStyle:oQ,variants:oZ,defaultProps:oY},Container:{baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Divider:{baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},Drawer:om,Editable:oy,Form:oS,FormError:oL,FormLabel:{baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},Heading:{baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},Input:nT,Kbd:{baseStyle:rk},Link:{baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},List:rD,Menu:rM,Modal:rq,NumberInput:r5,PinInput:r4,Popover:on,Progress:nq,Radio:n5,Select:ri,Skeleton:{baseStyle:ro},SkipLink:{baseStyle:ra},Slider:rv,Spinner:{baseStyle:ry,sizes:r_,defaultProps:{size:"md"}},Stat:rS,Switch:iF,Table:iU,Tabs:nc,Tag:nk,Textarea:{baseStyle:nI,sizes:nO,variants:nM,defaultProps:{size:"md",variant:"outline"}},Tooltip:{baseStyle:nB},Card:oU,Stepper:ip},styles:sl,config:su},sc={semanticTokens:sa,direction:"ltr",components:{},...is,styles:sl,config:su},sh=(e,t)=>e.find(e=>e.id===t);function sg(e,t){let i=sp(e,t),n=i?e[i].findIndex(e=>e.id===t):-1;return{position:i,index:n}}function sp(e,t){for(let[i,n]of Object.entries(e))if(sh(n,t))return i}function sf(e,t=[]){let i=(0,R.useRef)(e);return(0,R.useEffect)(()=>{i.current=e}),(0,R.useCallback)((...e)=>{var t;return null==(t=i.current)?void 0:t.call(i,...e)},t)}function sm(e,t){let i=(0,R.useRef)(!1),n=(0,R.useRef)(!1);(0,R.useEffect)(()=>{if(i.current&&n.current)return e();n.current=!0},t),(0,R.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[])}var sv=i(32565),sb=i(40836),sy=new Set([...tp,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),s_=new Set(["htmlWidth","htmlHeight","htmlSize","htmlTranslate"]);function sw(e){return s_.has(e)||!sy.has(e)}var sC=i(74126),sS=null!=(L=sC.default.default)?L:sC.default,sx=({baseStyle:e})=>t=>{let{theme:i,css:n,__css:r,sx:o,...s}=t,a=tN(s,(e,t)=>tm(t)),l=tw(function(e,...t){if(null==e)throw TypeError("Cannot convert undefined or null to object");let i={...e};for(let e of t)if(null!=e)for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(t in i&&delete i[t],i[t]=e[t]);return i}({},r,tM(e,t),tA(a),o))(t.theme);return n?[l,n]:l};function sk(e,t){let{baseStyle:i,...n}=null!=t?t:{};n.shouldForwardProp||(n.shouldForwardProp=sw);let r=sx({baseStyle:i}),o=sS(e,n)(r);return R.forwardRef(function(e,t){let{colorMode:i,forced:n}=W();return R.createElement(o,{ref:t,"data-theme":n?i:void 0,...e})})}var sE=function(){let e=new Map;return new Proxy(sk,{apply:(e,t,i)=>sk(...i),get:(t,i)=>(e.has(i)||e.set(i,sk(i)),e.get(i))})}(),sL={initial:e=>{let{position:t}=e,i=["top","bottom"].includes(t)?"y":"x",n=["top-right","bottom-right"].includes(t)?1:-1;return"bottom"===t&&(n=1),{opacity:0,[i]:24*n}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},sD=(0,R.memo)(e=>{let{id:t,message:i,onCloseComplete:n,onRequestRemove:r,requestClose:o=!1,position:s="bottom",duration:a=5e3,containerStyle:l,motionVariants:u=sL,toastSpacing:d="0.5rem"}=e,[c,h]=(0,R.useState)(a),g=(0,sv.hO)();sm(()=>{g||null==n||n()},[g]),sm(()=>{h(a)},[a]);let p=()=>{g&&r()};(0,R.useEffect)(()=>{g&&o&&r()},[g,o,r]),function(e,t){let i=sf(e);(0,R.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{i()},t),()=>{e&&window.clearTimeout(e)}},[t,i])}(p,c);let f=(0,R.useMemo)(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:d,...l}),[l,d]),m=(0,R.useMemo)(()=>(function(e){let t=e.includes("right"),i=e.includes("left"),n="center";return t&&(n="flex-end"),i&&(n="flex-start"),{display:"flex",flexDirection:"column",alignItems:n}})(s),[s]);return(0,T.jsx)(sb.E.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>h(null),onHoverEnd:()=>h(a),custom:{position:s},style:m,children:(0,T.jsx)(sE.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:f,children:G(i,{id:t,onClose:p})})})});function sN(e,t){var i;let n=null!=e?e:"bottom",r={"top-start":{ltr:"top-left",rtl:"top-right"},"top-end":{ltr:"top-right",rtl:"top-left"},"bottom-start":{ltr:"bottom-left",rtl:"bottom-right"},"bottom-end":{ltr:"bottom-right",rtl:"bottom-left"}}[n];return null!=(i=null==r?void 0:r[t])?i:n}function sA(e){return(0,R.forwardRef)(e)}function sT(){let e=(0,R.useContext)(tV.T);if(!e)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `` or ``");return e}function sI(){let e=W(),t=sT();return{...e,theme:t}}function sM(e,t,i){let n=sT();return sO(e,t,i)(n)}function sO(e,t,i){let n=Array.isArray(t)?t:[t],r=Array.isArray(i)?i:[i];return i=>{let o=r.filter(Boolean),s=n.map((t,n)=>{var r,s;return"breakpoints"===e?function(e,t,i){var n,r;if(null==t)return t;let o=t=>{var i,n;return null==(n=null==(i=e.__breakpoints)?void 0:i.asArray)?void 0:n[t]};return null!=(r=null!=(n=o(t))?n:o(i))?r:i}(i,t,null!=(r=o[n])?r:t):function(e,t,i){var n,r;if(null==t)return t;let o=t=>{var i,n;return null==(n=null==(i=e.__cssMap)?void 0:i[t])?void 0:n.value};return null!=(r=null!=(n=o(t))?n:o(i))?r:i}(i,`${e}.${t}`,null!=(s=o[n])?s:t)});return Array.isArray(t)?s:s[0]}}function sP(e){return"function"==typeof e}sD.displayName="ToastComponent";var sR=e=>function(...t){let i=[...t],n=t[t.length-1];return it(n)&&i.length>1?i=i.slice(0,i.length-1):n=e,(function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...i.map(e=>t=>sP(e)?e(t):sV(t,e)))(n)},sF=sR(sd),sB=sR(sc);function sV(...e){return et()({},...e,sH)}function sH(e,t,i,n){if((sP(e)||sP(t))&&Object.prototype.hasOwnProperty.call(n,i))return(...i)=>{let n=sP(e)?e(...i):e,r=sP(t)?t(...i):t;return et()({},n,r,sH)}}var sj=i(78435),sW=i.n(sj);function sz(e,t={}){var i,n;let r;let{styleConfig:o,...s}=t,{theme:a,colorMode:l}=sI(),u=e?tD(a,`components.${e}`):void 0,d=o||u,c=et()({theme:a,colorMode:l},null!=(i=null==d?void 0:d.defaultProps)?i:{},tA((n=["children"],r={},Object.keys(s).forEach(e=>{n.includes(e)||(r[e]=s[e])}),r))),h=(0,R.useRef)({});if(d){let e=tk(d)(c);sW()(h.current,e)||(h.current=e)}return h.current}function sU(e,t={}){return sz(e,t)}function s$(e,t={}){return sz(e,t)}function sq(e,t){var i;let{baseConfig:n,...r}=t,{theme:o}=sI(),s=null==(i=o.components)?void 0:i[e],a=s?sV(s,n):n;return sz(null,{...r,styleConfig:a})}var sK={path:(0,T.jsxs)("g",{stroke:"currentColor",strokeWidth:"1.5",children:[(0,T.jsx)("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),(0,T.jsx)("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),(0,T.jsx)("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},sG=sA((e,t)=>{let{as:i,viewBox:n,color:r="currentColor",focusable:o=!1,children:s,className:a,__css:l,...u}=e,d=$("chakra-icon",a),c=sU("Icon",e),h={ref:t,focusable:o,className:d,__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:r,...l,...c}},g=null!=n?n:sK.viewBox;if(i&&"string"!=typeof i)return(0,T.jsx)(sE.svg,{as:i,...h,...u});let p=null!=s?s:sK.path;return(0,T.jsx)(sE.svg,{verticalAlign:"middle",viewBox:g,...h,...u,children:p})});function sZ(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}sG.displayName="Icon";var sY=(0,A.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),sQ=sA((e,t)=>{let i=sU("Spinner",e),{label:n="Loading...",thickness:r="2px",speed:o="0.45s",emptyColor:s="transparent",className:a,...l}=tL(e),u=$("chakra-spinner",a),d={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:r,borderBottomColor:s,borderLeftColor:s,animation:`${sY} ${o} linear infinite`,...i};return(0,T.jsx)(sE.div,{ref:t,__css:d,className:u,...l,children:n&&(0,T.jsx)(sE.span,{srOnly:!0,children:n})})});sQ.displayName="Spinner";var[sJ,sX]=F({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[s0,s1]=F({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),s2={info:{icon:function(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})},colorScheme:"blue"},warning:{icon:sZ,colorScheme:"orange"},success:{icon:function(e){return(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})},colorScheme:"green"},error:{icon:sZ,colorScheme:"red"},loading:{icon:sQ,colorScheme:"blue"}},s6=sA(function(e,t){var i;let{status:n="info",addRole:r=!0,...o}=tL(e),s=null!=(i=e.colorScheme)?i:s2[n].colorScheme,a=s$("Alert",{...e,colorScheme:s}),l={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...a.container};return(0,T.jsx)(sJ,{value:{status:n},children:(0,T.jsx)(s0,{value:a,children:(0,T.jsx)(sE.div,{"data-status":n,role:r?"alert":void 0,ref:t,...o,className:$("chakra-alert",e.className),__css:l})})})});function s3(e){let{status:t}=sX(),i=s2[t].icon,n=s1(),r="loading"===t?n.spinner:n.icon;return(0,T.jsx)(sE.span,{display:"inherit","data-status":t,...e,className:$("chakra-alert__icon",e.className),__css:r,children:e.children||(0,T.jsx)(i,{h:"100%",w:"100%"})})}s6.displayName="Alert",s3.displayName="AlertIcon";var s8=sA(function(e,t){let i=s1(),{status:n}=sX();return(0,T.jsx)(sE.div,{ref:t,"data-status":n,...e,className:$("chakra-alert__title",e.className),__css:i.title})});s8.displayName="AlertTitle";var s5=sA(function(e,t){let i=s1(),{status:n}=sX(),r={display:"inline",...i.description};return(0,T.jsx)(sE.div,{ref:t,"data-status":n,...e,className:$("chakra-alert__desc",e.className),__css:r})});function s4(e){return(0,T.jsx)(sG,{focusable:"false","aria-hidden":!0,...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}s5.displayName="AlertDescription";var s9=sA(function(e,t){let i=sU("CloseButton",e),{children:n,isDisabled:r,__css:o,...s}=tL(e);return(0,T.jsx)(sE.button,{type:"button","aria-label":"Close",ref:t,disabled:r,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...i,...o},...s,children:n||(0,T.jsx)(s4,{width:"1em",height:"1em"})})});s9.displayName="CloseButton";var s7=function(e){let t=e,i=new Set,n=e=>{t=e(t),i.forEach(e=>e())};return{getState:()=>t,subscribe:t=>(i.add(t),()=>{n(()=>e),i.delete(t)}),removeToast:(e,t)=>{n(i=>({...i,[t]:i[t].filter(t=>t.id!=e)}))},notify:(e,t)=>{let i=function(e,t={}){var i,n;ae+=1;let r=null!=(i=t.id)?i:ae,o=null!=(n=t.position)?n:"bottom";return{id:r,message:e,position:o,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>s7.removeToast(String(r),o),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}(e,t),{position:r,id:o}=i;return n(e=>{var t,n;let o=r.includes("top")?[i,...null!=(t=e[r])?t:[]]:[...null!=(n=e[r])?n:[],i];return{...e,[r]:o}}),o},update:(e,t)=>{e&&n(i=>{let n={...i},{position:r,index:o}=sg(n,e);return r&&-1!==o&&(n[r][o]={...n[r][o],...t,message:ai(t)}),n})},closeAll:({positions:e}={})=>{n(t=>(null!=e?e:["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((e,i)=>(e[i]=t[i].map(e=>({...e,requestClose:!0})),e),{...t}))},close:e=>{n(t=>{let i=sp(t,e);return i?{...t,[i]:t[i].map(t=>t.id==e?{...t,requestClose:!0}:t)}:t})},isActive:e=>!!sg(s7.getState(),e).position}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]}),ae=0,at=e=>{let{status:t,variant:i="solid",id:n,title:r,isClosable:o,onClose:s,description:a,colorScheme:l,icon:u}=e,d=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return(0,T.jsxs)(s6,{addRole:!1,status:t,variant:i,id:null==d?void 0:d.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[(0,T.jsx)(s3,{children:u}),(0,T.jsxs)(sE.div,{flex:"1",maxWidth:"100%",children:[r&&(0,T.jsx)(s8,{id:null==d?void 0:d.title,children:r}),a&&(0,T.jsx)(s5,{id:null==d?void 0:d.description,display:"block",children:a})]}),o&&(0,T.jsx)(s9,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1})]})};function ai(e={}){let{render:t,toastComponent:i=at}=e;return n=>"function"==typeof t?t({...n,...e}):(0,T.jsx)(i,{...n,...e})}function an(e,t){let i=i=>{var n;return{...t,...i,position:sN(null!=(n=null==i?void 0:i.position)?n:null==t?void 0:t.position,e)}},n=e=>{let t=i(e),n=ai(t);return s7.notify(n,t)};return n.update=(e,t)=>{s7.update(e,i(t))},n.promise=(e,t)=>{let i=n({...t.loading,status:"loading",duration:null});e.then(e=>n.update(i,{status:"success",duration:5e3,...G(t.success,e)})).catch(e=>n.update(i,{status:"error",duration:5e3,...G(t.error,e)}))},n.closeAll=s7.closeAll,n.close=s7.close,n.isActive=s7.isActive,n}var ar=i(82988),ao=i(28316),[as,aa]=F({strict:!1,name:"PortalContext"}),al="chakra-portal",au=e=>(0,T.jsx)("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:e.zIndex,top:0,left:0,right:0},children:e.children}),ad=e=>{let{appendToParentPortal:t,children:i}=e,[n,r]=(0,R.useState)(null),o=(0,R.useRef)(null),[,s]=(0,R.useState)({});(0,R.useEffect)(()=>s({}),[]);let a=aa(),l=V();t0(()=>{if(!n)return;let e=n.ownerDocument,i=t&&null!=a?a:e.body;if(!i)return;o.current=e.createElement("div"),o.current.className=al,i.appendChild(o.current),s({});let r=o.current;return()=>{i.contains(r)&&i.removeChild(r)}},[n]);let u=(null==l?void 0:l.zIndex)?(0,T.jsx)(au,{zIndex:null==l?void 0:l.zIndex,children:i}):i;return o.current?(0,ao.createPortal)((0,T.jsx)(as,{value:o.current,children:u}),o.current):(0,T.jsx)("span",{ref:e=>{e&&r(e)}})},ac=e=>{let{children:t,containerRef:i,appendToParentPortal:n}=e,r=i.current,o=null!=r?r:"undefined"!=typeof window?document.body:void 0,s=(0,R.useMemo)(()=>{let e=null==r?void 0:r.ownerDocument.createElement("div");return e&&(e.className=al),e},[r]),[,a]=(0,R.useState)({});return(t0(()=>a({}),[]),t0(()=>{if(s&&o)return o.appendChild(s),()=>{o.removeChild(s)}},[s,o]),o&&s)?(0,ao.createPortal)((0,T.jsx)(as,{value:n?s:null,children:t}),s):null};function ah(e){let{containerRef:t,...i}={appendToParentPortal:!0,...e};return t?(0,T.jsx)(ac,{containerRef:t,...i}):(0,T.jsx)(ad,{...i})}ah.className=al,ah.selector=".chakra-portal",ah.displayName="Portal";var[ag,ap]=F({name:"ToastOptionsContext",strict:!1}),af=e=>{let t=(0,R.useSyncExternalStore)(s7.subscribe,s7.getState,s7.getState),{motionVariants:i,component:n=sD,portalProps:r}=e,o=Object.keys(t).map(e=>{let r=t[e];return(0,T.jsx)("div",{role:"region","aria-live":"polite",id:`chakra-toast-manager-${e}`,style:function(e){let t=e.includes("top")?"env(safe-area-inset-top, 0px)":void 0,i=e.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,n=e.includes("left")?void 0:"env(safe-area-inset-right, 0px)",r=e.includes("right")?void 0:"env(safe-area-inset-left, 0px)";return{position:"fixed",zIndex:"var(--toast-z-index, 5500)",pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===e||"bottom"===e?"0 auto":void 0,top:t,bottom:i,right:n,left:r}}(e),children:(0,T.jsx)(ar.M,{initial:!1,children:r.map(e=>(0,T.jsx)(n,{motionVariants:i,...e},e.id))})},e)});return(0,T.jsx)(ah,{...r,children:o})},am=e=>function({children:t,theme:i=e,toastOptions:n,...r}){return(0,T.jsxs)(t7,{theme:i,...r,children:[(0,T.jsx)(ag,{value:null==n?void 0:n.defaultOptions,children:t}),(0,T.jsx)(af,{...n})]})},av=am(sd),ab=am(sc),ay=Object.defineProperty,a_=(e,t,i)=>t in e?ay(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,aw=(e,t,i)=>(a_(e,"symbol"!=typeof t?t+"":t,i),i);function aC(e){return e.sort((e,t)=>{let i=e.compareDocumentPosition(t);if(i&Node.DOCUMENT_POSITION_FOLLOWING||i&Node.DOCUMENT_POSITION_CONTAINED_BY)return -1;if(i&Node.DOCUMENT_POSITION_PRECEDING||i&Node.DOCUMENT_POSITION_CONTAINS)return 1;if(!(i&Node.DOCUMENT_POSITION_DISCONNECTED)&&!(i&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC))return 0;throw Error("Cannot sort the given nodes.")})}var aS=e=>"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE;function ax(e,t,i){let n=e+1;return i&&n>=t&&(n=0),n}function ak(e,t,i){let n=e-1;return i&&n<0&&(n=t),n}var aE="undefined"!=typeof window?R.useLayoutEffect:R.useEffect,aL=e=>e,aD=class{constructor(){aw(this,"descendants",new Map),aw(this,"register",e=>{if(null!=e)return aS(e)?this.registerNode(e):t=>{this.registerNode(t,e)}}),aw(this,"unregister",e=>{this.descendants.delete(e);let t=aC(Array.from(this.descendants.keys()));this.assignIndex(t)}),aw(this,"destroy",()=>{this.descendants.clear()}),aw(this,"assignIndex",e=>{this.descendants.forEach(t=>{let i=e.indexOf(t.node);t.index=i,t.node.dataset.index=t.index.toString()})}),aw(this,"count",()=>this.descendants.size),aw(this,"enabledCount",()=>this.enabledValues().length),aw(this,"values",()=>Array.from(this.descendants.values()).sort((e,t)=>e.index-t.index)),aw(this,"enabledValues",()=>this.values().filter(e=>!e.disabled)),aw(this,"item",e=>{if(0!==this.count())return this.values()[e]}),aw(this,"enabledItem",e=>{if(0!==this.enabledCount())return this.enabledValues()[e]}),aw(this,"first",()=>this.item(0)),aw(this,"firstEnabled",()=>this.enabledItem(0)),aw(this,"last",()=>this.item(this.descendants.size-1)),aw(this,"lastEnabled",()=>{let e=this.enabledValues().length-1;return this.enabledItem(e)}),aw(this,"indexOf",e=>{var t,i;return e&&null!=(i=null==(t=this.descendants.get(e))?void 0:t.index)?i:-1}),aw(this,"enabledIndexOf",e=>null==e?-1:this.enabledValues().findIndex(t=>t.node.isSameNode(e))),aw(this,"next",(e,t=!0)=>{let i=ax(e,this.count(),t);return this.item(i)}),aw(this,"nextEnabled",(e,t=!0)=>{let i=this.item(e);if(!i)return;let n=ax(this.enabledIndexOf(i.node),this.enabledCount(),t);return this.enabledItem(n)}),aw(this,"prev",(e,t=!0)=>{let i=ak(e,this.count()-1,t);return this.item(i)}),aw(this,"prevEnabled",(e,t=!0)=>{let i=this.item(e);if(!i)return;let n=ak(this.enabledIndexOf(i.node),this.enabledCount()-1,t);return this.enabledItem(n)}),aw(this,"registerNode",(e,t)=>{if(!e||this.descendants.has(e))return;let i=aC(Array.from(this.descendants.keys()).concat(e));(null==t?void 0:t.disabled)&&(t.disabled=!!t.disabled);let n={node:e,index:-1,...t};this.descendants.set(e,n),this.assignIndex(i)})}};function aN(...e){return t=>{e.forEach(e=>{!function(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(i){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}(e,t)})}}var[aA,aT]=F({name:"DescendantsProvider",errorMessage:"useDescendantsContext must be used within DescendantsProvider"});function aI(){return[aL(aA),()=>aL(aT()),()=>{let e;return e=(0,R.useRef)(new aD),aE(()=>()=>e.current.destroy()),e.current},e=>(function(e){let t=aT(),[i,n]=(0,R.useState)(-1),r=(0,R.useRef)(null);aE(()=>()=>{r.current&&t.unregister(r.current)},[]),aE(()=>{if(!r.current)return;let e=Number(r.current.dataset.index);i==e||Number.isNaN(e)||n(e)});let o=e?aL(t.register(e)):aL(t.register);return{descendants:t,index:i,enabledIndex:t.enabledIndexOf(r.current),register:aN(o,r)}})(e)]}var[aM,aO]=F({name:"AccordionStylesContext",hookName:"useAccordionStyles",providerName:""}),[aP,aR]=F({name:"AccordionItemContext",hookName:"useAccordionItemContext",providerName:""}),[aF,aB,aV,aH]=aI(),aj=sA(function(e,t){let{getButtonProps:i}=aR(),n=i(e,t),r={display:"flex",alignItems:"center",width:"100%",outline:0,...aO().button};return(0,T.jsx)(sE.button,{...n,className:$("chakra-accordion__button",e.className),__css:r})});function aW(e){let{value:t,defaultValue:i,onChange:n,shouldUpdate:r=(e,t)=>e!==t}=e,o=sf(n),s=sf(r),[a,l]=(0,R.useState)(i),u=void 0!==t,d=u?t:a,c=sf(e=>{let t="function"==typeof e?e(d):e;s(d,t)&&(u||l(t),o(t))},[u,o,d,s]);return[d,c]}function az(e){let t,{onChange:i,defaultIndex:n,index:r,allowMultiple:o,allowToggle:s,...a}=e;K({condition:!!(null!=(t=e.index||e.defaultIndex)&&!Array.isArray(t)&&e.allowMultiple),message:`If 'allowMultiple' is passed, then 'index' or 'defaultIndex' must be an array. You passed: ${typeof t},`}),K({condition:!!(e.allowMultiple&&e.allowToggle),message:"If 'allowMultiple' is passed, 'allowToggle' will be ignored. Either remove 'allowToggle' or 'allowMultiple' depending on whether you want multiple accordions visible or not"});let l=aV(),[u,d]=(0,R.useState)(-1);(0,R.useEffect)(()=>()=>{d(-1)},[]);let[c,h]=aW({value:r,defaultValue:()=>o?null!=n?n:[]:null!=n?n:-1,onChange:i});return{index:c,setIndex:h,htmlProps:a,getAccordionItemProps:e=>{let t=!1;return null!==e&&(t=Array.isArray(c)?c.includes(e):c===e),{isOpen:t,onChange:t=>{null!==e&&(o&&Array.isArray(c)?h(t?c.concat(e):c.filter(t=>t!==e)):t?h(e):s&&h(-1))}}},focusedIndex:u,setFocusedIndex:d,descendants:l}}aj.displayName="AccordionButton";var[aU,a$]=F({name:"AccordionContext",hookName:"useAccordionContext",providerName:"Accordion"});function aq(e){var t;let{isDisabled:i,isFocusable:n,id:r,...o}=e,{getAccordionItemProps:s,setFocusedIndex:a}=a$(),l=(0,R.useRef)(null),u=(0,R.useId)(),d=null!=r?r:u,c=`accordion-button-${d}`,h=`accordion-panel-${d}`;K({condition:!!(e.isFocusable&&!e.isDisabled),message:`Using only 'isFocusable', this prop is reserved for situations where you pass 'isDisabled' but you still want the element to receive focus (A11y). Either remove it or pass 'isDisabled' as well. + `});let{register:g,index:p,descendants:f}=aH({disabled:i&&!n}),{isOpen:m,onChange:v}=s(-1===p?null:p);K({condition:(t={isOpen:m,isDisabled:i}).isOpen&&!!t.isDisabled,message:"Cannot open a disabled accordion item"});let b=(0,R.useCallback)(()=>{null==v||v(!m),a(p)},[p,a,m,v]),y=(0,R.useCallback)(e=>{let t={ArrowDown:()=>{let e=f.nextEnabled(p);null==e||e.node.focus()},ArrowUp:()=>{let e=f.prevEnabled(p);null==e||e.node.focus()},Home:()=>{let e=f.firstEnabled();null==e||e.node.focus()},End:()=>{let e=f.lastEnabled();null==e||e.node.focus()}}[e.key];t&&(e.preventDefault(),t(e))},[f,p]),_=(0,R.useCallback)(()=>{a(p)},[a,p]),w=(0,R.useCallback)(function(e={},t=null){return{...e,type:"button",ref:aN(g,l,t),id:c,disabled:!!i,"aria-expanded":!!m,"aria-controls":h,onClick:J(e.onClick,b),onFocus:J(e.onFocus,_),onKeyDown:J(e.onKeyDown,y)}},[c,i,m,b,_,y,h,g]),C=(0,R.useCallback)(function(e={},t=null){return{...e,ref:t,role:"region",id:h,"aria-labelledby":c,hidden:!m}},[c,m,h]);return{isOpen:m,isDisabled:i,isFocusable:n,onOpen:()=>{null==v||v(!0)},onClose:()=>{null==v||v(!1)},getButtonProps:w,getPanelProps:C,htmlProps:o}}function aK(e){let{isOpen:t,isDisabled:i}=aR(),{reduceMotion:n}=a$(),r=$("chakra-accordion__icon",e.className),o={opacity:i?.4:1,transform:t?"rotate(-180deg)":void 0,transition:n?void 0:"transform 0.2s",transformOrigin:"center",...aO().icon};return(0,T.jsx)(sG,{viewBox:"0 0 24 24","aria-hidden":!0,className:r,__css:o,...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})})}aK.displayName="AccordionIcon";var aG=sA(function(e,t){let{children:i,className:n}=e,{htmlProps:r,...o}=aq(e),s={...aO().container,overflowAnchor:"none"},a=(0,R.useMemo)(()=>o,[o]);return(0,T.jsx)(aP,{value:a,children:(0,T.jsx)(sE.div,{ref:t,...r,className:$("chakra-accordion__item",n),__css:s,children:"function"==typeof i?i({isExpanded:!!o.isOpen,isDisabled:!!o.isDisabled}):i})})});aG.displayName="AccordionItem";var aZ={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},aY={slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function aQ(e){var t;switch(null!=(t=null==e?void 0:e.direction)?t:"right"){case"right":default:return aY.slideRight;case"left":return aY.slideLeft;case"bottom":return aY.slideDown;case"top":return aY.slideUp}}var aJ={enter:{duration:.2,ease:aZ.easeOut},exit:{duration:.1,ease:aZ.easeIn}},aX={enter:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.enter}),exit:(e,t)=>({...e,delay:"number"==typeof t?t:null==t?void 0:t.exit})},a0=e=>null!=e&&parseInt(e.toString(),10)>0,a1={exit:{height:{duration:.2,ease:aZ.ease},opacity:{duration:.3,ease:aZ.ease}},enter:{height:{duration:.3,ease:aZ.ease},opacity:{duration:.4,ease:aZ.ease}}},a2={exit:({animateOpacity:e,startingHeight:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{...e&&{opacity:a0(t)?1:0},height:t,transitionEnd:null==n?void 0:n.exit,transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(a1.exit,r)}},enter:({animateOpacity:e,endingHeight:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{...e&&{opacity:1},height:t,transitionEnd:null==n?void 0:n.enter,transition:null!=(o=null==i?void 0:i.enter)?o:aX.enter(a1.enter,r)}}},a6=(0,R.forwardRef)((e,t)=>{let{in:i,unmountOnExit:n,animateOpacity:r=!0,startingHeight:o=0,endingHeight:s="auto",style:a,className:l,transition:u,transitionEnd:d,...c}=e,[h,g]=(0,R.useState)(!1);(0,R.useEffect)(()=>{let e=setTimeout(()=>{g(!0)});return()=>clearTimeout(e)},[]),K({condition:Number(o)>0&&!!n,message:"startingHeight and unmountOnExit are mutually exclusive. You can't use them together"});let p=parseFloat(o.toString())>0,f={startingHeight:o,endingHeight:s,animateOpacity:r,transition:h?u:{enter:{duration:0}},transitionEnd:{enter:null==d?void 0:d.enter,exit:n?null==d?void 0:d.exit:{...null==d?void 0:d.exit,display:p?"block":"none"}}};return(0,T.jsx)(ar.M,{initial:!1,custom:f,children:(!n||i)&&(0,T.jsx)(sb.E.div,{ref:t,...c,className:$("chakra-collapse",l),style:{overflow:"hidden",display:"block",...a},custom:f,variants:a2,initial:!!n&&"exit",animate:i||n?"enter":"exit",exit:"exit"})})});a6.displayName="Collapse";var a3=sA(function(e,t){let{className:i,motionProps:n,...r}=e,{reduceMotion:o}=a$(),{getPanelProps:s,isOpen:a}=aR(),l=s(r,t),u=$("chakra-accordion__panel",i),d=aO();o||delete l.hidden;let c=(0,T.jsx)(sE.div,{...l,__css:d.panel,className:u});return o?c:(0,T.jsx)(a6,{in:a,...n,children:c})});a3.displayName="AccordionPanel";var a8=sA(function({children:e,reduceMotion:t,...i},n){let r=s$("Accordion",i),{htmlProps:o,descendants:s,...a}=az(tL(i)),l=(0,R.useMemo)(()=>({...a,reduceMotion:!!t}),[a,t]);return(0,T.jsx)(aF,{value:s,children:(0,T.jsx)(aU,{value:l,children:(0,T.jsx)(aM,{value:r,children:(0,T.jsx)(sE.div,{ref:n,...o,className:$("chakra-accordion",i.className),__css:r.root,children:e})})})})});function a5(){let{isOpen:e,isDisabled:t,onClose:i,onOpen:n}=aR();return{isOpen:e,onClose:i,isDisabled:t,onOpen:n}}a8.displayName="Accordion";var[a4,a9]=F({name:"AvatarStylesContext",hookName:"useAvatarStyles",providerName:""}),a7={"top-start":{top:"0",insetStart:"0",transform:"translate(-25%, -25%)"},"top-end":{top:"0",insetEnd:"0",transform:"translate(25%, -25%)"},"bottom-start":{bottom:"0",insetStart:"0",transform:"translate(-25%, 25%)"},"bottom-end":{bottom:"0",insetEnd:"0",transform:"translate(25%, 25%)"}},le=sA(function(e,t){let{placement:i="bottom-end",className:n,...r}=e,o=a9(),s={position:"absolute",display:"flex",alignItems:"center",justifyContent:"center",...a7[i],...o.badge};return(0,T.jsx)(sE.div,{ref:t,...r,className:$("chakra-avatar__badge",n),__css:s})});function lt(e){var t;let i=e.split(" "),n=null!=(t=i.at(0))?t:"",r=i.length>1?i.at(-1):"";return n&&r?`${n.charAt(0)}${r.charAt(0)}`:n.charAt(0)}function li(e){let{name:t,getInitials:i,...n}=e,r=a9();return(0,T.jsx)(sE.div,{role:"img","aria-label":t,...n,__css:r.label,children:t?null==i?void 0:i(t):null})}le.displayName="AvatarBadge",li.displayName="AvatarName";var ln=e=>(0,T.jsxs)(sE.svg,{viewBox:"0 0 128 128",color:"#fff",width:"100%",height:"100%",className:"chakra-avatar__svg",...e,children:[(0,T.jsx)("path",{fill:"currentColor",d:"M103,102.1388 C93.094,111.92 79.3504,118 64.1638,118 C48.8056,118 34.9294,111.768 25,101.7892 L25,95.2 C25,86.8096 31.981,80 40.6,80 L87.4,80 C96.019,80 103,86.8096 103,95.2 L103,102.1388 Z"}),(0,T.jsx)("path",{fill:"currentColor",d:"M63.9961647,24 C51.2938136,24 41,34.2938136 41,46.9961647 C41,59.7061864 51.2938136,70 63.9961647,70 C76.6985159,70 87,59.7061864 87,46.9961647 C87,34.2938136 76.6985159,24 63.9961647,24"})]});function lr(e){let{loading:t,src:i,srcSet:n,onLoad:r,onError:o,crossOrigin:s,sizes:a,ignoreFallback:l}=e,[u,d]=(0,R.useState)("pending");(0,R.useEffect)(()=>{d(i?"loading":"pending")},[i]);let c=(0,R.useRef)(),h=(0,R.useCallback)(()=>{if(!i)return;g();let e=new Image;e.src=i,s&&(e.crossOrigin=s),n&&(e.srcset=n),a&&(e.sizes=a),t&&(e.loading=t),e.onload=e=>{g(),d("loaded"),null==r||r(e)},e.onerror=e=>{g(),d("failed"),null==o||o(e)},c.current=e},[i,s,n,a,r,o,t]),g=()=>{c.current&&(c.current.onload=null,c.current.onerror=null,c.current=null)};return t0(()=>{if(!l)return"loading"===u&&h(),()=>{g()}},[u,h,l]),l?"loaded":u}var lo=(e,t)=>"loaded"!==e&&"beforeLoadOrError"===t||"failed"===e&&"onError"===t;function ls(e){let{src:t,srcSet:i,onError:n,onLoad:r,getInitials:o,name:s,borderRadius:a,loading:l,iconLabel:u,icon:d=(0,T.jsx)(ln,{}),ignoreFallback:c,referrerPolicy:h,crossOrigin:g}=e,p=lr({src:t,onError:n,crossOrigin:g,ignoreFallback:c});return t&&"loaded"===p?(0,T.jsx)(sE.img,{src:t,srcSet:i,alt:s,onLoad:r,referrerPolicy:h,crossOrigin:null!=g?g:void 0,className:"chakra-avatar__img",loading:l,__css:{width:"100%",height:"100%",objectFit:"cover",borderRadius:a}}):s?(0,T.jsx)(li,{className:"chakra-avatar__initials",getInitials:o,name:s}):(0,R.cloneElement)(d,{role:"img","aria-label":u})}ls.displayName="AvatarImage";var la={display:"inline-flex",alignItems:"center",justifyContent:"center",textAlign:"center",textTransform:"uppercase",fontWeight:"medium",position:"relative",flexShrink:0},ll=sA((e,t)=>{let i=s$("Avatar",e),[n,r]=(0,R.useState)(!1),{src:o,srcSet:s,name:a,showBorder:l,borderRadius:u="full",onError:d,onLoad:c,getInitials:h=lt,icon:g=(0,T.jsx)(ln,{}),iconLabel:p=" avatar",loading:f,children:m,borderColor:v,ignoreFallback:b,crossOrigin:y,..._}=tL(e),w={borderRadius:u,borderWidth:l?"2px":void 0,...la,...i.container};return v&&(w.borderColor=v),(0,T.jsx)(sE.span,{ref:t,..._,className:$("chakra-avatar",e.className),"data-loaded":Y(n),__css:w,children:(0,T.jsxs)(a4,{value:i,children:[(0,T.jsx)(ls,{src:o,srcSet:s,loading:f,onLoad:J(c,()=>{r(!0)}),onError:d,getInitials:h,name:a,borderRadius:u,icon:g,iconLabel:p,ignoreFallback:b,crossOrigin:y}),m]})})});function lu(e){return R.Children.toArray(e).filter(e=>(0,R.isValidElement)(e))}ll.displayName="Avatar";var ld=sA(function(e,t){let i=s$("Avatar",e),{children:n,borderColor:r,max:o,spacing:s="-0.75rem",borderRadius:a="full",...l}=tL(e),u=lu(n),d=null!=o?u.slice(0,o):u,c=null!=o?u.length-o:0,h=d.reverse().map((t,i)=>{var n;let o={marginEnd:0===i?0:s,size:e.size,borderColor:null!=(n=t.props.borderColor)?n:r,showBorder:!0};return(0,R.cloneElement)(t,function(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}(o))}),g={display:"flex",alignItems:"center",justifyContent:"flex-end",flexDirection:"row-reverse",...i.group},p={borderRadius:a,marginStart:s,...la,...i.excessLabel};return(0,T.jsxs)(sE.div,{ref:t,role:"group",__css:g,...l,className:$("chakra-avatar__group",e.className),children:[c>0&&(0,T.jsx)(sE.span,{className:"chakra-avatar__excess",__css:p,children:`+${c}`}),h]})});ld.displayName="AvatarGroup";var[lc,lh]=F({name:"BreadcrumbStylesContext",errorMessage:"useBreadcrumbStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),lg=sA(function(e,t){let{isCurrentPage:i,as:n,className:r,href:o,...s}=e,a=lh(),l={ref:t,as:n,className:$("chakra-breadcrumb__link",r),...s};return i?(0,T.jsx)(sE.span,{"aria-current":"page",__css:a.link,...l}):(0,T.jsx)(sE.a,{__css:a.link,href:o,...l})});lg.displayName="BreadcrumbLink";var lp=sA(function(e,t){let{spacing:i,...n}=e,r={mx:i,...lh().separator};return(0,T.jsx)(sE.span,{ref:t,role:"presentation",...n,__css:r})});lp.displayName="BreadcrumbSeparator";var lf=sA(function(e,t){let{isCurrentPage:i,separator:n,isLastChild:r,spacing:o,children:s,className:a,...l}=e,u=lu(s).map(e=>e.type===lg?(0,R.cloneElement)(e,{isCurrentPage:i}):e.type===lp?(0,R.cloneElement)(e,{spacing:o,children:e.props.children||n}):e),d={display:"inline-flex",alignItems:"center",...lh().item},c=$("chakra-breadcrumb__list-item",a);return(0,T.jsxs)(sE.li,{ref:t,className:c,...l,__css:d,children:[u,!r&&(0,T.jsx)(lp,{spacing:o,children:n})]})});lf.displayName="BreadcrumbItem";var lm=sA(function(e,t){let i=s$("Breadcrumb",e),{children:n,spacing:r="0.5rem",separator:o="/",className:s,listProps:a,...l}=tL(e),u=lu(n),d=u.length,c=u.map((e,t)=>(0,R.cloneElement)(e,{separator:o,spacing:r,isLastChild:d===t+1})),h=$("chakra-breadcrumb",s);return(0,T.jsx)(sE.nav,{ref:t,"aria-label":"breadcrumb",className:h,__css:i.container,...l,children:(0,T.jsx)(lc,{value:i,children:(0,T.jsx)(sE.ol,{className:"chakra-breadcrumb__list",...a,__css:{display:"flex",alignItems:"center",...i.list},children:c})})})});lm.displayName="Breadcrumb";var[lv,lb]=F({strict:!1,name:"ButtonGroupContext"}),ly={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},l_={horizontal:e=>({"& > *:not(style) ~ *:not(style)":{marginStart:e}}),vertical:e=>({"& > *:not(style) ~ *:not(style)":{marginTop:e}})},lw=sA(function(e,t){let{size:i,colorScheme:n,variant:r,className:o,spacing:s="0.5rem",isAttached:a,isDisabled:l,orientation:u="horizontal",...d}=e,c=$("chakra-button__group",o),h=(0,R.useMemo)(()=>({size:i,colorScheme:n,variant:r,isDisabled:l}),[i,n,r,l]),g={display:"inline-flex",...a?ly[u]:l_[u](s)};return(0,T.jsx)(lv,{value:h,children:(0,T.jsx)(sE.div,{ref:t,role:"group",__css:g,className:c,"data-attached":a?"":void 0,"data-orientation":u,flexDir:"vertical"===u?"column":void 0,...d})})});function lC(e){let{children:t,className:i,...n}=e,r=(0,R.isValidElement)(t)?(0,R.cloneElement)(t,{"aria-hidden":!0,focusable:!1}):t,o=$("chakra-button__icon",i);return(0,T.jsx)(sE.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...n,className:o,children:r})}function lS(e){let{label:t,placement:i,spacing:n="0.5rem",children:r=(0,T.jsx)(sQ,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:s,...a}=e,l=$("chakra-button__spinner",o),u="start"===i?"marginEnd":"marginStart",d=(0,R.useMemo)(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?n:0,fontSize:"1em",lineHeight:"normal",...s}),[s,t,u,n]);return(0,T.jsx)(sE.div,{className:l,...a,__css:d,children:r})}lw.displayName="ButtonGroup",lC.displayName="ButtonIcon",lS.displayName="ButtonSpinner";var lx=sA((e,t)=>{let i=lb(),n=sU("Button",{...i,...e}),{isDisabled:r=null==i?void 0:i.isDisabled,isLoading:o,isActive:s,children:a,leftIcon:l,rightIcon:u,loadingText:d,iconSpacing:c="0.5rem",type:h,spinner:g,spinnerPlacement:p="start",className:f,as:m,...v}=tL(e),b=(0,R.useMemo)(()=>{let e={...null==n?void 0:n._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...n,...!!i&&{_focus:e}}},[n,i]),{ref:y,type:_}=function(e){let[t,i]=(0,R.useState)(!e);return{ref:(0,R.useCallback)(e=>{e&&i("BUTTON"===e.tagName)},[]),type:t?"button":void 0}}(m),w={rightIcon:u,leftIcon:l,iconSpacing:c,children:a};return(0,T.jsxs)(sE.button,{ref:function(...e){return(0,R.useMemo)(()=>aN(...e),e)}(t,y),as:m,type:null!=h?h:_,"data-active":Y(s),"data-loading":Y(o),__css:b,className:$("chakra-button",f),...v,disabled:r||o,children:[o&&"start"===p&&(0,T.jsx)(lS,{className:"chakra-button__spinner--start",label:d,placement:"start",spacing:c,children:g}),o?d||(0,T.jsx)(sE.span,{opacity:0,children:(0,T.jsx)(lk,{...w})}):(0,T.jsx)(lk,{...w}),o&&"end"===p&&(0,T.jsx)(lS,{className:"chakra-button__spinner--end",label:d,placement:"end",spacing:c,children:g})]})});function lk(e){let{leftIcon:t,rightIcon:i,children:n,iconSpacing:r}=e;return(0,T.jsxs)(T.Fragment,{children:[t&&(0,T.jsx)(lC,{marginEnd:r,children:t}),n,i&&(0,T.jsx)(lC,{marginStart:r,children:i})]})}lx.displayName="Button";var lE=sA((e,t)=>{let{icon:i,children:n,isRound:r,"aria-label":o,...s}=e,a=i||n,l=(0,R.isValidElement)(a)?(0,R.cloneElement)(a,{"aria-hidden":!0,focusable:!1}):null;return(0,T.jsx)(lx,{padding:"0",borderRadius:r?"full":void 0,ref:t,"aria-label":o,...s,children:l})});lE.displayName="IconButton";var[lL,lD]=tU("Card"),lN=sA(function(e,t){let{className:i,...n}=e,r=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__body",i),__css:r.body,...n})}),lA=sA(function(e,t){let{className:i,justify:n,...r}=e,o=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__footer",i),__css:{display:"flex",justifyContent:n,...o.footer},...r})}),lT=sA(function(e,t){let{className:i,...n}=e,r=lD();return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card__header",i),__css:r.header,...n})}),lI=sA(function(e,t){let{className:i,children:n,direction:r="column",justify:o,align:s,...a}=tL(e),l=s$("Card",e);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-card",i),__css:{display:"flex",flexDirection:r,justifyContent:o,alignItems:s,position:"relative",minWidth:0,wordWrap:"break-word",...l.container},...a,children:(0,T.jsx)(lL,{value:l,children:n})})}),[lM,lO]=F({name:"CheckboxGroupContext",strict:!1});function lP(e){return e&&q(e)&&q(e.target)}function lR(e={}){let{defaultValue:t,value:i,onChange:n,isDisabled:r,isNative:o}=e,[s,a]=aW({value:i,defaultValue:t||[],onChange:sf(n)}),l=(0,R.useCallback)(e=>{if(!s)return;let t=lP(e)?e.target.checked:!s.includes(e),i=lP(e)?e.target.value:e;a(t?[...s,i]:s.filter(e=>String(e)!==String(i)))},[a,s]),u=(0,R.useCallback)((e={})=>{let t=o?"checked":"isChecked";return{...e,[t]:s.some(t=>String(e.value)===String(t)),onChange:l}},[l,o,s]);return{value:s,isDisabled:r,onChange:l,setValue:a,getCheckboxProps:u}}function lF(e){let{colorScheme:t,size:i,variant:n,children:r,isDisabled:o}=e,{value:s,onChange:a}=lR(e),l=(0,R.useMemo)(()=>({size:i,onChange:a,colorScheme:t,value:s,variant:n,isDisabled:o}),[i,a,t,s,n,o]);return(0,T.jsx)(lM,{value:l,children:r})}function lB(e){return(0,T.jsx)(sE.svg,{width:"1.2em",viewBox:"0 0 12 10",style:{fill:"none",strokeWidth:2,stroke:"currentColor",strokeDasharray:16},...e,children:(0,T.jsx)("polyline",{points:"1.5 6 4.5 9 10.5 1"})})}function lV(e){return(0,T.jsx)(sE.svg,{width:"1.2em",viewBox:"0 0 24 24",style:{stroke:"currentColor",strokeWidth:4},...e,children:(0,T.jsx)("line",{x1:"21",x2:"3",y1:"12",y2:"12"})})}function lH(e){let{isIndeterminate:t,isChecked:i,...n}=e,r=t?lV:lB;return i||t?(0,T.jsx)(sE.div,{style:{display:"flex",alignItems:"center",justifyContent:"center",height:"100%"},children:(0,T.jsx)(r,{...n})}):null}lF.displayName="CheckboxGroup";var[lj,lW]=F({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[lz,lU]=F({strict:!1,name:"FormControlContext"}),l$=sA(function(e,t){let i=s$("Form",e),{getRootProps:n,htmlProps:r,...o}=function(e){let{id:t,isRequired:i,isInvalid:n,isDisabled:r,isReadOnly:o,...s}=e,a=(0,R.useId)(),l=t||`field-${a}`,u=`${l}-label`,d=`${l}-feedback`,c=`${l}-helptext`,[h,g]=(0,R.useState)(!1),[p,f]=(0,R.useState)(!1),[m,v]=(0,R.useState)(!1),b=(0,R.useCallback)((e={},t=null)=>({id:c,...e,ref:aN(t,e=>{e&&f(!0)})}),[c]),y=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,"data-focus":Y(m),"data-disabled":Y(r),"data-invalid":Y(n),"data-readonly":Y(o),id:void 0!==e.id?e.id:u,htmlFor:void 0!==e.htmlFor?e.htmlFor:l}),[l,r,m,n,o,u]),_=(0,R.useCallback)((e={},t=null)=>({id:d,...e,ref:aN(t,e=>{e&&g(!0)}),"aria-live":"polite"}),[d]),w=(0,R.useCallback)((e={},t=null)=>({...e,...s,ref:t,role:"group"}),[s]);return{isRequired:!!i,isInvalid:!!n,isReadOnly:!!o,isDisabled:!!r,isFocused:!!m,onFocus:()=>v(!0),onBlur:()=>v(!1),hasFeedbackText:h,setHasFeedbackText:g,hasHelpText:p,setHasHelpText:f,id:l,labelId:u,feedbackId:d,helpTextId:c,htmlProps:s,getHelpTextProps:b,getErrorMessageProps:_,getRootProps:w,getLabelProps:y,getRequiredIndicatorProps:(0,R.useCallback)((e={},t=null)=>({...e,ref:t,role:"presentation","aria-hidden":!0,children:e.children||"*"}),[])}}(tL(e)),s=$("chakra-form-control",e.className);return(0,T.jsx)(lz,{value:o,children:(0,T.jsx)(lj,{value:i,children:(0,T.jsx)(sE.div,{...n({},t),className:s,__css:i.container})})})});l$.displayName="FormControl";var lq=sA(function(e,t){let i=lU(),n=lW(),r=$("chakra-form__helper-text",e.className);return(0,T.jsx)(sE.div,{...null==i?void 0:i.getHelpTextProps(e,t),__css:n.helperText,className:r})});function lK(e){let{isDisabled:t,isInvalid:i,isReadOnly:n,isRequired:r,...o}=lG(e);return{...o,disabled:t,readOnly:n,required:r,"aria-invalid":Q(i),"aria-required":Q(r),"aria-readonly":Q(n)}}function lG(e){var t,i,n;let r=lU(),{id:o,disabled:s,readOnly:a,required:l,isRequired:u,isInvalid:d,isReadOnly:c,isDisabled:h,onFocus:g,onBlur:p,...f}=e,m=e["aria-describedby"]?[e["aria-describedby"]]:[];return(null==r?void 0:r.hasFeedbackText)&&(null==r?void 0:r.isInvalid)&&m.push(r.feedbackId),(null==r?void 0:r.hasHelpText)&&m.push(r.helpTextId),{...f,"aria-describedby":m.join(" ")||void 0,id:null!=o?o:null==r?void 0:r.id,isDisabled:null!=(t=null!=s?s:h)?t:null==r?void 0:r.isDisabled,isReadOnly:null!=(i=null!=a?a:c)?i:null==r?void 0:r.isReadOnly,isRequired:null!=(n=null!=l?l:u)?n:null==r?void 0:r.isRequired,isInvalid:null!=d?d:null==r?void 0:r.isInvalid,onFocus:J(null==r?void 0:r.onFocus,g),onBlur:J(null==r?void 0:r.onBlur,p)}}lq.displayName="FormHelperText";var lZ={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},lY=!1,lQ=null,lJ=!1,lX=!1,l0=new Set;function l1(e,t){l0.forEach(i=>i(e,t))}var l2="undefined"!=typeof window&&null!=window.navigator&&/^Mac/.test(window.navigator.platform);function l6(e){lJ=!0,e.metaKey||!l2&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key||(lQ="keyboard",l1("keyboard",e))}function l3(e){if(lQ="pointer","mousedown"===e.type||"pointerdown"===e.type){lJ=!0;let t=e.composedPath?e.composedPath()[0]:e.target,i=!1;try{i=t.matches(":focus-visible")}catch{}i||l1("pointer",e)}}function l8(e){(0===e.mozInputSource&&e.isTrusted||0===e.detail&&!e.pointerType)&&(lJ=!0,lQ="virtual")}function l5(e){e.target!==window&&e.target!==document&&(lJ||lX||(lQ="virtual",l1("virtual",e)),lJ=!1,lX=!1)}function l4(){lJ=!1,lX=!0}function l9(){return"pointer"!==lQ}function l7(e){(function(){if("undefined"==typeof window||lY)return;let{focus:e}=HTMLElement.prototype;HTMLElement.prototype.focus=function(...t){lJ=!0,e.apply(this,t)},document.addEventListener("keydown",l6,!0),document.addEventListener("keyup",l6,!0),document.addEventListener("click",l8,!0),window.addEventListener("focus",l5,!0),window.addEventListener("blur",l4,!1),"undefined"!=typeof PointerEvent?(document.addEventListener("pointerdown",l3,!0),document.addEventListener("pointermove",l3,!0),document.addEventListener("pointerup",l3,!0)):(document.addEventListener("mousedown",l3,!0),document.addEventListener("mousemove",l3,!0),document.addEventListener("mouseup",l3,!0)),lY=!0})(),e(l9());let t=()=>e(l9());return l0.add(t),()=>{l0.delete(t)}}function ue(e={}){let{isDisabled:t,isReadOnly:i,isRequired:n,isInvalid:r,id:o,onBlur:s,onFocus:a,"aria-describedby":l}=lG(e),{defaultChecked:u,isChecked:d,isFocusable:c,onChange:h,isIndeterminate:g,name:p,value:f,tabIndex:m,"aria-label":v,"aria-labelledby":b,"aria-invalid":y,..._}=e,w=function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(_,["isDisabled","isReadOnly","isRequired","isInvalid","id","onBlur","onFocus","aria-describedby"]),C=sf(h),S=sf(s),x=sf(a),[k,E]=(0,R.useState)(!1),[L,D]=(0,R.useState)(!1),[N,A]=(0,R.useState)(!1),[T,I]=(0,R.useState)(!1);(0,R.useEffect)(()=>l7(E),[]);let M=(0,R.useRef)(null),[O,P]=(0,R.useState)(!0),[F,B]=(0,R.useState)(!!u),V=void 0!==d,H=V?d:F,j=(0,R.useCallback)(e=>{if(i||t){e.preventDefault();return}V||(H?B(e.target.checked):B(!!g||e.target.checked)),null==C||C(e)},[i,t,H,V,g,C]);t0(()=>{M.current&&(M.current.indeterminate=!!g)},[g]),sm(()=>{t&&D(!1)},[t,D]),t0(()=>{let e=M.current;(null==e?void 0:e.form)&&(e.form.onreset=()=>{B(!!u)})},[]);let W=t&&!c,z=(0,R.useCallback)(e=>{" "===e.key&&I(!0)},[I]),U=(0,R.useCallback)(e=>{" "===e.key&&I(!1)},[I]);t0(()=>{M.current&&M.current.checked!==H&&B(M.current.checked)},[M.current]);let $=(0,R.useCallback)((e={},n=null)=>({...e,ref:n,"data-active":Y(T),"data-hover":Y(N),"data-checked":Y(H),"data-focus":Y(L),"data-focus-visible":Y(L&&k),"data-indeterminate":Y(g),"data-disabled":Y(t),"data-invalid":Y(r),"data-readonly":Y(i),"aria-hidden":!0,onMouseDown:J(e.onMouseDown,e=>{L&&e.preventDefault(),I(!0)}),onMouseUp:J(e.onMouseUp,()=>I(!1)),onMouseEnter:J(e.onMouseEnter,()=>A(!0)),onMouseLeave:J(e.onMouseLeave,()=>A(!1))}),[T,H,t,L,k,N,g,r,i]),q=(0,R.useCallback)((e={},i=null)=>({...w,...e,ref:aN(i,e=>{e&&P("LABEL"===e.tagName)}),onClick:J(e.onClick,()=>{var e;O||(null==(e=M.current)||e.click(),requestAnimationFrame(()=>{var e;null==(e=M.current)||e.focus({preventScroll:!0})}))}),"data-disabled":Y(t),"data-checked":Y(H),"data-invalid":Y(r)}),[w,t,H,r,O]),K=(0,R.useCallback)((e={},s=null)=>({...e,ref:aN(M,s),type:"checkbox",name:p,value:f,id:o,tabIndex:m,onChange:J(e.onChange,j),onBlur:J(e.onBlur,S,()=>D(!1)),onFocus:J(e.onFocus,x,()=>D(!0)),onKeyDown:J(e.onKeyDown,z),onKeyUp:J(e.onKeyUp,U),required:n,checked:H,disabled:W,readOnly:i,"aria-label":v,"aria-labelledby":b,"aria-invalid":y?!!y:r,"aria-describedby":l,"aria-disabled":t,style:lZ}),[p,f,o,j,S,x,z,U,n,H,W,i,v,b,y,r,l,t,m]),G=(0,R.useCallback)((e={},i=null)=>({...e,ref:i,onMouseDown:J(e.onMouseDown,ut),"data-disabled":Y(t),"data-checked":Y(H),"data-invalid":Y(r)}),[H,t,r]);return{state:{isInvalid:r,isFocused:L,isChecked:H,isActive:T,isHovered:N,isIndeterminate:g,isDisabled:t,isReadOnly:i,isRequired:n},getRootProps:q,getCheckboxProps:$,getInputProps:K,getLabelProps:G,htmlProps:w}}function ut(e){e.preventDefault(),e.stopPropagation()}var ui={display:"inline-flex",alignItems:"center",justifyContent:"center",verticalAlign:"top",userSelect:"none",flexShrink:0},un={cursor:"pointer",display:"inline-flex",alignItems:"center",verticalAlign:"top",position:"relative"},ur=(0,A.keyframes)({from:{opacity:0,strokeDashoffset:16,transform:"scale(0.95)"},to:{opacity:1,strokeDashoffset:0,transform:"scale(1)"}}),uo=(0,A.keyframes)({from:{opacity:0},to:{opacity:1}}),us=(0,A.keyframes)({from:{transform:"scaleX(0.65)"},to:{transform:"scaleX(1)"}}),ua=sA(function(e,t){let i=lO(),n=s$("Checkbox",{...i,...e}),r=tL(e),{spacing:o="0.5rem",className:s,children:a,iconColor:l,iconSize:u,icon:d=(0,T.jsx)(lH,{}),isChecked:c,isDisabled:h=null==i?void 0:i.isDisabled,onChange:g,inputProps:p,...f}=r,m=c;(null==i?void 0:i.value)&&r.value&&(m=i.value.includes(r.value));let v=g;(null==i?void 0:i.onChange)&&r.value&&(v=X(i.onChange,g));let{state:b,getInputProps:y,getCheckboxProps:_,getLabelProps:w,getRootProps:C}=ue({...f,isDisabled:h,isChecked:m,onChange:v}),S=function(e){let[t,i]=(0,R.useState)(e),[n,r]=(0,R.useState)(!1);return e!==t&&(r(!0),i(e)),n}(b.isChecked),x=(0,R.useMemo)(()=>({animation:S?b.isIndeterminate?`${uo} 20ms linear, ${us} 200ms linear`:`${ur} 200ms linear`:void 0,fontSize:u,color:l,...n.icon}),[l,u,S,b.isIndeterminate,n.icon]),k=(0,R.cloneElement)(d,{__css:x,isIndeterminate:b.isIndeterminate,isChecked:b.isChecked});return(0,T.jsxs)(sE.label,{__css:{...un,...n.container},className:$("chakra-checkbox",s),...C(),children:[(0,T.jsx)("input",{className:"chakra-checkbox__input",...y(p,t)}),(0,T.jsx)(sE.span,{__css:{...ui,...n.control},className:"chakra-checkbox__control",..._(),children:k}),a&&(0,T.jsx)(sE.span,{className:"chakra-checkbox__label",...w(),__css:{marginStart:o,...n.label},children:a})]})});ua.displayName="Checkbox";var ul=e=>{let{type:t="checkbox",_hover:i,_invalid:n,_disabled:r,_focus:o,_checked:s,_child:a={opacity:0},_checkedAndChild:l={opacity:1},_checkedAndDisabled:u,_checkedAndFocus:d,_checkedAndHover:c,children:h,...g}=e,p=`input[type=${t}]:checked:disabled + &`,f=`input[type=${t}]:checked:hover:not(:disabled) + &`,m=`input[type=${t}]:checked:focus + &`,v=`input[type=${t}]:disabled + &`,b=`input[type=${t}]:focus + &`,y=`input[type=${t}]:hover:not(:disabled):not(:checked) + &`,_=`input[type=${t}]:checked + &, input[type=${t}][aria-checked=mixed] + &`,w=`input[type=${t}][aria-invalid=true] + &`,C="& > *";return(0,T.jsx)(sE.div,{...g,"aria-hidden":!0,__css:{display:"inline-flex",alignItems:"center",justifyContent:"center",transitionProperty:"common",transitionDuration:"fast",flexShrink:0,[b]:o,[y]:i,[v]:r,[w]:n,[p]:u,[m]:d,[f]:c,[C]:a,[_]:{...s,[C]:l}},children:h})};function uu(e,t){let i;let n="number"!=typeof(i=parseFloat(e))||Number.isNaN(i)?0:i,r=10**(null!=t?t:10);return n=Math.round(n*r)/r,t?n.toFixed(t):n.toString()}function ud(e){if(!Number.isFinite(e))return 0;let t=1,i=0;for(;Math.round(e*t)/t!==e;)t*=10,i+=1;return i}function uc(e,t,i){return uu(Math.round((e-t)/i)*i+t,ud(i))}function uh(e,t,i){return null==e?e:(i{var e;return null==n?"":null!=(e=um(n,o,i))?e:""}),h=void 0!==r,g=h?r:d,p=uf(up(g),o),f=null!=i?i:p,m=(0,R.useCallback)(e=>{e!==g&&(h||c(e.toString()),null==u||u(e.toString(),up(e)))},[u,h,g]),v=(0,R.useCallback)(e=>{let t=e;return l&&(t=uh(t,s,a)),uu(t,f)},[f,l,a,s]),b=(0,R.useCallback)((e=o)=>{m(v(""===g?up(e):up(g)+e))},[v,o,m,g]),y=(0,R.useCallback)((e=o)=>{m(v(""===g?up(-e):up(g)-e))},[v,o,m,g]),_=(0,R.useCallback)(()=>{var e;m(null==n?"":null!=(e=um(n,o,i))?e:s)},[n,i,o,m,s]),w=(0,R.useCallback)(e=>{var t;m(null!=(t=um(e,o,f))?t:s)},[f,o,m,s]),C=up(g);return{isOutOfRange:C>a||C\" "}),[uy,u_]=F({name:"EditableContext",errorMessage:"useEditableContext: context is undefined. Seems you forgot to wrap the editable components in ``"});function uw(){let{isEditing:e,onSubmit:t,onCancel:i,onEdit:n,isDisabled:r}=u_();return{isEditing:e,onSubmit:t,onCancel:i,onEdit:n,isDisabled:r}}var uC={fontSize:"inherit",fontWeight:"inherit",textAlign:"inherit",bg:"transparent"},uS=sA(function(e,t){let{getInputProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__input",e.className);return(0,T.jsx)(sE.input,{...r,__css:{outline:0,...uC,...n.input},className:o})});uS.displayName="EditableInput";var ux=sA(function(e,t){let{getPreviewProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__preview",e.className);return(0,T.jsx)(sE.span,{...r,__css:{cursor:"text",display:"inline-block",...uC,...n.preview},className:o})});ux.displayName="EditablePreview";var uk=sA(function(e,t){let{getTextareaProps:i}=u_(),n=ub(),r=i(e,t),o=$("chakra-editable__textarea",e.className);return(0,T.jsx)(sE.textarea,{...r,__css:{outline:0,...uC,...n.textarea},className:o})});function uE(e,t,i,n){let r=sf(i);return(0,R.useEffect)(()=>{let o="function"==typeof e?e():null!=e?e:document;if(i&&o)return o.addEventListener(t,r,n),()=>{o.removeEventListener(t,r,n)}},[t,e,n,r,i]),()=>{let i="function"==typeof e?e():null!=e?e:document;null==i||i.removeEventListener(t,r,n)}}uk.displayName="EditableTextarea";var uL=()=>"undefined"!=typeof window,uD=e=>uL()&&e.test(navigator.vendor),uN=e=>uL()&&e.test(function(){var e;let t=navigator.userAgentData;return null!=(e=null==t?void 0:t.platform)?e:navigator.platform}()),uA=()=>uN(/mac|iphone|ipad|ipod/i),uT=()=>uA()&&uD(/apple/i);function uI(e){let{ref:t,elements:i,enabled:n}=e,r=()=>{var e,i;return null!=(i=null==(e=t.current)?void 0:e.ownerDocument)?i:document};uE(r,"pointerdown",e=>{if(!uT()||!n)return;let o=e.target,s=(null!=i?i:[t]).some(e=>{let t="current"in e?e.current:e;return(null==t?void 0:t.contains(o))||t===o});r().activeElement!==o&&s&&(e.preventDefault(),o.focus())})}function uM(e,t){return!!e&&(e===t||e.contains(t))}function uO(e={}){let{onChange:t,onCancel:i,onSubmit:n,onBlur:r,value:o,isDisabled:s,defaultValue:a,startWithEditView:l,isPreviewFocusable:u=!0,submitOnBlur:d=!0,selectAllOnFocus:c=!0,placeholder:h,onEdit:g,finalFocusRef:p,...f}=e,m=sf(g),v=!!(l&&!s),[b,y]=(0,R.useState)(v),[_,w]=aW({defaultValue:a||"",value:o,onChange:t}),[C,S]=(0,R.useState)(_),x=(0,R.useRef)(null),k=(0,R.useRef)(null),E=(0,R.useRef)(null),L=(0,R.useRef)(null),D=(0,R.useRef)(null);uI({ref:x,enabled:b,elements:[L,D]});let N=!b&&!s;t0(()=>{var e,t;b&&(null==(e=x.current)||e.focus(),c&&(null==(t=x.current)||t.select()))},[]),sm(()=>{var e,t,i,n;if(!b){p?null==(e=p.current)||e.focus():null==(t=E.current)||t.focus();return}null==(i=x.current)||i.focus(),c&&(null==(n=x.current)||n.select()),null==m||m()},[b,m,c]);let A=(0,R.useCallback)(()=>{N&&y(!0)},[N]),T=(0,R.useCallback)(()=>{S(_)},[_]),I=(0,R.useCallback)(()=>{y(!1),w(C),null==i||i(C),null==r||r(C)},[i,r,w,C]),M=(0,R.useCallback)(()=>{y(!1),S(_),null==n||n(_),null==r||r(C)},[_,n,r,C]);(0,R.useEffect)(()=>{if(b)return;let e=x.current;(null==e?void 0:e.ownerDocument.activeElement)===e&&(null==e||e.blur())},[b]);let O=(0,R.useCallback)(e=>{w(e.currentTarget.value)},[w]),P=(0,R.useCallback)(e=>{let t={Escape:I,Enter:e=>{e.shiftKey||e.metaKey||M()}}[e.key];t&&(e.preventDefault(),t(e))},[I,M]),F=(0,R.useCallback)(e=>{let t={Escape:I}[e.key];t&&(e.preventDefault(),t(e))},[I]),B=0===_.length,V=(0,R.useCallback)(e=>{var t;if(!b)return;let i=e.currentTarget.ownerDocument,n=null!=(t=e.relatedTarget)?t:i.activeElement,r=uM(L.current,n),o=uM(D.current,n);r||o||(d?M():I())},[d,M,I,b]),H=(0,R.useCallback)((e={},t=null)=>{let i=N&&u?0:void 0;return{...e,ref:aN(t,k),children:B?h:_,hidden:b,"aria-disabled":Q(s),tabIndex:i,onFocus:J(e.onFocus,A,T)}},[s,b,N,u,B,A,T,h,_]),j=(0,R.useCallback)((e={},t=null)=>({...e,hidden:!b,placeholder:h,ref:aN(t,x),disabled:s,"aria-disabled":Q(s),value:_,onBlur:J(e.onBlur,V),onChange:J(e.onChange,O),onKeyDown:J(e.onKeyDown,P),onFocus:J(e.onFocus,T)}),[s,b,V,O,P,T,h,_]),W=(0,R.useCallback)((e={},t=null)=>({...e,hidden:!b,placeholder:h,ref:aN(t,x),disabled:s,"aria-disabled":Q(s),value:_,onBlur:J(e.onBlur,V),onChange:J(e.onChange,O),onKeyDown:J(e.onKeyDown,F),onFocus:J(e.onFocus,T)}),[s,b,V,O,F,T,h,_]),z=(0,R.useCallback)((e={},t=null)=>({"aria-label":"Edit",...e,type:"button",onClick:J(e.onClick,A),ref:aN(t,E),disabled:s}),[A,s]),U=(0,R.useCallback)((e={},t=null)=>({...e,"aria-label":"Submit",ref:aN(D,t),type:"button",onClick:J(e.onClick,M),disabled:s}),[M,s]),$=(0,R.useCallback)((e={},t=null)=>({"aria-label":"Cancel",id:"cancel",...e,ref:aN(L,t),type:"button",onClick:J(e.onClick,I),disabled:s}),[I,s]);return{isEditing:b,isDisabled:s,isValueEmpty:B,value:_,onEdit:A,onCancel:I,onSubmit:M,getPreviewProps:H,getInputProps:j,getTextareaProps:W,getEditButtonProps:z,getSubmitButtonProps:U,getCancelButtonProps:$,htmlProps:f}}var uP=sA(function(e,t){let i=s$("Editable",e),{htmlProps:n,...r}=uO(tL(e)),{isEditing:o,onSubmit:s,onCancel:a,onEdit:l}=r,u=$("chakra-editable",e.className),d=G(e.children,{isEditing:o,onSubmit:s,onCancel:a,onEdit:l});return(0,T.jsx)(uy,{value:r,children:(0,T.jsx)(uv,{value:i,children:(0,T.jsx)(sE.div,{ref:t,...n,className:u,children:d})})})});function uR(){let{isEditing:e,getEditButtonProps:t,getCancelButtonProps:i,getSubmitButtonProps:n}=u_();return{isEditing:e,getEditButtonProps:t,getCancelButtonProps:i,getSubmitButtonProps:n}}uP.displayName="Editable";var uF=i(98283),uB=i(7560),uV="data-focus-lock",uH="data-focus-lock-disabled";function uj(e,t){var i,n,r;return i=t||null,n=function(t){return e.forEach(function(e){return"function"==typeof e?e(t):e&&(e.current=t),e})},(r=(0,R.useState)(function(){return{value:i,callback:n,facade:{get current(){return r.value},set current(value){var e=r.value;e!==value&&(r.value=value,r.callback(value,e))}}}})[0]).callback=n,r.facade}var uW={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},uz=function(e){var t=e.children;return R.createElement(R.Fragment,null,R.createElement("div",{key:"guard-first","data-focus-guard":!0,"data-focus-auto-guard":!0,style:uW}),t,t&&R.createElement("div",{key:"guard-last","data-focus-guard":!0,"data-focus-auto-guard":!0,style:uW}))};uz.propTypes={},uz.defaultProps={children:null};var uU=i(5163);function u$(e){return e}function uq(e,t){void 0===t&&(t=u$);var i=[],n=!1;return{read:function(){if(n)throw Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return i.length?i[i.length-1]:e},useMedium:function(e){var r=t(e,n);return i.push(r),function(){i=i.filter(function(e){return e!==r})}},assignSyncMedium:function(e){for(n=!0;i.length;){var t=i;i=[],t.forEach(e)}i={push:function(t){return e(t)},filter:function(){return i}}},assignMedium:function(e){n=!0;var t=[];if(i.length){var r=i;i=[],r.forEach(e),t=i}var o=function(){var i=t;t=[],i.forEach(e)},s=function(){return Promise.resolve().then(o)};s(),i={push:function(e){t.push(e),s()},filter:function(e){return t=t.filter(e),i}}}}}function uK(e,t){return void 0===t&&(t=u$),uq(e,t)}function uG(e){void 0===e&&(e={});var t=uq(null);return t.options=(0,uU.pi)({async:!0,ssr:!1},e),t}var uZ=uK({},function(e){return{target:e.target,currentTarget:e.currentTarget}}),uY=uK(),uQ=uK(),uJ=uG({async:!0}),uX=[],u0=R.forwardRef(function(e,t){var i,n=R.useState(),r=n[0],o=n[1],s=R.useRef(),a=R.useRef(!1),l=R.useRef(null),u=e.children,d=e.disabled,c=e.noFocusGuards,h=e.persistentFocus,g=e.crossFrame,p=e.autoFocus,f=(e.allowTextSelection,e.group),m=e.className,v=e.whiteList,b=e.hasPositiveIndices,y=e.shards,_=void 0===y?uX:y,w=e.as,C=void 0===w?"div":w,S=e.lockProps,x=void 0===S?{}:S,k=e.sideCar,E=e.returnFocus,L=e.focusOptions,D=e.onActivation,N=e.onDeactivation,A=R.useState({})[0],T=R.useCallback(function(){l.current=l.current||document&&document.activeElement,s.current&&D&&D(s.current),a.current=!0},[D]),I=R.useCallback(function(){a.current=!1,N&&N(s.current)},[N]);(0,R.useEffect)(function(){d||(l.current=null)},[]);var M=R.useCallback(function(e){var t=l.current;if(t&&t.focus){var i="function"==typeof E?E(t):E;if(i){var n="object"==typeof i?i:void 0;l.current=null,e?Promise.resolve().then(function(){return t.focus(n)}):t.focus(n)}}},[E]),O=R.useCallback(function(e){a.current&&uZ.useMedium(e)},[]),P=uY.useMedium,F=R.useCallback(function(e){s.current!==e&&(s.current=e,o(e))},[]),B=(0,uB.Z)(((i={})[uH]=d&&"disabled",i[uV]=f,i),x),V=!0!==c,H=V&&"tail"!==c,j=uj([t,F]);return R.createElement(R.Fragment,null,V&&[R.createElement("div",{key:"guard-first","data-focus-guard":!0,tabIndex:d?-1:0,style:uW}),b?R.createElement("div",{key:"guard-nearest","data-focus-guard":!0,tabIndex:d?-1:1,style:uW}):null],!d&&R.createElement(k,{id:A,sideCar:uJ,observed:r,disabled:d,persistentFocus:h,crossFrame:g,autoFocus:p,whiteList:v,shards:_,onActivation:T,onDeactivation:I,returnFocus:M,focusOptions:L}),R.createElement(C,(0,uB.Z)({ref:j},B,{className:m,onBlur:P,onFocus:O}),u),H&&R.createElement("div",{"data-focus-guard":!0,tabIndex:d?-1:0,style:uW}))});u0.propTypes={},u0.defaultProps={children:void 0,disabled:!1,returnFocus:!1,focusOptions:void 0,noFocusGuards:!1,autoFocus:!0,persistentFocus:!1,crossFrame:!0,hasPositiveIndices:void 0,allowTextSelection:void 0,group:void 0,className:void 0,whiteList:void 0,shards:void 0,as:"div",lockProps:{},onActivation:void 0,onDeactivation:void 0};var u1=i(74938),u2=i(51119),u6=function(e){for(var t=Array(e.length),i=0;i=0}).sort(du)},dc="button:enabled,select:enabled,textarea:enabled,input:enabled,a[href],area[href],summary,iframe,object,embed,audio[controls],video[controls],[tabindex],[contenteditable],[autofocus]",dh="".concat(dc,", [data-focus-guard]"),dg=function(e,t){return u6((e.shadowRoot||e).children).reduce(function(e,i){return e.concat(i.matches(t?dh:dc)?[i]:[],dg(i))},[])},dp=function(e,t){var i;return e instanceof HTMLIFrameElement&&(null===(i=e.contentDocument)||void 0===i?void 0:i.body)?df([e.contentDocument.body],t):[e]},df=function(e,t){return e.reduce(function(e,i){var n,r=dg(i,t),o=(n=[]).concat.apply(n,r.map(function(e){return dp(e,t)}));return e.concat(o,i.parentNode?u6(i.parentNode.querySelectorAll(dc)).filter(function(e){return e===i}):[])},[])},dm=function(e,t){return u6(e).filter(function(e){return u7(t,e)}).filter(function(e){return!((di(e)||"BUTTON"===e.tagName)&&("hidden"===e.type||e.disabled))})},dv=function(e,t){return void 0===t&&(t=new Map),u6(e).filter(function(e){return de(t,e)})},db=function(e,t,i){return dd(dm(df(e,i),t),!0,i)},dy=function(e,t){return dd(dm(df(e),t),!1)},d_=function(e,t){return e.shadowRoot?d_(e.shadowRoot,t):!!(void 0!==Object.getPrototypeOf(e).contains&&Object.getPrototypeOf(e).contains.call(e,t))||u6(e.children).some(function(e){var i;if(e instanceof HTMLIFrameElement){var n=null===(i=e.contentDocument)||void 0===i?void 0:i.body;return!!n&&d_(n,t)}return d_(e,t)})},dw=function(e){try{return e()}catch(e){return}},dC=function(e){if(void 0===e&&(e=document),e&&e.activeElement){var t=e.activeElement;return t.shadowRoot?dC(t.shadowRoot):t instanceof HTMLIFrameElement&&dw(function(){return t.contentWindow.document})?dC(t.contentWindow.document):t}},dS=function(e){void 0===e&&(e=document);var t=dC(e);return!!t&&u6(e.querySelectorAll("[".concat("data-no-focus-lock","]"))).some(function(e){return d_(e,t)})},dx=function(e){for(var t=new Set,i=e.length,n=0;n0&&t.add(r),(o&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(n)}return e.filter(function(e,i){return!t.has(i)})},dk=function(e){return e.parentNode?dk(e.parentNode):e},dE=function(e){return u3(e).filter(Boolean).reduce(function(e,t){var i=t.getAttribute(uV);return e.push.apply(e,i?dx(u6(dk(t).querySelectorAll("[".concat(uV,'="').concat(i,'"]:not([').concat(uH,'="disabled"])')))):[t]),e},[])},dL=function(e,t){return void 0===t&&(t=dC(u8(e).ownerDocument)),!!t&&(!t.dataset||!t.dataset.focusGuard)&&dE(e).some(function(e){var i;return d_(e,t)||(i=t,!!u6(e.querySelectorAll("iframe")).some(function(e){return e===i}))})},dD=function(e,t){return dn(e)&&e.name&&t.filter(dn).filter(function(t){return t.name===e.name}).filter(function(e){return e.checked})[0]||e},dN=function(e){var t=new Set;return e.forEach(function(i){return t.add(dD(i,e))}),e.filter(function(e){return t.has(e)})},dA=function(e){return e[0]&&e.length>1?dD(e[0],e):e[0]},dT=function(e,t){return e.length>1?e.indexOf(dD(e[t],e)):t},dI="NEW_FOCUS",dM=function(e,t,i,n){var r=e.length,o=e[0],s=e[r-1],a=ds(i);if(!(i&&e.indexOf(i)>=0)){var l=void 0!==i?t.indexOf(i):-1,u=n?t.indexOf(n):l,d=n?e.indexOf(n):-1,c=l-u,h=t.indexOf(o),g=t.indexOf(s),p=dN(t),f=(void 0!==i?p.indexOf(i):-1)-(n?p.indexOf(n):l),m=dT(e,0),v=dT(e,r-1);if(-1===l||-1===d)return dI;if(!c&&d>=0)return d;if(l<=h&&a&&Math.abs(c)>1)return v;if(l>=g&&a&&Math.abs(c)>1)return m;if(c&&Math.abs(f)>1)return d;if(l<=h)return v;if(l>g)return m;if(c)return Math.abs(c)>1?d:(r+d+c)%r}},dO=function(e,t,i){var n=dv(e.map(function(e){return e.node}).filter(function(e){var t,n=null===(t=dt(e))||void 0===t?void 0:t.autofocus;return e.autofocus||void 0!==n&&"false"!==n||i.indexOf(e)>=0}));return n&&n.length?dA(n):dA(dv(t))},dP=function(e,t){return void 0===t&&(t=[]),t.push(e),e.parentNode&&dP(e.parentNode.host||e.parentNode,t),t},dR=function(e,t){for(var i=dP(e),n=dP(t),r=0;r=0)return o}return!1},dF=function(e,t,i){var n=u3(e),r=u3(t),o=n[0],s=!1;return r.filter(Boolean).forEach(function(e){s=dR(s||e,e)||s,i.filter(Boolean).forEach(function(e){var t=dR(o,e);t&&(s=!s||d_(t,s)?t:dR(t,s))})}),s},dB=function(e,t){var i=new Map;return t.forEach(function(e){return i.set(e.node,e)}),e.map(function(e){return i.get(e)}).filter(dl)},dV=function(e,t){var i=dC(u3(e).length>0?document:u8(e).ownerDocument),n=dE(e).filter(da),r=dF(i||e,e,n),o=new Map,s=dy(n,o),a=db(n,o).filter(function(e){return da(e.node)});if(a[0]||(a=s)[0]){var l=dy([r],o).map(function(e){return e.node}),u=dB(l,a),d=u.map(function(e){return e.node}),c=dM(d,l,i,t);if(c===dI){var h=dO(s,d,n.reduce(function(e,t){return e.concat(dm(u6(t.querySelectorAll("[".concat("data-autofocus-inside","]"))).map(function(e){return df([e])}).reduce(function(e,t){return e.concat(t)},[]),o))},[]));return h?{node:h}:void console.warn("focus-lock: cannot find any node to move focus into")}return void 0===c?c:u[c]}},dH=function(e,t){"focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus()},dj=0,dW=!1;let dz=function(e,t,i){void 0===i&&(i={});var n=dV(e,t);if(!dW&&n){if(dj>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),dW=!0,setTimeout(function(){dW=!1},1);return}dj++,dH(n.node,i.focusOptions),dj--}};var dU=function(e){var t=dE(e).filter(da),i=dF(e,e,t),n=new Map,r=db([i],n,!0),o=db(t,n).filter(function(e){return da(e.node)}).map(function(e){return e.node});return r.map(function(e){var t=e.node;return{node:t,index:e.index,lockItem:o.indexOf(t)>=0,guard:ds(t)}})};function d$(e){var t=window.setImmediate;void 0!==t?t(e):setTimeout(e,1)}var dq=null,dK=null,dG=null,dZ=!1,dY=function(e,t){dG={observerNode:e,portaledElement:t}};function dQ(e,t,i,n){var r=null,o=e;do{var s=n[o];if(s.guard)s.node.dataset.focusAutoGuard&&(r=s);else if(s.lockItem){if(o!==e)return;r=null}else break}while((o+=i)!==t)r&&(r.node.tabIndex=0)}var dJ=function(e){return e&&"current"in e?e.current:e},dX=function(){var e=!1;if(dq){var t=dq,i=t.observed,n=t.persistentFocus,r=t.autoFocus,o=t.shards,s=t.crossFrame,a=t.focusOptions,l=i||dG&&dG.portaledElement,u=document&&document.activeElement;if(l){var d=[l].concat(o.map(dJ).filter(Boolean));if((!u||(dq.whiteList||function(){return!0})(u))&&(n||(s?!!dZ:"meanwhile"===dZ)||!(document&&document.activeElement===document.body||dS())||!dK&&r)&&(l&&!(dL(d)||u&&d.some(function(e){return function e(t,i,n){return i&&(i.host===t&&(!i.activeElement||n.contains(i.activeElement))||i.parentNode&&e(t,i.parentNode,n))}(u,e,e)})||dG&&dG.portaledElement===u)&&(document&&!dK&&u&&!r?(u.blur&&u.blur(),document.body.focus()):(e=dz(d,dK,{focusOptions:a}),dG={})),dZ=!1,dK=document&&document.activeElement),document){var c=document&&document.activeElement,h=dU(d),g=h.map(function(e){return e.node}).indexOf(c);g>-1&&(h.filter(function(e){var t=e.guard,i=e.node;return t&&i.dataset.focusAutoGuard}).forEach(function(e){return e.node.removeAttribute("tabIndex")}),dQ(g,h.length,1,h),dQ(g,-1,-1,h))}}}return e},d0=function(e){dX()&&e&&(e.stopPropagation(),e.preventDefault())},d1=function(){return d$(dX)},d2=function(){dZ="just",setTimeout(function(){dZ="meanwhile"},0)},d6=function(){document.addEventListener("focusin",d0),document.addEventListener("focusout",d1),window.addEventListener("blur",d2)},d3=function(){document.removeEventListener("focusin",d0),document.removeEventListener("focusout",d1),window.removeEventListener("blur",d2)};uZ.assignSyncMedium(function(e){var t=e.target,i=e.currentTarget;i.contains(t)||dY(i,t)}),uY.assignMedium(d1),uQ.assignMedium(function(e){return e({moveFocusInside:dz,focusInside:dL})});let d8=(n=function(e){var t=e.slice(-1)[0];t&&!dq&&d6();var i=dq,n=i&&t&&t.id===i.id;dq=t,!i||n||(i.onDeactivation(),e.filter(function(e){return e.id===i.id}).length||i.returnFocus(!t)),t?(dK=null,n&&i.observed===t.observed||t.onActivation(),dX(!0),d$(dX)):(d3(),dK=null)},function(e){var t,i=[];function r(){n(t=i.map(function(e){return e.props}).filter(function(e){return!e.disabled}))}var o=function(n){function o(){return n.apply(this,arguments)||this}o.prototype=Object.create(n.prototype),o.prototype.constructor=o,u1.Z(o,n),o.peek=function(){return t};var s=o.prototype;return s.componentDidMount=function(){i.push(this),r()},s.componentDidUpdate=function(){r()},s.componentWillUnmount=function(){var e=i.indexOf(this);i.splice(e,1),r()},s.render=function(){return R.createElement(e,this.props)},o}(R.PureComponent);return u2.Z(o,"displayName","SideEffect("+(e.displayName||e.name||"Component")+")"),o})(function(){return null});var d5=R.forwardRef(function(e,t){return R.createElement(u0,(0,uB.Z)({sideCar:d8,ref:t},e))}),d4=u0.propTypes||{};function d9(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function d7(e){var t;if(!d9(e))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}function ce(e){return d9(e)?e.ownerDocument:document}d4.sideCar,(0,uF.Z)(d4,["sideCar"]),d5.propTypes={};var ct=e=>e.hasAttribute("tabindex"),ci=e=>ct(e)&&-1===e.tabIndex;function cn(e){var t;let i;if(!d7(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in r?r[n]():!!("false"!==(i=e.getAttribute("contenteditable"))&&null!=i)||ct(e)}var cr=e=>e.offsetWidth>0&&e.offsetHeight>0;function co(e){let t=Array.from(e.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"));return t.unshift(e),t.filter(e=>cn(e)&&cr(e))}var cs=null!=(D=d5.default)?D:d5,ca=e=>{let{initialFocusRef:t,finalFocusRef:i,contentRef:n,restoreFocus:r,children:o,isDisabled:s,autoFocus:a,persistentFocus:l,lockFocusAcrossFrames:u}=e,d=(0,R.useCallback)(()=>{(null==t?void 0:t.current)?t.current.focus():(null==n?void 0:n.current)&&0===co(n.current).length&&requestAnimationFrame(()=>{var e;null==(e=n.current)||e.focus()})},[t,n]),c=(0,R.useCallback)(()=>{var e;null==(e=null==i?void 0:i.current)||e.focus()},[i]),h=r&&!i;return(0,T.jsx)(cs,{crossFrame:u,persistentFocus:l,autoFocus:a,disabled:s,onActivation:d,onDeactivation:c,returnFocus:h,children:o})};ca.displayName="FocusLock";var[cl,cu]=F({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),cd=sA((e,t)=>{let i=s$("FormError",e),n=tL(e),r=lU();return(null==r?void 0:r.isInvalid)?(0,T.jsx)(cl,{value:i,children:(0,T.jsx)(sE.div,{...null==r?void 0:r.getErrorMessageProps(n,t),className:$("chakra-form__error-message",e.className),__css:{display:"flex",alignItems:"center",...i.text}})}):null});cd.displayName="FormErrorMessage";var cc=sA((e,t)=>{let i=cu(),n=lU();if(!(null==n?void 0:n.isInvalid))return null;let r=$("chakra-form__error-icon",e.className);return(0,T.jsx)(sG,{ref:t,"aria-hidden":!0,...e,__css:i.icon,className:r,children:(0,T.jsx)("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})});cc.displayName="FormErrorIcon";var ch=sA(function(e,t){var i;let n=sU("FormLabel",e),r=tL(e),{className:o,children:s,requiredIndicator:a=(0,T.jsx)(cg,{}),optionalIndicator:l=null,...u}=r,d=lU(),c=null!=(i=null==d?void 0:d.getLabelProps(u,t))?i:{ref:t,...u};return(0,T.jsxs)(sE.label,{...c,className:$("chakra-form__label",r.className),__css:{display:"block",textAlign:"start",...n},children:[s,(null==d?void 0:d.isRequired)?a:l]})});ch.displayName="FormLabel";var cg=sA(function(e,t){let i=lU(),n=lW();if(!(null==i?void 0:i.isRequired))return null;let r=$("chakra-form__required-indicator",e.className);return(0,T.jsx)(sE.span,{...null==i?void 0:i.getRequiredIndicatorProps(e,t),__css:n.requiredIndicator,className:r})});function cp(e){let t=(0,R.useRef)();return(0,R.useEffect)(()=>{t.current=e},[e]),t.current}function cf(e={}){let{timeout:t=300,preventDefault:i=()=>!0}=e,[n,r]=(0,R.useState)([]),o=(0,R.useRef)(),s=()=>{o.current&&(clearTimeout(o.current),o.current=null)},a=()=>{s(),o.current=setTimeout(()=>{r([]),o.current=null},t)};return(0,R.useEffect)(()=>s,[]),function(e){return t=>{if("Backspace"===t.key){let e=[...n];e.pop(),r(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){let o=n.concat(t.key);i(t)&&(t.preventDefault(),t.stopPropagation()),r(o),e(o.join("")),a()}}}}function cm(e){return null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function cv(e){var t;if(!cm(e))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}function cb(e){var t;return cm(e)&&null!=(t=e.ownerDocument)?t:document}function cy(e){var t;return null!=(t=e.view)?t:window}cg.displayName="RequiredIndicator";var c_=!!("undefined"!=typeof window&&window.document&&window.document.createElement);function cw(e,t){return!!e&&(e===t||e.contains(t))}var cC=c_?R.useLayoutEffect:R.useEffect;function cS(e,t=[]){let i=(0,R.useRef)(e);return cC(()=>{i.current=e}),(0,R.useCallback)((...e)=>{var t;return null==(t=i.current)?void 0:t.call(i,...e)},t)}function cx(e,t){let i=cS(e);(0,R.useEffect)(()=>{if(null==t)return;let e=null;return e=window.setTimeout(()=>{i()},t),()=>{e&&window.clearTimeout(e)}},[t,i])}function ck(e,t){let i=(0,R.useRef)();(0,R.useEffect)(()=>{if(i.current){let n=Object.keys({...i.current,...t}),r={};n.forEach(e=>{i.current[e]!==t[e]&&(r[e]={from:i.current[e],to:t[e]})}),Object.keys(r).length&&console.log("[why-did-you-update]",e,r)}i.current=t})}function cE(e,t){let i=cS(e);(0,R.useEffect)(()=>{let e=null;return null!==t&&(e=window.setInterval(()=>i(),t)),()=>{e&&window.clearInterval(e)}},[t,i])}function cL(e){let t=(0,R.useRef)(null);return t.current=e,t}function cD(e,t){if(null!=e){if("function"==typeof e){e(t);return}try{e.current=t}catch(i){throw Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function cN(...e){return(0,R.useMemo)(()=>e.every(e=>null==e)?null:t=>{e.forEach(e=>{e&&cD(e,t)})},e)}function cA(e,t,i,n){let r=cS(t);return(0,R.useEffect)(()=>{var o;let s=null!=(o=tM(i))?o:document;if(t)return s.addEventListener(e,r,n),()=>{s.removeEventListener(e,r,n)}},[e,i,n,r,t]),()=>{var t;(null!=(t=tM(i))?t:document).removeEventListener(e,r,n)}}function cT(e=!0){let t=(0,R.useRef)();return cA("mousedown",i=>{e&&(t.current=i.target)}),t}function cI(e){let{ref:t,handler:i,enabled:n=!0}=e,r=cS(i),o=(0,R.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,R.useEffect)(()=>{if(!n)return;let e=e=>{cM(e,t)&&(o.isPointerDown=!0)},s=e=>{if(o.ignoreEmulatedMouseEvents){o.ignoreEmulatedMouseEvents=!1;return}o.isPointerDown&&i&&cM(e,t)&&(o.isPointerDown=!1,r(e))},a=e=>{o.ignoreEmulatedMouseEvents=!0,i&&o.isPointerDown&&cM(e,t)&&(o.isPointerDown=!1,r(e))},l=cb(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",s,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",a,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",s,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",a,!0)}},[i,t,r,o,n])}function cM(e,t){var i;let n=e.target;return(!n||!!cb(n).contains(n))&&!(null==(i=t.current)?void 0:i.contains(n))}var cO={pageX:0,pageY:0};function cP(e,t="page"){return{point:e.touches?function(e,t="page"){let i=e.touches[0]||e.changedTouches[0]||cO;return{x:i[`${t}X`],y:i[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}}var cR=(e,t=!1)=>{let i=t=>e(t,cP(t));return t?e=>{let t=cy(e),n=e instanceof t.MouseEvent;(!n||n&&0===e.button)&&i(e)}:i},cF=()=>c_&&null===window.onpointerdown,cB=()=>c_&&null===window.ontouchstart,cV=()=>c_&&null===window.onmousedown,cH={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},cj={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function cW(e){return cF()?e:cB()?cj[e]:cV()?cH[e]:e}function cz(e,t,i,n){var r,o;return r=cW(t),o=cR(i,"pointerdown"===t),e.addEventListener(r,o,n),()=>{e.removeEventListener(r,o,n)}}function cU(e,t,i,n){return cA(cW(t),cR(i,"pointerdown"===t),e,n)}function c$(e,t=[]){return(0,R.useEffect)(()=>()=>e(),t)}var cq=Object.defineProperty,cK=(e,t,i)=>t in e?cq(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,cG=(e,t,i)=>(cK(e,"symbol"!=typeof t?t+"":t,i),i);let cZ=1/60*1e3,cY="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),cQ="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(cY()),cZ),cJ=!0,cX=!1,c0=!1,c1={delta:0,timestamp:0},c2=["read","update","preRender","render","postRender"],c6=c2.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;icX=!0),e),{}),c3=c2.reduce((e,t)=>{let i=c6[t];return e[t]=(e,t=!1,n=!1)=>(cX||c9(),i.schedule(e,t,n)),e},{}),c8=c2.reduce((e,t)=>(e[t]=c6[t].cancel,e),{});c2.reduce((e,t)=>(e[t]=()=>c6[t].process(c1),e),{});let c5=e=>c6[e].process(c1),c4=e=>{cX=!1,c1.delta=cJ?cZ:Math.max(Math.min(e-c1.timestamp,40),1),c1.timestamp=e,c0=!0,c2.forEach(c5),c0=!1,cX&&(cJ=!1,cQ(c4))},c9=()=>{cX=!0,cJ=!0,c0||cQ(c4)},c7=()=>c1;var he=class{constructor(e,t,i){if(cG(this,"history",[]),cG(this,"startEvent",null),cG(this,"lastEvent",null),cG(this,"lastEventInfo",null),cG(this,"handlers",{}),cG(this,"removeListeners",tO),cG(this,"threshold",3),cG(this,"win"),cG(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;let e=hi(this.lastEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return tT(e)&&tT(t)?tF(e,t):tB(e)&&tB(t)?Math.sqrt(tF(e.x,t.x)**2+tF(e.y,t.y)**2):0}(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!i)return;let{timestamp:n}=c7();this.history.push({...e.point,timestamp:n});let{onStart:r,onMove:o}=this.handlers;t||(null==r||r(this.lastEvent,e),this.startEvent=this.lastEvent),null==o||o(this.lastEvent,e)}),cG(this,"onPointerMove",(e,t)=>{if(this.lastEvent=e,this.lastEventInfo=t,function(e){let t=cy(e);return void 0!==t.PointerEvent&&e instanceof t.PointerEvent?!("mouse"!==e.pointerType):e instanceof t.MouseEvent}(e)&&0===e.buttons){this.onPointerUp(e,t);return}c3.update(this.updatePoint,!0)}),cG(this,"onPointerUp",(e,t)=>{let i=hi(t,this.history),{onEnd:n,onSessionEnd:r}=this.handlers;null==r||r(e,i),this.end(),n&&this.startEvent&&(null==n||n(e,i))}),this.win=cy(e),function(e){return!!e.touches&&e.touches.length>1}(e))return;this.handlers=t,i&&(this.threshold=i),e.stopPropagation(),e.preventDefault();let n=cP(e),{timestamp:r}=c7();this.history=[{...n.point,timestamp:r}];let{onSessionStart:o}=t;null==o||o(e,hi(n,this.history)),this.removeListeners=tR(cz(this.win,"pointermove",this.onPointerMove),cz(this.win,"pointerup",this.onPointerUp),cz(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),c8.update(this.updatePoint)}};function ht(e,t){return{x:e.x-t.x,y:e.y-t.y}}function hi(e,t){return{point:e.point,delta:ht(e.point,t[t.length-1]),offset:ht(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=e[e.length-1];for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>hn(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}var hn=e=>1e3*e;function hr(e,t){let{onPan:i,onPanStart:n,onPanEnd:r,onPanSessionStart:o,onPanSessionEnd:s,threshold:a}=t,l=!!(i||n||r||o||s),u=(0,R.useRef)(null),d={onSessionStart:o,onSessionEnd:s,onStart:n,onMove:i,onEnd(e,t){u.current=null,null==r||r(e,t)}};(0,R.useEffect)(()=>{var e;null==(e=u.current)||e.updateHandlers(d)}),cU(()=>e.current,"pointerdown",l?function(e){u.current=new he(e,d,a)}:tO),c$(()=>{var e;null==(e=u.current)||e.end(),u.current=null})}function ho(e,t){let i=(0,R.useId)();return(0,R.useMemo)(()=>e||[t,i].filter(Boolean).join("-"),[e,t,i])}function hs(e,...t){let i=ho(e);return(0,R.useMemo)(()=>t.map(e=>`${e}-${i}`),[i,t])}function ha(e){let[t,i]=(0,R.useState)(null);return{ref:(0,R.useCallback)(t=>{i(t?e:null)},[e]),id:t,isRendered:!!t}}function hl(e,t){let i=void 0!==e;return[i,i&&void 0!==e?e:t]}function hu(e){let{value:t,defaultValue:i,onChange:n,shouldUpdate:r=(e,t)=>e!==t}=e,o=cS(n),s=cS(r),[a,l]=(0,R.useState)(i),u=void 0!==t,d=u?t:a,c=(0,R.useCallback)(e=>{let t=tM(e,d);s(d,t)&&(u||l(t),o(t))},[u,o,d,s]);return[d,c]}function hd(e={}){let{onClose:t,onOpen:i,isOpen:n,id:r}=e,o=cS(i),s=cS(t),[a,l]=(0,R.useState)(e.defaultIsOpen||!1),[u,d]=hl(n,a),c=ho(r,"disclosure"),h=(0,R.useCallback)(()=>{u||l(!1),null==s||s()},[u,s]),g=(0,R.useCallback)(()=>{u||l(!0),null==o||o()},[u,o]),p=(0,R.useCallback)(()=>{(d?h:g)()},[d,g,h]);return{isOpen:!!d,onOpen:g,onClose:h,onToggle:p,isControlled:u,getButtonProps:(e={})=>({...e,"aria-expanded":d,"aria-controls":c,onClick:function(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}(e.onClick,p)}),getDisclosureProps:(e={})=>({...e,hidden:!d,id:c})}}function hc(){let e=(0,R.useRef)(new Map),t=e.current,i=(0,R.useCallback)((t,i,n,r)=>{let o=cR(n,"pointerdown"===i);e.current.set(n,{__listener:o,type:cW(i),el:t,options:r}),t.addEventListener(i,o,r)},[]),n=(0,R.useCallback)((t,i,n,r)=>{let{__listener:o}=e.current.get(n);t.removeEventListener(i,o,r),e.current.delete(o)},[]);return(0,R.useEffect)(()=>()=>{t.forEach((e,t)=>{n(e.el,e.type,t,e.options)})},[n,t]),{add:i,remove:n}}var hh=(e,t)=>{let i=(0,R.useRef)(!1),n=(0,R.useRef)(!1);(0,R.useEffect)(()=>{if(i.current&&n.current)return e();n.current=!0},t),(0,R.useEffect)(()=>(i.current=!0,()=>{i.current=!1}),[])},hg=e=>e.hasAttribute("tabindex"),hp=e=>hg(e)&&-1===e.tabIndex;function hf(e){return(cv(e)?cb(e):document).activeElement===e}function hm(e){var t;let i;if(!cv(e)||function e(t){return!!(t.parentElement&&e(t.parentElement))||t.hidden}(e)||!0==!!(t=e).getAttribute("disabled")||!0==!!t.getAttribute("aria-disabled"))return!1;let{localName:n}=e;if(["input","select","textarea","button"].indexOf(n)>=0)return!0;let r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return n in r?r[n]():!!("false"!==(i=e.getAttribute("contenteditable"))&&null!=i)||hg(e)}function hv(e,t={}){let{isActive:i=hf,nextTick:n,preventScroll:r=!0,selectTextIfInput:o=!0}=t;if(!e||i(e))return -1;function s(){if(!e){tP({condition:!0,message:"[chakra-ui]: can't call focus() on `null` or `undefined` element"});return}!function(){if(null==hb){hb=!1;try{document.createElement("div").focus({get preventScroll(){return hb=!0,!0}})}catch(e){}}return hb}()?(e.focus(),r&&function(e){for(let{element:t,scrollTop:i,scrollLeft:n}of e)t.scrollTop=i,t.scrollLeft=n}(function(e){var t;let i=cb(e),n=null!=(t=i.defaultView)?t:window,r=e.parentNode,o=[],s=i.scrollingElement||i.documentElement;for(;r instanceof n.HTMLElement&&r!==s;)(r.offsetHeight{let t=e.current;t&&i&&(document.activeElement&&t.contains(document.activeElement)||hv(t,{preventScroll:n,nextTick:!0}))},[i,e,n])}function h_(e,t){let{shouldFocus:i,visible:n,focusRef:r}=t,o=i&&!n;hh(()=>{if(!o||function(e){let t,i=e.current;if(!i)return!1;let n=null==(t=cb(i))?void 0:t.activeElement;return!(!n||cw(i,n))&&!!(n&&cv(n)&&hm(n)&&!hp(n))}(e))return;let t=(null==r?void 0:r.current)||e.current;t&&hv(t,{nextTick:!0})},[o,e,r])}function hw(e){let{ref:t,elements:i,enabled:n}=e,r=!!c_&&"Safari"===function(e){let{userAgent:t,vendor:i}=e,n=/(android)/i.test(t);switch(!0){case/CriOS/.test(t):return"Chrome for iOS";case/Edg\//.test(t):return"Edge";case n&&/Silk\//.test(t):return"Silk";case/Chrome/.test(t)&&/Google Inc/.test(i):return"Chrome";case/Firefox\/\d+\.\d+$/.test(t):return"Firefox";case n:return"AOSP";case/MSIE|Trident/.test(t):return"IE";case/Safari/.test(e.userAgent)&&/Apple Computer/.test(t):return"Safari";case/AppleWebKit/.test(t):return"WebKit";default:return null}}(window.navigator);cU(()=>cb(t.current),"pointerdown",e=>{if(!r||!n)return;let o=e.target,s=(null!=i?i:[t]).some(e=>cw(tI(e)?e.current:e,o));!hf(o)&&s&&(e.preventDefault(),hv(o))})}var hC=e=>e.offsetWidth>0&&e.offsetHeight>0,hS={preventScroll:!0,shouldFocus:!1};function hx(e,t=hS){let{focusRef:i,preventScroll:n,shouldFocus:r,visible:o}=t,s=tI(e)?e.current:e,a=r&&o,l=(0,R.useRef)(a),u=(0,R.useRef)(o);cC(()=>{!u.current&&o&&(l.current=a),u.current=o},[o,a]);let d=(0,R.useCallback)(()=>{if(o&&s&&l.current&&(l.current=!1,!cw(s,document.activeElement))){if(null==i?void 0:i.current)hv(i.current,{preventScroll:n,nextTick:!0});else{let e;let t=((e=Array.from(s.querySelectorAll("input:not(:disabled):not([disabled]),select:not(:disabled):not([disabled]),textarea:not(:disabled):not([disabled]),embed,iframe,object,a[href],area[href],button:not(:disabled):not([disabled]),[tabindex],audio[controls],video[controls],*[tabindex]:not([aria-disabled]),*[contenteditable]"))).unshift(s),e.filter(e=>hm(e)&&hC(e)));t.length>0&&hv(t[0],{preventScroll:n,nextTick:!0})}}},[o,n,s,i]);hh(()=>{d()},[d]),cA("transitionend",d,s)}function hk(){let e=(0,R.useRef)(!1),[t,i]=(0,R.useState)(0);return c$(()=>{e.current=!0}),(0,R.useCallback)(()=>{e.current||i(t+1)},[t])}function hE(e){let{isOpen:t,ref:i}=e,[n,r]=(0,R.useState)(t),[o,s]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{o||(r(t),s(!0))},[t,o,n]),cA("animationend",()=>{r(t)},()=>i.current),{present:!(!t&&!n),onComplete(){var e,t,n,r;let o=new(cm(t=i.current)&&null!=(r=null==(n=cb(t))?void 0:n.defaultView)?r:window).CustomEvent("animationend",{bubbles:!0});null==(e=i.current)||e.dispatchEvent(o)}}}function hL(e=!1){let[t,i]=(0,R.useState)(e);return[t,(0,R.useMemo)(()=>({on:()=>i(!0),off:()=>i(!1),toggle:()=>i(e=>!e)}),[])]}var hD=i(50381),hN=i.n(hD);function hA(e,t={}){let[i,n]=(0,R.useState)(!1),[r,o]=(0,R.useState)(e);(0,R.useEffect)(()=>o(e),[e]);let{timeout:s=1500,...a}="number"==typeof t?{timeout:t}:t,l=(0,R.useCallback)(()=>{n(hN()(r,a))},[r,a]);return(0,R.useEffect)(()=>{let e=null;return i&&(e=window.setTimeout(()=>{n(!1)},s)),()=>{e&&window.clearTimeout(e)}},[s,i]),{value:r,setValue:o,onCopy:l,hasCopied:i}}function hT(e){let t=(0,R.useRef)(null);return null===t.current&&(t.current="function"==typeof e?e():e),t.current}var hI=function(e){var t=e.top,i=e.right,n=e.bottom,r=e.left;return{top:t,right:i,bottom:n,left:r,width:i-r,height:n-t,x:r,y:t,center:{x:(i+r)/2,y:(n+t)/2}}},hM=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},hO={top:0,right:0,bottom:0,left:0},hP=function(e){var t=e.borderBox,i=e.margin,n=void 0===i?hO:i,r=e.border,o=void 0===r?hO:r,s=e.padding,a=void 0===s?hO:s,l=hI({top:t.top-n.top,left:t.left-n.left,bottom:t.bottom+n.bottom,right:t.right+n.right}),u=hI(hM(t,o)),d=hI(hM(u,a));return{marginBox:l,borderBox:hI(t),paddingBox:u,contentBox:d,margin:n,border:o,padding:a}},hR=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var i=Number(t);return isNaN(i)&&function(e,t){if(!e)throw Error("Invariant failed")}(!1),i},hF=function(e){var t;return hP({borderBox:e.getBoundingClientRect(),margin:{top:hR((t=window.getComputedStyle(e)).marginTop),right:hR(t.marginRight),bottom:hR(t.marginBottom),left:hR(t.marginLeft)},padding:{top:hR(t.paddingTop),right:hR(t.paddingRight),bottom:hR(t.paddingBottom),left:hR(t.paddingLeft)},border:{top:hR(t.borderTopWidth),right:hR(t.borderRightWidth),bottom:hR(t.borderBottomWidth),left:hR(t.borderLeftWidth)}})};function hB(e,t){let[i,n]=(0,R.useState)(null),r=(0,R.useRef)();return cC(()=>{function i(){let t=e.current;t&&(r.current=requestAnimationFrame(()=>{n(hF(t))}))}return i(),t&&(window.addEventListener("resize",i),window.addEventListener("scroll",i)),()=>{t&&(window.removeEventListener("resize",i),window.removeEventListener("scroll",i)),r.current&&cancelAnimationFrame(r.current)}},[t]),i}function hV(e){let{viewBox:t="0 0 24 24",d:i,displayName:n,defaultProps:r={}}=e,o=R.Children.toArray(e.path),s=sA((e,n)=>(0,T.jsx)(sG,{ref:n,viewBox:t,...r,...e,children:o.length?o:(0,T.jsx)("path",{fill:"currentColor",d:i})}));return s.displayName=n,s}var hH=sA(function(e,t){let{htmlWidth:i,htmlHeight:n,alt:r,...o}=e;return(0,T.jsx)("img",{width:i,height:n,ref:t,alt:r,...o})});hH.displayName="NativeImage";var hj=sA(function(e,t){let{fallbackSrc:i,fallback:n,src:r,srcSet:o,align:s,fit:a,loading:l,ignoreFallback:u,crossOrigin:d,fallbackStrategy:c="beforeLoadOrError",referrerPolicy:h,...g}=e,p=null!=l||u||!(void 0!==i||void 0!==n),f=lo(lr({...e,crossOrigin:d,ignoreFallback:p}),c),m={ref:t,objectFit:a,objectPosition:s,...p?g:function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(g,["onError","onLoad"])};return f?n||(0,T.jsx)(sE.img,{as:hH,className:"chakra-image__placeholder",src:i,...m}):(0,T.jsx)(sE.img,{as:hH,src:r,srcSet:o,crossOrigin:d,loading:l,referrerPolicy:h,className:"chakra-image",...m})});hj.displayName="Image";var hW=sA((e,t)=>(0,T.jsx)(sE.img,{ref:t,as:hH,className:"chakra-image",...e}));function hz(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}var[hU,h$]=F({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),hq=sA(function(e,t){let i=s$("Input",e),{children:n,className:r,...o}=tL(e),s=$("chakra-input__group",r),a={},l=lu(n),u=i.field;l.forEach(e=>{var t,n;i&&(u&&"InputLeftElement"===e.type.id&&(a.paddingStart=null!=(t=u.height)?t:u.h),u&&"InputRightElement"===e.type.id&&(a.paddingEnd=null!=(n=u.height)?n:u.h),"InputRightAddon"===e.type.id&&(a.borderEndRadius=0),"InputLeftAddon"===e.type.id&&(a.borderStartRadius=0))});let d=l.map(t=>{var i,n;let r=hz({size:(null==(i=t.props)?void 0:i.size)||e.size,variant:(null==(n=t.props)?void 0:n.variant)||e.variant});return"Input"!==t.type.id?(0,R.cloneElement)(t,r):(0,R.cloneElement)(t,Object.assign(r,a,t.props))});return(0,T.jsx)(sE.div,{className:s,ref:t,__css:{width:"100%",display:"flex",position:"relative",isolation:"isolate"},"data-group":!0,...o,children:(0,T.jsx)(hU,{value:i,children:d})})});hq.displayName="InputGroup";var hK={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},hG=sE("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),hZ=sA(function(e,t){var i;let{placement:n="left",...r}=e,o=null!=(i=hK[n])?i:{},s=h$();return(0,T.jsx)(hG,{ref:t,...r,__css:{...s.addon,...o}})});hZ.displayName="InputAddon";var hY=sA(function(e,t){return(0,T.jsx)(hZ,{ref:t,placement:"left",...e,className:$("chakra-input__left-addon",e.className)})});hY.displayName="InputLeftAddon",hY.id="InputLeftAddon";var hQ=sA(function(e,t){return(0,T.jsx)(hZ,{ref:t,placement:"right",...e,className:$("chakra-input__right-addon",e.className)})});hQ.displayName="InputRightAddon",hQ.id="InputRightAddon";var hJ=sE("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),hX=sA(function(e,t){var i,n;let{placement:r="left",...o}=e,s=h$(),a=s.field,l={["left"===r?"insetStart":"insetEnd"]:"0",width:null!=(i=null==a?void 0:a.height)?i:null==a?void 0:a.h,height:null!=(n=null==a?void 0:a.height)?n:null==a?void 0:a.h,fontSize:null==a?void 0:a.fontSize,...s.element};return(0,T.jsx)(hJ,{ref:t,__css:l,...o})});hX.id="InputElement",hX.displayName="InputElement";var h0=sA(function(e,t){let{className:i,...n}=e,r=$("chakra-input__left-element",i);return(0,T.jsx)(hX,{ref:t,placement:"left",className:r,...n})});h0.id="InputLeftElement",h0.displayName="InputLeftElement";var h1=sA(function(e,t){let{className:i,...n}=e,r=$("chakra-input__right-element",i);return(0,T.jsx)(hX,{ref:t,placement:"right",className:r,...n})});h1.id="InputRightElement",h1.displayName="InputRightElement";var h2=sA(function(e,t){let{htmlSize:i,...n}=e,r=s$("Input",n),o=lK(tL(n)),s=$("chakra-input",e.className);return(0,T.jsx)(sE.input,{size:i,...o,__css:r.field,ref:t,className:s})});h2.displayName="Input",h2.id="Input";var[h6,h3]=F({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),h8=sA(function(e,t){let i=s$("List",e),{children:n,styleType:r="none",stylePosition:o,spacing:s,...a}=tL(e),l=lu(n);return(0,T.jsx)(h6,{value:i,children:(0,T.jsx)(sE.ul,{ref:t,listStyleType:r,listStylePosition:o,role:"list",__css:{...i.container,...s?{"& > *:not(style) ~ *:not(style)":{mt:s}}:{}},...a,children:l})})});h8.displayName="List";var h5=sA((e,t)=>{let{as:i,...n}=e;return(0,T.jsx)(h8,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...n})});h5.displayName="OrderedList";var h4=sA(function(e,t){let{as:i,...n}=e;return(0,T.jsx)(h8,{ref:t,as:"ul",styleType:"initial",marginStart:"1em",...n})});h4.displayName="UnorderedList";var h9=sA(function(e,t){let i=h3();return(0,T.jsx)(sE.li,{ref:t,...e,__css:i.item})});h9.displayName="ListItem";var h7=sA(function(e,t){let i=h3();return(0,T.jsx)(sG,{ref:t,role:"presentation",...e,__css:i.icon})});h7.displayName="ListIcon";var ge=sA(function(e,t){let{templateAreas:i,gap:n,rowGap:r,columnGap:o,column:s,row:a,autoFlow:l,autoRows:u,templateRows:d,autoColumns:c,templateColumns:h,...g}=e;return(0,T.jsx)(sE.div,{ref:t,__css:{display:"grid",gridTemplateAreas:i,gridGap:n,gridRowGap:r,gridColumnGap:o,gridAutoColumns:c,gridColumn:s,gridRow:a,gridAutoFlow:l,gridAutoRows:u,gridTemplateRows:d,gridTemplateColumns:h},...g})});ge.displayName="Grid";var gt=Object.freeze(["base","sm","md","lg","xl","2xl"]);function gi(e,t){return Array.isArray(e)?e.map(e=>null===e?null:t(e)):q(e)?Object.keys(e).reduce((i,n)=>(i[n]=t(e[n]),i),{}):null!=e?t(e):null}var gn=sA(function(e,t){let{columns:i,spacingX:n,spacingY:r,spacing:o,minChildWidth:s,...a}=e,l=sT(),u=s?gi(s,e=>{let t=sO("sizes",e,"number"==typeof e?`${e}px`:e)(l);return null===e?null:`repeat(auto-fit, minmax(${t}, 1fr))`}):gi(i,e=>null===e?null:`repeat(${e}, minmax(0, 1fr))`);return(0,T.jsx)(ge,{ref:t,gap:o,columnGap:n,rowGap:r,templateColumns:u,...a})});gn.displayName="SimpleGrid";var gr=sE("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}});gr.displayName="Spacer";var go=sA(function(e,t){let i=sU("Text",e),{className:n,align:r,decoration:o,casing:s,...a}=tL(e),l=hz({textAlign:e.align,textDecoration:e.decoration,textTransform:e.casing});return(0,T.jsx)(sE.p,{ref:t,className:$("chakra-text",e.className),...l,...a,__css:i})});function gs(e){return"number"==typeof e?`${e}px`:e}go.displayName="Text";var ga=sA(function(e,t){let{spacing:i="0.5rem",spacingX:n,spacingY:r,children:o,justify:s,direction:a,align:l,className:u,shouldWrapChildren:d,...c}=e,h=(0,R.useMemo)(()=>{let{spacingX:e=i,spacingY:t=i}={spacingX:n,spacingY:r};return{"--chakra-wrap-x-spacing":t=>gi(e,e=>gs(er("space",e)(t))),"--chakra-wrap-y-spacing":e=>gi(t,t=>gs(er("space",t)(e))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:l,flexDirection:a,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}},[i,n,r,s,l,a]),g=(0,R.useMemo)(()=>d?R.Children.map(o,(e,t)=>(0,T.jsx)(gl,{children:e},t)):o,[o,d]);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-wrap",u),overflow:"hidden",...c,children:(0,T.jsx)(sE.ul,{className:"chakra-wrap__list",__css:h,children:g})})});ga.displayName="Wrap";var gl=sA(function(e,t){let{className:i,...n}=e;return(0,T.jsx)(sE.li,{ref:t,__css:{display:"flex",alignItems:"flex-start"},className:$("chakra-wrap__listitem",i),...n})});gl.displayName="WrapItem";var gu=e=>(0,T.jsx)(sE.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});gu.displayName="StackItem";var gd="& > *:not(style) ~ *:not(style)",gc=sA((e,t)=>{let{isInline:i,direction:n,align:r,justify:o,spacing:s="0.5rem",wrap:a,children:l,divider:u,className:d,shouldWrapChildren:c,...h}=e,g=i?"row":null!=n?n:"column",p=(0,R.useMemo)(()=>(function(e){let{spacing:t,direction:i}=e,n={column:{marginTop:t,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:t},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:t,marginStart:0},"row-reverse":{marginTop:0,marginEnd:t,marginBottom:0,marginStart:0}};return{flexDirection:i,[gd]:gi(i,e=>n[e])}})({direction:g,spacing:s}),[g,s]),f=(0,R.useMemo)(()=>(function(e){let{spacing:t,direction:i}=e,n={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":gi(i,e=>n[e])}})({spacing:s,direction:g}),[s,g]),m=!!u,v=!c&&!m,b=(0,R.useMemo)(()=>{let e=lu(l);return v?e:e.map((t,i)=>{let n=void 0!==t.key?t.key:i,r=i+1===e.length,o=(0,T.jsx)(gu,{children:t},n),s=c?o:t;if(!m)return s;let a=(0,R.cloneElement)(u,{__css:f});return(0,T.jsxs)(R.Fragment,{children:[s,r?null:a]},n)})},[u,f,m,v,c,l]),y=$("chakra-stack",d);return(0,T.jsx)(sE.div,{ref:t,display:"flex",alignItems:r,justifyContent:o,flexDirection:p.flexDirection,flexWrap:a,className:y,__css:m?{}:{[gd]:p[gd]},...h,children:b})});gc.displayName="Stack";var gh=sA((e,t)=>(0,T.jsx)(gc,{align:"center",...e,direction:"column",ref:t}));gh.displayName="VStack";var gg=sA((e,t)=>(0,T.jsx)(gc,{align:"center",...e,direction:"row",ref:t}));gg.displayName="HStack";var gp=e=>(0,T.jsx)(sE.div,{className:"chakra-stack__divider",...e,__css:{...e.__css,borderWidth:0,alignSelf:"stretch",borderColor:"inherit",width:"auto",height:"auto"}});function gf(e){return gi(e,e=>"auto"===e?"auto":`span ${e}/span ${e}`)}gp.displayName="StackDivider";var gm=sA(function(e,t){let{area:i,colSpan:n,colStart:r,colEnd:o,rowEnd:s,rowSpan:a,rowStart:l,...u}=e,d=hz({gridArea:i,gridColumn:gf(n),gridRow:gf(a),gridColumnStart:r,gridColumnEnd:o,gridRowStart:l,gridRowEnd:s});return(0,T.jsx)(sE.div,{ref:t,__css:d,...u})});gm.displayName="GridItem";var gv=sA(function(e,t){let i=sU("Heading",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.h2,{ref:t,className:$("chakra-heading",e.className),...r,__css:i})});gv.displayName="Heading";var gb=sE("div");gb.displayName="Box";var gy=sA(function(e,t){let{size:i,centerContent:n=!0,...r}=e;return(0,T.jsx)(gb,{ref:t,boxSize:i,__css:{...n?{display:"flex",alignItems:"center",justifyContent:"center"}:{},flexShrink:0,flexGrow:0},...r})});gy.displayName="Square";var g_=sA(function(e,t){let{size:i,...n}=e;return(0,T.jsx)(gy,{size:i,ref:t,borderRadius:"9999px",...n})});g_.displayName="Circle";var gw=e=>e.replace(/[|\\{}()[\]^$+*?.-]/g,e=>`\\${e}`);function gC(e){let{text:t,query:i}=e;return(0,R.useMemo)(()=>(function({text:e,query:t}){let i;let n=(i=(Array.isArray(t)?t:[t]).filter(e=>0!==e.length).map(e=>gw(e.trim()))).length?RegExp(`(${i.join("|")})`,"ig"):null;return n?e.split(n).filter(Boolean).map(e=>({text:e,match:n.test(e)})):[{text:e,match:!1}]})({text:t,query:i}),[t,i])}var gS=sA(function(e,t){let i=sU("Mark",e),n=tL(e);return(0,T.jsx)(gb,{ref:t,...n,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...i}})});function gx(e){let{children:t,query:i,styles:n}=e;if("string"!=typeof t)throw Error("The children prop of Highlight must be a string");let r=gC({query:i,text:t});return(0,T.jsx)(T.Fragment,{children:r.map((e,t)=>e.match?(0,T.jsx)(gS,{sx:n,children:e.text},t):(0,T.jsx)(R.Fragment,{children:e.text},t))})}var gk=sA(function(e,t){let i=sU("Kbd",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.kbd,{ref:t,className:$("chakra-kbd",n),...r,__css:{fontFamily:"mono",...i}})});gk.displayName="Kbd";var gE=sA(function(e,t){let{isExternal:i,target:n,rel:r,className:o,...s}=e;return(0,T.jsx)(sE.a,{...s,ref:t,className:$("chakra-linkbox__overlay",o),rel:i?"noopener noreferrer":r,target:i?"_blank":n,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})}),gL=sA(function(e,t){let{className:i,...n}=e;return(0,T.jsx)(sE.div,{ref:t,position:"relative",...n,className:$("chakra-linkbox",i),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})}),gD=sA(function(e,t){let i=sU("Link",e),{className:n,isExternal:r,...o}=tL(e);return(0,T.jsx)(sE.a,{target:r?"_blank":void 0,rel:r?"noopener":void 0,ref:t,className:$("chakra-link",n),...o,__css:i})});gD.displayName="Link";var gN=sA(function(e,t){let{ratio:i=4/3,children:n,className:r,...o}=e,s=R.Children.only(n),a=$("chakra-aspect-ratio",r);return(0,T.jsx)(sE.div,{ref:t,position:"relative",className:a,_before:{height:0,content:'""',display:"block",paddingBottom:gi(i,e=>`${1/e*100}%`)},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o,children:s})});gN.displayName="AspectRatio";var gA=sA(function(e,t){let i=sU("Badge",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.span,{ref:t,className:$("chakra-badge",e.className),...r,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...i}})});gA.displayName="Badge";var gT=sE("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});gT.displayName="Center";var gI={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},gM=sA(function(e,t){let{axis:i="both",...n}=e;return(0,T.jsx)(sE.div,{ref:t,__css:gI[i],...n,position:"absolute"})}),gO=sA(function(e,t){let i=sU("Code",e),{className:n,...r}=tL(e);return(0,T.jsx)(sE.code,{ref:t,className:$("chakra-code",e.className),...r,__css:{display:"inline-block",...i}})});gO.displayName="Code";var gP=sA(function(e,t){let{className:i,centerContent:n,...r}=tL(e),o=sU("Container",e);return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-container",i),...r,__css:{...o,...n&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});gP.displayName="Container";var gR=sA(function(e,t){let{borderLeftWidth:i,borderBottomWidth:n,borderTopWidth:r,borderRightWidth:o,borderWidth:s,borderStyle:a,borderColor:l,...u}=sU("Divider",e),{className:d,orientation:c="horizontal",__css:h,...g}=tL(e);return(0,T.jsx)(sE.hr,{ref:t,"aria-orientation":c,...g,__css:{...u,border:"0",borderColor:l,borderStyle:a,...{vertical:{borderLeftWidth:i||o||s||"1px",height:"100%"},horizontal:{borderBottomWidth:n||r||s||"1px",width:"100%"}}[c],...h},className:$("chakra-divider",d)})});gR.displayName="Divider";var gF=sA(function(e,t){let{direction:i,align:n,justify:r,wrap:o,basis:s,grow:a,shrink:l,...u}=e;return(0,T.jsx)(sE.div,{ref:t,__css:{display:"flex",flexDirection:i,alignItems:n,justifyContent:r,flexWrap:o,flexBasis:s,flexGrow:a,flexShrink:l},...u})});function gB(e,t={}){let{ssr:i=!0,fallback:n}=t,{getWindow:r}=t4(),o=Array.isArray(e)?e:[e],s=Array.isArray(n)?n:[n];s=s.filter(e=>null!=e);let[a,l]=(0,R.useState)(()=>o.map((e,t)=>({media:e,matches:i?!!s[t]:r().matchMedia(e).matches})));return(0,R.useEffect)(()=>{let e=r();l(o.map(t=>({media:t,matches:e.matchMedia(t).matches})));let t=o.map(t=>e.matchMedia(t)),i=e=>{l(t=>t.slice().map(t=>t.media===e.media?{...t,matches:e.matches}:t))};return t.forEach(e=>{"function"==typeof e.addListener?e.addListener(i):e.addEventListener("change",i)}),()=>{t.forEach(e=>{"function"==typeof e.removeListener?e.removeListener(i):e.removeEventListener("change",i)})}},[r]),a.map(e=>e.matches)}function gV(e){let{breakpoint:t,hide:i,children:n,ssr:r}=e,[o]=gB(t,{ssr:r});return(i?!o:o)?n:null}gF.displayName="Flex";var gH=(e,t)=>{var i,n;return null!=(n=null==(i=null==e?void 0:e.breakpoints)?void 0:i[t])?n:t};function gj(e){let{breakpoint:t="",below:i,above:n}=e,r=sT(),o=gH(r,i),s=gH(r,n),a=t;return o?a=`(max-width: ${o})`:s&&(a=`(min-width: ${s})`),a}function gW(e){let{children:t,ssr:i}=e,n=gj(e);return(0,T.jsx)(gV,{breakpoint:n,hide:!0,ssr:i,children:t})}function gz(e){let[t]=gB("(prefers-reduced-motion: reduce)",e);return t}function gU(e){let[t,i]=gB(["(prefers-color-scheme: light)","(prefers-color-scheme: dark)"],e);return t?"light":i?"dark":void 0}function g$(e){let{children:t,ssr:i}=e,n=gj(e);return(0,T.jsx)(gV,{breakpoint:n,ssr:i,children:t})}function gq(e){var t,i;let n=q(e)?e:{fallback:null!=e?e:"base"},r=sT().__breakpoints.details.map(({minMaxQuery:e,breakpoint:t})=>({breakpoint:t,query:e.replace("@media screen and ","")})),o=r.map(e=>e.breakpoint===n.fallback),s=gB(r.map(e=>e.query),{fallback:o,ssr:n.ssr}).findIndex(e=>!0==e);return null!=(i=null==(t=r[s])?void 0:t.breakpoint)?i:n.fallback}function gK(e,t){var i;let n=gq(q(t)?t:{fallback:null!=t?t:"base"}),r=sT();if(!n)return;let o=Array.from((null==(i=r.__breakpoints)?void 0:i.keys)||[]);return function(e,t,i=gt){let n=Object.keys(e).indexOf(t);if(-1!==n)return e[t];let r=i.indexOf(t);for(;r>=0;){let t=i[r];if(e.hasOwnProperty(t)){n=r;break}r-=1}if(-1!==n)return e[i[n]]}(Array.isArray(e)?Object.fromEntries(Object.entries(function(e,t=gt){let i={};return e.forEach((e,n)=>{let r=t[n];null!=e&&(i[r]=e)}),i}(e,o)).map(([e,t])=>[e,t])):e,n,o)}function gG(e){let{tagName:t,isContentEditable:i}=e.target;return"INPUT"!==t&&"TEXTAREA"!==t&&!0!==i}function gZ(e={}){let t,i,n,r;let{ref:o,isDisabled:s,isFocusable:a,clickOnEnter:l=!0,clickOnSpace:u=!0,onMouseDown:d,onMouseUp:c,onClick:h,onKeyDown:g,onKeyUp:p,tabIndex:f,onMouseOver:m,onMouseLeave:v,...b}=e,[y,_]=(0,R.useState)(!0),[w,C]=(0,R.useState)(!1),S=(i=(t=(0,R.useRef)(new Map)).current,n=(0,R.useCallback)((e,i,n,r)=>{t.current.set(n,{type:i,el:e,options:r}),e.addEventListener(i,n,r)},[]),r=(0,R.useCallback)((e,i,n,r)=>{e.removeEventListener(i,n,r),t.current.delete(n)},[]),(0,R.useEffect)(()=>()=>{i.forEach((e,t)=>{r(e.el,e.type,t,e.options)})},[r,i]),{add:n,remove:r}),x=y?f:f||0,k=s&&!a,E=(0,R.useCallback)(e=>{if(s){e.stopPropagation(),e.preventDefault();return}e.currentTarget.focus(),null==h||h(e)},[s,h]),L=(0,R.useCallback)(e=>{w&&gG(e)&&(e.preventDefault(),e.stopPropagation(),C(!1),S.remove(document,"keyup",L,!1))},[w,S]),D=(0,R.useCallback)(e=>{if(null==g||g(e),s||e.defaultPrevented||e.metaKey||!gG(e.nativeEvent)||y)return;let t=l&&"Enter"===e.key;u&&" "===e.key&&(e.preventDefault(),C(!0)),t&&(e.preventDefault(),e.currentTarget.click()),S.add(document,"keyup",L,!1)},[s,y,g,l,u,S,L]),N=(0,R.useCallback)(e=>{null==p||p(e),!s&&!e.defaultPrevented&&!e.metaKey&&gG(e.nativeEvent)&&!y&&u&&" "===e.key&&(e.preventDefault(),C(!1),e.currentTarget.click())},[u,y,s,p]),A=(0,R.useCallback)(e=>{0===e.button&&(C(!1),S.remove(document,"mouseup",A,!1))},[S]),T=(0,R.useCallback)(e=>{if(0===e.button){if(s){e.stopPropagation(),e.preventDefault();return}y||C(!0),e.currentTarget.focus({preventScroll:!0}),S.add(document,"mouseup",A,!1),null==d||d(e)}},[s,y,d,S,A]),I=(0,R.useCallback)(e=>{0===e.button&&(y||C(!1),null==c||c(e))},[c,y]),M=(0,R.useCallback)(e=>{if(s){e.preventDefault();return}null==m||m(e)},[s,m]),O=(0,R.useCallback)(e=>{w&&(e.preventDefault(),C(!1)),null==v||v(e)},[w,v]),P=aN(o,e=>{e&&"BUTTON"!==e.tagName&&_(!1)});return y?{...b,ref:P,type:"button","aria-disabled":k?void 0:s,disabled:k,onClick:E,onMouseDown:d,onMouseUp:c,onKeyUp:p,onKeyDown:g,onMouseOver:m,onMouseLeave:v}:{...b,ref:P,role:"button","data-active":Y(w),"aria-disabled":s?"true":void 0,tabIndex:k?void 0:x,onClick:E,onMouseDown:T,onMouseUp:I,onKeyUp:N,onKeyDown:D,onMouseOver:M,onMouseLeave:O}}function gY(e,t){let{shouldFocus:i,visible:n,focusRef:r}=t,o=i&&!n;sm(()=>{let t;if(!o||function(e){let t=e.current;if(!t)return!1;let i=ce(t).activeElement;return!(!i||t.contains(i))&&!!(i&&d7(i)&&cn(i)&&!ci(i))}(e))return;let i=(null==r?void 0:r.current)||e.current;if(i)return t=requestAnimationFrame(()=>{i.focus({preventScroll:!0})}),()=>{cancelAnimationFrame(t)}},[o,e,r])}gW.displayName="Hide",g$.displayName="Show";var gQ={preventScroll:!0,shouldFocus:!1},gJ=(e,t)=>({var:e,varRef:t?`var(${e}, ${t})`:`var(${e})`}),gX={arrowShadowColor:gJ("--popper-arrow-shadow-color"),arrowSize:gJ("--popper-arrow-size","8px"),arrowSizeHalf:gJ("--popper-arrow-size-half"),arrowBg:gJ("--popper-arrow-bg"),transformOrigin:gJ("--popper-transform-origin"),arrowOffset:gJ("--popper-arrow-offset")},g0={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},g1=e=>g0[e],g2={scroll:!0,resize:!0},g6={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:e})=>{e.styles.popper.width=`${e.rects.reference.width}px`},effect:({state:e})=>()=>{let t=e.elements.reference;e.elements.popper.style.width=`${t.offsetWidth}px`}},g3={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:e})=>{g8(e)},effect:({state:e})=>()=>{g8(e)}},g8=e=>{e.elements.popper.style.setProperty(gX.transformOrigin.var,g1(e.placement))},g5={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:e})=>{g4(e)}},g4=e=>{var t;if(!e.placement)return;let i=g9(e.placement);if((null==(t=e.elements)?void 0:t.arrow)&&i){Object.assign(e.elements.arrow.style,{[i.property]:i.value,width:gX.arrowSize.varRef,height:gX.arrowSize.varRef,zIndex:-1});let t={[gX.arrowSizeHalf.var]:`calc(${gX.arrowSize.varRef} / 2 - 1px)`,[gX.arrowOffset.var]:`calc(${gX.arrowSizeHalf.varRef} * -1)`};for(let i in t)e.elements.arrow.style.setProperty(i,t[i])}},g9=e=>e.startsWith("top")?{property:"bottom",value:gX.arrowOffset.varRef}:e.startsWith("bottom")?{property:"top",value:gX.arrowOffset.varRef}:e.startsWith("left")?{property:"right",value:gX.arrowOffset.varRef}:e.startsWith("right")?{property:"left",value:gX.arrowOffset.varRef}:void 0,g7={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:e})=>{pe(e)},effect:({state:e})=>()=>{pe(e)}},pe=e=>{if(!e.elements.arrow)return;let t=e.elements.arrow.querySelector("[data-popper-arrow-inner]");if(!t)return;let i=function(e){return e.includes("top")?"1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("bottom")?"-1px -1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("right")?"-1px 1px 0px 0 var(--popper-arrow-shadow-color)":e.includes("left")?"1px -1px 0px 0 var(--popper-arrow-shadow-color)":void 0}(e.placement);i&&t.style.setProperty("--popper-arrow-default-shadow",i),Object.assign(t.style,{transform:"rotate(45deg)",background:gX.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:"var(--popper-arrow-shadow, var(--popper-arrow-default-shadow))"})},pt={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},pi={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function pn(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function pr(e){var t=pn(e).Element;return e instanceof t||e instanceof Element}function po(e){var t=pn(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function ps(e){if("undefined"==typeof ShadowRoot)return!1;var t=pn(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var pa=Math.max,pl=Math.min,pu=Math.round;function pd(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function pc(){return!/^((?!chrome|android).)*safari/i.test(pd())}function ph(e,t,i){void 0===t&&(t=!1),void 0===i&&(i=!1);var n=e.getBoundingClientRect(),r=1,o=1;t&&po(e)&&(r=e.offsetWidth>0&&pu(n.width)/e.offsetWidth||1,o=e.offsetHeight>0&&pu(n.height)/e.offsetHeight||1);var s=(pr(e)?pn(e):window).visualViewport,a=!pc()&&i,l=(n.left+(a&&s?s.offsetLeft:0))/r,u=(n.top+(a&&s?s.offsetTop:0))/o,d=n.width/r,c=n.height/o;return{width:d,height:c,top:u,right:l+d,bottom:u+c,left:l,x:l,y:u}}function pg(e){var t=pn(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function pp(e){return e?(e.nodeName||"").toLowerCase():null}function pf(e){return((pr(e)?e.ownerDocument:e.document)||window.document).documentElement}function pm(e){return ph(pf(e)).left+pg(e).scrollLeft}function pv(e){return pn(e).getComputedStyle(e)}function pb(e){var t=pv(e),i=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(i+r+n)}function py(e){var t=ph(e),i=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-i)&&(i=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:i,height:n}}function p_(e){return"html"===pp(e)?e:e.assignedSlot||e.parentNode||(ps(e)?e.host:null)||pf(e)}function pw(e,t){void 0===t&&(t=[]);var i,n=function e(t){return["html","body","#document"].indexOf(pp(t))>=0?t.ownerDocument.body:po(t)&&pb(t)?t:e(p_(t))}(e),r=n===(null==(i=e.ownerDocument)?void 0:i.body),o=pn(n),s=r?[o].concat(o.visualViewport||[],pb(n)?n:[]):n,a=t.concat(s);return r?a:a.concat(pw(p_(s)))}function pC(e){return po(e)&&"fixed"!==pv(e).position?e.offsetParent:null}function pS(e){for(var t=pn(e),i=pC(e);i&&["table","td","th"].indexOf(pp(i))>=0&&"static"===pv(i).position;)i=pC(i);return i&&("html"===pp(i)||"body"===pp(i)&&"static"===pv(i).position)?t:i||function(e){var t=/firefox/i.test(pd());if(/Trident/i.test(pd())&&po(e)&&"fixed"===pv(e).position)return null;var i=p_(e);for(ps(i)&&(i=i.host);po(i)&&0>["html","body"].indexOf(pp(i));){var n=pv(i);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return i;i=i.parentNode}return null}(e)||t}var px="bottom",pk="right",pE="left",pL="auto",pD=["top",px,pk,pE],pN="start",pA="viewport",pT="popper",pI=pD.reduce(function(e,t){return e.concat([t+"-"+pN,t+"-end"])},[]),pM=[].concat(pD,[pL]).reduce(function(e,t){return e.concat([t,t+"-"+pN,t+"-end"])},[]),pO=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"],pP={placement:"bottom",modifiers:[],strategy:"absolute"};function pR(){for(var e=arguments.length,t=Array(e),i=0;i=0?"x":"y"}function pj(e){var t,i=e.reference,n=e.element,r=e.placement,o=r?pB(r):null,s=r?pV(r):null,a=i.x+i.width/2-n.width/2,l=i.y+i.height/2-n.height/2;switch(o){case"top":t={x:a,y:i.y-n.height};break;case px:t={x:a,y:i.y+i.height};break;case pk:t={x:i.x+i.width,y:l};break;case pE:t={x:i.x-n.width,y:l};break;default:t={x:i.x,y:i.y}}var u=o?pH(o):null;if(null!=u){var d="y"===u?"height":"width";switch(s){case pN:t[u]=t[u]-(i[d]/2-n[d]/2);break;case"end":t[u]=t[u]+(i[d]/2-n[d]/2)}}return t}var pW={top:"auto",right:"auto",bottom:"auto",left:"auto"};function pz(e){var t,i,n,r,o,s,a,l=e.popper,u=e.popperRect,d=e.placement,c=e.variation,h=e.offsets,g=e.position,p=e.gpuAcceleration,f=e.adaptive,m=e.roundOffsets,v=e.isFixed,b=h.x,y=void 0===b?0:b,_=h.y,w=void 0===_?0:_,C="function"==typeof m?m({x:y,y:w}):{x:y,y:w};y=C.x,w=C.y;var S=h.hasOwnProperty("x"),x=h.hasOwnProperty("y"),k=pE,E="top",L=window;if(f){var D=pS(l),N="clientHeight",A="clientWidth";D===pn(l)&&"static"!==pv(D=pf(l)).position&&"absolute"===g&&(N="scrollHeight",A="scrollWidth"),("top"===d||(d===pE||d===pk)&&"end"===c)&&(E=px,w-=(v&&D===L&&L.visualViewport?L.visualViewport.height:D[N])-u.height,w*=p?1:-1),(d===pE||("top"===d||d===px)&&"end"===c)&&(k=pk,y-=(v&&D===L&&L.visualViewport?L.visualViewport.width:D[A])-u.width,y*=p?1:-1)}var T=Object.assign({position:g},f&&pW),I=!0===m?(t={x:y,y:w},i=pn(l),n=t.x,r=t.y,{x:pu(n*(o=i.devicePixelRatio||1))/o||0,y:pu(r*o)/o||0}):{x:y,y:w};return(y=I.x,w=I.y,p)?Object.assign({},T,((a={})[E]=x?"0":"",a[k]=S?"0":"",a.transform=1>=(L.devicePixelRatio||1)?"translate("+y+"px, "+w+"px)":"translate3d("+y+"px, "+w+"px, 0)",a)):Object.assign({},T,((s={})[E]=x?w+"px":"",s[k]=S?y+"px":"",s.transform="",s))}var pU={left:"right",right:"left",bottom:"top",top:"bottom"};function p$(e){return e.replace(/left|right|bottom|top/g,function(e){return pU[e]})}var pq={start:"end",end:"start"};function pK(e){return e.replace(/start|end/g,function(e){return pq[e]})}function pG(e,t){var i=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(i&&ps(i)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function pZ(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pY(e,t,i){var n,r,o,s,a,l,u,d,c,h;return t===pA?pZ(function(e,t){var i=pn(e),n=pf(e),r=i.visualViewport,o=n.clientWidth,s=n.clientHeight,a=0,l=0;if(r){o=r.width,s=r.height;var u=pc();(u||!u&&"fixed"===t)&&(a=r.offsetLeft,l=r.offsetTop)}return{width:o,height:s,x:a+pm(e),y:l}}(e,i)):pr(t)?((n=ph(t,!1,"fixed"===i)).top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n):pZ((r=pf(e),s=pf(r),a=pg(r),l=null==(o=r.ownerDocument)?void 0:o.body,u=pa(s.scrollWidth,s.clientWidth,l?l.scrollWidth:0,l?l.clientWidth:0),d=pa(s.scrollHeight,s.clientHeight,l?l.scrollHeight:0,l?l.clientHeight:0),c=-a.scrollLeft+pm(r),h=-a.scrollTop,"rtl"===pv(l||s).direction&&(c+=pa(s.clientWidth,l?l.clientWidth:0)-u),{width:u,height:d,x:c,y:h}))}function pQ(){return{top:0,right:0,bottom:0,left:0}}function pJ(e){return Object.assign({},pQ(),e)}function pX(e,t){return t.reduce(function(t,i){return t[i]=e,t},{})}function p0(e,t){void 0===t&&(t={});var i,n,r,o,s,a,l,u=t,d=u.placement,c=void 0===d?e.placement:d,h=u.strategy,g=void 0===h?e.strategy:h,p=u.boundary,f=u.rootBoundary,m=u.elementContext,v=void 0===m?pT:m,b=u.altBoundary,y=u.padding,_=void 0===y?0:y,w=pJ("number"!=typeof _?_:pX(_,pD)),C=e.rects.popper,S=e.elements[void 0!==b&&b?v===pT?"reference":pT:v],x=(i=pr(S)?S:S.contextElement||pf(e.elements.popper),a=(s=[].concat("clippingParents"===(n=void 0===p?"clippingParents":p)?(r=pw(p_(i)),pr(o=["absolute","fixed"].indexOf(pv(i).position)>=0&&po(i)?pS(i):i)?r.filter(function(e){return pr(e)&&pG(e,o)&&"body"!==pp(e)}):[]):[].concat(n),[void 0===f?pA:f]))[0],(l=s.reduce(function(e,t){var n=pY(i,t,g);return e.top=pa(n.top,e.top),e.right=pl(n.right,e.right),e.bottom=pl(n.bottom,e.bottom),e.left=pa(n.left,e.left),e},pY(i,a,g))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),k=ph(e.elements.reference),E=pj({reference:k,element:C,strategy:"absolute",placement:c}),L=pZ(Object.assign({},C,E)),D=v===pT?L:k,N={top:x.top-D.top+w.top,bottom:D.bottom-x.bottom+w.bottom,left:x.left-D.left+w.left,right:D.right-x.right+w.right},A=e.modifiersData.offset;if(v===pT&&A){var T=A[c];Object.keys(N).forEach(function(e){var t=[pk,px].indexOf(e)>=0?1:-1,i=["top",px].indexOf(e)>=0?"y":"x";N[e]+=T[i]*t})}return N}function p1(e,t,i){return pa(e,pl(t,i))}function p2(e,t,i){return void 0===i&&(i={x:0,y:0}),{top:e.top-t.height-i.y,right:e.right-t.width+i.x,bottom:e.bottom-t.height+i.y,left:e.left-t.width-i.x}}function p6(e){return["top",pk,px,pE].some(function(t){return e[t]>=0})}var p3=function(e){void 0===e&&(e={});var t=e,i=t.defaultModifiers,n=void 0===i?[]:i,r=t.defaultOptions,o=void 0===r?pP:r;return function(e,t,i){void 0===i&&(i=o);var r,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},pP,o),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},a=[],l=!1,u={state:s,setOptions:function(i){var r,l,c,h,g,p="function"==typeof i?i(s.options):i;d(),s.options=Object.assign({},o,s.options,p),s.scrollParents={reference:pr(e)?pw(e):e.contextElement?pw(e.contextElement):[],popper:pw(t)};var f=(l=Object.keys(r=[].concat(n,s.options.modifiers).reduce(function(e,t){var i=e[t.name];return e[t.name]=i?Object.assign({},i,t,{options:Object.assign({},i.options,t.options),data:Object.assign({},i.data,t.data)}):t,e},{})).map(function(e){return r[e]}),c=new Map,h=new Set,g=[],l.forEach(function(e){c.set(e.name,e)}),l.forEach(function(e){h.has(e.name)||function e(t){h.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!h.has(t)){var i=c.get(t);i&&e(i)}}),g.push(t)}(e)}),pO.reduce(function(e,t){return e.concat(g.filter(function(e){return e.phase===t}))},[]));return s.orderedModifiers=f.filter(function(e){return e.enabled}),s.orderedModifiers.forEach(function(e){var t=e.name,i=e.options,n=e.effect;if("function"==typeof n){var r=n({state:s,name:t,instance:u,options:void 0===i?{}:i});a.push(r||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e,t,i,n,r,o,a,d,c,h,g,p=s.elements,f=p.reference,m=p.popper;if(pR(f,m)){s.rects={reference:(e=pS(m),t="fixed"===s.options.strategy,i=po(e),a=po(e)&&(r=pu((n=e.getBoundingClientRect()).width)/e.offsetWidth||1,o=pu(n.height)/e.offsetHeight||1,1!==r||1!==o),d=pf(e),c=ph(f,a,t),h={scrollLeft:0,scrollTop:0},g={x:0,y:0},(i||!i&&!t)&&(("body"!==pp(e)||pb(d))&&(h=e!==pn(e)&&po(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:pg(e)),po(e)?(g=ph(e,!0),g.x+=e.clientLeft,g.y+=e.clientTop):d&&(g.x=pm(d))),{x:c.left+h.scrollLeft-g.x,y:c.top+h.scrollTop-g.y,width:c.width,height:c.height}),popper:py(m)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach(function(e){return s.modifiersData[e.name]=Object.assign({},e.data)});for(var v=0;v=0?-1:1,l=(a="function"==typeof o?o(Object.assign({},n,{placement:i})):o)[0],u=a[1],l=l||0,u=(u||0)*s,[pE,pk].indexOf(r)>=0?{x:u,y:l}:{x:l,y:u}),e},{}),a=s[t.placement],l=a.x,u=a.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=u),t.modifiersData[n]=s}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=i.mainAxis,o=void 0===r||r,s=i.altAxis,a=void 0===s||s,l=i.fallbackPlacements,u=i.padding,d=i.boundary,c=i.rootBoundary,h=i.altBoundary,g=i.flipVariations,p=void 0===g||g,f=i.allowedAutoPlacements,m=t.options.placement,v=pB(m)===m,b=l||(v||!p?[p$(m)]:function(e){if(pB(e)===pL)return[];var t=p$(e);return[pK(e),t,pK(t)]}(m)),y=[m].concat(b).reduce(function(e,i){var n,r,o,s,a,l,h,g,m,v,b,y;return e.concat(pB(i)===pL?(r=(n={placement:i,boundary:d,rootBoundary:c,padding:u,flipVariations:p,allowedAutoPlacements:f}).placement,o=n.boundary,s=n.rootBoundary,a=n.padding,l=n.flipVariations,g=void 0===(h=n.allowedAutoPlacements)?pM:h,0===(b=(v=(m=pV(r))?l?pI:pI.filter(function(e){return pV(e)===m}):pD).filter(function(e){return g.indexOf(e)>=0})).length&&(b=v),Object.keys(y=b.reduce(function(e,i){return e[i]=p0(t,{placement:i,boundary:o,rootBoundary:s,padding:a})[pB(i)],e},{})).sort(function(e,t){return y[e]-y[t]})):i)},[]),_=t.rects.reference,w=t.rects.popper,C=new Map,S=!0,x=y[0],k=0;k=0,A=N?"width":"height",T=p0(t,{placement:E,boundary:d,rootBoundary:c,altBoundary:h,padding:u}),I=N?D?pk:pE:D?px:"top";_[A]>w[A]&&(I=p$(I));var M=p$(I),O=[];if(o&&O.push(T[L]<=0),a&&O.push(T[I]<=0,T[M]<=0),O.every(function(e){return e})){x=E,S=!1;break}C.set(E,O)}if(S)for(var P=p?3:1,R=function(e){var t=y.find(function(t){var i=C.get(t);if(i)return i.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},F=P;F>0&&"break"!==R(F);F--);t.placement!==x&&(t.modifiersData[n]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,i=e.options,n=e.name,r=i.mainAxis,o=i.altAxis,s=i.boundary,a=i.rootBoundary,l=i.altBoundary,u=i.padding,d=i.tether,c=void 0===d||d,h=i.tetherOffset,g=void 0===h?0:h,p=p0(t,{boundary:s,rootBoundary:a,padding:u,altBoundary:l}),f=pB(t.placement),m=pV(t.placement),v=!m,b=pH(f),y="x"===b?"y":"x",_=t.modifiersData.popperOffsets,w=t.rects.reference,C=t.rects.popper,S="function"==typeof g?g(Object.assign({},t.rects,{placement:t.placement})):g,x="number"==typeof S?{mainAxis:S,altAxis:S}:Object.assign({mainAxis:0,altAxis:0},S),k=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,E={x:0,y:0};if(_){if(void 0===r||r){var L,D="y"===b?"top":pE,N="y"===b?px:pk,A="y"===b?"height":"width",T=_[b],I=T+p[D],M=T-p[N],O=c?-C[A]/2:0,P=m===pN?w[A]:C[A],R=m===pN?-C[A]:-w[A],F=t.elements.arrow,B=c&&F?py(F):{width:0,height:0},V=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:pQ(),H=V[D],j=V[N],W=p1(0,w[A],B[A]),z=v?w[A]/2-O-W-H-x.mainAxis:P-W-H-x.mainAxis,U=v?-w[A]/2+O+W+j+x.mainAxis:R+W+j+x.mainAxis,$=t.elements.arrow&&pS(t.elements.arrow),q=$?"y"===b?$.clientTop||0:$.clientLeft||0:0,K=null!=(L=null==k?void 0:k[b])?L:0,G=T+z-K-q,Z=T+U-K,Y=p1(c?pl(I,G):I,T,c?pa(M,Z):M);_[b]=Y,E[b]=Y-T}if(void 0!==o&&o){var Q,J,X="x"===b?"top":pE,ee="x"===b?px:pk,et=_[y],ei="y"===y?"height":"width",en=et+p[X],er=et-p[ee],eo=-1!==["top",pE].indexOf(f),es=null!=(J=null==k?void 0:k[y])?J:0,ea=eo?en:et-w[ei]-C[ei]-es+x.altAxis,el=eo?et+w[ei]+C[ei]-es-x.altAxis:er,eu=c&&eo?(Q=p1(ea,et,el))>el?el:Q:p1(c?ea:en,et,c?el:er);_[y]=eu,E[y]=eu-et}t.modifiersData[n]=E}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,i,n=e.state,r=e.name,o=e.options,s=n.elements.arrow,a=n.modifiersData.popperOffsets,l=pB(n.placement),u=pH(l),d=[pE,pk].indexOf(l)>=0?"height":"width";if(s&&a){var c=pJ("number"!=typeof(t="function"==typeof(t=o.padding)?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:pX(t,pD)),h=py(s),g="y"===u?"top":pE,p="y"===u?px:pk,f=n.rects.reference[d]+n.rects.reference[u]-a[u]-n.rects.popper[d],m=a[u]-n.rects.reference[u],v=pS(s),b=v?"y"===u?v.clientHeight||0:v.clientWidth||0:0,y=c[g],_=b-h[d]-c[p],w=b/2-h[d]/2+(f/2-m/2),C=p1(y,w,_);n.modifiersData[r]=((i={})[u]=C,i.centerOffset=C-w,i)}},effect:function(e){var t=e.state,i=e.options.element,n=void 0===i?"[data-popper-arrow]":i;null!=n&&("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&pG(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,i=e.name,n=t.rects.reference,r=t.rects.popper,o=t.modifiersData.preventOverflow,s=p0(t,{elementContext:"reference"}),a=p0(t,{altBoundary:!0}),l=p2(s,n),u=p2(a,r,o),d=p6(l),c=p6(u);t.modifiersData[i]={referenceClippingOffsets:l,popperEscapeOffsets:u,isReferenceHidden:d,hasPopperEscaped:c},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":c})}}]});function p8(e={}){let{enabled:t=!0,modifiers:i,placement:n="bottom",strategy:r="absolute",arrowPadding:o=8,eventListeners:s=!0,offset:a,gutter:l=8,flip:u=!0,boundary:d="clippingParents",preventOverflow:c=!0,matchWidth:h,direction:g="ltr"}=e,p=(0,R.useRef)(null),f=(0,R.useRef)(null),m=(0,R.useRef)(null),v=function(e,t="ltr"){var i,n;let r=(null==(i=pt[e])?void 0:i[t])||e;return"ltr"===t?r:null!=(n=pi[e])?n:r}(n,g),b=(0,R.useRef)(()=>{}),y=(0,R.useCallback)(()=>{var e;t&&p.current&&f.current&&(null==(e=b.current)||e.call(b),m.current=p3(p.current,f.current,{placement:v,modifiers:[g7,g5,g3,{...g6,enabled:!!h},{name:"eventListeners",..."object"==typeof s?{enabled:!0,options:{...g2,...s}}:{enabled:s,options:g2}},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:null!=a?a:[0,l]}},{name:"flip",enabled:!!u,options:{padding:8}},{name:"preventOverflow",enabled:!!c,options:{boundary:d}},...null!=i?i:[]],strategy:r}),m.current.forceUpdate(),b.current=m.current.destroy)},[v,t,i,h,s,o,a,l,u,c,d,r]);(0,R.useEffect)(()=>()=>{var e;p.current||f.current||(null==(e=m.current)||e.destroy(),m.current=null)},[]);let _=(0,R.useCallback)(e=>{p.current=e,y()},[y]),w=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(_,t)}),[_]),C=(0,R.useCallback)(e=>{f.current=e,y()},[y]),S=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(C,t),style:{...e.style,position:r,minWidth:h?void 0:"max-content",inset:"0 auto auto 0"}}),[r,C,h]),x=(0,R.useCallback)((e={},t=null)=>{let{size:i,shadowColor:n,bg:r,style:o,...s}=e;return{...s,ref:t,"data-popper-arrow":"",style:function(e){let{size:t,shadowColor:i,bg:n,style:r}=e,o={...r,position:"absolute"};return t&&(o["--popper-arrow-size"]=t),i&&(o["--popper-arrow-shadow-color"]=i),n&&(o["--popper-arrow-bg"]=n),o}(e)}},[]),k=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,"data-popper-arrow-inner":""}),[]);return{update(){var e;null==(e=m.current)||e.update()},forceUpdate(){var e;null==(e=m.current)||e.forceUpdate()},transformOrigin:gX.transformOrigin.varRef,referenceRef:_,popperRef:C,getPopperProps:S,getArrowProps:x,getArrowInnerProps:k,getReferenceProps:w}}function p5(e={}){let{onClose:t,onOpen:i,isOpen:n,id:r}=e,o=sf(i),s=sf(t),[a,l]=(0,R.useState)(e.defaultIsOpen||!1),u=void 0!==n?n:a,d=void 0!==n,c=(0,R.useId)(),h=null!=r?r:`disclosure-${c}`,g=(0,R.useCallback)(()=>{d||l(!1),null==s||s()},[d,s]),p=(0,R.useCallback)(()=>{d||l(!0),null==o||o()},[d,o]),f=(0,R.useCallback)(()=>{u?g():p()},[u,p,g]);return{isOpen:u,onOpen:p,onClose:g,onToggle:f,isControlled:d,getButtonProps:function(e={}){return{...e,"aria-expanded":u,"aria-controls":h,onClick(t){var i;null==(i=e.onClick)||i.call(e,t),f()}}},getDisclosureProps:function(e={}){return{...e,hidden:!u,id:h}}}}function p4(e,t){var i;let n=e.target;return(!n||!!p9(n).contains(n))&&!(null==(i=t.current)?void 0:i.contains(n))}function p9(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function p7(e){let{isOpen:t,ref:i}=e,[n,r]=(0,R.useState)(t),[o,s]=(0,R.useState)(!1);return(0,R.useEffect)(()=>{o||(r(t),s(!0))},[t,o,n]),uE(()=>i.current,"animationend",()=>{r(t)}),{present:!(!t&&!n),onComplete(){var e,t,n;let r=new(null!=(n=null==(t=ce(i.current))?void 0:t.defaultView)?n:window).CustomEvent("animationend",{bubbles:!0});null==(e=i.current)||e.dispatchEvent(r)}}}function fe(e){let{wasSelected:t,enabled:i,isSelected:n,mode:r="unmount"}=e;return!i||!!n||"keepMounted"===r&&!!t}var[ft,fi,fn,fr]=aI(),[fo,fs]=F({strict:!1,name:"MenuContext"});function fa(e){var t;return null!=(t=null==e?void 0:e.ownerDocument)?t:document}function fl(e){return fa(e).activeElement===e}function fu(e={}){let{id:t,closeOnSelect:i=!0,closeOnBlur:n=!0,initialFocusRef:r,autoSelect:o=!0,isLazy:s,isOpen:a,defaultIsOpen:l,onClose:u,onOpen:d,placement:c="bottom-start",lazyBehavior:h="unmount",direction:g,computePositionOnMount:p=!1,...f}=e,m=(0,R.useRef)(null),v=(0,R.useRef)(null),b=fn(),y=(0,R.useCallback)(()=>{requestAnimationFrame(()=>{var e;null==(e=m.current)||e.focus({preventScroll:!1})})},[]),_=(0,R.useCallback)(()=>{let e=setTimeout(()=>{var e;if(r)null==(e=r.current)||e.focus();else{let e=b.firstEnabled();e&&D(e.index)}});M.current.add(e)},[b,r]),w=(0,R.useCallback)(()=>{let e=setTimeout(()=>{let e=b.lastEnabled();e&&D(e.index)});M.current.add(e)},[b]),{isOpen:C,onOpen:S,onClose:x,onToggle:k}=p5({isOpen:a,defaultIsOpen:l,onClose:u,onOpen:(0,R.useCallback)(()=>{null==d||d(),o?_():y()},[o,_,y,d])});!function(e){let{ref:t,handler:i,enabled:n=!0}=e,r=sf(i),o=(0,R.useRef)({isPointerDown:!1,ignoreEmulatedMouseEvents:!1}).current;(0,R.useEffect)(()=>{if(!n)return;let e=e=>{p4(e,t)&&(o.isPointerDown=!0)},s=e=>{if(o.ignoreEmulatedMouseEvents){o.ignoreEmulatedMouseEvents=!1;return}o.isPointerDown&&i&&p4(e,t)&&(o.isPointerDown=!1,r(e))},a=e=>{o.ignoreEmulatedMouseEvents=!0,i&&o.isPointerDown&&p4(e,t)&&(o.isPointerDown=!1,r(e))},l=p9(t.current);return l.addEventListener("mousedown",e,!0),l.addEventListener("mouseup",s,!0),l.addEventListener("touchstart",e,!0),l.addEventListener("touchend",a,!0),()=>{l.removeEventListener("mousedown",e,!0),l.removeEventListener("mouseup",s,!0),l.removeEventListener("touchstart",e,!0),l.removeEventListener("touchend",a,!0)}},[i,t,r,o,n])}({enabled:C&&n,ref:m,handler:e=>{var t;(null==(t=v.current)?void 0:t.contains(e.target))||x()}});let E=p8({...f,enabled:C||p,placement:c,direction:g}),[L,D]=(0,R.useState)(-1);sm(()=>{C||D(-1)},[C]),gY(m,{focusRef:v,visible:C,shouldFocus:!0});let N=p7({isOpen:C,ref:m}),[A,T]=function(e,...t){let i=(0,R.useId)(),n=e||i;return(0,R.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(t,"menu-button","menu-list"),I=(0,R.useCallback)(()=>{S(),y()},[S,y]),M=(0,R.useRef)(new Set([]));!function(e,t=[]){(0,R.useEffect)(()=>()=>e(),t)}(()=>{M.current.forEach(e=>clearTimeout(e)),M.current.clear()});let O=(0,R.useCallback)(()=>{S(),_()},[_,S]),P=(0,R.useCallback)(()=>{S(),w()},[S,w]),F=(0,R.useCallback)(()=>{var e,t;let i=fa(m.current),n=null==(e=m.current)?void 0:e.contains(i.activeElement);if(!(C&&!n))return;let r=null==(t=b.item(L))?void 0:t.node;null==r||r.focus()},[C,L,b]),B=(0,R.useRef)(null);return{openAndFocusMenu:I,openAndFocusFirstItem:O,openAndFocusLastItem:P,onTransitionEnd:F,unstable__animationState:N,descendants:b,popper:E,buttonId:A,menuId:T,forceUpdate:E.forceUpdate,orientation:"vertical",isOpen:C,onToggle:k,onOpen:S,onClose:x,menuRef:m,buttonRef:v,focusedIndex:L,closeOnSelect:i,closeOnBlur:n,autoSelect:o,setFocusedIndex:D,isLazy:s,lazyBehavior:h,initialFocusRef:r,rafId:B}}function fd(e={},t=null){let i=fs(),{onToggle:n,popper:r,openAndFocusFirstItem:o,openAndFocusLastItem:s}=i,a=(0,R.useCallback)(e=>{let t={Enter:o,ArrowDown:o,ArrowUp:s}[e.key];t&&(e.preventDefault(),e.stopPropagation(),t(e))},[o,s]);return{...e,ref:aN(i.buttonRef,t,r.referenceRef),id:i.buttonId,"data-active":Y(i.isOpen),"aria-expanded":i.isOpen,"aria-haspopup":"menu","aria-controls":i.menuId,onClick:J(e.onClick,n),onKeyDown:J(e.onKeyDown,a)}}function fc(e){var t;return function(e){var t;if(!(null!=e&&"object"==typeof e&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE))return!1;let i=null!=(t=e.ownerDocument.defaultView)?t:window;return e instanceof i.HTMLElement}(e)&&!!(null==(t=null==e?void 0:e.getAttribute("role"))?void 0:t.startsWith("menuitem"))}function fh(e={},t=null){let i=fs();if(!i)throw Error("useMenuContext: context is undefined. Seems you forgot to wrap component within ");let{focusedIndex:n,setFocusedIndex:r,menuRef:o,isOpen:s,onClose:a,menuId:l,isLazy:u,lazyBehavior:d,unstable__animationState:c}=i,h=fi(),g=function(e={}){let{timeout:t=300,preventDefault:i=()=>!0}=e,[n,r]=(0,R.useState)([]),o=(0,R.useRef)(),s=()=>{o.current&&(clearTimeout(o.current),o.current=null)},a=()=>{s(),o.current=setTimeout(()=>{r([]),o.current=null},t)};return(0,R.useEffect)(()=>s,[]),function(e){return t=>{if("Backspace"===t.key){let e=[...n];e.pop(),r(e);return}if(function(e){let{key:t}=e;return 1===t.length||t.length>1&&/[^a-zA-Z0-9]/.test(t)}(t)){let o=n.concat(t.key);i(t)&&(t.preventDefault(),t.stopPropagation()),r(o),e(o.join("")),a()}}}}({preventDefault:e=>" "!==e.key&&fc(e.target)}),p=(0,R.useCallback)(e=>{let t={Tab:e=>e.preventDefault(),Escape:a,ArrowDown:()=>{let e=h.nextEnabled(n);e&&r(e.index)},ArrowUp:()=>{let e=h.prevEnabled(n);e&&r(e.index)}}[e.key];if(t){e.preventDefault(),t(e);return}let i=g(e=>{let t=function(e,t,i,n){if(null==t)return n;if(!n)return e.find(e=>i(e).toLowerCase().startsWith(t.toLowerCase()));let r=e.filter(e=>i(e).toLowerCase().startsWith(t.toLowerCase()));if(r.length>0){let t;return r.includes(n)?((t=r.indexOf(n)+1)===r.length&&(t=0),r[t]):(t=e.indexOf(r[0]),e[t])}return n}(h.values(),e,e=>{var t,i;return null!=(i=null==(t=null==e?void 0:e.node)?void 0:t.textContent)?i:""},h.item(n));t&&r(h.indexOf(t.node))});fc(e.target)&&i(e)},[h,n,g,a,r]),f=(0,R.useRef)(!1);s&&(f.current=!0);let m=fe({wasSelected:f.current,enabled:u,mode:d,isSelected:c.present});return{...e,ref:aN(o,t),children:m?e.children:null,tabIndex:-1,role:"menu",id:l,style:{...e.style,transformOrigin:"var(--popper-transform-origin)"},"aria-orientation":"vertical",onKeyDown:J(e.onKeyDown,p)}}function fg(e={}){let{popper:t,isOpen:i}=fs();return t.getPopperProps({...e,style:{visibility:i?"visible":"hidden",...e.style}})}function fp(e={},t=null){let{onMouseEnter:i,onMouseMove:n,onMouseLeave:r,onClick:o,onFocus:s,isDisabled:a,isFocusable:l,closeOnSelect:u,type:d,...c}=e,{setFocusedIndex:h,focusedIndex:g,closeOnSelect:p,onClose:f,menuRef:m,isOpen:v,menuId:b,rafId:y}=fs(),_=(0,R.useRef)(null),w=`${b}-menuitem-${(0,R.useId)()}`,{index:C,register:S}=fr({disabled:a&&!l}),x=(0,R.useCallback)(e=>{null==i||i(e),a||h(C)},[h,C,a,i]),k=(0,R.useCallback)(e=>{null==n||n(e),_.current&&!fl(_.current)&&x(e)},[x,n]),E=(0,R.useCallback)(e=>{null==r||r(e),a||h(-1)},[h,a,r]),L=(0,R.useCallback)(e=>{null==o||o(e),fc(e.currentTarget)&&(null!=u?u:p)&&f()},[f,o,p,u]),D=(0,R.useCallback)(e=>{null==s||s(e),h(C)},[h,s,C]),N=C===g,A=a&&!l;sm(()=>{v&&(N&&!A&&_.current?(y.current&&cancelAnimationFrame(y.current),y.current=requestAnimationFrame(()=>{var e;null==(e=_.current)||e.focus(),y.current=null})):m.current&&!fl(m.current)&&m.current.focus({preventScroll:!0}))},[N,A,m,v]);let T=gZ({onClick:L,onFocus:D,onMouseEnter:x,onMouseMove:k,onMouseLeave:E,ref:aN(S,_,t),isDisabled:a,isFocusable:l});return{...c,...T,type:null!=d?d:T.type,id:w,role:"menuitem",tabIndex:N?0:-1}}function ff(e={},t=null){let{type:i="radio",isChecked:n,...r}=e;return{...fp(r,t),role:`menuitem${i}`,"aria-checked":n}}function fm(e={}){let{children:t,type:i="radio",value:n,defaultValue:r,onChange:o,...s}=e,a="radio"===i,[l,u]=aW({defaultValue:null!=r?r:a?"":[],value:n,onChange:o}),d=(0,R.useCallback)(e=>{"radio"===i&&"string"==typeof l&&u(e),"checkbox"===i&&Array.isArray(l)&&u(l.includes(e)?l.filter(t=>t!==e):l.concat(e))},[l,u,i]),c=lu(t).map(e=>{if("MenuItemOption"!==e.type.id)return e;let t="radio"===i?e.props.value===l:l.includes(e.props.value);return(0,R.cloneElement)(e,{type:i,onClick:t=>{var i,n;d(e.props.value),null==(n=(i=e.props).onClick)||n.call(i,t)},isChecked:t})});return{...s,children:c}}function fv(){let{isOpen:e,onClose:t}=fs();return{isOpen:e,onClose:t}}var[fb,fy]=F({name:"MenuStylesContext",errorMessage:"useMenuStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),f_=e=>{let{children:t}=e,i=s$("Menu",e),n=tL(e),{direction:r}=sT(),{descendants:o,...s}=fu({...n,direction:r}),a=(0,R.useMemo)(()=>s,[s]),{isOpen:l,onClose:u,forceUpdate:d}=a;return(0,T.jsx)(ft,{value:o,children:(0,T.jsx)(fo,{value:a,children:(0,T.jsx)(fb,{value:i,children:G(t,{isOpen:l,onClose:u,forceUpdate:d})})})})};f_.displayName="Menu";var fw=sA((e,t)=>{let i=fy();return(0,T.jsx)(sE.span,{ref:t,...e,__css:i.command,className:"chakra-menu__command"})});fw.displayName="MenuCommand";var fC=sA((e,t)=>{let{type:i,...n}=e,r=fy(),o=n.as||i?null!=i?i:void 0:"button",s=(0,R.useMemo)(()=>({textDecoration:"none",color:"inherit",userSelect:"none",display:"flex",width:"100%",alignItems:"center",textAlign:"start",flex:"0 0 auto",outline:0,...r.item}),[r.item]);return(0,T.jsx)(sE.button,{ref:t,type:o,...n,__css:s})}),fS=e=>{let{className:t,children:i,...n}=e,r=R.Children.only(i),o=(0,R.isValidElement)(r)?(0,R.cloneElement)(r,{focusable:"false","aria-hidden":!0,className:$("chakra-menu__icon",r.props.className)}):null,s=$("chakra-menu__icon-wrapper",t);return(0,T.jsx)(sE.span,{className:s,...n,__css:{display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0},children:o})};fS.displayName="MenuIcon";var fx=sA((e,t)=>{let{icon:i,iconSpacing:n="0.75rem",command:r,commandSpacing:o="0.75rem",children:s,...a}=e,l=fp(a,t),u=i||r?(0,T.jsx)("span",{style:{pointerEvents:"none",flex:1},children:s}):s;return(0,T.jsxs)(fC,{...l,className:$("chakra-menu__menuitem",l.className),children:[i&&(0,T.jsx)(fS,{fontSize:"0.8em",marginEnd:n,children:i}),u,r&&(0,T.jsx)(fw,{marginStart:o,children:r})]})});fx.displayName="MenuItem";var fk={enter:{visibility:"visible",opacity:1,scale:1,transition:{duration:.2,ease:[.4,0,.2,1]}},exit:{transitionEnd:{visibility:"hidden"},opacity:0,scale:.8,transition:{duration:.1,easings:"easeOut"}}},fE=sE(sb.E.div),fL=sA(function(e,t){var i,n;let{rootProps:r,motionProps:o,...s}=e,{isOpen:a,onTransitionEnd:l,unstable__animationState:u}=fs(),d=fh(s,t),c=fg(r),h=fy();return(0,T.jsx)(sE.div,{...c,__css:{zIndex:null!=(n=e.zIndex)?n:null==(i=h.list)?void 0:i.zIndex},children:(0,T.jsx)(fE,{variants:fk,initial:!1,animate:a?"enter":"exit",__css:{outline:0,...h.list},...o,className:$("chakra-menu__menu-list",d.className),...d,onUpdate:l,onAnimationComplete:X(u.onComplete,d.onAnimationComplete)})})});fL.displayName="MenuList";var fD=sA((e,t)=>{let{title:i,children:n,className:r,...o}=e,s=$("chakra-menu__group__title",r),a=fy();return(0,T.jsxs)("div",{ref:t,className:"chakra-menu__group",role:"group",children:[i&&(0,T.jsx)(sE.p,{className:s,...o,__css:a.groupTitle,children:i}),n]})});fD.displayName="MenuGroup";var fN=e=>{let{className:t,title:i,...n}=e,r=fm(n);return(0,T.jsx)(fD,{title:i,className:$("chakra-menu__option-group",t),...r})};fN.displayName="MenuOptionGroup";var fA=sA((e,t)=>{let i=fy();return(0,T.jsx)(sE.button,{ref:t,...e,__css:{display:"inline-flex",appearance:"none",alignItems:"center",outline:0,...i.button}})}),fT=sA((e,t)=>{let{children:i,as:n,...r}=e,o=fd(r,t),s=n||fA;return(0,T.jsx)(s,{...o,className:$("chakra-menu__menu-button",e.className),children:(0,T.jsx)(sE.span,{__css:{pointerEvents:"none",flex:"1 1 auto",minW:0},children:e.children})})});fT.displayName="MenuButton";var fI=e=>{let{className:t,...i}=e,n=fy();return(0,T.jsx)(sE.hr,{"aria-orientation":"horizontal",className:$("chakra-menu__divider",t),...i,__css:n.divider})};fI.displayName="MenuDivider";var fM=e=>(0,T.jsx)("svg",{viewBox:"0 0 14 14",width:"1em",height:"1em",...e,children:(0,T.jsx)("polygon",{fill:"currentColor",points:"5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"})}),fO=sA((e,t)=>{let{icon:i,iconSpacing:n="0.75rem",...r}=e,o=ff(r,t);return(0,T.jsxs)(fC,{...o,className:$("chakra-menu__menuitem-option",r.className),children:[null!==i&&(0,T.jsx)(fS,{fontSize:"0.8em",marginEnd:n,opacity:e.isChecked?1:0,children:i||(0,T.jsx)(fM,{})}),(0,T.jsx)("span",{style:{flex:1},children:o.children})]})});fO.id="MenuItemOption",fO.displayName="MenuItemOption";var fP={initial:"initial",animate:"enter",exit:"exit",variants:{initial:({offsetX:e,offsetY:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{opacity:0,x:e,y:t,transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(aJ.exit,r),transitionEnd:null==n?void 0:n.exit}},enter:({transition:e,transitionEnd:t,delay:i})=>{var n;return{opacity:1,x:0,y:0,transition:null!=(n=null==e?void 0:e.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==t?void 0:t.enter}},exit:({offsetY:e,offsetX:t,transition:i,transitionEnd:n,reverse:r,delay:o})=>{var s;let a={x:t,y:e};return{opacity:0,transition:null!=(s=null==i?void 0:i.exit)?s:aX.exit(aJ.exit,o),...r?{...a,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{...a,...null==n?void 0:n.exit}}}}}},fR=(0,R.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,reverse:r=!0,className:o,offsetX:s=0,offsetY:a=8,transition:l,transitionEnd:u,delay:d,...c}=e,h={offsetX:s,offsetY:a,reverse:r,transition:l,transitionEnd:u,delay:d};return(0,T.jsx)(ar.M,{custom:h,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-offset-slide",o),custom:h,...fP,animate:n||i?"enter":"exit",...c})})});fR.displayName="SlideFade";var fF={initial:"exit",animate:"enter",exit:"exit",variants:{exit:({reverse:e,initialScale:t,transition:i,transitionEnd:n,delay:r})=>{var o;return{opacity:0,...e?{scale:t,transitionEnd:null==n?void 0:n.exit}:{transitionEnd:{scale:t,...null==n?void 0:n.exit}},transition:null!=(o=null==i?void 0:i.exit)?o:aX.exit(aJ.exit,r)}},enter:({transitionEnd:e,transition:t,delay:i})=>{var n;return{opacity:1,scale:1,transition:null!=(n=null==t?void 0:t.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==e?void 0:e.enter}}}},fB=(0,R.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,reverse:r=!0,initialScale:o=.95,className:s,transition:a,transitionEnd:l,delay:u,...d}=e,c={initialScale:o,reverse:r,transition:a,transitionEnd:l,delay:u};return(0,T.jsx)(ar.M,{custom:c,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-offset-slide",s),...fF,animate:n||i?"enter":"exit",custom:c,...d})})});fB.displayName="ScaleFade";var fV={slideInBottom:{...fP,custom:{offsetY:16,reverse:!0}},slideInRight:{...fP,custom:{offsetX:16,reverse:!0}},scale:{...fF,custom:{initialScale:.95,reverse:!0}},none:{}},fH=sE(sb.E.section),fj=e=>fV[e||"none"],fW=(0,R.forwardRef)((e,t)=>{let{preset:i,motionProps:n=fj(i),...r}=e;return(0,T.jsx)(fH,{ref:t,...n,...r})});fW.displayName="ModalTransition";var fz=Object.defineProperty,fU=(e,t,i)=>t in e?fz(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,f$=(e,t,i)=>(fU(e,"symbol"!=typeof t?t+"":t,i),i),fq=new class{constructor(){f$(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return!!e&&this.modals.get(e)===this.modals.size}};function fK(e,t){let[i,n]=(0,R.useState)(0);return(0,R.useEffect)(()=>{let i=e.current;if(i)return t&&n(fq.add(i)),()=>{fq.remove(i),n(0)}},[t,e]),i}var fG=new WeakMap,fZ=new WeakMap,fY={},fQ=0,fJ=function(e){return e&&(e.host||fJ(e.parentNode))},fX=function(e,t,i,n){var r=(Array.isArray(e)?e:[e]).map(function(e){if(t.contains(e))return e;var i=fJ(e);return i&&t.contains(i)?i:(console.error("aria-hidden",e,"in not contained inside",t,". Doing nothing"),null)}).filter(function(e){return!!e});fY[i]||(fY[i]=new WeakMap);var o=fY[i],s=[],a=new Set,l=new Set(r),u=function(e){!e||a.has(e)||(a.add(e),u(e.parentNode))};r.forEach(u);var d=function(e){!e||l.has(e)||Array.prototype.forEach.call(e.children,function(e){if(a.has(e))d(e);else{var t=e.getAttribute(n),r=null!==t&&"false"!==t,l=(fG.get(e)||0)+1,u=(o.get(e)||0)+1;fG.set(e,l),o.set(e,u),s.push(e),1===l&&r&&fZ.set(e,!0),1===u&&e.setAttribute(i,"true"),r||e.setAttribute(n,"true")}})};return d(t),a.clear(),fQ++,function(){s.forEach(function(e){var t=fG.get(e)-1,r=o.get(e)-1;fG.set(e,t),o.set(e,r),t||(fZ.has(e)||e.removeAttribute(n),fZ.delete(e)),r||e.removeAttribute(i)}),--fQ||(fG=new WeakMap,fG=new WeakMap,fZ=new WeakMap,fY={})}},f0=function(e,t,i){void 0===i&&(i="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),r=t||("undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body);return r?(n.push.apply(n,Array.from(r.querySelectorAll("[aria-live]"))),fX(n,r,i,"aria-hidden")):function(){return null}};function f1(e){var t;let i,{isOpen:n,onClose:r,id:o,closeOnOverlayClick:s=!0,closeOnEsc:a=!0,useInert:l=!0,onOverlayClick:u,onEsc:d}=e,c=(0,R.useRef)(null),h=(0,R.useRef)(null),[g,p,f]=function(e,...t){let i=(0,R.useId)(),n=e||i;return(0,R.useMemo)(()=>t.map(e=>`${e}-${n}`),[n,t])}(o,"chakra-modal","chakra-modal--header","chakra-modal--body");t=n&&l,i=c.current,(0,R.useEffect)(()=>{if(c.current&&t)return f0(c.current)},[t,c,i]),fK(c,n);let m=(0,R.useRef)(null),v=(0,R.useCallback)(e=>{m.current=e.target},[]),b=(0,R.useCallback)(e=>{"Escape"===e.key&&(e.stopPropagation(),a&&(null==r||r()),null==d||d())},[a,r,d]),[y,_]=(0,R.useState)(!1),[w,C]=(0,R.useState)(!1),S=(0,R.useCallback)((e={},t=null)=>({role:"dialog",...e,ref:aN(t,c),id:g,tabIndex:-1,"aria-modal":!0,"aria-labelledby":y?p:void 0,"aria-describedby":w?f:void 0,onClick:J(e.onClick,e=>e.stopPropagation())}),[f,w,g,p,y]),x=(0,R.useCallback)(e=>{e.stopPropagation(),m.current===e.target&&fq.isTopModal(c.current)&&(s&&(null==r||r()),null==u||u())},[r,s,u]),k=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(t,h),onClick:J(e.onClick,x),onKeyDown:J(e.onKeyDown,b),onMouseDown:J(e.onMouseDown,v)}),[b,v,x]);return{isOpen:n,onClose:r,headerId:p,bodyId:f,setBodyMounted:C,setHeaderMounted:_,dialogRef:c,overlayRef:h,getDialogProps:S,getDialogContainerProps:k}}var[f2,f6]=F({name:"ModalStylesContext",errorMessage:"useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[f3,f8]=F({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),f5=e=>{let t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:i,children:n,autoFocus:r,trapFocus:o,initialFocusRef:s,finalFocusRef:a,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:c,motionPreset:h,lockFocusAcrossFrames:g,onCloseComplete:p}=t,f=s$("Modal",t),m={...f1(t),autoFocus:r,trapFocus:o,initialFocusRef:s,finalFocusRef:a,returnFocusOnClose:l,blockScrollOnMount:u,allowPinchZoom:d,preserveScrollBarGap:c,motionPreset:h,lockFocusAcrossFrames:g};return(0,T.jsx)(f3,{value:m,children:(0,T.jsx)(f2,{value:f,children:(0,T.jsx)(ar.M,{onExitComplete:p,children:m.isOpen&&(0,T.jsx)(ah,{...i,children:n})})})})};f5.displayName="Modal";var f4="right-scroll-bar-position",f9="width-before-scroll-bar",f7=uG(),me=function(){},mt=R.forwardRef(function(e,t){var i=R.useRef(null),n=R.useState({onScrollCapture:me,onWheelCapture:me,onTouchMoveCapture:me}),r=n[0],o=n[1],s=e.forwardProps,a=e.children,l=e.className,u=e.removeScrollBar,d=e.enabled,c=e.shards,h=e.sideCar,g=e.noIsolation,p=e.inert,f=e.allowPinchZoom,m=e.as,v=void 0===m?"div":m,b=e.gapMode,y=(0,uU._T)(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),_=uj([i,t]),w=(0,uU.pi)((0,uU.pi)({},y),r);return R.createElement(R.Fragment,null,d&&R.createElement(h,{sideCar:f7,removeScrollBar:u,shards:c,noIsolation:g,inert:p,setCallbacks:o,allowPinchZoom:!!f,lockRef:i,gapMode:b}),s?R.cloneElement(R.Children.only(a),(0,uU.pi)((0,uU.pi)({},w),{ref:_})):R.createElement(v,(0,uU.pi)({},w,{className:l,ref:_}),a))});mt.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},mt.classNames={fullWidth:f9,zeroRight:f4};var mi=function(e){var t=e.sideCar,i=(0,uU._T)(e,["sideCar"]);if(!t)throw Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw Error("Sidecar medium not found");return R.createElement(n,(0,uU.pi)({},i))};mi.isSideCarExport=!0;var mn=function(){var e=0,t=null;return{add:function(n){if(0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=N||i.nc;return t&&e.setAttribute("nonce",t),e}())){var r,o;(r=t).styleSheet?r.styleSheet.cssText=n:r.appendChild(document.createTextNode(n)),o=t,(document.head||document.getElementsByTagName("head")[0]).appendChild(o)}e++},remove:function(){--e||!t||(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},mr=function(){var e=mn();return function(t,i){R.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&i])}},mo=function(){var e=mr();return function(t){return e(t.styles,t.dynamic),null}},ms={left:0,top:0,right:0,gap:0},ma=function(e){return parseInt(e||"",10)||0},ml=function(e){var t=window.getComputedStyle(document.body),i=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],r=t["padding"===e?"paddingRight":"marginRight"];return[ma(i),ma(n),ma(r)]},mu=function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return ms;var t=ml(e),i=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-i+t[2]-t[0])}},md=mo(),mc=function(e,t,i,n){var r=e.left,o=e.top,s=e.right,a=e.gap;return void 0===i&&(i="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(a,"px ").concat(n,";\n }\n body {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===i&&"\n padding-left: ".concat(r,"px;\n padding-top: ").concat(o,"px;\n padding-right: ").concat(s,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(a,"px ").concat(n,";\n "),"padding"===i&&"padding-right: ".concat(a,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(f4," {\n right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f9," {\n margin-right: ").concat(a,"px ").concat(n,";\n }\n \n .").concat(f4," .").concat(f4," {\n right: 0 ").concat(n,";\n }\n \n .").concat(f9," .").concat(f9," {\n margin-right: 0 ").concat(n,";\n }\n \n body {\n ").concat("--removed-body-scroll-bar-size",": ").concat(a,"px;\n }\n")},mh=function(e){var t=e.noRelative,i=e.noImportant,n=e.gapMode,r=void 0===n?"margin":n,o=R.useMemo(function(){return mu(r)},[r]);return R.createElement(md,{styles:mc(o,!t,r,i?"":"!important")})},mg=!1;if("undefined"!=typeof window)try{var mp=Object.defineProperty({},"passive",{get:function(){return mg=!0,!0}});window.addEventListener("test",mp,mp),window.removeEventListener("test",mp,mp)}catch(e){mg=!1}var mf=!!mg&&{passive:!1},mm=function(e,t){var i=window.getComputedStyle(e);return"hidden"!==i[t]&&!(i.overflowY===i.overflowX&&"TEXTAREA"!==e.tagName&&"visible"===i[t])},mv=function(e,t){var i=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),mb(e,n)){var r=my(e,n);if(r[1]>r[2])return!0}n=n.parentNode}while(n&&n!==i.body)return!1},mb=function(e,t){return"v"===e?mm(t,"overflowY"):mm(t,"overflowX")},my=function(e,t){return"v"===e?[t.scrollTop,t.scrollHeight,t.clientHeight]:[t.scrollLeft,t.scrollWidth,t.clientWidth]},m_=function(e,t,i,n,r){var o,s=(o=window.getComputedStyle(t).direction,"h"===e&&"rtl"===o?-1:1),a=s*n,l=i.target,u=t.contains(l),d=!1,c=a>0,h=0,g=0;do{var p=my(e,l),f=p[0],m=p[1]-p[2]-s*f;(f||m)&&mb(e,l)&&(h+=m,g+=f),l=l.parentNode}while(!u&&l!==document.body||u&&(t.contains(l)||t===l))return c&&(r&&0===h||!r&&a>h)?d=!0:!c&&(r&&0===g||!r&&-a>g)&&(d=!0),d},mw=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},mC=function(e){return[e.deltaX,e.deltaY]},mS=function(e){return e&&"current"in e?e.current:e},mx=0,mk=[];let mE=(f7.useMedium(function(e){var t=R.useRef([]),i=R.useRef([0,0]),n=R.useRef(),r=R.useState(mx++)[0],o=R.useState(mo)[0],s=R.useRef(e);R.useEffect(function(){s.current=e},[e]),R.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var t=(0,uU.ev)([e.lockRef.current],(e.shards||[]).map(mS),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=R.useCallback(function(e,t){if("touches"in e&&2===e.touches.length)return!s.current.allowPinchZoom;var r,o=mw(e),a=i.current,l="deltaX"in e?e.deltaX:a[0]-o[0],u="deltaY"in e?e.deltaY:a[1]-o[1],d=e.target,c=Math.abs(l)>Math.abs(u)?"h":"v";if("touches"in e&&"h"===c&&"range"===d.type)return!1;var h=mv(c,d);if(!h)return!0;if(h?r=c:(r="v"===c?"h":"v",h=mv(c,d)),!h)return!1;if(!n.current&&"changedTouches"in e&&(l||u)&&(n.current=r),!r)return!0;var g=n.current||r;return m_(g,t,e,"h"===g?l:u,!0)},[]),l=R.useCallback(function(e){if(mk.length&&mk[mk.length-1]===o){var i="deltaY"in e?mC(e):mw(e),n=t.current.filter(function(t){var n;return t.name===e.type&&t.target===e.target&&(n=t.delta)[0]===i[0]&&n[1]===i[1]})[0];if(n&&n.should){e.cancelable&&e.preventDefault();return}if(!n){var r=(s.current.shards||[]).map(mS).filter(Boolean).filter(function(t){return t.contains(e.target)});(r.length>0?a(e,r[0]):!s.current.noIsolation)&&e.cancelable&&e.preventDefault()}}},[]),u=R.useCallback(function(e,i,n,r){var o={name:e,delta:i,target:n,should:r};t.current.push(o),setTimeout(function(){t.current=t.current.filter(function(e){return e!==o})},1)},[]),d=R.useCallback(function(e){i.current=mw(e),n.current=void 0},[]),c=R.useCallback(function(t){u(t.type,mC(t),t.target,a(t,e.lockRef.current))},[]),h=R.useCallback(function(t){u(t.type,mw(t),t.target,a(t,e.lockRef.current))},[]);R.useEffect(function(){return mk.push(o),e.setCallbacks({onScrollCapture:c,onWheelCapture:c,onTouchMoveCapture:h}),document.addEventListener("wheel",l,mf),document.addEventListener("touchmove",l,mf),document.addEventListener("touchstart",d,mf),function(){mk=mk.filter(function(e){return e!==o}),document.removeEventListener("wheel",l,mf),document.removeEventListener("touchmove",l,mf),document.removeEventListener("touchstart",d,mf)}},[]);var g=e.removeScrollBar,p=e.inert;return R.createElement(R.Fragment,null,p?R.createElement(o,{styles:"\n .block-interactivity-".concat(r," {pointer-events: none;}\n .allow-interactivity-").concat(r," {pointer-events: all;}\n")}):null,g?R.createElement(mh,{gapMode:e.gapMode}):null)}),mi);var mL=R.forwardRef(function(e,t){return R.createElement(mt,(0,uU.pi)({},e,{ref:t,sideCar:mE}))});function mD(e){let{autoFocus:t,trapFocus:i,dialogRef:n,initialFocusRef:r,blockScrollOnMount:o,allowPinchZoom:s,finalFocusRef:a,returnFocusOnClose:l,preserveScrollBarGap:u,lockFocusAcrossFrames:d,isOpen:c}=f8(),[h,g]=(0,sv.oO)();(0,R.useEffect)(()=>{!h&&g&&setTimeout(g)},[h,g]);let p=fK(n,c);return(0,T.jsx)(ca,{autoFocus:t,isDisabled:!i,initialFocusRef:r,finalFocusRef:a,restoreFocus:l,contentRef:n,lockFocusAcrossFrames:d,children:(0,T.jsx)(mL,{removeScrollBar:!u,allowPinchZoom:s,enabled:1===p&&o,forwardProps:!0,children:e.children})})}mL.classNames=mt.classNames;var mN=sA((e,t)=>{let{className:i,children:n,containerProps:r,motionProps:o,...s}=e,{getDialogProps:a,getDialogContainerProps:l}=f8(),u=a(s,t),d=l(r),c=$("chakra-modal__content",i),h=f6(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...h.dialog},p={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...h.dialogContainer},{motionPreset:f}=f8();return(0,T.jsx)(mD,{children:(0,T.jsx)(sE.div,{...d,className:"chakra-modal__content-container",tabIndex:-1,__css:p,children:(0,T.jsx)(fW,{preset:f,motionProps:o,className:c,...u,__css:g,children:n})})})});function mA(e){let{leastDestructiveRef:t,...i}=e;return(0,T.jsx)(f5,{...i,initialFocusRef:t})}mN.displayName="ModalContent";var mT=sA((e,t)=>(0,T.jsx)(mN,{ref:t,role:"alertdialog",...e})),[mI,mM]=F(),mO={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function mP(e){var t;let{isOpen:i,onClose:n,placement:r="right",children:o,...s}=e,a=sT(),l=null==(t=a.components)?void 0:t.Drawer,u=function(e,t){var i,n;if(e)return null!=(n=null==(i=mO[e])?void 0:i[t])?n:e}(r,a.direction);return(0,T.jsx)(mI,{value:{placement:u},children:(0,T.jsx)(f5,{isOpen:i,onClose:n,styleConfig:l,...s,children:o})})}var mR={exit:{duration:.15,ease:aZ.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},mF={exit:({direction:e,transition:t,transitionEnd:i,delay:n})=>{var r;let{exit:o}=aQ({direction:e});return{...o,transition:null!=(r=null==t?void 0:t.exit)?r:aX.exit(mR.exit,n),transitionEnd:null==i?void 0:i.exit}},enter:({direction:e,transitionEnd:t,transition:i,delay:n})=>{var r;let{enter:o}=aQ({direction:e});return{...o,transition:null!=(r=null==i?void 0:i.enter)?r:aX.enter(mR.enter,n),transitionEnd:null==t?void 0:t.enter}}},mB=(0,R.forwardRef)(function(e,t){let{direction:i="right",style:n,unmountOnExit:r,in:o,className:s,transition:a,transitionEnd:l,delay:u,motionProps:d,...c}=e,h=Object.assign({position:"fixed"},aQ({direction:i}).position,n),g={transitionEnd:l,transition:a,direction:i,delay:u};return(0,T.jsx)(ar.M,{custom:g,children:(!r||o&&r)&&(0,T.jsx)(sb.E.div,{...c,ref:t,initial:"exit",className:$("chakra-slide",s),animate:o||r?"enter":"exit",exit:"exit",custom:g,variants:mF,style:h,...d})})});mB.displayName="Slide";var mV=sE(mB),mH=sA((e,t)=>{let{className:i,children:n,motionProps:r,containerProps:o,...s}=e,{getDialogProps:a,getDialogContainerProps:l,isOpen:u}=f8(),d=a(s,t),c=l(o),h=$("chakra-modal__content",i),g=f6(),p={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...g.dialog},f={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...g.dialogContainer},{placement:m}=mM();return(0,T.jsx)(mD,{children:(0,T.jsx)(sE.div,{...c,className:"chakra-modal__content-container",__css:f,children:(0,T.jsx)(mV,{motionProps:r,direction:m,in:u,className:h,...d,__css:p,children:n})})})});mH.displayName="DrawerContent";var mj=sA((e,t)=>{let{className:i,...n}=e,r=$("chakra-modal__footer",i),o={display:"flex",alignItems:"center",justifyContent:"flex-end",...f6().footer};return(0,T.jsx)(sE.footer,{ref:t,...n,__css:o,className:r})});mj.displayName="ModalFooter";var mW=sA((e,t)=>{let{className:i,...n}=e,{headerId:r,setHeaderMounted:o}=f8();(0,R.useEffect)(()=>(o(!0),()=>o(!1)),[o]);let s=$("chakra-modal__header",i),a={flex:0,...f6().header};return(0,T.jsx)(sE.header,{ref:t,className:s,id:r,...n,__css:a})});mW.displayName="ModalHeader";var mz={initial:"exit",animate:"enter",exit:"exit",variants:{enter:({transition:e,transitionEnd:t,delay:i}={})=>{var n;return{opacity:1,transition:null!=(n=null==e?void 0:e.enter)?n:aX.enter(aJ.enter,i),transitionEnd:null==t?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:i}={})=>{var n;return{opacity:0,transition:null!=(n=null==e?void 0:e.exit)?n:aX.exit(aJ.exit,i),transitionEnd:null==t?void 0:t.exit}}}},mU=(0,R.forwardRef)(function(e,t){let{unmountOnExit:i,in:n,className:r,transition:o,transitionEnd:s,delay:a,...l}=e,u={transition:o,transitionEnd:s,delay:a};return(0,T.jsx)(ar.M,{custom:u,children:(!i||n&&i)&&(0,T.jsx)(sb.E.div,{ref:t,className:$("chakra-fade",r),custom:u,...mz,animate:n||i?"enter":"exit",...l})})});mU.displayName="Fade";var m$=sE(sb.E.div),mq=sA((e,t)=>{let{className:i,transition:n,motionProps:r,...o}=e,s=$("chakra-modal__overlay",i),a={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...f6().overlay},{motionPreset:l}=f8(),u="none"===l?{}:mz,d=r||u;return(0,T.jsx)(m$,{...d,__css:a,ref:t,className:s,...o})});mq.displayName="ModalOverlay";var mK=sA((e,t)=>{let{className:i,...n}=e,{bodyId:r,setBodyMounted:o}=f8();(0,R.useEffect)(()=>(o(!0),()=>o(!1)),[o]);let s=$("chakra-modal__body",i),a=f6();return(0,T.jsx)(sE.div,{ref:t,className:s,id:r,...n,__css:a.body})});mK.displayName="ModalBody";var mG=sA((e,t)=>{let{onClick:i,className:n,...r}=e,{onClose:o}=f8(),s=$("chakra-modal__close-btn",n),a=f6();return(0,T.jsx)(s9,{ref:t,__css:a.closeButton,className:s,onClick:J(i,e=>{e.stopPropagation(),o()}),...r})});mG.displayName="ModalCloseButton";var mZ=e=>(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})}),mY=e=>(0,T.jsx)(sG,{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})});function mQ(e,t,i,n){(0,R.useEffect)(()=>{var r;if(!e.current||!n)return;let o=null!=(r=e.current.ownerDocument.defaultView)?r:window,s=Array.isArray(t)?t:[t],a=new o.MutationObserver(e=>{for(let t of e)"attributes"===t.type&&t.attributeName&&s.includes(t.attributeName)&&i(t)});return a.observe(e.current,{attributes:!0,attributeFilter:s}),()=>a.disconnect()})}var mJ=/^[Ee0-9+\-.]$/;function mX(e){return mJ.test(e)}function m0(e={}){let{focusInputOnChange:t=!0,clampValueOnBlur:i=!0,keepWithinRange:n=!0,min:r=Number.MIN_SAFE_INTEGER,max:o=Number.MAX_SAFE_INTEGER,step:s=1,isReadOnly:a,isDisabled:l,isRequired:u,isInvalid:d,pattern:c="[0-9]*(.[0-9]+)?",inputMode:h="decimal",allowMouseWheel:g,id:p,onChange:f,precision:m,name:v,"aria-describedby":b,"aria-label":y,"aria-labelledby":_,onFocus:w,onBlur:C,onInvalid:S,getAriaValueText:x,isValidCharacter:k,format:E,parse:L,...D}=e,N=sf(w),A=sf(C),T=sf(S),I=sf(null!=k?k:mX),M=sf(x),O=ug(e),{update:P,increment:F,decrement:B}=O,[V,H]=(0,R.useState)(!1),j=!(a||l),W=(0,R.useRef)(null),z=(0,R.useRef)(null),U=(0,R.useRef)(null),$=(0,R.useRef)(null),q=(0,R.useCallback)(e=>e.split("").filter(I).join(""),[I]),K=(0,R.useCallback)(e=>{var t;return null!=(t=null==L?void 0:L(e))?t:e},[L]),G=(0,R.useCallback)(e=>{var t;return(null!=(t=null==E?void 0:E(e))?t:e).toString()},[E]);sm(()=>{O.valueAsNumber>o?null==T||T("rangeOverflow",G(O.value),O.valueAsNumber):O.valueAsNumber{if(W.current&&W.current.value!=O.value){let e=K(W.current.value);O.setValue(q(e))}},[K,q]);let Z=(0,R.useCallback)((e=s)=>{j&&F(e)},[F,j,s]),Y=(0,R.useCallback)((e=s)=>{j&&B(e)},[B,j,s]),X=function(e,t){var i;let n,[r,o]=(0,R.useState)(!1),[s,a]=(0,R.useState)(null),[l,u]=(0,R.useState)(!0),d=(0,R.useRef)(null),c=()=>clearTimeout(d.current);i=r?50:null,n=sf(()=>{"increment"===s&&e(),"decrement"===s&&t()}),(0,R.useEffect)(()=>{let e=null;return null!==i&&(e=window.setInterval(()=>n(),i)),()=>{e&&window.clearInterval(e)}},[i,n]);let h=(0,R.useCallback)(()=>{l&&e(),d.current=setTimeout(()=>{u(!1),o(!0),a("increment")},300)},[e,l]),g=(0,R.useCallback)(()=>{l&&t(),d.current=setTimeout(()=>{u(!1),o(!0),a("decrement")},300)},[t,l]),p=(0,R.useCallback)(()=>{u(!0),o(!1),c()},[]);return(0,R.useEffect)(()=>()=>c(),[]),{up:h,down:g,stop:p,isSpinning:r}}(Z,Y);mQ(U,"disabled",X.stop,X.isSpinning),mQ($,"disabled",X.stop,X.isSpinning);let ee=(0,R.useCallback)(e=>{e.nativeEvent.isComposing||(P(q(K(e.currentTarget.value))),z.current={start:e.currentTarget.selectionStart,end:e.currentTarget.selectionEnd})},[P,q,K]),et=(0,R.useCallback)(e=>{var t,i,n;null==N||N(e),z.current&&(e.target.selectionStart=null!=(i=z.current.start)?i:null==(t=e.currentTarget.value)?void 0:t.length,e.currentTarget.selectionEnd=null!=(n=z.current.end)?n:e.currentTarget.selectionStart)},[N]),ei=(0,R.useCallback)(e=>{if(e.nativeEvent.isComposing)return;!function(e,t){if(null==e.key)return!0;let i=e.ctrlKey||e.altKey||e.metaKey;return 1!==e.key.length||!!i||t(e.key)}(e,I)&&e.preventDefault();let t=en(e)*s,i={ArrowUp:()=>Z(t),ArrowDown:()=>Y(t),Home:()=>P(r),End:()=>P(o)}[e.key];i&&(e.preventDefault(),i(e))},[I,s,Z,Y,P,r,o]),en=e=>{let t=1;return(e.metaKey||e.ctrlKey)&&(t=.1),e.shiftKey&&(t=10),t},er=(0,R.useMemo)(()=>{let e=null==M?void 0:M(O.value);return null!=e?e:O.value.toString()||void 0},[O.value,M]),eo=(0,R.useCallback)(()=>{let e=O.value;""!==O.value&&(/^[eE]/.test(O.value.toString())?O.setValue(""):(O.valueAsNumbero&&(e=o),O.cast(e)))},[O,o,r]),es=(0,R.useCallback)(()=>{H(!1),i&&eo()},[i,H,eo]),ea=(0,R.useCallback)(()=>{t&&requestAnimationFrame(()=>{var e;null==(e=W.current)||e.focus()})},[t]),el=(0,R.useCallback)(e=>{e.preventDefault(),X.up(),ea()},[ea,X]),eu=(0,R.useCallback)(e=>{e.preventDefault(),X.down(),ea()},[ea,X]);uE(()=>W.current,"wheel",e=>{var t,i;let n=(null!=(i=null==(t=W.current)?void 0:t.ownerDocument)?i:document).activeElement===W.current;if(!g||!n)return;e.preventDefault();let r=en(e)*s,o=Math.sign(e.deltaY);-1===o?Z(r):1===o&&Y(r)},{passive:!1});let ed=(0,R.useCallback)((e={},t=null)=>{let i=l||n&&O.isAtMax;return{...e,ref:aN(t,U),role:"button",tabIndex:-1,onPointerDown:J(e.onPointerDown,e=>{0!==e.button||i||el(e)}),onPointerLeave:J(e.onPointerLeave,X.stop),onPointerUp:J(e.onPointerUp,X.stop),disabled:i,"aria-disabled":Q(i)}},[O.isAtMax,n,el,X.stop,l]),ec=(0,R.useCallback)((e={},t=null)=>{let i=l||n&&O.isAtMin;return{...e,ref:aN(t,$),role:"button",tabIndex:-1,onPointerDown:J(e.onPointerDown,e=>{0!==e.button||i||eu(e)}),onPointerLeave:J(e.onPointerLeave,X.stop),onPointerUp:J(e.onPointerUp,X.stop),disabled:i,"aria-disabled":Q(i)}},[O.isAtMin,n,eu,X.stop,l]),eh=(0,R.useCallback)((e={},t=null)=>{var i,n,s,g;return{name:v,inputMode:h,type:"text",pattern:c,"aria-labelledby":_,"aria-label":y,"aria-describedby":b,id:p,disabled:l,...e,readOnly:null!=(i=e.readOnly)?i:a,"aria-readonly":null!=(n=e.readOnly)?n:a,"aria-required":null!=(s=e.required)?s:u,required:null!=(g=e.required)?g:u,ref:aN(W,t),value:G(O.value),role:"spinbutton","aria-valuemin":r,"aria-valuemax":o,"aria-valuenow":Number.isNaN(O.valueAsNumber)?void 0:O.valueAsNumber,"aria-invalid":Q(null!=d?d:O.isOutOfRange),"aria-valuetext":er,autoComplete:"off",autoCorrect:"off",onChange:J(e.onChange,ee),onKeyDown:J(e.onKeyDown,ei),onFocus:J(e.onFocus,et,()=>H(!0)),onBlur:J(e.onBlur,A,es)}},[v,h,c,_,y,G,b,p,l,u,a,d,O.value,O.valueAsNumber,O.isOutOfRange,r,o,er,ee,ei,et,A,es]);return{value:G(O.value),valueAsNumber:O.valueAsNumber,isFocused:V,isDisabled:l,isReadOnly:a,getIncrementButtonProps:ed,getDecrementButtonProps:ec,getInputProps:eh,htmlProps:D}}var[m1,m2]=F({name:"NumberInputStylesContext",errorMessage:"useNumberInputStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),[m6,m3]=F({name:"NumberInputContext",errorMessage:"useNumberInputContext: `context` is undefined. Seems you forgot to wrap number-input's components within "}),m8=sA(function(e,t){let i=s$("NumberInput",e),{htmlProps:n,...r}=m0(lG(tL(e))),o=(0,R.useMemo)(()=>r,[r]);return(0,T.jsx)(m6,{value:o,children:(0,T.jsx)(m1,{value:i,children:(0,T.jsx)(sE.div,{...n,ref:t,className:$("chakra-numberinput",e.className),__css:{position:"relative",zIndex:0,...i.root}})})})});m8.displayName="NumberInput";var m5=sA(function(e,t){let i=m2();return(0,T.jsx)(sE.div,{"aria-hidden":!0,ref:t,...e,__css:{display:"flex",flexDirection:"column",position:"absolute",top:"0",insetEnd:"0px",margin:"1px",height:"calc(100% - 2px)",zIndex:1,...i.stepperGroup}})});m5.displayName="NumberInputStepper";var m4=sA(function(e,t){let{getInputProps:i}=m3(),n=i(e,t),r=m2();return(0,T.jsx)(sE.input,{...n,className:$("chakra-numberinput__field",e.className),__css:{width:"100%",...r.field}})});m4.displayName="NumberInputField";var m9=sE("div",{baseStyle:{display:"flex",justifyContent:"center",alignItems:"center",flex:1,transitionProperty:"common",transitionDuration:"normal",userSelect:"none",cursor:"pointer",lineHeight:"normal"}}),m7=sA(function(e,t){var i;let n=m2(),{getDecrementButtonProps:r}=m3(),o=r(e,t);return(0,T.jsx)(m9,{...o,__css:n.stepper,children:null!=(i=e.children)?i:(0,T.jsx)(mZ,{})})});m7.displayName="NumberDecrementStepper";var ve=sA(function(e,t){var i;let{getIncrementButtonProps:n}=m3(),r=n(e,t),o=m2();return(0,T.jsx)(m9,{...r,__css:o.stepper,children:null!=(i=e.children)?i:(0,T.jsx)(mY,{})})});ve.displayName="NumberIncrementStepper";var[vt,vi,vn,vr]=aI(),[vo,vs]=F({name:"PinInputContext",errorMessage:"usePinInputContext: `context` is undefined. Seems you forgot to all pin input fields within ``"}),va=e=>null==e?void 0:e.split("");function vl(e,t){return("alphanumeric"===t?/^[a-zA-Z0-9]+$/i:/^[0-9]+$/).test(e)}function vu(e={}){let{autoFocus:t,value:i,defaultValue:n,onChange:r,onComplete:o,placeholder:s="○",manageFocus:a=!0,otp:l=!1,id:u,isDisabled:d,isInvalid:c,type:h="number",mask:g}=e,p=(0,R.useId)(),f=null!=u?u:`pin-input-${p}`,m=vn(),[v,b]=(0,R.useState)(!0),[y,_]=(0,R.useState)(-1),[w,C]=aW({defaultValue:va(n)||[],value:va(i),onChange:e=>null==r?void 0:r(e.join(""))});(0,R.useEffect)(()=>{if(t){let e=m.first();e&&requestAnimationFrame(()=>{e.node.focus()})}},[m]);let S=(0,R.useCallback)(e=>{if(!v||!a)return;let t=m.next(e,!1);t&&requestAnimationFrame(()=>{t.node.focus()})},[m,v,a]),x=(0,R.useCallback)((e,t,i=!0)=>{let n=[...w];n[t]=e,C(n),""!==e&&n.length===m.count()&&n.every(e=>null!=e&&""!==e)?null==o||o(n.join("")):i&&S(t)},[w,C,S,o,m]),k=(0,R.useCallback)(()=>{var e;C(Array(m.count()).fill(""));let t=m.first();null==(e=null==t?void 0:t.node)||e.focus()},[m,C]),E=(0,R.useCallback)((e,t)=>{let i=t;return(null==e?void 0:e.length)>0&&(e[0]===t.charAt(0)?i=t.charAt(1):e[0]===t.charAt(1)&&(i=t.charAt(0))),i},[]);return{getInputProps:(0,R.useCallback)(e=>{let{index:t,...i}=e,n=y===t,r="number"===h?"tel":"text";return{"aria-label":"Please enter your pin code",inputMode:"number"===h?"numeric":"text",type:g?"password":r,...i,id:`${f}-${t}`,disabled:d,"aria-invalid":Q(c),onChange:J(i.onChange,e=>{let i=e.target.value,n=E(w[t],i);if(""===n){x("",t);return}if(i.length>2){if(vl(i,h)){let e=i.split("").filter((e,t)=>t{var i;if("Backspace"===e.key&&a){if(""===e.target.value){let e=m.prev(t,!1);e&&(x("",t-1,!1),null==(i=e.node)||i.focus(),b(!0))}else b(!1)}}),onFocus:J(i.onFocus,()=>{_(t)}),onBlur:J(i.onBlur,()=>{_(-1)}),value:w[t]||"",autoComplete:l?"one-time-code":"off",placeholder:n?"":s}},[m,y,E,f,d,g,c,a,o,l,s,x,C,h,w]),id:f,descendants:m,values:w,setValue:x,setValues:C,clear:k}}function vd(e={},t=null){let{getInputProps:i}=vs(),{index:n,register:r}=vr();return i({...e,ref:aN(r,t),index:n})}function vc(e){let t=sU("PinInput",e),{children:i,...n}=tL(e),{descendants:r,...o}=vu(n),s=lu(i).map(e=>(0,R.cloneElement)(e,{__css:t}));return(0,T.jsx)(vt,{value:r,children:(0,T.jsx)(vo,{value:o,children:s})})}vc.displayName="PinInput";var vh=sA(function(e,t){let i=vd(e,t);return(0,T.jsx)(sE.input,{...i,className:$("chakra-pin-input",e.className)})});vh.displayName="PinInputField";var[vg,vp]=F({name:"PopoverContext",errorMessage:"usePopoverContext: `context` is undefined. Seems you forgot to wrap all popover components within ``"}),[vf,vm]=F({name:"PopoverStylesContext",errorMessage:"usePopoverStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),vv=sA(function(e,t){let{getHeaderProps:i}=vp(),n=vm();return(0,T.jsx)(sE.header,{...i(e,t),className:$("chakra-popover__header",e.className),__css:n.header})});function vb(e){let t=R.Children.only(e.children),{getTriggerProps:i}=vp();return(0,R.cloneElement)(t,i(t.props,t.ref))}vv.displayName="PopoverHeader",vb.displayName="PopoverTrigger";var vy={click:"click",hover:"hover"};function v_(e={}){let{closeOnBlur:t=!0,closeOnEsc:i=!0,initialFocusRef:n,id:r,returnFocusOnClose:o=!0,autoFocus:s=!0,arrowSize:a,arrowShadowColor:l,trigger:u=vy.click,openDelay:d=200,closeDelay:c=200,isLazy:h,lazyBehavior:g="unmount",computePositionOnMount:p,...f}=e,{isOpen:m,onClose:v,onOpen:b,onToggle:y}=p5(e),_=(0,R.useRef)(null),w=(0,R.useRef)(null),C=(0,R.useRef)(null),S=(0,R.useRef)(!1),x=(0,R.useRef)(!1);m&&(x.current=!0);let[k,E]=(0,R.useState)(!1),[L,D]=(0,R.useState)(!1),N=(0,R.useId)(),A=null!=r?r:N,[T,I,M,O]=["popover-trigger","popover-content","popover-header","popover-body"].map(e=>`${e}-${A}`),{referenceRef:P,getArrowProps:F,getPopperProps:B,getArrowInnerProps:V,forceUpdate:H}=p8({...f,enabled:m||!!p}),j=p7({isOpen:m,ref:C});uI({enabled:m,ref:w}),gY(C,{focusRef:w,visible:m,shouldFocus:o&&u===vy.click}),function(e,t=gQ){let{focusRef:i,preventScroll:n,shouldFocus:r,visible:o}=t,s="current"in e?e.current:e,a=r&&o,l=(0,R.useRef)(a),u=(0,R.useRef)(o);t0(()=>{!u.current&&o&&(l.current=a),u.current=o},[o,a]);let d=(0,R.useCallback)(()=>{if(o&&s&&l.current&&(l.current=!1,!s.contains(document.activeElement))){if(null==i?void 0:i.current)requestAnimationFrame(()=>{var e;null==(e=i.current)||e.focus({preventScroll:n})});else{let e=co(s);e.length>0&&requestAnimationFrame(()=>{e[0].focus({preventScroll:n})})}}},[o,n,s,i]);sm(()=>{d()},[d]),uE(s,"transitionend",d)}(C,{focusRef:n,visible:m,shouldFocus:s&&u===vy.click});let W=fe({wasSelected:x.current,enabled:h,mode:g,isSelected:j.present}),z=(0,R.useCallback)((e={},n=null)=>{let r={...e,style:{...e.style,transformOrigin:gX.transformOrigin.varRef,[gX.arrowSize.var]:a?`${a}px`:void 0,[gX.arrowShadowColor.var]:l},ref:aN(C,n),children:W?e.children:null,id:I,tabIndex:-1,role:"dialog",onKeyDown:J(e.onKeyDown,e=>{i&&"Escape"===e.key&&v()}),onBlur:J(e.onBlur,e=>{let i=vC(e),n=vw(C.current,i),r=vw(w.current,i);m&&t&&!n&&!r&&v()}),"aria-labelledby":k?M:void 0,"aria-describedby":L?O:void 0};return u===vy.hover&&(r.role="tooltip",r.onMouseEnter=J(e.onMouseEnter,()=>{S.current=!0}),r.onMouseLeave=J(e.onMouseLeave,e=>{null!==e.nativeEvent.relatedTarget&&(S.current=!1,setTimeout(()=>v(),c))})),r},[W,I,k,M,L,O,u,i,v,m,t,c,l,a]),U=(0,R.useCallback)((e={},t=null)=>B({...e,style:{visibility:m?"visible":"hidden",...e.style}},t),[m,B]),$=(0,R.useCallback)((e,t=null)=>({...e,ref:aN(t,_,P)}),[_,P]),q=(0,R.useRef)(),K=(0,R.useRef)(),G=(0,R.useCallback)(e=>{null==_.current&&P(e)},[P]),Z=(0,R.useCallback)((e={},i=null)=>{let n={...e,ref:aN(w,i,G),id:T,"aria-haspopup":"dialog","aria-expanded":m,"aria-controls":I};return u===vy.click&&(n.onClick=J(e.onClick,y)),u===vy.hover&&(n.onFocus=J(e.onFocus,()=>{void 0===q.current&&b()}),n.onBlur=J(e.onBlur,e=>{let i=vC(e),n=!vw(C.current,i);m&&t&&n&&v()}),n.onKeyDown=J(e.onKeyDown,e=>{"Escape"===e.key&&v()}),n.onMouseEnter=J(e.onMouseEnter,()=>{S.current=!0,q.current=window.setTimeout(()=>b(),d)}),n.onMouseLeave=J(e.onMouseLeave,()=>{S.current=!1,q.current&&(clearTimeout(q.current),q.current=void 0),K.current=window.setTimeout(()=>{!1===S.current&&v()},c)})),n},[T,m,I,u,G,y,b,t,v,d,c]);(0,R.useEffect)(()=>()=>{q.current&&clearTimeout(q.current),K.current&&clearTimeout(K.current)},[]);let Y=(0,R.useCallback)((e={},t=null)=>({...e,id:M,ref:aN(t,e=>{E(!!e)})}),[M]),Q=(0,R.useCallback)((e={},t=null)=>({...e,id:O,ref:aN(t,e=>{D(!!e)})}),[O]);return{forceUpdate:H,isOpen:m,onAnimationComplete:j.onComplete,onClose:v,getAnchorProps:$,getArrowProps:F,getArrowInnerProps:V,getPopoverPositionerProps:U,getPopoverProps:z,getTriggerProps:Z,getHeaderProps:Y,getBodyProps:Q}}function vw(e,t){return e===t||(null==e?void 0:e.contains(t))}function vC(e){var t;let i=e.currentTarget.ownerDocument.activeElement;return null!=(t=e.relatedTarget)?t:i}function vS(e){let t=s$("Popover",e),{children:i,...n}=tL(e),r=sT(),o=v_({...n,direction:r.direction});return(0,T.jsx)(vg,{value:o,children:(0,T.jsx)(vf,{value:t,children:G(i,{isOpen:o.isOpen,onClose:o.onClose,forceUpdate:o.forceUpdate})})})}function vx(e){let t=R.Children.only(e.children),{getAnchorProps:i}=vp();return(0,R.cloneElement)(t,i(t.props,t.ref))}vS.displayName="Popover",vx.displayName="PopoverAnchor";var vk=(e,t)=>t?`${e}.${t}, ${t}`:void 0;function vE(e){var t;let{bg:i,bgColor:n,backgroundColor:r,shadow:o,boxShadow:s,shadowColor:a}=e,{getArrowProps:l,getArrowInnerProps:u}=vp(),d=vm(),c=null!=(t=null!=i?i:n)?t:r,h=null!=o?o:s;return(0,T.jsx)(sE.div,{...l(),className:"chakra-popover__arrow-positioner",children:(0,T.jsx)(sE.div,{className:$("chakra-popover__arrow",e.className),...u(e),__css:{"--popper-arrow-shadow-color":vk("colors",a),"--popper-arrow-bg":vk("colors",c),"--popper-arrow-shadow":vk("shadows",h),...d.arrow}})})}vE.displayName="PopoverArrow";var vL=sA(function(e,t){let{getBodyProps:i}=vp(),n=vm();return(0,T.jsx)(sE.div,{...i(e,t),className:$("chakra-popover__body",e.className),__css:n.body})});vL.displayName="PopoverBody";var vD=sA(function(e,t){let{onClose:i}=vp(),n=vm();return(0,T.jsx)(s9,{size:"sm",onClick:i,className:$("chakra-popover__close-btn",e.className),__css:n.closeButton,ref:t,...e})});vD.displayName="PopoverCloseButton";var vN={exit:{opacity:0,scale:.95,transition:{duration:.1,ease:[.4,0,1,1]}},enter:{scale:1,opacity:1,transition:{duration:.15,ease:[0,0,.2,1]}}},vA=sE(sb.E.section),vT=sA(function(e,t){let{variants:i=vN,...n}=e,{isOpen:r}=vp();return(0,T.jsx)(vA,{ref:t,variants:function(e){if(e)return{enter:{...e.enter,visibility:"visible"},exit:{...e.exit,transitionEnd:{visibility:"hidden"}}}}(i),initial:!1,animate:r?"enter":"exit",...n})});vT.displayName="PopoverTransition";var vI=sA(function(e,t){let{rootProps:i,motionProps:n,...r}=e,{getPopoverProps:o,getPopoverPositionerProps:s,onAnimationComplete:a}=vp(),l=vm(),u={position:"relative",display:"flex",flexDirection:"column",...l.content};return(0,T.jsx)(sE.div,{...s(i),__css:l.popper,className:"chakra-popover__popper",children:(0,T.jsx)(vT,{...n,...o(r,t),onAnimationComplete:X(a,r.onAnimationComplete),className:$("chakra-popover__content",e.className),__css:u})})});function vM(e){let t=vm();return(0,T.jsx)(sE.footer,{...e,className:$("chakra-popover__footer",e.className),__css:t.footer})}vI.displayName="PopoverContent",vM.displayName="PopoverFooter";var vO=sE("div",{baseStyle:{fontSize:"0.24em",top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)"}});vO.displayName="CircularProgressLabel";var vP=e=>(0,T.jsx)(sE.circle,{cx:50,cy:50,r:42,fill:"transparent",...e});vP.displayName="Circle";var vR=(0,A.keyframes)({"0%":{strokeDasharray:"1, 400",strokeDashoffset:"0"},"50%":{strokeDasharray:"400, 400",strokeDashoffset:"-100"},"100%":{strokeDasharray:"400, 400",strokeDashoffset:"-260"}}),vF=(0,A.keyframes)({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),vB=(0,A.keyframes)({"0%":{left:"-40%"},"100%":{left:"100%"}}),vV=(0,A.keyframes)({from:{backgroundPosition:"1rem 0"},to:{backgroundPosition:"0 0"}});function vH(e){let{value:t=0,min:i,max:n,valueText:r,getValueText:o,isIndeterminate:s,role:a="progressbar"}=e,l=(t-i)*100/(n-i);return{bind:{"data-indeterminate":s?"":void 0,"aria-valuemax":n,"aria-valuemin":i,"aria-valuenow":s?void 0:t,"aria-valuetext":(()=>{if(null!=t)return"function"==typeof o?o(t,l):r})(),role:a},percent:l,value:t}}var vj=e=>{let{size:t,isIndeterminate:i,...n}=e;return(0,T.jsx)(sE.svg,{viewBox:"0 0 100 100",__css:{width:t,height:t,animation:i?`${vF} 2s linear infinite`:void 0},...n})};vj.displayName="Shape";var vW=sA((e,t)=>{var i;let{size:n="48px",max:r=100,min:o=0,valueText:s,getValueText:a,value:l,capIsRound:u,children:d,thickness:c="10px",color:h="#0078d4",trackColor:g="#edebe9",isIndeterminate:p,...f}=e,m=vH({min:o,max:r,value:l,valueText:s,getValueText:a,isIndeterminate:p}),v=p?void 0:(null!=(i=m.percent)?i:0)*2.64,b=null==v?void 0:`${v} ${264-v}`,y=p?{css:{animation:`${vR} 1.5s linear infinite`}}:{strokeDashoffset:66,strokeDasharray:b,transitionProperty:"stroke-dasharray, stroke",transitionDuration:"0.6s",transitionTimingFunction:"ease"};return(0,T.jsxs)(sE.div,{ref:t,className:"chakra-progress",...m.bind,...f,__css:{display:"inline-block",position:"relative",verticalAlign:"middle",fontSize:n},children:[(0,T.jsxs)(vj,{size:n,isIndeterminate:p,children:[(0,T.jsx)(vP,{stroke:g,strokeWidth:c,className:"chakra-progress__track"}),(0,T.jsx)(vP,{stroke:h,strokeWidth:c,className:"chakra-progress__indicator",strokeLinecap:u?"round":void 0,opacity:0!==m.value||p?void 0:0,...y})]}),d]})});vW.displayName="CircularProgress";var[vz,vU]=F({name:"ProgressStylesContext",errorMessage:"useProgressStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),v$=sA((e,t)=>{let{min:i,max:n,value:r,isIndeterminate:o,role:s,...a}=e,l=vH({value:r,min:i,max:n,isIndeterminate:o,role:s}),u={height:"100%",...vU().filledTrack};return(0,T.jsx)(sE.div,{ref:t,style:{width:`${l.percent}%`,...a.style},...l.bind,...a,__css:u})}),vq=sA((e,t)=>{var i;let{value:n,min:r=0,max:o=100,hasStripe:s,isAnimated:a,children:l,borderRadius:u,isIndeterminate:d,"aria-label":c,"aria-labelledby":h,"aria-valuetext":g,title:p,role:f,...m}=tL(e),v=s$("Progress",e),b=null!=u?u:null==(i=v.track)?void 0:i.borderRadius,y={animation:`${vV} 1s linear infinite`},_={...!d&&s&&a&&y,...d&&{position:"absolute",willChange:"left",minWidth:"50%",animation:`${vB} 1s ease infinite normal none running`}},w={overflow:"hidden",position:"relative",...v.track};return(0,T.jsx)(sE.div,{ref:t,borderRadius:b,__css:w,...m,children:(0,T.jsxs)(vz,{value:v,children:[(0,T.jsx)(v$,{"aria-label":c,"aria-labelledby":h,"aria-valuetext":g,min:r,max:o,value:n,isIndeterminate:d,css:_,borderRadius:b,title:p,role:f}),l]})})});vq.displayName="Progress";var vK=e=>{let t={top:"50%",left:"50%",width:"100%",textAlign:"center",position:"absolute",transform:"translate(-50%, -50%)",...vU().label};return(0,T.jsx)(sE.div,{...e,__css:t})};function vG(e={}){let{onChange:t,value:i,defaultValue:n,name:r,isDisabled:o,isFocusable:s,isNative:a,...l}=e,[u,d]=(0,R.useState)(n||""),c=void 0!==i,h=c?i:u,g=(0,R.useRef)(null),p=(0,R.useCallback)(()=>{let e=g.current;if(!e)return;let t="input:not(:disabled):checked",i=e.querySelector(t);if(i){i.focus();return}t="input:not(:disabled)";let n=e.querySelector(t);null==n||n.focus()},[]),f=`radio-${(0,R.useId)()}`,m=r||f,v=(0,R.useCallback)(e=>{let i=e&&q(e)&&q(e.target)?e.target.value:e;c||d(i),null==t||t(String(i))},[t,c]);return{getRootProps:(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(t,g),role:"radiogroup"}),[]),getRadioProps:(0,R.useCallback)((e={},t=null)=>{let i=a?"checked":"isChecked";return{...e,ref:t,name:m,[i]:null!=h?e.value===h:void 0,onChange(e){v(e)},"data-radiogroup":!0}},[a,m,v,h]),name:m,ref:g,focus:p,setValue:d,value:h,onChange:v,isDisabled:o,isFocusable:s,htmlProps:l}}vK.displayName="ProgressLabel";var[vZ,vY]=F({name:"RadioGroupContext",strict:!1}),vQ=sA((e,t)=>{let{colorScheme:i,size:n,variant:r,children:o,className:s,isDisabled:a,isFocusable:l,...u}=e,{value:d,onChange:c,getRootProps:h,name:g,htmlProps:p}=vG(u),f=(0,R.useMemo)(()=>({name:g,size:n,onChange:c,colorScheme:i,value:d,variant:r,isDisabled:a,isFocusable:l}),[g,n,c,i,d,r,a,l]);return(0,T.jsx)(vZ,{value:f,children:(0,T.jsx)(sE.div,{...h(p,t),className:$("chakra-radio-group",s),children:o})})});vQ.displayName="RadioGroup";var vJ={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"};function vX(e={}){let{defaultChecked:t,isChecked:i,isFocusable:n,isDisabled:r,isReadOnly:o,isRequired:s,onChange:a,isInvalid:l,name:u,value:d,id:c,"data-radiogroup":h,"aria-describedby":g,...p}=e,f=`radio-${(0,R.useId)()}`,m=lU(),v=vY(),b=m&&!(v||h)?m.id:f;b=null!=c?c:b;let y=null!=r?r:null==m?void 0:m.isDisabled,_=null!=o?o:null==m?void 0:m.isReadOnly,w=null!=s?s:null==m?void 0:m.isRequired,C=null!=l?l:null==m?void 0:m.isInvalid,[S,x]=(0,R.useState)(!1),[k,E]=(0,R.useState)(!1),[L,D]=(0,R.useState)(!1),[N,A]=(0,R.useState)(!1),[T,I]=(0,R.useState)(!!t),M=void 0!==i,O=M?i:T;(0,R.useEffect)(()=>l7(x),[]);let P=(0,R.useCallback)(e=>{if(_||y){e.preventDefault();return}M||I(e.target.checked),null==a||a(e)},[M,y,_,a]),F=(0,R.useCallback)(e=>{" "===e.key&&A(!0)},[A]),B=(0,R.useCallback)(e=>{" "===e.key&&A(!1)},[A]),V=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,"data-active":Y(N),"data-hover":Y(L),"data-disabled":Y(y),"data-invalid":Y(C),"data-checked":Y(O),"data-focus":Y(k),"data-focus-visible":Y(k&&S),"data-readonly":Y(_),"aria-hidden":!0,onMouseDown:J(e.onMouseDown,()=>A(!0)),onMouseUp:J(e.onMouseUp,()=>A(!1)),onMouseEnter:J(e.onMouseEnter,()=>D(!0)),onMouseLeave:J(e.onMouseLeave,()=>D(!1))}),[N,L,y,C,O,k,_,S]),{onFocus:H,onBlur:j}=null!=m?m:{},W=(0,R.useCallback)((e={},t=null)=>{let i=y&&!n;return{...e,id:b,ref:t,type:"radio",name:u,value:d,onChange:J(e.onChange,P),onBlur:J(j,e.onBlur,()=>E(!1)),onFocus:J(H,e.onFocus,()=>E(!0)),onKeyDown:J(e.onKeyDown,F),onKeyUp:J(e.onKeyUp,B),checked:O,disabled:i,readOnly:_,required:w,"aria-invalid":Q(C),"aria-disabled":Q(i),"aria-required":Q(w),"data-readonly":Y(_),"aria-describedby":g,style:vJ}},[y,n,b,u,d,P,j,H,F,B,O,_,w,C,g]);return{state:{isInvalid:C,isFocused:k,isChecked:O,isActive:N,isHovered:L,isDisabled:y,isReadOnly:_,isRequired:w},getCheckboxProps:V,getRadioProps:V,getInputProps:W,getLabelProps:(e={},t=null)=>({...e,ref:t,onMouseDown:J(e.onMouseDown,v0),"data-disabled":Y(y),"data-checked":Y(O),"data-invalid":Y(C)}),getRootProps:(e,t=null)=>({...e,ref:t,"data-disabled":Y(y),"data-checked":Y(O),"data-invalid":Y(C)}),htmlProps:p}}function v0(e){e.preventDefault(),e.stopPropagation()}var v1=sA((e,t)=>{var i;let n=vY(),{onChange:r,value:o}=e,s=s$("Radio",{...n,...e}),{spacing:a="0.5rem",children:l,isDisabled:u=null==n?void 0:n.isDisabled,isFocusable:d=null==n?void 0:n.isFocusable,inputProps:c,...h}=tL(e),g=e.isChecked;(null==n?void 0:n.value)!=null&&null!=o&&(g=n.value===o);let p=r;(null==n?void 0:n.onChange)&&null!=o&&(p=X(n.onChange,r));let f=null!=(i=null==e?void 0:e.name)?i:null==n?void 0:n.name,{getInputProps:m,getCheckboxProps:v,getLabelProps:b,getRootProps:y,htmlProps:_}=vX({...h,isChecked:g,isFocusable:d,isDisabled:u,onChange:p,name:f}),[w,C]=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e))t.includes(r)?i[r]=o:n[r]=o;return[i,n]}(_,tg),S=v(C),x=m(c,t),k=b(),E=Object.assign({},w,y()),L={display:"inline-flex",alignItems:"center",verticalAlign:"top",cursor:"pointer",position:"relative",...s.container},D={display:"inline-flex",alignItems:"center",justifyContent:"center",flexShrink:0,...s.control},N={userSelect:"none",marginStart:a,...s.label};return(0,T.jsxs)(sE.label,{className:"chakra-radio",...E,__css:L,children:[(0,T.jsx)("input",{className:"chakra-radio__input",...x}),(0,T.jsx)(sE.span,{className:"chakra-radio__control",...S,__css:D}),l&&(0,T.jsx)(sE.span,{className:"chakra-radio__label",...k,__css:N,children:l})]})});v1.displayName="Radio";var v2=sA(function(e,t){let{children:i,placeholder:n,className:r,...o}=e;return(0,T.jsxs)(sE.select,{...o,ref:t,className:$("chakra-select",r),children:[n&&(0,T.jsx)("option",{value:"",children:n}),i]})});v2.displayName="SelectField";var v6=sA((e,t)=>{var i;let n=s$("Select",e),{rootProps:r,placeholder:o,icon:s,color:a,height:l,h:u,minH:d,minHeight:c,iconColor:h,iconSize:g,...p}=tL(e),[f,m]=function(e,t){let i={},n={};for(let[r,o]of Object.entries(e))t.includes(r)?i[r]=o:n[r]=o;return[i,n]}(p,tg),v=lK(m),b={paddingEnd:"2rem",...n.field,_focus:{zIndex:"unset",...null==(i=n.field)?void 0:i._focus}};return(0,T.jsxs)(sE.div,{className:"chakra-select__wrapper",__css:{width:"100%",height:"fit-content",position:"relative",color:a},...f,...r,children:[(0,T.jsx)(v2,{ref:t,height:null!=u?u:l,minH:null!=d?d:c,placeholder:o,...v,__css:b,children:e.children}),(0,T.jsx)(v5,{"data-disabled":Y(v.disabled),...(h||a)&&{color:h||a},__css:n.icon,...g&&{fontSize:g},children:s})]})});v6.displayName="Select";var v3=e=>(0,T.jsx)("svg",{viewBox:"0 0 24 24",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),v8=sE("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),v5=e=>{let{children:t=(0,T.jsx)(v3,{}),...i}=e,n=(0,R.cloneElement)(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return(0,T.jsx)(v8,{...i,className:"chakra-select__icon-wrapper",children:(0,R.isValidElement)(t)?n:null})};v5.displayName="SelectIcon";var v4=sE("div",{baseStyle:{boxShadow:"none",backgroundClip:"padding-box",cursor:"default",color:"transparent",pointerEvents:"none",userSelect:"none","&::before, &::after, *":{visibility:"hidden"}}}),v9=e2("skeleton-start-color"),v7=e2("skeleton-end-color"),be=(0,A.keyframes)({from:{opacity:0},to:{opacity:1}}),bt=(0,A.keyframes)({from:{borderColor:v9.reference,background:v9.reference},to:{borderColor:v7.reference,background:v7.reference}}),bi=sA((e,t)=>{let i={...e,fadeDuration:"number"==typeof e.fadeDuration?e.fadeDuration:.4,speed:"number"==typeof e.speed?e.speed:.8},n=sU("Skeleton",i),r=function(){let e=(0,R.useRef)(!0);return(0,R.useEffect)(()=>{e.current=!1},[]),e.current}(),{startColor:o="",endColor:s="",isLoaded:a,fadeDuration:l,speed:u,className:d,fitContent:c,...h}=tL(i),[g,p]=sM("colors",[o,s]),f=function(e){let t=(0,R.useRef)();return(0,R.useEffect)(()=>{t.current=e},[e]),t.current}(a),m=$("chakra-skeleton",d),v={...g&&{[v9.variable]:g},...p&&{[v7.variable]:p}};if(a){let e=r||f?"none":`${be} ${l}s`;return(0,T.jsx)(sE.div,{ref:t,className:m,__css:{animation:e},...h})}return(0,T.jsx)(v4,{ref:t,className:m,...h,__css:{width:c?"fit-content":void 0,...n,...v,_dark:{...n._dark,...v},animation:`${u}s linear infinite alternate ${bt}`}})});bi.displayName="Skeleton";var bn=({size:e="2rem",...t})=>(0,T.jsx)(bi,{borderRadius:"full",boxSize:e,...t});bn.displayName="SkeletonCircle";var br=e=>{let{noOfLines:t=3,spacing:i="0.5rem",skeletonHeight:n="0.5rem",className:r,startColor:o,endColor:s,isLoaded:a,fadeDuration:l,speed:u,variant:d,size:c,colorScheme:h,children:g,...p}=e,f=gK("number"==typeof t?[t]:t)||3,m=Array(f).fill(1).map((e,t)=>t+1),v=e=>f>1&&e===m.length?"80%":"100%",b=$("chakra-skeleton__group",r);return(0,T.jsx)(sE.div,{className:b,...p,children:m.map((e,t)=>{if(a&&t>0)return null;let r=a?null:{mb:e===m.length?"0":i,width:v(e),height:n};return(0,T.jsx)(bi,{startColor:o,endColor:s,isLoaded:a,fadeDuration:l,speed:u,variant:d,size:c,colorScheme:h,...r,children:0===t?g:void 0},m.length.toString()+e)})})};br.displayName="SkeletonText";var bo=e=>e?"":void 0,bs=e=>!!e||void 0,ba=(...e)=>e.filter(Boolean).join(" ");function bl(...e){return function(t){e.some(e=>(null==e||e(t),null==t?void 0:t.defaultPrevented))}}function bu(e){let{orientation:t,vertical:i,horizontal:n}=e;return"vertical"===t?i:n}var bd={width:0,height:0},bc=e=>e||bd;function bh(e){let{orientation:t,thumbPercents:i,thumbRects:n,isReversed:r}=e,o="vertical"===t?n.reduce((e,t)=>bc(e).height>bc(t).height?e:t,bd):n.reduce((e,t)=>bc(e).width>bc(t).width?e:t,bd),s={position:"relative",touchAction:"none",WebkitTapHighlightColor:"rgba(0,0,0,0)",userSelect:"none",outline:0,...bu({orientation:t,vertical:o?{paddingLeft:o.width/2,paddingRight:o.width/2}:{},horizontal:o?{paddingTop:o.height/2,paddingBottom:o.height/2}:{}})},a={position:"absolute",...bu({orientation:t,vertical:{left:"50%",transform:"translateX(-50%)",height:"100%"},horizontal:{top:"50%",transform:"translateY(-50%)",width:"100%"}})},l=1===i.length,u=[0,r?100-i[0]:i[0]],d=l?u:i,c=d[0];!l&&r&&(c=100-c);let h=Math.abs(d[d.length-1]-d[0]),g={...a,...bu({orientation:t,vertical:r?{height:`${h}%`,top:`${c}%`}:{height:`${h}%`,bottom:`${c}%`},horizontal:r?{width:`${h}%`,right:`${c}%`}:{width:`${h}%`,left:`${c}%`}})};return{trackStyle:a,innerTrackStyle:g,rootStyle:s,getThumbStyle:e=>{var r;let o=null!=(r=n[e])?r:bd;return{position:"absolute",userSelect:"none",WebkitUserSelect:"none",MozUserSelect:"none",msUserSelect:"none",touchAction:"none",...bu({orientation:t,vertical:{bottom:`calc(${i[e]}% - ${o.height/2}px)`},horizontal:{left:`calc(${i[e]}% - ${o.width/2}px)`}})}}}}function bg(e){let{isReversed:t,direction:i,orientation:n}=e;return"ltr"===i||"vertical"===n?t:!t}function bp(e,t="page"){return e.touches?function(e,t="page"){let i=e.touches[0]||e.changedTouches[0];return{x:i[`${t}X`],y:i[`${t}Y`]}}(e,t):function(e,t="page"){return{x:e[`${t}X`],y:e[`${t}Y`]}}(e,t)}function bf(e,t,i,n){var r;return r=function(e,t=!1){function i(t){e(t,{point:bp(t)})}return t?e=>{var t;let n;let r=void 0!==(n=null!=(t=e.view)?t:window).PointerEvent&&e instanceof n.PointerEvent?!("mouse"!==e.pointerType):e instanceof n.MouseEvent;(!r||r&&0===e.button)&&i(e)}:i}(i,"pointerdown"===t),e.addEventListener(t,r,n),()=>{e.removeEventListener(t,r,n)}}var bm=Object.defineProperty,bv=(e,t,i)=>t in e?bm(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,bb=(e,t,i)=>(bv(e,"symbol"!=typeof t?t+"":t,i),i),by=class{constructor(e,t,i){var n;if(bb(this,"history",[]),bb(this,"startEvent",null),bb(this,"lastEvent",null),bb(this,"lastEventInfo",null),bb(this,"handlers",{}),bb(this,"removeListeners",()=>{}),bb(this,"threshold",3),bb(this,"win"),bb(this,"updatePoint",()=>{if(!(this.lastEvent&&this.lastEventInfo))return;let e=bw(this.lastEventInfo,this.history),t=null!==this.startEvent,i=function(e,t){return"number"==typeof e&&"number"==typeof t?bS(e,t):bx(e)&&bx(t)?Math.sqrt(bS(e.x,t.x)**2+bS(e.y,t.y)**2):0}(e.offset,{x:0,y:0})>=this.threshold;if(!t&&!i)return;let{timestamp:n}=c7();this.history.push({...e.point,timestamp:n});let{onStart:r,onMove:o}=this.handlers;t||(null==r||r(this.lastEvent,e),this.startEvent=this.lastEvent),null==o||o(this.lastEvent,e)}),bb(this,"onPointerMove",(e,t)=>{this.lastEvent=e,this.lastEventInfo=t,c3.update(this.updatePoint,!0)}),bb(this,"onPointerUp",(e,t)=>{let i=bw(t,this.history),{onEnd:n,onSessionEnd:r}=this.handlers;null==r||r(e,i),this.end(),n&&this.startEvent&&(null==n||n(e,i))}),this.win=null!=(n=e.view)?n:window,function(e){return!!e.touches&&e.touches.length>1}(e))return;this.handlers=t,i&&(this.threshold=i),e.stopPropagation(),e.preventDefault();let r={point:bp(e)},{timestamp:o}=c7();this.history=[{...r.point,timestamp:o}];let{onSessionStart:s}=t;null==s||s(e,bw(r,this.history)),this.removeListeners=function(...e){return t=>e.reduce((e,t)=>t(e),t)}(bf(this.win,"pointermove",this.onPointerMove),bf(this.win,"pointerup",this.onPointerUp),bf(this.win,"pointercancel",this.onPointerUp))}updateHandlers(e){this.handlers=e}end(){var e;null==(e=this.removeListeners)||e.call(this),c8.update(this.updatePoint)}};function b_(e,t){return{x:e.x-t.x,y:e.y-t.y}}function bw(e,t){return{point:e.point,delta:b_(e.point,t[t.length-1]),offset:b_(e.point,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=e[e.length-1];for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>bC(.1)));)i--;if(!n)return{x:0,y:0};let o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}var bC=e=>1e3*e;function bS(e,t){return Math.abs(e-t)}function bx(e){return"x"in e&&"y"in e}function bk(e){let t=(0,R.useRef)(null);return t.current=e,t}function bE(e,t){let{onPan:i,onPanStart:n,onPanEnd:r,onPanSessionStart:o,onPanSessionEnd:s,threshold:a}=t,l=!!(i||n||r||o||s),u=(0,R.useRef)(null),d=bk({onSessionStart:o,onSessionEnd:s,onStart:n,onMove:i,onEnd(e,t){u.current=null,null==r||r(e,t)}});(0,R.useEffect)(()=>{var e;null==(e=u.current)||e.updateHandlers(d.current)}),(0,R.useEffect)(()=>{let t=e.current;if(t&&l)return bf(t,"pointerdown",function(e){u.current=new by(e,d.current,a)})},[e,l,d,a]),(0,R.useEffect)(()=>()=>{var e;null==(e=u.current)||e.end(),u.current=null},[])}var bL=(null==globalThis?void 0:globalThis.document)?R.useLayoutEffect:R.useEffect;function bD({getNodes:e,observeMutation:t=!0}){let[i,n]=(0,R.useState)([]),[r,o]=(0,R.useState)(0);return bL(()=>{let i=e(),r=i.map((e,t)=>(function(e,t){if(!e){t(void 0);return}t({width:e.offsetWidth,height:e.offsetHeight});let i=new(e.ownerDocument.defaultView??window).ResizeObserver(i=>{let n,r;if(!Array.isArray(i)||!i.length)return;let[o]=i;if("borderBoxSize"in o){let e=o.borderBoxSize,t=Array.isArray(e)?e[0]:e;n=t.inlineSize,r=t.blockSize}else n=e.offsetWidth,r=e.offsetHeight;t({width:n,height:r})});return i.observe(e,{box:"border-box"}),()=>i.unobserve(e)})(e,e=>{n(i=>[...i.slice(0,t),e,...i.slice(t+1)])}));if(t){let e=i[0];r.push(function(e,t){var i,n;if(!e||!e.parentElement)return;let r=new(null!=(n=null==(i=e.ownerDocument)?void 0:i.defaultView)?n:window).MutationObserver(()=>{t()});return r.observe(e.parentElement,{childList:!0}),()=>{r.disconnect()}}(e,()=>{o(e=>e+1)}))}return()=>{r.forEach(e=>{null==e||e()})}},[r]),i}function bN(e){var t,i;let{min:n=0,max:r=100,onChange:o,value:s,defaultValue:a,isReversed:l,direction:u="ltr",orientation:d="horizontal",id:c,isDisabled:h,isReadOnly:g,onChangeStart:p,onChangeEnd:f,step:m=1,getAriaValueText:v,"aria-valuetext":b,"aria-label":y,"aria-labelledby":_,name:w,focusThumbOnChange:C=!0,minStepsBetweenThumbs:S=0,...x}=e,k=sf(p),E=sf(f),L=sf(v),D=bg({isReversed:l,direction:u,orientation:d}),[N,A]=aW({value:s,defaultValue:null!=a?a:[25,75],onChange:o});if(!Array.isArray(N))throw TypeError(`[range-slider] You passed an invalid value for \`value\` or \`defaultValue\`, expected \`Array\` but got \`${typeof N}\``);let[T,I]=(0,R.useState)(!1),[M,O]=(0,R.useState)(!1),[P,F]=(0,R.useState)(-1),B=!(h||g),V=(0,R.useRef)(N),H=N.map(e=>uh(e,n,r)),j=(i=S*m,H.map((e,t)=>({min:0===t?n:H[t-1]+i,max:t===H.length-1?r:H[t+1]-i}))),W=(0,R.useRef)({eventSource:null,value:[],valueBounds:[]});W.current.value=H,W.current.valueBounds=j;let z=H.map(e=>r-e+n),U=(D?z:H).map(e=>(e-n)*100/(r-n)),$="vertical"===d,q=(0,R.useRef)(null),K=(0,R.useRef)(null),G=bD({getNodes(){let e=K.current,t=null==e?void 0:e.querySelectorAll("[role=slider]");return t?Array.from(t):[]}}),Z={root:`slider-root-${t=null!=c?c:(0,R.useId)()}`,getThumb:e=>`slider-thumb-${t}-${e}`,getInput:e=>`slider-input-${t}-${e}`,track:`slider-track-${t}`,innerTrack:`slider-filled-track-${t}`,getMarker:e=>`slider-marker-${t}-${e}`,output:`slider-output-${t}`},Y=(0,R.useCallback)(e=>{var t,i;if(!q.current)return;W.current.eventSource="pointer";let o=q.current.getBoundingClientRect(),{clientX:s,clientY:a}=null!=(i=null==(t=e.touches)?void 0:t[0])?i:e,l=($?o.bottom-a:s-o.left)/($?o.height:o.width);return D&&(l=1-l),(r-n)*l+n},[$,D,r,n]),Q=(r-n)/10,J=m||(r-n)/100,X=(0,R.useMemo)(()=>({setValueAtIndex(e,t){if(!B)return;let i=W.current.valueBounds[e];t=uh(t=parseFloat(uc(t,i.min,J)),i.min,i.max);let n=[...W.current.value];n[e]=t,A(n)},setActiveIndex:F,stepUp(e,t=J){let i=W.current.value[e],n=D?i-t:i+t;X.setValueAtIndex(e,n)},stepDown(e,t=J){let i=W.current.value[e],n=D?i+t:i-t;X.setValueAtIndex(e,n)},reset(){A(V.current)}}),[J,D,A,B]),ee=(0,R.useCallback)(e=>{let t={ArrowRight:()=>X.stepUp(P),ArrowUp:()=>X.stepUp(P),ArrowLeft:()=>X.stepDown(P),ArrowDown:()=>X.stepDown(P),PageUp:()=>X.stepUp(P,Q),PageDown:()=>X.stepDown(P,Q),Home:()=>{let{min:e}=j[P];X.setValueAtIndex(P,e)},End:()=>{let{max:e}=j[P];X.setValueAtIndex(P,e)}}[e.key];t&&(e.preventDefault(),e.stopPropagation(),t(e),W.current.eventSource="keyboard")},[X,P,Q,j]),{getThumbStyle:et,rootStyle:ei,trackStyle:en,innerTrackStyle:er}=(0,R.useMemo)(()=>bh({isReversed:D,orientation:d,thumbRects:G,thumbPercents:U}),[D,d,U,G]),eo=(0,R.useCallback)(e=>{var t;let i=null!=e?e:P;if(-1!==i&&C){let e=Z.getThumb(i),n=null==(t=K.current)?void 0:t.ownerDocument.getElementById(e);n&&setTimeout(()=>n.focus())}},[C,P,Z]);sm(()=>{"keyboard"===W.current.eventSource&&(null==E||E(W.current.value))},[H,E]);let es=e=>{let t=Y(e)||0,i=W.current.value.map(e=>Math.abs(e-t)),n=Math.min(...i),r=i.indexOf(n),o=i.filter(e=>e===n);o.length>1&&t>W.current.value[r]&&(r=r+o.length-1),F(r),X.setValueAtIndex(r,t),eo(r)},ea=e=>{if(-1==P)return;let t=Y(e)||0;F(P),X.setValueAtIndex(P,t),eo(P)};bE(K,{onPanSessionStart(e){B&&(I(!0),es(e),null==k||k(W.current.value))},onPanSessionEnd(){B&&(I(!1),null==E||E(W.current.value))},onPan(e){B&&ea(e)}});let el=(0,R.useCallback)((e={},t=null)=>({...e,...x,id:Z.root,ref:aN(t,K),tabIndex:-1,"aria-disabled":bs(h),"data-focused":bo(M),style:{...e.style,...ei}}),[x,h,M,ei,Z]),eu=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(t,q),id:Z.track,"data-disabled":bo(h),style:{...e.style,...en}}),[h,en,Z]),ed=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,id:Z.innerTrack,style:{...e.style,...er}}),[er,Z]),ec=(0,R.useCallback)((e,t=null)=>{var i;let{index:n,...r}=e,o=H[n];if(null==o)throw TypeError(`[range-slider > thumb] Cannot find value at index \`${n}\`. The \`value\` or \`defaultValue\` length is : ${H.length}`);let s=j[n];return{...r,ref:t,role:"slider",tabIndex:B?0:void 0,id:Z.getThumb(n),"data-active":bo(T&&P===n),"aria-valuetext":null!=(i=null==L?void 0:L(o))?i:null==b?void 0:b[n],"aria-valuemin":s.min,"aria-valuemax":s.max,"aria-valuenow":o,"aria-orientation":d,"aria-disabled":bs(h),"aria-readonly":bs(g),"aria-label":null==y?void 0:y[n],"aria-labelledby":(null==y?void 0:y[n])?void 0:null==_?void 0:_[n],style:{...e.style,...et(n)},onKeyDown:bl(e.onKeyDown,ee),onFocus:bl(e.onFocus,()=>{O(!0),F(n)}),onBlur:bl(e.onBlur,()=>{O(!1),F(-1)})}},[Z,H,j,B,T,P,L,b,d,h,g,y,_,et,ee,O]),eh=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,id:Z.output,htmlFor:H.map((e,t)=>Z.getThumb(t)).join(" "),"aria-live":"off"}),[Z,H]),eg=(0,R.useCallback)((e,t=null)=>{let{value:i,...o}=e,s=!(ir),a=i>=H[0]&&i<=H[H.length-1],l=(i-n)*100/(r-n),u={position:"absolute",pointerEvents:"none",...bu({orientation:d,vertical:{bottom:`${l=D?100-l:l}%`},horizontal:{left:`${l}%`}})};return{...o,ref:t,id:Z.getMarker(e.value),role:"presentation","aria-hidden":!0,"data-disabled":bo(h),"data-invalid":bo(!s),"data-highlighted":bo(a),style:{...e.style,...u}}},[h,D,r,n,d,H,Z]),ep=(0,R.useCallback)((e,t=null)=>{let{index:i,...n}=e;return{...n,ref:t,id:Z.getInput(i),type:"hidden",value:H[i],name:Array.isArray(w)?w[i]:`${w}-${i}`}},[w,H,Z]);return{state:{value:H,isFocused:M,isDragging:T,getThumbPercent:e=>U[e],getThumbMinValue:e=>j[e].min,getThumbMaxValue:e=>j[e].max},actions:X,getRootProps:el,getTrackProps:eu,getInnerTrackProps:ed,getThumbProps:ec,getMarkerProps:eg,getInputProps:ep,getOutputProps:eh}}var[bA,bT]=F({name:"SliderContext",errorMessage:"useSliderContext: `context` is undefined. Seems you forgot to wrap all slider components within "}),[bI,bM]=F({name:"RangeSliderStylesContext",errorMessage:"useRangeSliderStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),bO=sA(function(e,t){let i={orientation:"horizontal",...e},n=s$("Slider",i),r=tL(i),{direction:o}=sT();r.direction=o;let{getRootProps:s,...a}=bN(r),l=(0,R.useMemo)(()=>({...a,name:i.name}),[a,i.name]);return(0,T.jsx)(bA,{value:l,children:(0,T.jsx)(bI,{value:n,children:(0,T.jsx)(sE.div,{...s({},t),className:"chakra-slider",__css:n.container,children:i.children})})})});bO.displayName="RangeSlider";var bP=sA(function(e,t){let{getThumbProps:i,getInputProps:n,name:r}=bT(),o=bM(),s=i(e,t);return(0,T.jsxs)(sE.div,{...s,className:ba("chakra-slider__thumb",e.className),__css:o.thumb,children:[s.children,r&&(0,T.jsx)("input",{...n({index:e.index})})]})});bP.displayName="RangeSliderThumb";var bR=sA(function(e,t){let{getTrackProps:i}=bT(),n=bM(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__track",e.className),__css:n.track,"data-testid":"chakra-range-slider-track"})});bR.displayName="RangeSliderTrack";var bF=sA(function(e,t){let{getInnerTrackProps:i}=bT(),n=bM(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:"chakra-slider__filled-track",__css:n.filledTrack})});bF.displayName="RangeSliderFilledTrack";var bB=sA(function(e,t){let{getMarkerProps:i}=bT(),n=i(e,t);return(0,T.jsx)(sE.div,{...n,className:ba("chakra-slider__marker",e.className)})});function bV(e){var t;let{min:i=0,max:n=100,onChange:r,value:o,defaultValue:s,isReversed:a,direction:l="ltr",orientation:u="horizontal",id:d,isDisabled:c,isReadOnly:h,onChangeStart:g,onChangeEnd:p,step:f=1,getAriaValueText:m,"aria-valuetext":v,"aria-label":b,"aria-labelledby":y,name:_,focusThumbOnChange:w=!0,...C}=e,S=sf(g),x=sf(p),k=sf(m),E=bg({isReversed:a,direction:l,orientation:u}),[L,D]=aW({value:o,defaultValue:null!=s?s:n{var t,i,n,r;if(!W.current)return;let o=j.current;o.eventSource="pointer";let s=W.current.getBoundingClientRect(),{clientX:a,clientY:l}=null!=(i=null==(t=e.touches)?void 0:t[0])?i:e,u=(H?s.bottom-l:a-s.left)/(H?s.height:s.width);E&&(u=1-u);let d=(n=u,r=o.min,(o.max-r)*n+r);return o.step&&(d=parseFloat(uc(d,o.min,o.step))),d=uh(d,o.min,o.max)},[H,E,j]),Y=(0,R.useCallback)(e=>{let t=j.current;t.isInteractive&&D(e=uh(e=parseFloat(uc(e,t.min,P)),t.min,t.max))},[P,D,j]),Q=(0,R.useMemo)(()=>({stepUp(e=P){Y(E?F-e:F+e)},stepDown(e=P){Y(E?F+e:F-e)},reset(){Y(s||0)},stepTo(e){Y(e)}}),[Y,E,F,P,s]),J=(0,R.useCallback)(e=>{let t=j.current,i={ArrowRight:()=>Q.stepUp(),ArrowUp:()=>Q.stepUp(),ArrowLeft:()=>Q.stepDown(),ArrowDown:()=>Q.stepDown(),PageUp:()=>Q.stepUp(O),PageDown:()=>Q.stepDown(O),Home:()=>Y(t.min),End:()=>Y(t.max)}[e.key];i&&(e.preventDefault(),e.stopPropagation(),i(e),t.eventSource="keyboard")},[Q,Y,O,j]),X=null!=(t=null==k?void 0:k(F))?t:v,ee=function(e){let[t]=bD({observeMutation:!1,getNodes:()=>["object"==typeof e&&null!==e&&"current"in e?e.current:e]});return t}(z),{getThumbStyle:et,rootStyle:ei,trackStyle:en,innerTrackStyle:er}=(0,R.useMemo)(()=>{let e=j.current,t=null!=ee?ee:{width:0,height:0};return bh({isReversed:E,orientation:e.orientation,thumbRects:[t],thumbPercents:[V]})},[E,ee,V,j]),eo=(0,R.useCallback)(()=>{j.current.focusThumbOnChange&&setTimeout(()=>{var e;return null==(e=z.current)?void 0:e.focus()})},[j]);function es(e){let t=Z(e);null!=t&&t!==j.current.value&&D(t)}sm(()=>{let e=j.current;eo(),"keyboard"===e.eventSource&&(null==x||x(e.value))},[F,x]),bE(U,{onPanSessionStart(e){let t=j.current;t.isInteractive&&(A(!0),eo(),es(e),null==S||S(t.value))},onPanSessionEnd(){let e=j.current;e.isInteractive&&(A(!1),null==x||x(e.value))},onPan(e){j.current.isInteractive&&es(e)}});let ea=(0,R.useCallback)((e={},t=null)=>({...e,...C,ref:aN(t,U),tabIndex:-1,"aria-disabled":bs(c),"data-focused":bo(T),style:{...e.style,...ei}}),[C,c,T,ei]),el=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(t,W),id:G,"data-disabled":bo(c),style:{...e.style,...en}}),[c,G,en]),eu=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,style:{...e.style,...er}}),[er]),ed=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(t,z),role:"slider",tabIndex:M?0:void 0,id:K,"data-active":bo(N),"aria-valuetext":X,"aria-valuemin":i,"aria-valuemax":n,"aria-valuenow":F,"aria-orientation":u,"aria-disabled":bs(c),"aria-readonly":bs(h),"aria-label":b,"aria-labelledby":b?void 0:y,style:{...e.style,...et(0)},onKeyDown:bl(e.onKeyDown,J),onFocus:bl(e.onFocus,()=>I(!0)),onBlur:bl(e.onBlur,()=>I(!1))}),[M,K,N,X,i,n,F,u,c,h,b,y,et,J]),ec=(0,R.useCallback)((e,t=null)=>{let r=!(e.valuen),o=F>=e.value,s=(e.value-i)*100/(n-i),a={position:"absolute",pointerEvents:"none",...function(e){let{orientation:t,vertical:i,horizontal:n}=e;return"vertical"===t?i:n}({orientation:u,vertical:{bottom:E?`${100-s}%`:`${s}%`},horizontal:{left:E?`${100-s}%`:`${s}%`}})};return{...e,ref:t,role:"presentation","aria-hidden":!0,"data-disabled":bo(c),"data-invalid":bo(!r),"data-highlighted":bo(o),style:{...e.style,...a}}},[c,E,n,i,u,F]),eh=(0,R.useCallback)((e={},t=null)=>({...e,ref:t,type:"hidden",value:F,name:_}),[_,F]);return{state:{value:F,isFocused:T,isDragging:N},actions:Q,getRootProps:ea,getTrackProps:el,getInnerTrackProps:eu,getThumbProps:ed,getMarkerProps:ec,getInputProps:eh}}bB.displayName="RangeSliderMark";var[bH,bj]=F({name:"SliderContext",hookName:"useSliderContext",providerName:""}),[bW,bz]=F({name:"SliderStylesContext",hookName:"useSliderStyles",providerName:""}),bU=sA((e,t)=>{var i;let n={...e,orientation:null!=(i=null==e?void 0:e.orientation)?i:"horizontal"},r=s$("Slider",n),o=tL(n),{direction:s}=sT();o.direction=s;let{getInputProps:a,getRootProps:l,...u}=bV(o),d=l(),c=a({},t);return(0,T.jsx)(bH,{value:u,children:(0,T.jsx)(bW,{value:r,children:(0,T.jsxs)(sE.div,{...d,className:ba("chakra-slider",n.className),__css:r.container,children:[n.children,(0,T.jsx)("input",{...c})]})})})});bU.displayName="Slider";var b$=sA((e,t)=>{let{getThumbProps:i}=bj(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__thumb",e.className),__css:n.thumb})});b$.displayName="SliderThumb";var bq=sA((e,t)=>{let{getTrackProps:i}=bj(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__track",e.className),__css:n.track})});bq.displayName="SliderTrack";var bK=sA((e,t)=>{let{getInnerTrackProps:i}=bj(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__filled-track",e.className),__css:n.filledTrack})});bK.displayName="SliderFilledTrack";var bG=sA((e,t)=>{let{getMarkerProps:i}=bj(),n=bz(),r=i(e,t);return(0,T.jsx)(sE.div,{...r,className:ba("chakra-slider__marker",e.className),__css:n.mark})});bG.displayName="SliderMark";var[bZ,bY]=F({name:"StatStylesContext",errorMessage:"useStatStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),bQ=sA(function(e,t){let i=s$("Stat",e),n={position:"relative",flex:"1 1 0%",...i.container},{className:r,children:o,...s}=tL(e);return(0,T.jsx)(bZ,{value:i,children:(0,T.jsx)(sE.div,{ref:t,...s,className:$("chakra-stat",r),__css:n,children:(0,T.jsx)("dl",{children:o})})})});bQ.displayName="Stat";var bJ=e=>(0,T.jsx)(sG,{color:"red.400",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M21,5H3C2.621,5,2.275,5.214,2.105,5.553C1.937,5.892,1.973,6.297,2.2,6.6l9,12 c0.188,0.252,0.485,0.4,0.8,0.4s0.611-0.148,0.8-0.4l9-12c0.228-0.303,0.264-0.708,0.095-1.047C21.725,5.214,21.379,5,21,5z"})});function bX(e){return(0,T.jsx)(sG,{color:"green.400",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M12.8,5.4c-0.377-0.504-1.223-0.504-1.6,0l-9,12c-0.228,0.303-0.264,0.708-0.095,1.047 C2.275,18.786,2.621,19,3,19h18c0.379,0,0.725-0.214,0.895-0.553c0.169-0.339,0.133-0.744-0.095-1.047L12.8,5.4z"})})}function b0(e){let{type:t,"aria-label":i,...n}=e,r=bY(),o="increase"===t?bX:bJ;return(0,T.jsxs)(T.Fragment,{children:[(0,T.jsx)(sE.span,{srOnly:!0,children:i||("increase"===t?"increased by":"decreased by")}),(0,T.jsx)(o,{"aria-hidden":!0,...n,__css:r.icon})]})}bJ.displayName="StatDownArrow",bX.displayName="StatUpArrow",b0.displayName="StatArrow";var b1=sA(function(e,t){return(0,T.jsx)(sE.div,{...e,ref:t,role:"group",className:$("chakra-stat__group",e.className),__css:{display:"flex",flexWrap:"wrap",justifyContent:"space-around",alignItems:"flex-start"}})});b1.displayName="StatGroup";var b2=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dd,{ref:t,...e,className:$("chakra-stat__help-text",e.className),__css:i.helpText})});b2.displayName="StatHelpText";var b6=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dt,{ref:t,...e,className:$("chakra-stat__label",e.className),__css:i.label})});b6.displayName="StatLabel";var b3=sA(function(e,t){let i=bY();return(0,T.jsx)(sE.dd,{ref:t,...e,className:$("chakra-stat__number",e.className),__css:{...i.number,fontFeatureSettings:"pnum",fontVariantNumeric:"proportional-nums"}})});b3.displayName="StatNumber";var[b8,b5]=F({name:"StepContext"}),[b4,b9]=tU("Stepper"),b7=sA(function(e,t){let{status:i}=b5(),n=b9();return(0,T.jsx)(sE.h3,{ref:t,"data-status":i,...e,__css:n.title,className:$("chakra-step__title",e.className)})}),ye=sA(function(e,t){let{orientation:i,status:n,showLastSeparator:r}=b5(),o=b9();return(0,T.jsx)(sE.div,{ref:t,"data-status":n,"data-orientation":i,"data-stretch":Y(r),__css:o.step,...e,className:$("chakra-step",e.className)})}),yt=sA(function(e,t){let i=s$("Stepper",e),{children:n,index:r,orientation:o="horizontal",showLastSeparator:s=!1,...a}=tL(e),l=R.Children.toArray(n),u=l.length;return(0,T.jsx)(sE.div,{ref:t,"aria-label":"Progress","data-orientation":o,...a,__css:i.stepper,className:$("chakra-stepper",e.className),children:(0,T.jsx)(b4,{value:i,children:l.map((e,t)=>(0,T.jsx)(b8,{value:{index:t,status:tr?"incomplete":"active",orientation:o,showLastSeparator:s,count:u,isFirst:0===t,isLast:t===u-1},children:e},t))})})});function yi(e={}){let{index:t=0,count:i}=e,[n,r]=(0,R.useState)(t);return{activeStep:n,setActiveStep:r,activeStepPercent:n/("number"==typeof i?i-1:0),isActiveStep:e=>e===n,isCompleteStep:e=>ee>n,getStatus:e=>en?"incomplete":"active",goToNext(){r(e=>"number"==typeof i?Math.min(i,e+1):e+1)},goToPrevious(){r(e=>Math.max(0,e-1))}}}var yn=sA(function(e,t){let{status:i}=b5(),n=b9();return(0,T.jsx)(sE.p,{ref:t,"data-status":i,...e,className:$("chakra-step__description",e.className),__css:n.description})});function yr(e){let{complete:t,incomplete:i,active:n}=e,r=b5(),o=null;switch(r.status){case"complete":o=G(t,r);break;case"incomplete":o=G(i,r);break;case"active":o=G(n,r)}return o?(0,T.jsx)(T.Fragment,{children:o}):null}function yo(e){return(0,T.jsx)("svg",{stroke:"currentColor",fill:"currentColor",strokeWidth:"0",viewBox:"0 0 20 20","aria-hidden":"true",height:"1em",width:"1em",...e,children:(0,T.jsx)("path",{fillRule:"evenodd",d:"M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z",clipRule:"evenodd"})})}function ys(e){let{status:t}=b5(),i=b9();return(0,T.jsx)(sG,{as:"complete"===t?yo:void 0,__css:i.icon,...e,className:$("chakra-step__icon",e.className)})}var ya=sA(function(e,t){let{children:i,...n}=e,{status:r,index:o}=b5(),s=b9();return(0,T.jsx)(sE.div,{ref:t,"data-status":r,__css:s.number,...n,className:$("chakra-step__number",e.className),children:i||o+1})});function yl(e){let{status:t}=b5(),i=b9();return(0,T.jsx)(sE.div,{"data-status":t,...e,__css:i.indicator,className:$("chakra-step__indicator",e.className)})}function yu(){return(0,T.jsx)(yr,{complete:(0,T.jsx)(ys,{}),incomplete:(0,T.jsx)(ya,{}),active:(0,T.jsx)(ya,{})})}var yd=sA(function(e,t){let{orientation:i,status:n,isLast:r,showLastSeparator:o}=b5(),s=b9();return r&&!o?null:(0,T.jsx)(sE.div,{ref:t,role:"separator","data-orientation":i,"data-status":n,__css:s.separator,...e,className:$("chakra-step__separator",e.className)})}),yc=sA(function(e,t){let i=s$("Switch",e),{spacing:n="0.5rem",children:r,...o}=tL(e),{state:s,getInputProps:a,getCheckboxProps:l,getRootProps:u,getLabelProps:d}=ue(o),c=(0,R.useMemo)(()=>({display:"inline-block",position:"relative",verticalAlign:"middle",lineHeight:0,...i.container}),[i.container]),h=(0,R.useMemo)(()=>({display:"inline-flex",flexShrink:0,justifyContent:"flex-start",boxSizing:"content-box",cursor:"pointer",...i.track}),[i.track]),g=(0,R.useMemo)(()=>({userSelect:"none",marginStart:n,...i.label}),[n,i.label]);return(0,T.jsxs)(sE.label,{...u(),className:$("chakra-switch",e.className),__css:c,children:[(0,T.jsx)("input",{className:"chakra-switch__input",...a({},t)}),(0,T.jsx)(sE.span,{...l(),className:"chakra-switch__track",__css:h,children:(0,T.jsx)(sE.span,{__css:i.thumb,className:"chakra-switch__thumb","data-checked":Y(s.isChecked),"data-hover":Y(s.isHovered)})}),r&&(0,T.jsx)(sE.span,{className:"chakra-switch__label",...d(),__css:g,children:r})]})});yc.displayName="Switch";var yh=new Set(["dark","light","system"]);function yg(e={}){let t;let{initialColorMode:i="light",type:n="localStorage",storageKey:r="chakra-ui-color-mode"}=e,o=(t=i,yh.has(t)||(t="light"),t);return`!${"cookie"===n?`(function(){try{var a=function(o){var l="(prefers-color-scheme: dark)",v=window.matchMedia(l).matches?"dark":"light",e=o==="system"?v:o,d=document.documentElement,m=document.body,i="chakra-ui-light",n="chakra-ui-dark",s=e==="dark";return m.classList.add(s?n:i),m.classList.remove(s?i:n),d.style.colorScheme=e,d.dataset.theme=e,e},u=a,h="${o}",r="${r}",t=document.cookie.match(new RegExp("(^| )".concat(r,"=([^;]+)"))),c=t?t[2]:null;c?a(c):document.cookie="".concat(r,"=").concat(a(h),"; max-age=31536000; path=/")}catch(a){}})(); `:`(function(){try{var a=function(c){var v="(prefers-color-scheme: dark)",h=window.matchMedia(v).matches?"dark":"light",r=c==="system"?h:c,o=document.documentElement,s=document.body,l="chakra-ui-light",d="chakra-ui-dark",i=r==="dark";return s.classList.add(i?d:l),s.classList.remove(i?l:d),o.style.colorScheme=r,o.dataset.theme=r,r},n=a,m="${o}",e="${r}",t=localStorage.getItem(e);t?a(t):localStorage.setItem(e,a(m))}catch(a){}})(); - `}`.trim()}function yp(e={}){let{nonce:t}=e;return(0,T.jsx)("script",{id:"chakra-script",nonce:t,dangerouslySetInnerHTML:{__html:yg(e)}})}var[yf,ym]=F({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),yv=sA((e,t)=>{let i=s$("Table",e),{className:n,layout:r,...o}=tL(e);return(0,T.jsx)(yf,{value:i,children:(0,T.jsx)(sE.table,{ref:t,__css:{tableLayout:r,...i.table},className:$("chakra-table",n),...o})})});yv.displayName="Table";var yb=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.thead,{...e,ref:t,__css:i.thead})}),yy=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tr,{...e,ref:t,__css:i.tr})}),y_=sA((e,t)=>{let{placement:i="bottom",...n}=e,r=ym();return(0,T.jsx)(sE.caption,{...n,ref:t,__css:{...r.caption,captionSide:i}})});y_.displayName="TableCaption";var yw=sA((e,t)=>{var i;let{overflow:n,overflowX:r,className:o,...s}=e;return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-table__container",o),...s,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:null!=(i=null!=n?n:r)?i:"auto",overflowY:"hidden",maxWidth:"100%"}})}),yC=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tbody,{...e,ref:t,__css:i.tbody})}),yS=sA(({isNumeric:e,...t},i)=>{let n=ym();return(0,T.jsx)(sE.td,{...t,ref:i,__css:n.td,"data-is-numeric":e})}),yx=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tfoot,{...e,ref:t,__css:i.tfoot})}),yk=sA(({isNumeric:e,...t},i)=>{let n=ym();return(0,T.jsx)(sE.th,{...t,ref:i,__css:n.th,"data-is-numeric":e})}),[yE,yL,yD,yN]=aI();function yA(e){var t;let{defaultIndex:i,onChange:n,index:r,isManual:o,isLazy:s,lazyBehavior:a="unmount",orientation:l="horizontal",direction:u="ltr",...d}=e,[c,h]=(0,O.useState)(null!=i?i:0),[g,p]=aj({defaultValue:null!=i?i:0,value:r,onChange:n});(0,O.useEffect)(()=>{null!=r&&h(r)},[r]);let f=yD();return{id:`tabs-${null!=(t=e.id)?t:(0,O.useId)()}`,selectedIndex:g,focusedIndex:c,setSelectedIndex:p,setFocusedIndex:h,isManual:o,isLazy:s,lazyBehavior:a,orientation:l,descendants:f,direction:u,htmlProps:d}}var[yT,yI]=F({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function yM(e){let{focusedIndex:t,orientation:i,direction:n}=yI(),r=yL(),o=(0,O.useCallback)(e=>{let o=()=>{var e;let i=r.nextEnabled(t);i&&(null==(e=i.node)||e.focus())},s=()=>{var e;let i=r.prevEnabled(t);i&&(null==(e=i.node)||e.focus())},a="horizontal"===i,l="vertical"===i,u={["ltr"===n?"ArrowLeft":"ArrowRight"]:()=>a&&s(),["ltr"===n?"ArrowRight":"ArrowLeft"]:()=>a&&o(),ArrowDown:()=>l&&o(),ArrowUp:()=>l&&s(),Home:()=>{var e;let t=r.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;let t=r.lastEnabled();t&&(null==(e=t.node)||e.focus())}}[e.key];u&&(e.preventDefault(),u(e))},[r,t,i,n]);return{...e,role:"tablist","aria-orientation":i,onKeyDown:J(e.onKeyDown,o)}}function yR(e){let{isDisabled:t,isFocusable:i,...n}=e,{setSelectedIndex:r,isManual:o,id:s,setFocusedIndex:a,selectedIndex:l}=yI(),{index:u,register:d}=yN({disabled:t&&!i}),c=u===l;return{...gZ({...n,ref:aN(d,e.ref),isDisabled:t,isFocusable:i,onClick:J(e.onClick,()=>{r(u)})}),id:yH(s,u),role:"tab",tabIndex:c?0:-1,type:"button","aria-selected":c,"aria-controls":yW(s,u),onFocus:t?void 0:J(e.onFocus,()=>{a(u),o||t&&i||r(u)})}}var[yP,yO]=F({});function yF(e){let{id:t,selectedIndex:i}=yI(),n=lu(e.children).map((e,n)=>(0,O.createElement)(yP,{key:n,value:{isSelected:n===i,id:yW(t,n),tabId:yH(t,n),selectedIndex:i}},e));return{...e,children:n}}function yB(e){let{children:t,...i}=e,{isLazy:n,lazyBehavior:r}=yI(),{isSelected:o,id:s,tabId:a}=yO(),l=(0,O.useRef)(!1);o&&(l.current=!0);let u=fe({wasSelected:l.current,isSelected:o,enabled:n,mode:r});return{tabIndex:0,...i,children:u?t:null,role:"tabpanel","aria-labelledby":a,hidden:!o,id:s}}function yV(){let e=yI(),t=yL(),{selectedIndex:i,orientation:n}=e,r="horizontal"===n,o="vertical"===n,[s,a]=(0,O.useState)(()=>r?{left:0,width:0}:o?{top:0,height:0}:void 0),[l,u]=(0,O.useState)(!1);return t0(()=>{if(null==i)return;let e=t.item(i);if(null==e)return;r&&a({left:e.node.offsetLeft,width:e.node.offsetWidth}),o&&a({top:e.node.offsetTop,height:e.node.offsetHeight});let n=requestAnimationFrame(()=>{u(!0)});return()=>{n&&cancelAnimationFrame(n)}},[i,r,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...s}}function yH(e,t){return`${e}--tab-${t}`}function yW(e,t){return`${e}--tabpanel-${t}`}var[yj,yz]=F({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),yU=sA(function(e,t){let i=s$("Tabs",e),{children:n,className:r,...o}=tL(e),{htmlProps:s,descendants:a,...l}=yA(o),u=(0,O.useMemo)(()=>l,[l]),{isFitted:d,...c}=s;return(0,T.jsx)(yE,{value:a,children:(0,T.jsx)(yT,{value:u,children:(0,T.jsx)(yj,{value:i,children:(0,T.jsx)(sE.div,{className:$("chakra-tabs",r),ref:t,...c,__css:i.root,children:n})})})})});yU.displayName="Tabs";var y$=sA(function(e,t){let i=yV(),n={...e.style,...i},r=yz();return(0,T.jsx)(sE.div,{ref:t,...e,className:$("chakra-tabs__tab-indicator",e.className),style:n,__css:r.indicator})});y$.displayName="TabIndicator";var yq=sA(function(e,t){let i=yM({...e,ref:t}),n={display:"flex",...yz().tablist};return(0,T.jsx)(sE.div,{...i,className:$("chakra-tabs__tablist",e.className),__css:n})});yq.displayName="TabList";var yK=sA(function(e,t){let i=yB({...e,ref:t}),n=yz();return(0,T.jsx)(sE.div,{outline:"0",...i,className:$("chakra-tabs__tab-panel",e.className),__css:n.tabpanel})});yK.displayName="TabPanel";var yG=sA(function(e,t){let i=yF(e),n=yz();return(0,T.jsx)(sE.div,{...i,width:"100%",ref:t,className:$("chakra-tabs__tab-panels",e.className),__css:n.tabpanels})});yG.displayName="TabPanels";var yZ=sA(function(e,t){let i=yz(),n=yR({...e,ref:t}),r={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...i.tab};return(0,T.jsx)(sE.button,{...n,className:$("chakra-tabs__tab",e.className),__css:r})});yZ.displayName="Tab";var[yY,yQ]=F({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),yJ=sA((e,t)=>{let i=s$("Tag",e),n=tL(e),r={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...i.container};return(0,T.jsx)(yY,{value:i,children:(0,T.jsx)(sE.span,{ref:t,...n,__css:r})})});yJ.displayName="Tag";var yX=sA((e,t)=>{let i=yQ();return(0,T.jsx)(sE.span,{ref:t,noOfLines:1,...e,__css:i.label})});yX.displayName="TagLabel";var y0=sA((e,t)=>(0,T.jsx)(sG,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));y0.displayName="TagLeftIcon";var y1=sA((e,t)=>(0,T.jsx)(sG,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));y1.displayName="TagRightIcon";var y2=e=>(0,T.jsx)(sG,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});y2.displayName="TagCloseIcon";var y6=sA((e,t)=>{let{isDisabled:i,children:n,...r}=e,o={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...yQ().closeButton};return(0,T.jsx)(sE.button,{ref:t,"aria-label":"close",...r,type:"button",disabled:i,__css:o,children:n||(0,T.jsx)(y2,{})})});y6.displayName="TagCloseButton";var y3=["h","minH","height","minHeight"],y8=sA((e,t)=>{let i=sU("Textarea",e),{className:n,rows:r,...o}=tL(e),s=lK(o),a=r?function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(i,y3):i;return(0,T.jsx)(sE.textarea,{ref:t,rows:r,...s,className:$("chakra-textarea",n),__css:a})});function y5({colorScheme:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{colorScheme:e}}]))})}}function y4({size:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{size:e}}]))})}}function y9({variant:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{variant:e}}]))})}}function y7({defaultProps:{colorScheme:e,variant:t,size:i},components:n}){let r=e=>e,o=[e?y5({colorScheme:e,components:n}):r,i?y4({size:i,components:n}):r,t?y9({variant:t,components:n}):r];return e=>sV((function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...o)(e))}function _e(e){let{theme:t}=sI(),i=ap();return(0,O.useMemo)(()=>an(t.direction,{...i,...e}),[e,t.direction,i])}y8.displayName="Textarea";var _t={theme:sd,colorMode:"light",toggleColorMode:()=>{},setColorMode:()=>{},defaultOptions:{duration:5e3,variant:"solid"},forced:!1};function _i({theme:e=_t.theme,colorMode:t=_t.colorMode,toggleColorMode:i=_t.toggleColorMode,setColorMode:n=_t.setColorMode,defaultOptions:r=_t.defaultOptions,motionVariants:o,toastSpacing:s,component:a,forced:l}=_t){let u={colorMode:t,setColorMode:n,toggleColorMode:i,forced:l};return{ToastContainer:()=>(0,T.jsx)(tH,{theme:e,children:(0,T.jsx)(W.Provider,{value:u,children:(0,T.jsx)(af,{defaultOptions:r,motionVariants:o,toastSpacing:s,component:a})})}),toast:an(e.direction,r)}}var _n={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},_r=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},_o=e=>{var t,i;return(null==(i=null==(t=e.current)?void 0:t.ownerDocument)?void 0:i.defaultView)||window};function _s(e={}){let{openDelay:t=0,closeDelay:i=0,closeOnClick:n=!0,closeOnMouseDown:r,closeOnScroll:o,closeOnPointerDown:s=r,closeOnEsc:a=!0,onOpen:l,onClose:u,placement:d,id:c,isOpen:h,defaultIsOpen:g,arrowSize:p=10,arrowShadowColor:f,arrowPadding:m,modifiers:v,isDisabled:b,gutter:y,offset:_,direction:w,...C}=e,{isOpen:S,onOpen:x,onClose:k}=p5({isOpen:h,defaultIsOpen:g,onOpen:l,onClose:u}),{referenceRef:E,getPopperProps:L,getArrowInnerProps:D,getArrowProps:N}=p8({enabled:S,placement:d,arrowPadding:m,modifiers:v,gutter:y,offset:_,direction:w}),A=`tooltip-${null!=c?c:(0,O.useId)()}`,T=(0,O.useRef)(null),I=(0,O.useRef)(),M=(0,O.useCallback)(()=>{I.current&&(clearTimeout(I.current),I.current=void 0)},[]),R=(0,O.useRef)(),P=(0,O.useCallback)(()=>{R.current&&(clearTimeout(R.current),R.current=void 0)},[]),F=(0,O.useCallback)(()=>{P(),k()},[k,P]),B=((0,O.useEffect)(()=>{let e=_r(T);return e.addEventListener(_a,F),()=>e.removeEventListener(_a,F)},[F,T]),()=>{let e=_r(T),t=_o(T);e.dispatchEvent(new t.CustomEvent(_a))}),V=(0,O.useCallback)(()=>{if(!b&&!I.current){B();let e=_o(T);I.current=e.setTimeout(x,t)}},[B,b,x,t]),H=(0,O.useCallback)(()=>{M();let e=_o(T);R.current=e.setTimeout(F,i)},[i,F,M]),W=(0,O.useCallback)(()=>{S&&n&&H()},[n,H,S]),j=(0,O.useCallback)(()=>{S&&s&&H()},[s,H,S]),z=(0,O.useCallback)(e=>{S&&"Escape"===e.key&&H()},[S,H]);uE(()=>_r(T),"keydown",a?z:void 0),uE(()=>_r(T),"scroll",()=>{S&&o&&F()}),(0,O.useEffect)(()=>{b&&(M(),S&&k())},[b,S,k,M]),(0,O.useEffect)(()=>()=>{M(),P()},[M,P]),uE(()=>T.current,"pointerleave",H);let U=(0,O.useCallback)((e={},t=null)=>({...e,ref:aN(T,t,E),onPointerEnter:J(e.onPointerEnter,e=>{"touch"!==e.pointerType&&V()}),onClick:J(e.onClick,W),onPointerDown:J(e.onPointerDown,j),onFocus:J(e.onFocus,V),onBlur:J(e.onBlur,H),"aria-describedby":S?A:void 0}),[V,H,j,S,A,W,E]),$=(0,O.useCallback)((e={},t=null)=>L({...e,style:{...e.style,[gX.arrowSize.var]:p?`${p}px`:void 0,[gX.arrowShadowColor.var]:f}},t),[L,p,f]);return{isOpen:S,show:V,hide:H,getTriggerProps:U,getTooltipProps:(0,O.useCallback)((e={},t=null)=>{let i={...e.style,position:"relative",transformOrigin:gX.transformOrigin.varRef};return{ref:t,...C,...e,id:A,role:"tooltip",style:i}},[C,A]),getTooltipPositionerProps:$,getArrowProps:N,getArrowInnerProps:D}}var _a="chakra-ui:close-tooltip",_l=sE(sb.E.div),_u=sA((e,t)=>{var i,n;let r;let o=sU("Tooltip",e),s=tL(e),a=sT(),{children:l,label:u,shouldWrapChildren:d,"aria-label":c,hasArrow:h,bg:g,portalProps:p,background:f,backgroundColor:m,bgColor:v,motionProps:b,...y}=s,_=null!=(n=null!=(i=null!=f?f:m)?i:g)?n:v;if(_){o.bg=_;let e=tE(a,"colors",_);o[gX.arrowBg.var]=e}let w=_s({...y,direction:a.direction});if("string"==typeof l||d)r=(0,T.jsx)(sE.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:l});else{let e=O.Children.only(l);r=(0,O.cloneElement)(e,w.getTriggerProps(e.props,e.ref))}let C=!!c,S=w.getTooltipProps({},t),x=C?function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(S,["role","id"]):S,k=function(e,t){let i={};for(let n of t)n in e&&(i[n]=e[n]);return i}(S,["role","id"]);return u?(0,T.jsxs)(T.Fragment,{children:[r,(0,T.jsx)(ar.M,{children:w.isOpen&&(0,T.jsx)(ah,{...p,children:(0,T.jsx)(sE.div,{...w.getTooltipPositionerProps(),__css:{zIndex:o.zIndex,pointerEvents:"none"},children:(0,T.jsxs)(_l,{variants:_n,initial:"exit",animate:"enter",exit:"exit",...b,...x,__css:o,children:[u,C&&(0,T.jsx)(sE.span,{srOnly:!0,...k,children:c}),h&&(0,T.jsx)(sE.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,T.jsx)(sE.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:o.bg}})})]})})})})]}):(0,T.jsx)(T.Fragment,{children:l})});_u.displayName="Tooltip";var _d=sE("span",{baseStyle:lZ});_d.displayName="VisuallyHidden";var _c=sE("input",{baseStyle:lZ});_c.displayName="VisuallyHiddenInput"},39185:(e,t,i)=>{"use strict";i.d(t,{Z:()=>U});var n=function(){function e(e){var t=this;this._insertTag=function(e){var i;i=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,i),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?f[w]+" "+C:a(C,/&\f/g,f[w])).trim())&&(c[_++]=S);return y(e,t,i,0===o?A:u,c,h,g)}function O(e,t,i,n){return y(e,t,i,T,d(e,0,n),d(e,n+1,-1),n)}var F=function(e,t,i){for(var n=0,r=0;n=r,r=C(),38===n&&12===r&&(t[i]=1),!S(r);)w();return d(b,e,m)},B=function(e,t){var i=-1,n=44;do switch(S(n)){case 0:38===n&&12===C()&&(t[i]=1),e[i]+=F(m-1,t,i);break;case 2:e[i]+=k(n);break;case 4:if(44===n){e[++i]=58===C()?"&\f":"",t[i]=e[i].length;break}default:e[i]+=o(n)}while(n=w())return e},V=function(e,t){var i;return i=B(x(e),t),b="",i},H=new WeakMap,W=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,i=e.parent,n=e.column===i.column&&e.line===i.line;"rule"!==i.type;)if(!(i=i.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||H.get(i))&&!n){H.set(e,!0);for(var r=[],o=V(t,r),s=i.props,a=0,l=0;a-1&&!e.return)switch(e.type){case T:e.return=function e(t,i){switch(45^u(t,0)?(((i<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return D+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return D+t+L+t+E+t+t;case 6828:case 4268:return D+t+E+t+t;case 6165:return D+t+E+"flex-"+t+t;case 5187:return D+t+a(t,/(\w+).+(:[^]+)/,D+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return D+t+E+"flex-item-"+a(t,/flex-|-self/,"")+t;case 4675:return D+t+E+"flex-line-pack"+a(t,/align-content|flex-|-self/,"")+t;case 5548:return D+t+E+a(t,"shrink","negative")+t;case 5292:return D+t+E+a(t,"basis","preferred-size")+t;case 6060:return D+"box-"+a(t,"-grow","")+D+t+E+a(t,"grow","positive")+t;case 4554:return D+a(t,/([^-])(transform)/g,"$1"+D+"$2")+t;case 6187:return a(a(a(t,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),t,"")+t;case 5495:case 3959:return a(t,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return a(a(t,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+t+t;case 4095:case 3583:case 4068:case 2532:return a(t,/(.+)-inline(.+)/,D+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(c(t)-1-i>6)switch(u(t,i+1)){case 109:if(45!==u(t,i+4))break;case 102:return a(t,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+L+(108==u(t,i+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(a(t,"stretch","fill-available"),i)+t:t}break;case 4949:if(115!==u(t,i+1))break;case 6444:switch(u(t,c(t)-3-(~l(t,"!important")&&10))){case 107:return a(t,":",":"+D)+t;case 101:return a(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(t,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,i+11)){case 114:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return D+t+E+t+t}return t}(e.value,e.length);break;case I:return M([_(e,{value:a(e.value,"@","@"+D)})],n);case A:if(e.length)return e.props.map(function(t){var i;switch(i=t,(i=/(::plac\w+|:read-\w+)/.exec(i))?i[0]:i){case":read-only":case":read-write":return M([_(e,{props:[a(t,/:(read-\w+)/,":"+L+"$1")]})],n);case"::placeholder":return M([_(e,{props:[a(t,/:(plac\w+)/,":"+D+"input-$1")]}),_(e,{props:[a(t,/:(plac\w+)/,":"+L+"$1")]}),_(e,{props:[a(t,/:(plac\w+)/,E+"input-$1")]})],n)}return""}).join("")}}],U=function(e){var t,i,r,s,f,_=e.key;if("css"===_){var E=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(E,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var L=e.stylisPlugins||z,D={},A=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+_+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),i=1;i2||S(v)>3?"":" "}(R);break;case 92:$+=function(e,t){for(var i;--t&&w()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return i=m+(t<6&&32==C()&&32==w()),d(b,e,i)}(m-1,7);continue;case 47:switch(C()){case 42:case 47:h(y(L=function(e,t){for(;w();)if(e+v===57)break;else if(e+v===84&&47===C())break;return"/*"+d(b,t,m-1)+"*"+o(47===e?e:w())}(w(),m),i,n,N,o(v),d(L,2,-2),0),E);break;default:$+="/"}break;case 123*F:x[D++]=c($)*V;case 125*F:case 59:case 0:switch(H){case 0:case 125:B=0;case 59+A:-1==V&&($=a($,/\f/g,"")),M>0&&c($)-T&&h(M>32?O($+";",r,n,T-1):O(a($," ","")+";",r,n,T-2),E);break;case 59:$+=";";default:if(h(U=P($,i,n,D,A,s,x,W,j=[],z=[],T),f),123===H){if(0===A)e($,i,U,U,j,f,T,x,z);else switch(99===I&&110===u($,3)?100:I){case 100:case 108:case 109:case 115:e(t,U,U,r&&h(P(t,U,U,0,0,s,x,W,s,j=[],T),z),s,z,T,x,r?j:z);break;default:e($,U,U,U,[""],z,0,x,z)}}}D=A=M=0,F=V=1,W=$="",T=_;break;case 58:T=1+c($),M=R;default:if(F<1){if(123==H)--F;else if(125==H&&0==F++&&125==(v=m>0?u(b,--m):0,p--,10===v&&(p=1,g--),v))continue}switch($+=o(H),H*F){case 38:V=A>0?1:($+="\f",-1);break;case 44:x[D++]=(c($)-1)*V,V=1;break;case 64:45===C()&&($+=k(w())),I=C(),A=T=c(W=$+=function(e){for(;!S(C());)w();return d(b,e,m)}(m)),H++;break;case 45:45===R&&2==c($)&&(F=0)}}return f}("",null,null,null,[""],t=x(t=e),0,[0],t),b="",i),T)},F={key:_,sheet:new n({key:_,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:D,registered:{},insert:function(e,t,i,n){f=i,I(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)}};return F.sheet.hydrate(A),F}},47229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;let r=function(e){var t={};return function(i){return void 0===t[i]&&(t[i]=e(i)),t[i]}}(function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:(e,t,i)=>{"use strict";function n(e){var t=Object.create(null);return function(i){return void 0===t[i]&&(t[i]=e(i)),t[i]}}i.d(t,{Z:()=>n})},33895:(e,t,i)=>{"use strict";i.d(t,{C:()=>f,E:()=>E,T:()=>b,_:()=>m,a:()=>w,b:()=>C,c:()=>x,h:()=>g,i:()=>h,u:()=>y,w:()=>v});var n=i(2784),r=i(39185),o=i(7560),s=function(e){var t=new WeakMap;return function(i){if(t.has(i))return t.get(i);var n=e(i);return t.set(i,n),n}},a=i(73463),l=i.n(a),u=i(82792),d=i(1245),c=i(82668),h=!0,g={}.hasOwnProperty,p=n.createContext("undefined"!=typeof HTMLElement?(0,r.Z)({key:"css"}):null),f=p.Provider,m=function(){return(0,n.useContext)(p)},v=function(e){return(0,n.forwardRef)(function(t,i){return e(t,(0,n.useContext)(p),i)})};h||(v=function(e){return function(t){var i=(0,n.useContext)(p);return null===i?(i=(0,r.Z)({key:"css"}),n.createElement(p.Provider,{value:i},e(t,i))):e(t,i)}});var b=n.createContext({}),y=function(){return n.useContext(b)},_=s(function(e){return s(function(t){return"function"==typeof t?t(e):(0,o.Z)({},e,t)})}),w=function(e){var t=n.useContext(b);return e.theme!==t&&(t=_(t)(e.theme)),n.createElement(b.Provider,{value:t},e.children)};function C(e){var t=e.displayName||e.name||"Component",i=n.forwardRef(function(t,i){var r=n.useContext(b);return n.createElement(e,(0,o.Z)({theme:r,ref:i},t))});return i.displayName="WithTheme("+t+")",l()(i,e)}var S="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x=function(e,t){var i={};for(var n in t)g.call(t,n)&&(i[n]=t[n]);return i[S]=e,i},k=function(e){var t=e.cache,i=e.serialized,n=e.isStringTag;return(0,u.hC)(t,i,n),(0,c.L)(function(){return(0,u.My)(t,i,n)}),null},E=v(function(e,t,i){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[S],s=[r],a="";"string"==typeof e.className?a=(0,u.fp)(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var l=(0,d.O)(s,void 0,n.useContext(b));a+=t.key+"-"+l.name;var c={};for(var h in e)g.call(e,h)&&"css"!==h&&h!==S&&(c[h]=e[h]);return c.ref=i,c.className=a,n.createElement(n.Fragment,null,n.createElement(k,{cache:t,serialized:l,isStringTag:"string"==typeof o}),n.createElement(o,c))})},28165:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CacheProvider:()=>n.C,ClassNames:()=>p,Global:()=>u,ThemeContext:()=>n.T,ThemeProvider:()=>n.a,__unsafe_useEmotionCache:()=>n._,createElement:()=>l,css:()=>d,jsx:()=>l,keyframes:()=>c,useTheme:()=>n.u,withEmotionCache:()=>n.w,withTheme:()=>n.b});var n=i(33895),r=i(2784),o=i(82792),s=i(82668),a=i(1245);i(39185),i(73463);var l=function(e,t){var i=arguments;if(null==t||!n.h.call(t,"css"))return r.createElement.apply(void 0,i);var o=i.length,s=Array(o);s[0]=n.E,s[1]=(0,n.c)(e,t);for(var a=2;a{"use strict";i.d(t,{O:()=>p});var n,r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=i(86894),s=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},d=(0,o.Z)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,t,i){return n={name:t,styles:i,next:n},t})}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,i){if(null==i)return"";if(void 0!==i.__emotion_styles)return i;switch(typeof i){case"boolean":return"";case"object":if(1===i.anim)return n={name:i.name,styles:i.styles,next:n},i.name;if(void 0!==i.styles){var r=i.next;if(void 0!==r)for(;void 0!==r;)n={name:r.name,styles:r.styles,next:n},r=r.next;return i.styles+";"}return function(e,t,i){var n="";if(Array.isArray(i))for(var r=0;r=4;++n,r-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,i=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&i)*1540483477+((i>>>16)*59797<<16);switch(r){case 3:i^=(255&e.charCodeAt(n+2))<<16;case 2:i^=(255&e.charCodeAt(n+1))<<8;case 1:i^=255&e.charCodeAt(n),i=(65535&i)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,(((i=(65535&i)*1540483477+((i>>>16)*59797<<16))^i>>>15)>>>0).toString(36)}(s)+u,styles:s,next:n}}},74126:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var n=i(7560),r=i(2784),o=i(86894),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(0,o.Z)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),l=i(33895),u=i(82792),d=i(1245),c=i(82668),h=function(e){return"theme"!==e},g=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?a:h},p=function(e,t,i){var n;if(t){var r=t.shouldForwardProp;n=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!=typeof n&&i&&(n=e.__emotion_forwardProp),n},f=function(e){var t=e.cache,i=e.serialized,n=e.isStringTag;return(0,u.hC)(t,i,n),(0,c.L)(function(){return(0,u.My)(t,i,n)}),null},m=(function e(t,i){var o,s,a=t.__emotion_real===t,c=a&&t.__emotion_base||t;void 0!==i&&(o=i.label,s=i.target);var h=p(t,i,a),m=h||g(c),v=!m("as");return function(){var b=arguments,y=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{y.push(b[0][0]);for(var _=b.length,w=1;w<_;w++)y.push(b[w],b[0][w])}var C=(0,l.w)(function(e,t,i){var n=v&&e.as||c,o="",a=[],p=e;if(null==e.theme){for(var b in p={},e)p[b]=e[b];p.theme=r.useContext(l.T)}"string"==typeof e.className?o=(0,u.fp)(t.registered,a,e.className):null!=e.className&&(o=e.className+" ");var _=(0,d.O)(y.concat(a),t.registered,p);o+=t.key+"-"+_.name,void 0!==s&&(o+=" "+s);var w=v&&void 0===h?g(n):m,C={};for(var S in e)(!v||"as"!==S)&&w(S)&&(C[S]=e[S]);return C.className=o,C.ref=i,r.createElement(r.Fragment,null,r.createElement(f,{cache:t,serialized:_,isStringTag:"string"==typeof n}),r.createElement(n,C))});return C.displayName=void 0!==o?o:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=c,C.__emotion_styles=y,C.__emotion_forwardProp=h,Object.defineProperty(C,"toString",{value:function(){return"."+s}}),C.withComponent=function(t,r){return e(t,(0,n.Z)({},i,r,{shouldForwardProp:p(C,r,!0)})).apply(void 0,y)},C}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){m[e]=m(e)})},82668:(e,t,i)=>{"use strict";i.d(t,{L:()=>s,j:()=>a});var n,r=i(2784),o=!!(n||(n=i.t(r,2))).useInsertionEffect&&(n||(n=i.t(r,2))).useInsertionEffect,s=o||function(e){return e()},a=o||r.useLayoutEffect},82792:(e,t,i)=>{"use strict";function n(e,t,i){var n="";return i.split(" ").forEach(function(i){void 0!==e[i]?t.push(e[i]+";"):n+=i+" "}),n}i.d(t,{My:()=>o,fp:()=>n,hC:()=>r});var r=function(e,t,i){var n=e.key+"-"+t.name;!1===i&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,i){r(e,t,i);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},57256:(e,t)=>{"use strict";function i(e){if(Array.isArray(e)){let t=[],n=0;for(let r=0;re.length)throw Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,i)}function r(e){if(0===e[0])throw Error("invalid RLP: extra zeros");return u(l(e))}function o(e,t){if(e<56)return Uint8Array.from([e+t]);let i=g(e),n=g(t+55+i.length/2);return Uint8Array.from(d(n+i))}function s(e,t=!1){if(null==e||0===e.length)return Uint8Array.from([]);let i=function e(t){let i,o,s,a,l;let u=[],d=t[0];if(d<=127)return{data:t.slice(0,1),remainder:t.slice(1)};if(d<=183){if(i=d-127,s=128===d?Uint8Array.from([]):n(t,1,i),2===i&&s[0]<128)throw Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:s,remainder:t.slice(i)}}if(d<=191){if(o=d-182,t.length-1t.length)throw Error("invalid RLP: total length is larger than the data");for(a=n(t,o,s);a.length;)l=e(a),u.push(l.data),a=l.remainder;return{data:u,remainder:t.slice(s)}}}(f(e));if(t)return i;if(0!==i.remainder.length)throw Error("invalid RLP: remainder must be zero");return i.data}Object.defineProperty(t,"__esModule",{value:!0}),t.RLP=t.utils=t.decode=t.encode=void 0,t.encode=i,t.decode=s;let a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function l(e){let t="";for(let i=0;ie+t.length,0),i=new Uint8Array(t);for(let t=0,n=0;t=2&&"0"===e[0]&&"x"===e[1]}function f(e){if(e instanceof Uint8Array)return e;if("string"==typeof e){if(p(e)){var t;return d((t="string"!=typeof e?e:p(e)?e.slice(2):e).length%2?`0${t}`:t)}return h(e)}if("number"==typeof e||"bigint"==typeof e)return e?d(g(e)):Uint8Array.from([]);if(null==e)return Uint8Array.from([]);throw Error("toBytes: received unsupported type "+typeof e)}t.utils={bytesToHex:l,concatBytes:c,hexToBytes:d,utf8ToBytes:h},t.RLP={encode:i,decode:s}},54706:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.accountBodyToRLP=t.accountBodyToSlim=t.accountBodyFromSlim=t.isZeroAddress=t.zeroAddress=t.importPublic=t.privateToAddress=t.privateToPublic=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isValidAddress=t.Account=void 0;let r=i(57256),o=i(1115),s=i(80101),a=i(10144),l=i(85766),u=i(38127),d=i(38707),c=i(34243),h=BigInt(0);class g{constructor(e=h,t=h,i=u.KECCAK256_RLP,n=u.KECCAK256_NULL){this.nonce=e,this.balance=t,this.storageRoot=i,this.codeHash=n,this._validate()}static fromAccountData(e){let{nonce:t,balance:i,storageRoot:n,codeHash:r}=e;return new g(void 0!==t?(0,l.bufferToBigInt)((0,l.toBuffer)(t)):void 0,void 0!==i?(0,l.bufferToBigInt)((0,l.toBuffer)(i)):void 0,void 0!==n?(0,l.toBuffer)(n):void 0,void 0!==r?(0,l.toBuffer)(r):void 0)}static fromRlpSerializedAccount(e){let t=(0,l.arrToBufArr)(r.RLP.decode(Uint8Array.from(e)));if(!Array.isArray(t))throw Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)}static fromValuesArray(e){let[t,i,n,r]=e;return new g((0,l.bufferToBigInt)(t),(0,l.bufferToBigInt)(i),n,r)}_validate(){if(this.nonce=8?h+=i[e].toUpperCase():h+=i[e];return h},t.isValidChecksumAddress=function(e,i){return(0,t.isValidAddress)(e)&&(0,t.toChecksumAddress)(e,i)===e},t.generateAddress=function(e,t){return((0,d.assertIsBuffer)(e),(0,d.assertIsBuffer)(t),(0,l.bufferToBigInt)(t)===BigInt(0))?n.from((0,o.keccak256)(r.RLP.encode((0,l.bufArrToArr)([e,null])))).slice(-20):n.from((0,o.keccak256)(r.RLP.encode((0,l.bufArrToArr)([e,t])))).slice(-20)},t.generateAddress2=function(e,t,i){if((0,d.assertIsBuffer)(e),(0,d.assertIsBuffer)(t),(0,d.assertIsBuffer)(i),20!==e.length)throw Error("Expected from to be of length 20");if(32!==t.length)throw Error("Expected salt to be of length 32");let r=(0,o.keccak256)(n.concat([n.from("ff","hex"),e,t,(0,o.keccak256)(i)]));return(0,l.toBuffer)(r).slice(-20)},t.isValidPrivate=function(e){return s.secp256k1.utils.isValidPrivateKey(e)},t.isValidPublic=function(e,t=!1){if((0,d.assertIsBuffer)(e),64===e.length)try{return s.secp256k1.ProjectivePoint.fromHex(n.concat([n.from([4]),e])),!0}catch(e){return!1}if(!t)return!1;try{return s.secp256k1.ProjectivePoint.fromHex(e),!0}catch(e){return!1}},t.pubToAddress=function(e,t=!1){if((0,d.assertIsBuffer)(e),t&&64!==e.length&&(e=n.from(s.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1))),64!==e.length)throw Error("Expected pubKey to be of length 64");return n.from((0,o.keccak256)(e)).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToPublic=function(e){return(0,d.assertIsBuffer)(e),n.from(s.secp256k1.ProjectivePoint.fromPrivateKey(e).toRawBytes(!1).slice(1))},t.privateToAddress=function(e){return(0,t.publicToAddress)((0,t.privateToPublic)(e))},t.importPublic=function(e){return(0,d.assertIsBuffer)(e),64!==e.length&&(e=n.from(s.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1))),e},t.zeroAddress=function(){let e=(0,l.zeros)(20);return(0,l.bufferToHex)(e)},t.isZeroAddress=function(e){try{(0,d.assertIsString)(e)}catch(e){return!1}return(0,t.zeroAddress)()===e},t.accountBodyFromSlim=p;let f=new Uint8Array(0);t.accountBodyToSlim=function(e){let[t,i,n,r]=e;return[t,i,(0,l.arrToBufArr)(n).equals(u.KECCAK256_RLP)?f:n,(0,l.arrToBufArr)(r).equals(u.KECCAK256_NULL)?f:r]},t.accountBodyToRLP=function(e,t=!0){let i=t?p(e):e;return(0,l.arrToBufArr)(r.RLP.encode(i))}},38515:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.Address=void 0;let r=i(54706),o=i(85766);class s{constructor(e){if(20!==e.length)throw Error("Invalid address length");this.buf=e}static zero(){return new s((0,o.zeros)(20))}static fromString(e){if(!(0,r.isValidAddress)(e))throw Error("Invalid address");return new s((0,o.toBuffer)(e))}static fromPublicKey(e){if(!n.isBuffer(e))throw Error("Public key should be Buffer");let t=(0,r.pubToAddress)(e);return new s(t)}static fromPrivateKey(e){if(!n.isBuffer(e))throw Error("Private key should be Buffer");let t=(0,r.privateToAddress)(e);return new s(t)}static generate(e,t){if("bigint"!=typeof t)throw Error("Expected nonce to be a bigint");return new s((0,r.generateAddress)(e.buf,(0,o.bigIntToBuffer)(t)))}static generate2(e,t,i){if(!n.isBuffer(t))throw Error("Expected salt to be a Buffer");if(!n.isBuffer(i))throw Error("Expected initCode to be a Buffer");return new s((0,r.generateAddress2)(e.buf,t,i))}equals(e){return this.buf.equals(e.buf)}isZero(){return this.equals(s.zero())}isPrecompileOrSystemAddress(){let e=(0,o.bufferToBigInt)(this.buf),t=BigInt(0),i=BigInt("0xffff");return e>=t&&e<=i}toString(){return"0x"+this.buf.toString("hex")}toBuffer(){return n.from(this.buf)}}t.Address=s},68263:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncEventEmitter=void 0;let n=i(22699);async function r(e,t,i){let n;for await(let r of t)try{r.length<2?r.call(e,i):await new Promise((t,n)=>{r.call(e,i,e=>{e?n(e):t()})})}catch(e){n=e}if(n)throw n}class o extends n.EventEmitter{emit(e,...t){let[i,n]=t,o=this._events[e]??[];return void 0===n&&"function"==typeof i&&(n=i,i=void 0),("newListener"===e||"removeListener"===e)&&(i={event:i,fn:n},n=void 0),r(this,(o=Array.isArray(o)?o:[o]).slice(),i).then(n).catch(n),this.listenerCount(e)>0}once(e,t){let i;let n=this;if("function"!=typeof t)throw TypeError("listener must be a function");return i=t.length>=2?function(r,o){n.removeListener(e,i),t(r,o)}:function(r){n.removeListener(e,i),t(r,i)},n.on(e,i),n}first(e,t){let i=this._events[e]??[];if("function"!=typeof t)throw TypeError("listener must be a function");return Array.isArray(i)||(this._events[e]=i=[i]),i.unshift(t),this}before(e,t,i){return this.beforeOrAfter(e,t,i)}after(e,t,i){return this.beforeOrAfter(e,t,i,"after")}beforeOrAfter(e,t,i,n){let r,o,s=this._events[e]??[],a="after"===n?1:0;if("function"!=typeof i)throw TypeError("listener must be a function");if("function"!=typeof t)throw TypeError("target must be a function");for(Array.isArray(s)||(this._events[e]=s=[s]),o=s.length,r=s.length;r--;)if(s[r]===t){o=r+a;break}return s.splice(o,0,i),this}on(e,t){return super.on(e,t)}addListener(e,t){return super.addListener(e,t)}prependListener(e,t){return super.prependListener(e,t)}prependOnceListener(e,t){return super.prependOnceListener(e,t)}removeAllListeners(e){return super.removeAllListeners(e)}removeListener(e,t){return super.removeListener(e,t)}eventNames(){return super.eventNames()}listeners(e){return super.listeners(e)}listenerCount(e){return super.listenerCount(e)}getMaxListeners(){return super.getMaxListeners()}setMaxListeners(e){return super.setMaxListeners(e)}}t.AsyncEventEmitter=o},85766:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.intToUnpaddedBuffer=t.bigIntToUnpaddedBuffer=t.bigIntToHex=t.bufArrToArr=t.arrToBufArr=t.validateNoLeadingZeroes=t.baToJSON=t.toUtf8=t.short=t.addHexPrefix=t.toUnsigned=t.fromSigned=t.bufferToInt=t.bigIntToBuffer=t.bufferToBigInt=t.bufferToHex=t.toBuffer=t.unpadHexString=t.unpadArray=t.unpadBuffer=t.setLengthRight=t.setLengthLeft=t.zeros=t.intToBuffer=t.intToHex=void 0;let r=i(38707),o=i(34243);t.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`},t.intToBuffer=function(e){let i=(0,t.intToHex)(e);return n.from((0,o.padToEven)(i.slice(2)),"hex")},t.zeros=function(e){return n.allocUnsafe(e).fill(0)};let s=function(e,i,n){let r=(0,t.zeros)(i);return n?e.length0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};function l(e){let i=(0,t.bufferToHex)(e);return"0x"===i?BigInt(0):BigInt(i)}function u(e){return(0,t.toBuffer)("0x"+e.toString(16))}t.unpadBuffer=function(e){return(0,r.assertIsBuffer)(e),a(e)},t.unpadArray=function(e){return(0,r.assertIsArray)(e),a(e)},t.unpadHexString=function(e){return(0,r.assertIsHexString)(e),"0x"+a(e=(0,o.stripHexPrefix)(e))},t.toBuffer=function(e){if(null==e)return n.allocUnsafe(0);if(n.isBuffer(e)||Array.isArray(e)||e instanceof Uint8Array)return n.from(e);if("string"==typeof e){if(!(0,o.isHexString)(e))throw Error(`Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ${e}`);return n.from((0,o.padToEven)((0,o.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,t.intToBuffer)(e);if("bigint"==typeof e){if(e0&&0===i[0])throw Error(`${t} cannot have leading zeroes, received: ${i.toString("hex")}`)},t.arrToBufArr=function e(t){return Array.isArray(t)?t.map(t=>e(t)):n.from(t)},t.bufArrToArr=function e(t){return Array.isArray(t)?t.map(t=>e(t)):Uint8Array.from(t??[])},t.bigIntToHex=e=>"0x"+e.toString(16),t.bigIntToUnpaddedBuffer=function(e){return(0,t.unpadBuffer)(u(e))},t.intToUnpaddedBuffer=function(e){return(0,t.unpadBuffer)((0,t.intToBuffer)(e))}},38127:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_WITHDRAWALS_PER_PAYLOAD=t.RLP_EMPTY_STRING=t.KECCAK256_RLP=t.KECCAK256_RLP_S=t.KECCAK256_RLP_ARRAY=t.KECCAK256_RLP_ARRAY_S=t.KECCAK256_NULL=t.KECCAK256_NULL_S=t.TWO_POW256=t.SECP256K1_ORDER_DIV_2=t.SECP256K1_ORDER=t.MAX_INTEGER_BIGINT=t.MAX_INTEGER=t.MAX_UINT64=void 0;let n=i(48834),r=i(80101);t.MAX_UINT64=BigInt("0xffffffffffffffff"),t.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),t.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),t.SECP256K1_ORDER=r.secp256k1.CURVE.n,t.SECP256K1_ORDER_DIV_2=r.secp256k1.CURVE.n/BigInt(2),t.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),t.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",t.KECCAK256_NULL=n.Buffer.from(t.KECCAK256_NULL_S,"hex"),t.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",t.KECCAK256_RLP_ARRAY=n.Buffer.from(t.KECCAK256_RLP_ARRAY_S,"hex"),t.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",t.KECCAK256_RLP=n.Buffer.from(t.KECCAK256_RLP_S,"hex"),t.RLP_EMPTY_STRING=n.Buffer.from([128]),t.MAX_WITHDRAWALS_PER_PAYLOAD=16},73244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactBytesToNibbles=t.bytesToNibbles=t.nibblesToCompactBytes=t.nibblesToBytes=t.hasTerminator=void 0,t.hasTerminator=e=>e.length>0&&16===e[e.length-1],t.nibblesToBytes=(e,t)=>{for(let i=0,n=0;n{let i=0;(0,t.hasTerminator)(e)&&(i=1,e=e.subarray(0,e.length-1));let n=new Uint8Array(e.length/2+1);return n[0]=i<<5,(1&e.length)==1&&(n[0]|=16,n[0]|=e[0],e=e.subarray(1)),(0,t.nibblesToBytes)(e,n.subarray(1)),n},t.bytesToNibbles=e=>{let t=2*e.length+1,i=new Uint8Array(t);for(let t=0;t{if(0===e.length)return e;let i=(0,t.bytesToNibbles)(e);i[0]<2&&(i=i.subarray(0,i.length-1));let n=2-(1&i[0]);return i.subarray(n)}},38707:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.assertIsString=t.assertIsArray=t.assertIsBuffer=t.assertIsHexString=void 0;let r=i(34243);t.assertIsHexString=function(e){if(!(0,r.isHexString)(e))throw Error(`This method only supports 0x-prefixed hex strings but input was: ${e}`)},t.assertIsBuffer=function(e){if(!n.isBuffer(e))throw Error(`This method only supports Buffer but input was: ${e}`)},t.assertIsArray=function(e){if(!Array.isArray(e))throw Error(`This method only supports number arrays but input was: ${e}`)},t.assertIsString=function(e){if("string"!=typeof e)throw Error(`This method only supports strings but input was: ${e}`)}},45372:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.toAscii=t.stripHexPrefix=t.padToEven=t.isHexString=t.isHexPrefixed=t.getKeys=t.getBinarySize=t.fromUtf8=t.fromAscii=t.arrayContainsArray=void 0,r(i(38127),t),r(i(53895),t),r(i(54706),t),r(i(38515),t),r(i(72868),t),r(i(2074),t),r(i(85766),t),r(i(82103),t),r(i(73244),t),r(i(68263),t);var o=i(34243);Object.defineProperty(t,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(t,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(t,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(t,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return o.isHexString}}),Object.defineProperty(t,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(t,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),r(i(66065),t),r(i(46831),t)},34243:(e,t,i)=>{"use strict";var n=i(48834).Buffer;function r(e){if("string"!=typeof e)throw Error(`[isHexPrefixed] input must be type 'string', received type ${typeof e}`);return"0"===e[0]&&"x"===e[1]}function o(e){let t=e;if("string"!=typeof t)throw Error(`[padToEven] value must be type 'string', received ${typeof t}`);return t.length%2&&(t=`0${t}`),t}Object.defineProperty(t,"__esModule",{value:!0}),t.isHexString=t.getKeys=t.fromAscii=t.fromUtf8=t.toAscii=t.arrayContainsArray=t.getBinarySize=t.padToEven=t.stripHexPrefix=t.isHexPrefixed=void 0,t.isHexPrefixed=r,t.stripHexPrefix=e=>{if("string"!=typeof e)throw Error(`[stripHexPrefix] input must be type 'string', received ${typeof e}`);return r(e)?e.slice(2):e},t.padToEven=o,t.getBinarySize=function(e){if("string"!=typeof e)throw Error(`[getBinarySize] method requires input type 'string', received ${typeof e}`);return n.byteLength(e,"utf8")},t.arrayContainsArray=function(e,t,i){if(!0!==Array.isArray(e))throw Error(`[arrayContainsArray] method requires input 'superset' to be an array, got type '${typeof e}'`);if(!0!==Array.isArray(t))throw Error(`[arrayContainsArray] method requires input 'subset' to be an array, got type '${typeof t}'`);return t[!0===i?"some":"every"](t=>e.indexOf(t)>=0)},t.toAscii=function(e){let t="",i=0,n=e.length;for("0x"===e.substring(0,2)&&(i=2);i0)||e.length===2+2*t)}},66065:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lock=void 0,t.Lock=class{constructor(){this.permits=1,this.promiseResolverQueue=[]}async acquire(){return this.permits>0?(this.permits-=1,Promise.resolve(!0)):new Promise(e=>this.promiseResolverQueue.push(e))}release(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;let e=this.promiseResolverQueue.shift();e&&e(!0)}}}},46831:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProvider=t.fetchFromProvider=void 0;let n=i(42973),r=async(e,t)=>(await (0,n.default)(e,{headers:{"content-type":"application/json"},type:"json",data:{method:t.method,params:t.params,jsonrpc:"2.0",id:1}})).result;t.fetchFromProvider=r,t.getProvider=e=>{if("string"==typeof e)return e;if(e?.connection?.url!==void 0)return e.connection.url;throw Error("Must provide valid provider URL or Web3Provider")}},2074:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.hashPersonalMessage=t.isValidSignature=t.fromRpcSig=t.toCompactSig=t.toRpcSig=t.ecrecover=t.ecsign=void 0;let r=i(1115),o=i(80101),s=i(85766),a=i(38127),l=i(38707);function u(e,t){return e===BigInt(0)||e===BigInt(1)?e:void 0===t?e-BigInt(27):e-(t*BigInt(2)+BigInt(35))}function d(e){return e===BigInt(0)||e===BigInt(1)}t.ecsign=function(e,t,i){let r=o.secp256k1.sign(e,t),s=r.toCompactRawBytes();return{r:n.from(s.slice(0,32)),s:n.from(s.slice(32,64)),v:void 0===i?BigInt(r.recovery+27):BigInt(r.recovery+35)+BigInt(i)*BigInt(2)}},t.ecrecover=function(e,t,i,r,a){let l=n.concat([(0,s.setLengthLeft)(i,32),(0,s.setLengthLeft)(r,32)],64),c=u(t,a);if(!d(c))throw Error("Invalid signature v value");let h=o.secp256k1.Signature.fromCompact(l).addRecoveryBit(Number(c)).recoverPublicKey(e);return n.from(h.toRawBytes(!1).slice(1))},t.toRpcSig=function(e,t,i,r){if(!d(u(e,r)))throw Error("Invalid signature v value");return(0,s.bufferToHex)(n.concat([(0,s.setLengthLeft)(t,32),(0,s.setLengthLeft)(i,32),(0,s.toBuffer)(e)]))},t.toCompactSig=function(e,t,i,r){if(!d(u(e,r)))throw Error("Invalid signature v value");let o=i;return(e>BigInt(28)&&e%BigInt(2)===BigInt(1)||e===BigInt(1)||e===BigInt(28))&&(o=n.from(i),o[0]|=128),(0,s.bufferToHex)(n.concat([(0,s.setLengthLeft)(t,32),(0,s.setLengthLeft)(o,32)]))},t.fromRpcSig=function(e){let t,i,n;let r=(0,s.toBuffer)(e);if(r.length>=65)t=r.slice(0,32),i=r.slice(32,64),n=(0,s.bufferToBigInt)(r.slice(64));else if(64===r.length)t=r.slice(0,32),i=r.slice(32,64),n=BigInt((0,s.bufferToInt)(r.slice(32,33))>>7),i[0]&=127;else throw Error("Invalid signature length");return n<27&&(n+=BigInt(27)),{v:n,r:t,s:i}},t.isValidSignature=function(e,t,i,n=!0,r){if(32!==t.length||32!==i.length||!d(u(e,r)))return!1;let o=(0,s.bufferToBigInt)(t),l=(0,s.bufferToBigInt)(i);return o!==BigInt(0)&&!(o>=a.SECP256K1_ORDER)&&l!==BigInt(0)&&!(l>=a.SECP256K1_ORDER)&&(!n||!(l>=a.SECP256K1_ORDER_DIV_2))},t.hashPersonalMessage=function(e){(0,l.assertIsBuffer)(e);let t=n.from(`\u0019Ethereum Signed Message: -${e.length}`,"utf-8");return n.from((0,r.keccak256)(n.concat([t,e])))}},82103:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.toType=t.TypeOutput=void 0;let r=i(85766),o=i(34243);!function(e){e[e.Number=0]="Number",e[e.BigInt=1]="BigInt",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(n=t.TypeOutput||(t.TypeOutput={})),t.toType=function(e,t){if(null===e)return null;if(void 0===e)return;if("string"!=typeof e||(0,o.isHexString)(e)){if("number"==typeof e&&!Number.isSafeInteger(e))throw Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)")}else throw Error(`A string must be provided with a 0x-prefix, given: ${e}`);let i=(0,r.toBuffer)(e);switch(t){case n.Buffer:return i;case n.BigInt:return(0,r.bufferToBigInt)(i);case n.Number:{let e=(0,r.bufferToBigInt)(i);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case n.PrefixedHexString:return(0,r.bufferToHex)(i);default:throw Error("unknown outputType")}}},53895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GWEI_TO_WEI=void 0,t.GWEI_TO_WEI=BigInt(1e9)},72868:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.Withdrawal=void 0;let r=i(38515),o=i(85766),s=i(82103);class a{constructor(e,t,i,n){this.index=e,this.validatorIndex=t,this.address=i,this.amount=n}static fromWithdrawalData(e){let{index:t,validatorIndex:i,address:n,amount:o}=e,l=(0,s.toType)(t,s.TypeOutput.BigInt),u=(0,s.toType)(i,s.TypeOutput.BigInt),d=new r.Address((0,s.toType)(n,s.TypeOutput.Buffer)),c=(0,s.toType)(o,s.TypeOutput.BigInt);return new a(l,u,d,c)}static fromValuesArray(e){if(4!==e.length)throw Error(`Invalid withdrawalArray length expected=4 actual=${e.length}`);let[t,i,n,r]=e;return a.fromWithdrawalData({index:t,validatorIndex:i,address:n,amount:r})}static toBufferArray(e){let{index:t,validatorIndex:i,address:o,amount:a}=e;return[(0,s.toType)(t,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(t,s.TypeOutput.Buffer),(0,s.toType)(i,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(i,s.TypeOutput.Buffer),o instanceof r.Address?o.buf:(0,s.toType)(o,s.TypeOutput.Buffer),(0,s.toType)(a,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(a,s.TypeOutput.Buffer)]}raw(){return a.toBufferArray(this)}toValue(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.buf,amount:this.amount}}toJSON(){return{index:(0,o.bigIntToHex)(this.index),validatorIndex:(0,o.bigIntToHex)(this.validatorIndex),address:"0x"+this.address.buf.toString("hex"),amount:(0,o.bigIntToHex)(this.amount)}}}t.Withdrawal=a},83620:(e,t,i)=>{"use strict";i.r(t),i.d(t,{commify:()=>G,formatEther:()=>Q,formatUnits:()=>Z,parseEther:()=>J,parseUnits:()=>Y});let n=!1,r=!1,o={debug:1,default:2,info:2,warning:3,error:4,off:5},s=2,a=null,l=function(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test"!=="test".normalize(t))throw Error("bad normalize")}catch(i){e.push(t)}}),e.length)throw Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(w||(w={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(C||(C={}));let u="0123456789abcdef";class d{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){let i=e.toLowerCase();null==o[i]&&this.throwArgumentError("invalid log level name","logLevel",e),s>o[i]||console.log.apply(console,t)}debug(...e){this._log(d.levels.DEBUG,e)}info(...e){this._log(d.levels.INFO,e)}warn(...e){this._log(d.levels.WARNING,e)}makeError(e,t,i){if(r)return this.makeError("censored error",t,{});t||(t=d.errors.UNKNOWN_ERROR),i||(i={});let n=[];Object.keys(i).forEach(e=>{let t=i[e];try{if(t instanceof Uint8Array){let i="";for(let e=0;e>4]+u[15&t[e]];n.push(e+"=Uint8Array(0x"+i+")")}else n.push(e+"="+JSON.stringify(t))}catch(t){n.push(e+"="+JSON.stringify(i[e].toString()))}}),n.push(`code=${t}`),n.push(`version=${this.version}`);let o=e,s="";switch(t){case C.NUMERIC_FAULT:{s="NUMERIC_FAULT";let t=e;switch(t){case"overflow":case"underflow":case"division-by-zero":s+="-"+t;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case C.CALL_EXCEPTION:case C.INSUFFICIENT_FUNDS:case C.MISSING_NEW:case C.NONCE_EXPIRED:case C.REPLACEMENT_UNDERPRICED:case C.TRANSACTION_REPLACED:case C.UNPREDICTABLE_GAS_LIMIT:s=t}s&&(e+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),n.length&&(e+=" ("+n.join(", ")+")");let a=Error(e);return a.reason=o,a.code=t,Object.keys(i).forEach(function(e){a[e]=i[e]}),a}throwError(e,t,i){throw this.makeError(e,t,i)}throwArgumentError(e,t,i){return this.throwError(e,d.errors.INVALID_ARGUMENT,{argument:t,value:i})}assert(e,t,i,n){e||this.throwError(t,i,n)}assertArgument(e,t,i,n){e||this.throwArgumentError(t,i,n)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),l&&this.throwError("platform missing String.prototype.normalize",d.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:l})}checkSafeUint53(e,t){"number"==typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,i){i=i?": "+i:"",et&&this.throwError("too many arguments"+i,d.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||null==e)&&this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",d.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||null==e)&&this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return a||(a=new d("logger/5.7.0")),a}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!e)return;this.globalLogger().throwError("error censorship permanent",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}r=!!e,n=!!t}static setLogLevel(e){let t=o[e.toLowerCase()];if(null==t){d.globalLogger().warn("invalid log level - "+e);return}s=t}static from(e){return new d(e)}}d.errors=C,d.levels=w;let c=new d("bytes/5.7.0");function h(e){return!!e.toHexString}function g(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return g(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function p(e){return"number"==typeof e&&e==e&&e%1==0}function f(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e||!p(e.length)||e.length<0)return!1;for(let t=0;t=256)return!1}return!0}function m(e,t){return"string"==typeof e&&!!e.match(/^0x[0-9A-Fa-f]*$/)&&(!t||e.length===2+2*t)}let v="0123456789abcdef";function b(e,t){if(t||(t={}),"number"==typeof e){c.checkSafeUint53(e,"invalid hexlify value");let t="";for(;e;)t=v[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),h(e))return e.toHexString();if(m(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":c.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(f(e)){let t="0x";for(let i=0;i>4]+v[15&n]}return t}return c.throwArgumentError("invalid hexlify value","value",e)}function y(e,t){for("string"!=typeof e?e=b(e):m(e)||c.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&c.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}let _="bignumber/5.7.0";var w,C,S=i(62197),x=i.n(S)().BN;let k=new d(_),E={},L=!1;class D{constructor(e,t){e!==E&&k.throwError("cannot call constructor directly; use BigNumber.from",d.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return A(T(this).fromTwos(e))}toTwos(e){return A(T(this).toTwos(e))}abs(){return"-"===this._hex[0]?D.from(this._hex.substring(1)):this}add(e){return A(T(this).add(T(e)))}sub(e){return A(T(this).sub(T(e)))}div(e){return D.from(e).isZero()&&I("division-by-zero","div"),A(T(this).div(T(e)))}mul(e){return A(T(this).mul(T(e)))}mod(e){let t=T(e);return t.isNeg()&&I("division-by-zero","mod"),A(T(this).umod(t))}pow(e){let t=T(e);return t.isNeg()&&I("negative-power","pow"),A(T(this).pow(t))}and(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","and"),A(T(this).and(t))}or(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","or"),A(T(this).or(t))}xor(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","xor"),A(T(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&I("negative-width","mask"),A(T(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&I("negative-width","shl"),A(T(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&I("negative-width","shr"),A(T(this).shrn(e))}eq(e){return T(this).eq(T(e))}lt(e){return T(this).lt(T(e))}lte(e){return T(this).lte(T(e))}gt(e){return T(this).gt(T(e))}gte(e){return T(this).gte(T(e))}isNegative(){return"-"===this._hex[0]}isZero(){return T(this).isZero()}toNumber(){try{return T(this).toNumber()}catch(e){I("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return k.throwError("this platform does not support BigInt",d.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?L||(L=!0,k.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?k.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",d.errors.UNEXPECTED_ARGUMENT,{}):k.throwError("BigNumber.toString does not accept parameters",d.errors.UNEXPECTED_ARGUMENT,{})),T(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof D)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new D(E,N(e)):e.match(/^-?[0-9]+$/)?new D(E,N(new x(e))):k.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&I("underflow","BigNumber.from",e),(e>=9007199254740991||e<=-9007199254740991)&&I("overflow","BigNumber.from",e),D.from(String(e));if("bigint"==typeof e)return D.from(e.toString());if(f(e))return D.from(b(e));if(e){if(e.toHexString){let t=e.toHexString();if("string"==typeof t)return D.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(m(t)||"-"===t[0]&&m(t.substring(1))))return D.from(t)}}return k.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}}function N(e){if("string"!=typeof e)return N(e.toString(16));if("-"===e[0])return("-"===(e=e.substring(1))[0]&&k.throwArgumentError("invalid hex","value",e),"0x00"===(e=N(e)))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function A(e){return D.from(N(e))}function T(e){let t=D.from(e).toHexString();return"-"===t[0]?new x("-"+t.substring(3),16):new x(t.substring(2),16)}function I(e,t,i){let n={fault:e,operation:t};return null!=i&&(n.value=i),k.throwError(e,d.errors.NUMERIC_FAULT,n)}let M=new d(_),R={},P=D.from(0),O=D.from(-1);function F(e,t,i,n){let r={fault:t,operation:i};return void 0!==n&&(r.value=n),M.throwError(e,d.errors.NUMERIC_FAULT,r)}let B="0";for(;B.length<256;)B+=B;function V(e){if("number"!=typeof e)try{e=D.from(e).toNumber()}catch(e){}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+B.substring(0,e):M.throwArgumentError("invalid decimal size","decimals",e)}function H(e,t){null==t&&(t=0);let i=V(t),n=(e=D.from(e)).lt(P);n&&(e=e.mul(O));let r=e.mod(i).toString();for(;r.length2&&M.throwArgumentError("too many decimal points","value",e);let o=r[0],s=r[1];for(o||(o="0"),s||(s="0");"0"===s[s.length-1];)s=s.substring(0,s.length-1);for(s.length>i.length-1&&F("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");s.lengthnull==e[t]?n:(typeof e[t]!==i&&M.throwArgumentError("invalid fixed format ("+t+" not "+i+")","format."+t,e[t]),e[t]);t=r("signed","boolean",t),i=r("width","number",i),n=r("decimals","number",n)}return i%8&&M.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",i),n>80&&M.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new j(R,t,i,n)}}class z{constructor(e,t,i,n){e!==R&&M.throwError("cannot use FixedNumber constructor; use FixedNumber.from",d.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=t,this._value=i,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&M.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let t=W(this._value,this.format.decimals),i=W(e._value,e.format.decimals);return z.fromValue(t.add(i),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let t=W(this._value,this.format.decimals),i=W(e._value,e.format.decimals);return z.fromValue(t.sub(i),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let t=W(this._value,this.format.decimals),i=W(e._value,e.format.decimals);return z.fromValue(t.mul(i).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let t=W(this._value,this.format.decimals),i=W(e._value,e.format.decimals);return z.fromValue(t.mul(this.format._multiplier).div(i),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");1===e.length&&e.push("0");let t=z.from(e[0],this.format),i=!e[1].match(/^(0*)$/);return this.isNegative()&&i&&(t=t.subUnsafe(U.toFormat(t.format))),t}ceiling(){let e=this.toString().split(".");1===e.length&&e.push("0");let t=z.from(e[0],this.format),i=!e[1].match(/^(0*)$/);return!this.isNegative()&&i&&(t=t.addUnsafe(U.toFormat(t.format))),t}round(e){null==e&&(e=0);let t=this.toString().split(".");if(1===t.length&&t.push("0"),(e<0||e>80||e%1)&&M.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;let i=z.from("1"+B.substring(0,e),this.format),n=$.toFormat(this.format);return this.mulUnsafe(i).addUnsafe(n).floor().divUnsafe(i)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(e){return null==e?this._hex:(e%8&&M.throwArgumentError("invalid byte width","width",e),y(D.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString(),e/8))}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return z.fromString(this._value,e)}static fromValue(e,t,i){var n;return null!=i||null==t||null!=(n=t)&&(D.isBigNumber(n)||"number"==typeof n&&n%1==0||"string"==typeof n&&n.match(/^-?[0-9]+$/)||m(n)||"bigint"==typeof n||f(n))||(i=t,t=null),null==t&&(t=0),null==i&&(i="fixed"),z.fromString(H(e,t),j.from(i))}static fromString(e,t){null==t&&(t="fixed");let i=j.from(t),n=W(e,i.decimals);!i.signed&&n.lt(P)&&F("unsigned value cannot be negative","overflow","value",e);let r=null;r=i.signed?n.toTwos(i.width).toHexString():y(r=n.toHexString(),i.width/8);let o=H(n,i.decimals);return new z(R,r,o,i)}static fromBytes(e,t){null==t&&(t="fixed");let i=j.from(t);if(function(e,t){if(t||(t={}),"number"==typeof e){c.checkSafeUint53(e,"invalid arrayify value");let t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),g(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),h(e)&&(e=e.toHexString()),m(e)){let i=e.substring(2);i.length%2&&("left"===t.hexPad?i="0"+i:"right"===t.hexPad?i+="0":c.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let e=0;ei.width/8)throw Error("overflow");let n=D.from(e);i.signed&&(n=n.fromTwos(i.width));let r=n.toTwos((i.signed?0:1)+i.width).toHexString(),o=H(n,i.decimals);return new z(R,r,o,i)}static from(e,t){if("string"==typeof e)return z.fromString(e,t);if(f(e))return z.fromBytes(e,t);try{return z.fromValue(e,0,t)}catch(e){if(e.code!==d.errors.INVALID_ARGUMENT)throw e}return M.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}}let U=z.from(1),$=z.from("0.5"),q=new d("units/5.7.0"),K=["wei","kwei","mwei","gwei","szabo","finney","ether"];function G(e){let t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&q.throwArgumentError("invalid value","value",e);let i=t[0],n="";for("-"===i.substring(0,1)&&(n="-",i=i.substring(1));"0"===i.substring(0,1);)i=i.substring(1);""===i&&(i="0");let r="";for(2===t.length&&(r="."+(t[1]||"0"));r.length>2&&"0"===r[r.length-1];)r=r.substring(0,r.length-1);let o=[];for(;i.length;){if(i.length<=3){o.unshift(i);break}{let e=i.length-3;o.unshift(i.substring(e)),i=i.substring(0,e)}}return n+o.join(",")+r}function Z(e,t){if("string"==typeof t){let e=K.indexOf(t);-1!==e&&(t=3*e)}return H(e,null!=t?t:18)}function Y(e,t){if("string"!=typeof e&&q.throwArgumentError("value must be a string","value",e),"string"==typeof t){let e=K.indexOf(t);-1!==e&&(t=3*e)}return W(e,null!=t?t:18)}function Q(e){return Z(e,18)}function J(e){return Y(e,18)}},68872:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeSingle=t.decode=t.encodePacked=t.encodeSingle=t.encode=void 0;let n=i(45554),r=i(39777),o=i(69472);t.encode=(e,t,i,n)=>{try{return(0,o.pack)({types:e,values:t,packed:i,tight:n})}catch(e){if(e instanceof r.ParserError)throw new r.ParserError(`Unable to encode value: ${e.message}`,e);throw new r.ParserError(`An unexpected error occurred: ${(0,r.getErrorMessage)(e)}`,e)}},t.encodeSingle=(e,i)=>(0,t.encode)([e],[i]),t.encodePacked=(e,i,n)=>(0,t.encode)(e,i,!0,n),t.decode=(e,t)=>{let i=(0,n.createBytes)(t);try{return(0,o.unpack)(e,i)}catch(e){if(e instanceof r.ParserError)throw new r.ParserError(`Unable to decode value: ${e.message}`,e);throw new r.ParserError(`An unexpected error occurred: ${(0,r.getErrorMessage)(e)}`,e)}},t.decodeSingle=(e,i)=>{let o=(0,t.decode)([e],i);return(0,n.assert)(1===o.length,new r.ParserError("Decoded value array has unexpected length.")),o[0]}},39777:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParserError=t.getErrorStack=t.getErrorMessage=void 0;let n=i(45554);t.getErrorMessage=e=>"string"==typeof e?e:e instanceof Error||(0,n.isObject)(e)&&(0,n.hasProperty)(e,"message")&&"string"==typeof e.message?e.message:"Unknown error.",t.getErrorStack=e=>{if(e instanceof Error)return e.stack},t.ParserError=class extends Error{constructor(e,i){super(e),this.name="ParserError";let n=(0,t.getErrorStack)(i);n&&(this.stack=n)}}},40260:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(68872),t),r(i(39777),t),r(i(75858),t)},12378:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterate=void 0;let n=i(45554),r=function*(e,t=32){for(let i=0;i{(0,n.assert)(e>=0,"Cannot skip a negative number of bytes."),(0,n.assert)(e%t==0,"Length must be a multiple of the size."),i+=e},o=e.subarray(i);yield{skip:r,value:o}}return{skip:()=>void 0,value:new Uint8Array}};t.iterate=r},69472:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpack=t.pack=t.isDynamicParser=t.getParser=void 0;let n=i(45554),r=i(39777),o=i(12378),s=i(84206),a=i(92313);t.getParser=e=>{let t={address:s.address,array:s.array,bool:s.bool,bytes:s.bytes,fixedBytes:s.fixedBytes,function:s.fn,number:s.number,string:s.string,tuple:s.tuple},i=t[e];if(i)return i;let n=Object.values(t).find(t=>t.isType(e));if(n)return n;throw new r.ParserError(`The type "${e}" is not supported.`)},t.isDynamicParser=(e,t)=>{let{isDynamic:i}=e;return"function"==typeof i?i(t):i},t.pack=({types:e,values:i,packed:o=!1,tight:s=!1,arrayPacked:l=!1,byteArray:u=new Uint8Array})=>{(0,n.assert)(e.length===i.length,new r.ParserError(`The number of types (${e.length}) does not match the number of values (${i.length}).`));let{staticBuffer:d,dynamicBuffer:c,pointers:h}=e.reduce(({staticBuffer:e,dynamicBuffer:r,pointers:a},u,d)=>{let c=(0,t.getParser)(u),h=i[d];return o||l||!(0,t.isDynamicParser)(c,u)?{staticBuffer:c.encode({buffer:e,value:h,type:u,packed:o,tight:s}),dynamicBuffer:r,pointers:a}:{staticBuffer:(0,n.concatBytes)([e,new Uint8Array(32)]),dynamicBuffer:c.encode({buffer:r,value:h,type:u,packed:o,tight:s}),pointers:[...a,{position:e.length,pointer:r.length}]}},{staticBuffer:new Uint8Array,dynamicBuffer:new Uint8Array,pointers:[]});(0,n.assert)(!o&&!l||0===c.length,new r.ParserError("Invalid pack state."));let g=d.length,p=h.reduce((e,{pointer:t,position:i})=>{let r=(0,a.padStart)((0,n.numberToBytes)(g+t));return(0,a.set)(e,r,i)},d);return(0,n.concatBytes)([u,p,c])},t.unpack=(e,i)=>{let s=(0,o.iterate)(i);return e.map(e=>{let{value:{value:o,skip:a},done:l}=s.next();(0,n.assert)(!l,new r.ParserError(`The encoded value is invalid for the provided types. Reached end of buffer while attempting to parse "${e}".`));let u=(0,t.getParser)(e);if((0,t.isDynamicParser)(u,e)){let t=(0,n.bytesToNumber)(o.subarray(0,32)),r=i.subarray(t);return u.decode({type:e,value:r,skip:a})}return u.decode({type:e,value:o,skip:a})})}},27683:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.address=t.getAddress=void 0;let n=i(45554),r=i(39777),o=i(92313);t.getAddress=e=>{let t=(0,n.createBytes)(e);return(0,n.assert)(t.length<=20,new r.ParserError(`Invalid address value. Expected address to be 20 bytes long, but received ${t.length} bytes.`)),(0,o.padStart)(t,20)},t.address={isDynamic:!1,isType:e=>"address"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:r}){let s=(0,t.getAddress)(i);if(r)return(0,n.concatBytes)([e,s]);let a=(0,o.padStart)(s);return(0,n.concatBytes)([e,a])},decode:({value:e})=>(0,n.add0x)((0,n.bytesToHex)(e.slice(12,32)))}},37759:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.array=t.getTupleType=t.getArrayType=t.isArrayType=void 0;let n=i(45554),r=i(39777),o=i(69472),s=i(92313),a=i(92408),l=i(44409),u=/^(?.*)\[(?\d*?)\]$/u;t.isArrayType=e=>u.test(e),t.getArrayType=e=>{let t=e.match(u);return(0,n.assert)(t?.groups?.type,new r.ParserError(`Invalid array type. Expected an array type, but received "${e}".`)),[t.groups.type,t.groups.length?parseInt(t.groups.length,10):void 0]},t.getTupleType=(e,t)=>`(${Array(t).fill(e).join(",")})`,t.array={isDynamic(e){let[i,n]=(0,t.getArrayType)(e);return void 0===n||(0,o.isDynamicParser)((0,o.getParser)(i),i)},isType:e=>(0,t.isArrayType)(e),getByteLength(e){(0,n.assert)((0,t.isArrayType)(e),new r.ParserError(`Expected an array type, but received "${e}".`));let[i,s]=(0,t.getArrayType)(e);return(0,o.isDynamicParser)(this,e)||void 0===s?32:l.tuple.getByteLength((0,t.getTupleType)(i,s))},encode({type:e,buffer:i,value:u,packed:d,tight:c}){let[h,g]=(0,t.getArrayType)(e);if((0,n.assert)(!d||!(0,t.isArrayType)(h),new r.ParserError("Cannot pack nested arrays.")),d&&(0,o.isDynamicParser)((0,o.getParser)(h),h))return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:i,packed:d,arrayPacked:!0,tight:c});if(g)return(0,n.assert)(g===u.length,new r.ParserError(`Array length does not match type length. Expected a length of ${g}, but received ${u.length}.`)),l.tuple.encode({type:(0,t.getTupleType)(h,g),buffer:i,value:u,packed:a.fixedBytes.isType(h)&&c,tight:c});if(d)return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:i,packed:a.fixedBytes.isType(h)&&c,arrayPacked:!0,tight:c});let p=(0,s.padStart)((0,n.numberToBytes)(u.length));return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:(0,n.concatBytes)([i,p]),packed:d,tight:c})},decode({type:e,value:i,...s}){let[a,u]=(0,t.getArrayType)(e);if(u){let e=l.tuple.decode({type:(0,t.getTupleType)(a,u),value:i,...s});return(0,n.assert)(e.length===u,new r.ParserError(`Array length does not match type length. Expected a length of ${u}, but received ${e.length}.`)),e}let d=(0,n.bytesToNumber)(i.subarray(0,32));return(0,o.unpack)(Array(d).fill(a),i.subarray(32))}}},18457:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bool=t.getBooleanValue=void 0;let n=i(45554),r=i(37715),o=i(39777),s=i(1001),a=(0,r.coerce)((0,r.boolean)(),(0,r.union)([(0,r.literal)("true"),(0,r.literal)("false")]),e=>"true"===e);t.getBooleanValue=e=>{try{if((0,r.create)(e,a))return BigInt(1);return BigInt(0)}catch{throw new o.ParserError(`Invalid boolean value. Expected a boolean literal, or the string "true" or "false", but received "${e}".`)}},t.bool={isDynamic:!1,isType:e=>"bool"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:r,tight:o}){let a=(0,t.getBooleanValue)(i);return r?(0,n.concatBytes)([e,(0,n.bigIntToBytes)(a)]):s.number.encode({type:"uint256",buffer:e,value:a,packed:r,tight:o})},decode:e=>s.number.decode({...e,type:"uint256"})===BigInt(1)}},37300:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytes=void 0;let n=i(45554),r=i(92313);t.bytes={isDynamic:!0,isType:e=>"bytes"===e,getByteLength:()=>32,encode({buffer:e,value:t,packed:i}){let o=(0,n.createBytes)(t);if(i)return(0,n.concatBytes)([e,o]);let s=32*Math.ceil(o.byteLength/32);return(0,n.concatBytes)([e,(0,r.padStart)((0,n.numberToBytes)(o.byteLength)),(0,r.padEnd)(o,s)])},decode({value:e}){let t=e.subarray(0,32),i=(0,n.bytesToNumber)(t);return e.slice(32,32+i)}}},92408:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fixedBytes=t.getByteLength=void 0;let n=i(45554),r=i(39777),o=i(92313),s=/^bytes([0-9]{1,2})$/u;t.getByteLength=e=>{let t=e.match(s)?.[1];(0,n.assert)(t,`Invalid byte length. Expected a number between 1 and 32, but received "${e}".`);let i=Number(t);return(0,n.assert)(i>0&&i<=32,new r.ParserError(`Invalid byte length. Expected a number between 1 and 32, but received "${e}".`)),i},t.fixedBytes={isDynamic:!1,isType:e=>s.test(e),getByteLength:()=>32,encode({type:e,buffer:i,value:s,packed:a}){let l=(0,t.getByteLength)(e),u=(0,n.createBytes)(s);return((0,n.assert)(u.length<=l,new r.ParserError(`Expected a value of length ${l}, but received a value of length ${u.length}.`)),a)?(0,n.concatBytes)([i,(0,o.padEnd)(u,l)]):(0,n.concatBytes)([i,(0,o.padEnd)(u)])},decode({type:e,value:i}){let n=(0,t.getByteLength)(e);return i.slice(0,n)}}},42345:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fn=t.getFunction=void 0;let n=i(45554),r=i(37715),o=i(39777),s=i(92408),a=(0,r.coerce)((0,r.object)({address:n.StrictHexStruct,selector:n.StrictHexStruct}),(0,r.union)([n.StrictHexStruct,(0,r.instance)(Uint8Array)]),e=>{let t=(0,n.createBytes)(e);return(0,n.assert)(24===t.length,new o.ParserError(`Invalid Solidity function. Expected function to be 24 bytes long, but received ${t.length} bytes.`)),{address:(0,n.bytesToHex)(t.subarray(0,20)),selector:(0,n.bytesToHex)(t.subarray(20,24))}});t.getFunction=e=>{let t=(0,r.create)(e,a);return(0,n.concatBytes)([(0,n.hexToBytes)(t.address),(0,n.hexToBytes)(t.selector)])},t.fn={isDynamic:!1,isType:e=>"function"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:n,tight:r}){let o=(0,t.getFunction)(i);return s.fixedBytes.encode({type:"bytes24",buffer:e,value:o,packed:n,tight:r})},decode:({value:e})=>({address:(0,n.bytesToHex)(e.slice(0,20)),selector:(0,n.bytesToHex)(e.slice(20,24))})}},84206:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(27683),t),r(i(37759),t),r(i(18457),t),r(i(37300),t),r(i(92408),t),r(i(42345),t),r(i(1001),t),r(i(10052),t),r(i(85967),t),r(i(44409),t)},1001:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.number=t.getBigInt=t.assertNumberLength=t.getLength=t.isSigned=void 0;let n=i(45554),r=i(39777),o=i(92313),s=/^u?int(?[0-9]*)?$/u;t.isSigned=e=>!e.startsWith("u"),t.getLength=e=>{if("int"===e||"uint"===e)return 256;let t=e.match(s);(0,n.assert)(t?.groups?.length,new r.ParserError(`Invalid number type. Expected a number type, but received "${e}".`));let i=parseInt(t.groups.length,10);return(0,n.assert)(i>=8&&i<=256,new r.ParserError(`Invalid number length. Expected a number between 8 and 256, but received "${e}".`)),(0,n.assert)(i%8==0,new r.ParserError(`Invalid number length. Expected a multiple of 8, but received "${e}".`)),i},t.assertNumberLength=(e,i)=>{let o=(0,t.getLength)(i),s=BigInt(2)**BigInt(o-((0,t.isSigned)(i)?1:0))-BigInt(1);if((0,t.isSigned)(i)){(0,n.assert)(e>=-(s+BigInt(1))&&e<=s,new r.ParserError(`Number "${e}" is out of range for type "${i}".`));return}(0,n.assert)(e<=s,new r.ParserError(`Number "${e}" is out of range for type "${i}".`))},t.getBigInt=e=>{try{return(0,n.createBigInt)(e)}catch{throw new r.ParserError(`Invalid number. Expected a valid number value, but received "${e}".`)}},t.number={isDynamic:!1,isType:e=>s.test(e),getByteLength:()=>32,encode({type:e,buffer:i,value:r,packed:s}){let a=(0,t.getBigInt)(r);if((0,t.assertNumberLength)(a,e),(0,t.isSigned)(e)){if(s){let r=(0,t.getLength)(e)/8;return(0,n.concatBytes)([i,(0,n.signedBigIntToBytes)(a,r)])}return(0,n.concatBytes)([i,(0,o.padStart)((0,n.signedBigIntToBytes)(a,32))])}if(s){let r=(0,t.getLength)(e)/8;return(0,n.concatBytes)([i,(0,o.padStart)((0,n.bigIntToBytes)(a),r)])}return(0,n.concatBytes)([i,(0,o.padStart)((0,n.bigIntToBytes)(a))])},decode({type:e,value:i}){let r=i.subarray(0,32);if((0,t.isSigned)(e)){let i=(0,n.bytesToSignedBigInt)(r);return(0,t.assertNumberLength)(i,e),i}let o=(0,n.bytesToBigInt)(r);return(0,t.assertNumberLength)(o,e),o}}},10052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},85967:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=void 0;let n=i(45554),r=i(37300);t.string={isDynamic:!0,isType:e=>"string"===e,getByteLength:()=>32,encode:({buffer:e,value:t,packed:i,tight:o})=>r.bytes.encode({type:"bytes",buffer:e,value:(0,n.stringToBytes)(t),packed:i,tight:o}),decode:e=>(0,n.bytesToString)(r.bytes.decode(e))}},44409:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tuple=t.getTupleElements=void 0;let n=i(45554),r=i(39777),o=i(69472),s=/^\((.+)\)$/u,a=e=>s.test(e);t.getTupleElements=e=>{(0,n.assert)(e.startsWith("(")&&e.endsWith(")"),new r.ParserError(`Invalid tuple type. Expected tuple type, but received "${e}".`));let t=[],i="",o=0;for(let n=1;n(0,t.getTupleElements)(e).some(e=>{let t=(0,o.getParser)(e);return(0,o.isDynamicParser)(t,e)}),isType:e=>a(e),getByteLength(e){return(0,o.isDynamicParser)(this,e)?32:(0,t.getTupleElements)(e).reduce((e,t)=>e+(0,o.getParser)(t).getByteLength(t),0)},encode({type:e,buffer:i,value:n,packed:r,tight:s}){let a=(0,t.getTupleElements)(e);return(0,o.pack)({types:a,values:n,byteArray:i,packed:r,tight:s})},decode({type:e,value:i,skip:n}){let r=(0,t.getTupleElements)(e);return n(this.getByteLength(e)-32),(0,o.unpack)(r,i)}}},54163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},75858:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(54163),t)},21348:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.padEnd=t.padStart=t.set=void 0;let n=i(45554),r=32;t.set=(e,t,i)=>(0,n.concatBytes)([e.subarray(0,i),t,e.subarray(i+t.length)]),t.padStart=(e,t=r)=>{let i=new Uint8Array(Math.max(t-e.length,0)).fill(0);return(0,n.concatBytes)([i,e])},t.padEnd=(e,t=r)=>{let i=new Uint8Array(Math.max(t-e.length,0)).fill(0);return(0,n.concatBytes)([e,i])}},92313:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(21348),t)},26708:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BaseController:()=>k,BaseControllerV1:()=>b,ControllerMessenger:()=>A,RestrictedControllerMessenger:()=>N,getAnonymizedState:()=>E,getPersistentState:()=>L});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,i=!0){if(i)for(let i of(this.internalConfig=t?e:Object.assign(this.internalConfig,e),Object.keys(this.internalConfig))){let e=this.internalConfig[i];void 0!==e&&(this[i]=e)}else for(let t of Object.keys(e))if(void 0!==this.internalConfig[t]){let i=e[t];this.internalConfig[t]=i,this[t]=i}}notify(){this.disabled||this.internalListeners.forEach(e=>{e(this.internalState)})}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){let t=this.internalListeners.findIndex(t=>e===t);return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},y=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},_=(e,t,i)=>(y(e,t,"read from private field"),i?i.call(e):t.get(e)),w=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},C=(e,t,i,n)=>(y(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),S=(e,t,i)=>(y(e,t,"access private method"),i),x=i(3873);(0,x.vI)();var k=class{constructor({messenger:e,metadata:t,name:i,state:r}){w(this,n,void 0),this.messagingSystem=e,this.name=i,C(this,n,(0,x.vV)(r,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${i}:getState`,()=>this.state),this.messagingSystem.registerInitialEventPayload({eventType:`${i}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return _(this,n)}set state(e){throw Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){let[t,i,r]=(0,x.aS)(_(this,n),e);return C(this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,i),{nextState:t,patches:i,inversePatches:r}}applyPatches(e){let t=(0,x.QE)(_(this,n),e);C(this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}};function E(e,t){return D(e,t,"anonymous")}function L(e,t){return D(e,t,"persist")}function D(e,t,i){return Object.keys(e).reduce((n,r)=>{try{let o=t[r];if(!o)throw Error(`No metadata found for '${String(r)}'`);let s=o[i],a=e[r];return"function"==typeof s?n[r]=s(a):s&&(n[r]=a),n}catch(e){return setTimeout(()=>{throw e}),n}},{})}n=new WeakMap;var N=class{constructor({controllerMessenger:e,name:t,allowedActions:i,allowedEvents:n}){w(this,l),w(this,d),w(this,h),w(this,r,void 0),w(this,o,void 0),w(this,s,void 0),w(this,a,void 0),C(this,r,e),C(this,o,t),C(this,s,i),C(this,a,n)}registerActionHandler(e,t){if(!S(this,h,g).call(this,e))throw Error(`Only allowed registering action handlers prefixed by '${_(this,o)}:'`);_(this,r).registerActionHandler(e,t)}unregisterActionHandler(e){if(!S(this,h,g).call(this,e))throw Error(`Only allowed unregistering action handlers prefixed by '${_(this,o)}:'`);_(this,r).unregisterActionHandler(e)}call(e,...t){if(!S(this,d,c).call(this,e))throw Error(`Action missing from allow list: ${e}`);return _(this,r).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!S(this,h,g).call(this,e))throw Error(`Only allowed publishing events prefixed by '${_(this,o)}:'`);_(this,r).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!S(this,h,g).call(this,e))throw Error(`Only allowed publishing events prefixed by '${_(this,o)}:'`);_(this,r).publish(e,...t)}subscribe(e,t,i){if(!S(this,l,u).call(this,e))throw Error(`Event missing from allow list: ${e}`);return i?_(this,r).subscribe(e,t,i):_(this,r).subscribe(e,t)}unsubscribe(e,t){if(!S(this,l,u).call(this,e))throw Error(`Event missing from allow list: ${e}`);_(this,r).unsubscribe(e,t)}clearEventSubscriptions(e){if(!S(this,h,g).call(this,e))throw Error(`Only allowed clearing events prefixed by '${_(this,o)}:'`);_(this,r).clearEventSubscriptions(e)}};r=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakSet,u=function(e){let t=_(this,a);return S(this,h,g).call(this,e)||null!==t&&t.includes(e)},d=new WeakSet,c=function(e){let t=_(this,s);return S(this,h,g).call(this,e)||null!==t&&t.includes(e)},h=new WeakSet,g=function(e){return e.startsWith(`${_(this,o)}:`)};var A=class{constructor(){w(this,p,new Map),w(this,f,new Map),w(this,m,new Map),w(this,v,new Map)}registerActionHandler(e,t){if(_(this,p).has(e))throw Error(`A handler for ${e} has already been registered`);_(this,p).set(e,t)}unregisterActionHandler(e){_(this,p).delete(e)}clearActions(){_(this,p).clear()}call(e,...t){let i=_(this,p).get(e);if(!i)throw Error(`A handler for ${e} has not been registered`);return i(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){_(this,m).set(e,t)}publish(e,...t){let i=_(this,f).get(e);if(i)for(let[e,n]of i.entries())try{if(n){let i=_(this,v).get(e),r=n(...t);r!==i&&(_(this,v).set(e,r),e(r,i))}else e(...t)}catch(e){setTimeout(()=>{throw e})}}subscribe(e,t,i){let n=_(this,f).get(e);if(n||(n=new Map,_(this,f).set(e,n)),n.set(t,i),i){let n=_(this,m).get(e);if(n){let e=i(...n());_(this,v).set(t,e)}}}unsubscribe(e,t){let i=_(this,f).get(e);if(!i||!i.has(t))throw Error(`Subscription not found for event: ${e}`);i.get(t)&&_(this,v).delete(t),i.delete(t)}clearEventSubscriptions(e){_(this,f).delete(e)}clearSubscriptions(){_(this,f).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:i}){return new N({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:i})}};p=new WeakMap,f=new WeakMap,m=new WeakMap,v=new WeakMap},7986:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockCacheMiddleware=void 0;let n=i(8664),r=i(47045),o=i(62836),s=(0,r.createModuleLogger)(r.projectLogger,"block-cache"),a=[void 0,null,""];class l{constructor(){this.cache={}}getBlockCache(e){let t=Number.parseInt(e,16),i=this.cache[t];if(!i){let e={};this.cache[t]=e,i=e}return i}async get(e,t){let i=this.getBlockCache(t),n=(0,o.cacheIdentifierForRequest)(e,!0);return n?i[n]:void 0}async set(e,t,i){if(!this.canCacheResult(e,i))return;let n=(0,o.cacheIdentifierForRequest)(e,!0);n&&(this.getBlockCache(t)[n]=i)}canCacheRequest(e){return!!(0,o.canCache)(e.method)&&"pending"!==(0,o.blockTagForRequest)(e)}canCacheResult(e,t){return!(a.includes(t)||e.method&&["eth_getTransactionByHash","eth_getTransactionReceipt"].includes(e.method)&&(!t||!t.blockHash||"0x0000000000000000000000000000000000000000000000000000000000000000"===t.blockHash))}clearBefore(e){let t=Number.parseInt(e,16);Object.keys(this.cache).map(Number).filter(e=>edelete this.cache[e])}}t.createBlockCacheMiddleware=function({blockTracker:e}={}){if(!e)throw Error("createBlockCacheMiddleware - No PollingBlockTracker specified");let t=new l,i={[o.CacheStrategy.Permanent]:t,[o.CacheStrategy.Block]:t,[o.CacheStrategy.Fork]:t,[o.CacheStrategy.Never]:void 0};return(0,n.createAsyncMiddleware)(async(n,r,a)=>{let l;if(n.skipCache)return a();let u=i[(0,o.cacheTypeForMethod)(n.method)];if(!u||!u.canCacheRequest(n))return a();let d=(0,o.blockTagForRequest)(n),c=d&&"string"==typeof d?d:"latest";if(s("blockTag = %o, req = %o",c,n),"earliest"===c)l="0x00";else if("latest"===c){s("Fetching latest block number to determine cache key");let i=await e.getLatestBlock();s("Clearing values stored under block numbers before %o",i),t.clearBefore(i),l=i}else l=c;let h=await u.get(n,l);void 0===h?(s("No cache stored under block number %o, carrying request forward",l),await a(),s("Populating cache with",r),await u.set(n,l,r.result)):(s("Cache hit, reusing cache result stored under block number %o",l),r.result=h)})}},43601:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockRefRewriteMiddleware=void 0;let n=i(8664),r=i(62836);t.createBlockRefRewriteMiddleware=function({blockTracker:e}={}){if(!e)throw Error('BlockRefRewriteMiddleware - mandatory "blockTracker" option is missing.');return(0,n.createAsyncMiddleware)(async(t,i,n)=>{let o=(0,r.blockTagParamIndex)(t.method);if(void 0===o||"latest"!==(Array.isArray(t.params)&&t.params[o]?t.params[o]:"latest"))return n();let s=await e.getLatestBlock();return Array.isArray(t.params)&&(t.params[o]=s),n()})}},5214:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockRefMiddleware=void 0;let r=i(8664),o=i(63951),s=n(i(42378)),a=i(47045),l=i(62836),u=(0,a.createModuleLogger)(a.projectLogger,"block-ref");t.createBlockRefMiddleware=function({provider:e,blockTracker:t}={}){if(!e)throw Error('BlockRefMiddleware - mandatory "provider" option is missing.');if(!t)throw Error('BlockRefMiddleware - mandatory "blockTracker" option is missing.');return(0,r.createAsyncMiddleware)(async(i,n,r)=>{var a;let d=(0,l.blockTagParamIndex)(i.method);if(void 0===d)return r();if("latest"!==(Array.isArray(i.params)&&null!==(a=i.params[d])&&void 0!==a?a:"latest"))return u('blockRef is not "latest", carrying request forward'),r();let c=await t.getLatestBlock();u(`blockRef is "latest", setting param ${d} to latest block ${c}`);let h=(0,o.klona)(i);Array.isArray(h.params)&&(h.params[d]=c),u("Performing another request %o",h);let g=await (0,s.default)(e.sendAsync).call(e,h);n.result=g.result,n.error=g.error})}},54006:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockTrackerInspectorMiddleware=void 0;let n=i(8664),r=i(47045),o=(0,r.createModuleLogger)(r.projectLogger,"block-tracker-inspector"),s=["eth_getTransactionByHash","eth_getTransactionReceipt"];t.createBlockTrackerInspectorMiddleware=function({blockTracker:e}){return(0,n.createAsyncMiddleware)(async(t,i,n)=>{if(!s.includes(t.method))return n();await n();let r=function(e){let{result:t}=e;if(t&&"object"==typeof t&&Object.hasOwnProperty.call(t,"blockNumber")&&"string"==typeof t.blockNumber)return t.blockNumber}(i);r&&(o("res.result.blockNumber exists, proceeding. res = %o",i),Number.parseInt(r,16)>Number.parseInt(e.getCurrentBlock(),16)&&(o("blockNumber from response is greater than current block number, refreshing current block number"),await e.checkForLatestBlock()))})}},36477:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchConfigFromReq=t.createFetchMiddleware=void 0;let n=i(8664),r=i(30774),o=i(50355),s=["Gateway timeout","ETIMEDOUT","failed to parse response body","Failed to fetch"];function a({btoa:e,req:t,rpcUrl:i,originHttpHeaderKey:n}){let r;let o=new URL(i),s=(r=o.protocol+`//${o.hostname}`,o.port&&(r+=`:${o.port}`),r+=`${o.pathname}${o.search}`),a={id:t.id,jsonrpc:t.jsonrpc,method:t.method,params:t.params},l=t.origin,u={method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(a)};if(o.username&&o.password){let t=e(`${o.username}:${o.password}`);u.headers.Authorization=`Basic ${t}`}return n&&l&&(u.headers[n]=l),{fetchUrl:s,fetchParams:u}}t.createFetchMiddleware=function({btoa:e,fetch:t,rpcUrl:i,originHttpHeaderKey:l}){return(0,n.createAsyncMiddleware)(async(n,u,d)=>{let{fetchUrl:c,fetchParams:h}=a({btoa:e,req:n,rpcUrl:i,originHttpHeaderKey:l});for(let e=0;e<5;e++){try{let e;let i=await t(c,h);!function(e){switch(e.status){case 405:throw r.rpcErrors.methodNotFound();case 418:throw r.rpcErrors.internal({message:"Request is being rate limited."});case 503:case 504:throw function(){let e="Gateway timeout. The request took too long to process. ";return e+="This can happen when querying logs over too wide a block range.",r.rpcErrors.internal({message:e})}()}}(i);let n=await i.text();try{e=JSON.parse(n)}catch(e){throw Error(`FetchMiddleware - failed to parse response body: "${n}"`)}let o=function(e,t){if(200!==e.status)throw r.rpcErrors.internal({message:`Non-200 status code: '${e.status}'`,data:t});if(t.error)throw r.rpcErrors.internal({data:t.error});return t.result}(i,e);u.result=o;return}catch(t){let e=t.toString();if(!s.some(t=>e.includes(t)))throw t}await (0,o.timeout)(1e3)}})},t.createFetchConfigFromReq=a},69234:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(7986),t),r(i(43601),t),r(i(5214),t),r(i(54006),t),r(i(36477),t),r(i(65421),t),r(i(60093),t),r(i(56962),t),r(i(41498),t)},65421:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInflightCacheMiddleware=void 0;let n=i(8664),r=i(63951),o=i(47045),s=i(62836),a=(0,o.createModuleLogger)(o.projectLogger,"inflight-cache");t.createInflightCacheMiddleware=function(){let e={};return(0,n.createAsyncMiddleware)(async(i,n,r)=>{var o;if(i.skipCache)return r();let l=(0,s.cacheIdentifierForRequest)(i);if(!l)return a("Request is not cacheable, proceeding. req = %o",i),r();let u=e[l];if(u){a("Running %i handler(s) for request %o",u.length,i),await t(n,u);return}u=[],e[l]=u,a("Carrying original request forward %o",i),await r(),delete e[l],a("Running %i collected handler(s) for request %o",u.length,i),o=u,setTimeout(()=>{o.forEach(e=>{try{e(n)}catch(e){console.error(e)}})})});async function t(e,t){let i,n;let{resolve:o,promise:s}=(n=new Promise(e=>{i=e}),{resolve:i,promise:n});return t.push(t=>{e.result=(0,r.klona)(t.result),e.error=(0,r.klona)(t.error),o()}),s}}},47045:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createModuleLogger=t.projectLogger=void 0;let n=i(45554);Object.defineProperty(t,"createModuleLogger",{enumerable:!0,get:function(){return n.createModuleLogger}}),t.projectLogger=(0,n.createProjectLogger)("eth-json-rpc-middleware")},60093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ethersProviderAsMiddleware=t.providerAsMiddleware=void 0,t.providerAsMiddleware=function(e){return(t,i,n,r)=>{e.sendAsync(t,(e,t)=>e instanceof Error?r(e):(Object.assign(i,t),r()))}},t.ethersProviderAsMiddleware=function(e){return(t,i,n,r)=>{e.send(t,(e,t)=>e?r(e):(Object.assign(i,t),r()))}}},56962:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createRetryOnEmptyMiddleware=void 0;let r=i(8664),o=i(63951),s=n(i(42378)),a=i(47045),l=i(62836),u=i(22644),d=i(50355),c=(0,a.createModuleLogger)(a.projectLogger,"retry-on-empty"),h=[void 0,null,""];async function g(e,t){for(let i=0;i{let a=(0,l.blockTagParamIndex)(i.method);if(void 0===a)return r();let u=Array.isArray(i.params)&&i.params[a]?i.params[a]:void 0;if(void 0===u&&(u="latest"),["latest","pending"].includes(u))return r();let d=Number.parseInt(u.slice(2),16);if(Number.isNaN(d))return r();let p=Number.parseInt((await t.getLatestBlock()).slice(2),16);if(d>p)return c("Requested block number %o is higher than latest block number %o, falling through to original request",d,p),r();c("Requested block number %o is not higher than latest block number %o, trying request until non-empty response is received",d,p);let f=(0,o.klona)(i),m=await g(10,async()=>{c("Performing request %o",f);let t=await (0,s.default)(e.sendAsync).call(e,f);if(c("Response is %o",t),h.includes(t.result))throw Error(`RetryOnEmptyMiddleware - empty response "${JSON.stringify(t)}" for request "${JSON.stringify(f)}"`);return t});c("Copying result %o and error %o",m.result,m.error),n.result=m.result,n.error=m.error})}},62836:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.cacheTypeForMethod=t.blockTagParamIndex=t.blockTagForRequest=t.canCache=t.cacheIdentifierForRequest=t.CacheStrategy=void 0;let r=(0,i(27822).configure)({bigint:!1,circularValue:Error});function o(e){return a(e)!==n.Never}function s(e){switch(e){case"eth_getStorageAt":return 2;case"eth_getBalance":case"eth_getCode":case"eth_getTransactionCount":case"eth_call":return 1;case"eth_getBlockByNumber":return 0;default:return}}function a(e){switch(e){case"web3_clientVersion":case"web3_sha3":case"eth_protocolVersion":case"eth_getBlockTransactionCountByHash":case"eth_getUncleCountByBlockHash":case"eth_getCode":case"eth_getBlockByHash":case"eth_getTransactionByHash":case"eth_getTransactionByBlockHashAndIndex":case"eth_getTransactionReceipt":case"eth_getUncleByBlockHashAndIndex":case"eth_getCompilers":case"eth_compileLLL":case"eth_compileSolidity":case"eth_compileSerpent":case"shh_version":case"test_permaCache":return n.Permanent;case"eth_getBlockByNumber":case"eth_getBlockTransactionCountByNumber":case"eth_getUncleCountByBlockNumber":case"eth_getTransactionByBlockNumberAndIndex":case"eth_getUncleByBlockNumberAndIndex":case"test_forkCache":return n.Fork;case"eth_gasPrice":case"eth_blockNumber":case"eth_getBalance":case"eth_getStorageAt":case"eth_getTransactionCount":case"eth_call":case"eth_estimateGas":case"eth_getFilterLogs":case"eth_getLogs":case"test_blockCache":return n.Block;default:return n.Never}}!function(e){e.Block="block",e.Fork="fork",e.Never="never",e.Permanent="perma"}(n=t.CacheStrategy||(t.CacheStrategy={})),t.cacheIdentifierForRequest=function(e,t){var i;let n=t?function(e){if(!e.params)return[];let t=s(e.method);return void 0===t||!Array.isArray(e.params)||t>=e.params.length?e.params:"eth_getBlockByNumber"===e.method?e.params.slice(1):e.params.slice(0,t)}(e):null!==(i=e.params)&&void 0!==i?i:[];return o(e.method)?`${e.method}:${r(n)}`:null},t.canCache=o,t.blockTagForRequest=function(e){if(!e.params)return;let t=s(e.method);if(void 0!==t&&Array.isArray(e.params)&&!(t>=e.params.length))return e.params[t]},t.blockTagParamIndex=s,t.cacheTypeForMethod=a},22644:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isExecutionRevertedError=void 0;let n=i(30774),r=i(45554);t.isExecutionRevertedError=function(e){return(0,r.isJsonRpcError)(e)&&e.code===n.errorCodes.rpc.invalidInput&&"execution reverted"===e.message}},50355:(e,t)=>{"use strict";async function i(e){return new Promise(t=>setTimeout(t,e))}Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=void 0,t.timeout=i},41498:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.createWalletMiddleware=void 0;let s=o(i(50539)),a=i(8664),l=i(30774);function u(e){return 42===e.length}t.createWalletMiddleware=function({getAccounts:e,processDecryptMessage:t,processEncryptionPublicKey:i,processEthSignMessage:n,processPersonalMessage:r,processTransaction:o,processSignTransaction:d,processTypedMessage:c,processTypedMessageV3:h,processTypedMessageV4:g}){if(!e)throw Error("opts.getAccounts is required");return(0,a.createScaffoldMiddleware)({eth_accounts:(0,a.createAsyncMiddleware)(p),eth_coinbase:(0,a.createAsyncMiddleware)(f),eth_sendTransaction:(0,a.createAsyncMiddleware)(m),eth_signTransaction:(0,a.createAsyncMiddleware)(v),eth_sign:(0,a.createAsyncMiddleware)(b),eth_signTypedData:(0,a.createAsyncMiddleware)(y),eth_signTypedData_v3:(0,a.createAsyncMiddleware)(_),eth_signTypedData_v4:(0,a.createAsyncMiddleware)(w),personal_sign:(0,a.createAsyncMiddleware)(C),eth_getEncryptionPublicKey:(0,a.createAsyncMiddleware)(x),eth_decrypt:(0,a.createAsyncMiddleware)(k),personal_ecRecover:(0,a.createAsyncMiddleware)(S)});async function p(t,i){i.result=await e(t)}async function f(t,i){let n=await e(t);i.result=n[0]||null}async function m(e,t){if(!o)throw l.rpcErrors.methodNotSupported();if(!e.params||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let i=e.params[0],n=Object.assign(Object.assign({},i),{from:await E((null==i?void 0:i.from)||"",e)});t.result=await o(n,e)}async function v(e,t){if(!d)throw l.rpcErrors.methodNotSupported();if(!e.params||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let i=e.params[0],n=Object.assign(Object.assign({},i),{from:await E((null==i?void 0:i.from)||"",e)});t.result=await d(n,e)}async function b(e,t){if(!n)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,r=await E(i[0],e),o=i[1],s=Object.assign(Object.assign({},i[2]||{}),{from:r,data:o,signatureMethod:"eth_sign"});t.result=await n(s,e)}async function y(e,t){if(!c)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=i[0],r=await E(i[1],e),o=Object.assign(Object.assign({},i[2]||{}),{from:r,data:n,signatureMethod:"eth_signTypedData",version:"V1"});t.result=await c(o,e,"V1")}async function _(e,t){if(!h)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=await E(i[0],e),r=i[1];t.result=await h({data:r,from:n,version:"V3",signatureMethod:"eth_signTypedData_v3"},e,"V3")}async function w(e,t){if(!g)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=await E(i[0],e),r=i[1];t.result=await g({data:r,from:n,version:"V4",signatureMethod:"eth_signTypedData_v4"},e,"V4")}async function C(e,t){let i,n;if(!r)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let o=e.params,s=o[0],a=o[1],d=o[2]||{};if(u(s)&&!u(a)){let e="The eth_personalSign method requires params ordered ";e+="[message, address]. This was previously handled incorrectly, and has been corrected automatically. Please switch this param order for smooth behavior in the future.",t.warning=e,i=s,n=a}else n=s,i=a;i=await E(i,e);let c=Object.assign(Object.assign({},d),{from:i,data:n,signatureMethod:"personal_sign"});t.result=await r(c,e)}async function S(e,t){if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=i[0],r=i[1],o=s.recoverPersonalSignature({data:n,signature:r});t.result=o}async function x(e,t){if(!i)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let n=await E(e.params[0],e);t.result=await i(n,e)}async function k(e,i){if(!t)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let n=e.params,r=n[0],o=await E(n[1],e),s=Object.assign(Object.assign({},n[2]||{}),{from:o,data:r});i.result=await t(s,e)}async function E(t,i){if("string"==typeof t&&t.length>0&&u(t)){let n=(await e(i)).map(e=>e.toLowerCase()),r=t.toLowerCase();if(n.includes(r))return r;throw l.providerErrors.unauthorized()}throw l.rpcErrors.invalidParams({message:"Invalid parameters: must provide an Ethereum address."})}}},40643:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C=i(79639),S=i(30774),x=function(e){return e&&e.__esModule?e:{default:e}}(i(99307)),k=i(45554),E=class e extends x.default{constructor({notificationHandler:e}={}){super(),C.__privateAdd.call(void 0,this,s),C.__privateAdd.call(void 0,this,l),C.__privateAdd.call(void 0,this,d),C.__privateAdd.call(void 0,this,n,!1),C.__privateAdd.call(void 0,this,r,void 0),C.__privateAdd.call(void 0,this,o,void 0),C.__privateSet.call(void 0,this,r,[]),C.__privateSet.call(void 0,this,o,e)}destroy(){C.__privateGet.call(void 0,this,r).forEach(e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}),C.__privateSet.call(void 0,this,r,[]),C.__privateSet.call(void 0,this,n,!0)}push(e){C.__privateMethod.call(void 0,this,s,a).call(this),C.__privateGet.call(void 0,this,r).push(e)}handle(e,t){if(C.__privateMethod.call(void 0,this,s,a).call(this),t&&"function"!=typeof t)throw Error('"callback" must be a function if provided.');return Array.isArray(e)?t?C.__privateMethod.call(void 0,this,l,u).call(this,e,t):C.__privateMethod.call(void 0,this,l,u).call(this,e):t?C.__privateMethod.call(void 0,this,d,c).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return C.__privateMethod.call(void 0,this,s,a).call(this),async(t,i,n,o)=>{try{let[s,a,l]=await C.__privateMethod.call(void 0,e,p,f).call(e,t,i,C.__privateGet.call(void 0,this,r));if(a)return await C.__privateMethod.call(void 0,e,b,y).call(e,l),o(s);return n(async t=>{try{await C.__privateMethod.call(void 0,e,b,y).call(e,l)}catch(e){return t(e)}return t()})}catch(e){return o(e)}}}async _promiseHandle(e){return new Promise((t,i)=>{C.__privateMethod.call(void 0,this,d,c).call(this,e,(e,n)=>{e&&void 0===n?i(e):t(n)}).catch(i)})}};function L(e){return JSON.stringify(e,null,2)}n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,a=function(){if(C.__privateGet.call(void 0,this,n))throw Error("This engine is destroyed and can no longer be used.")},l=new WeakSet,u=async function(e,t){try{if(0===e.length){let e=[{id:null,jsonrpc:"2.0",error:new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];if(t)return t(null,e);return e}let i=(await Promise.all(e.map(this._promiseHandle.bind(this)))).filter(e=>void 0!==e);if(t)return t(null,i);return i}catch(e){if(t)return t(e);throw e}},d=new WeakSet,c=async function(e,t){if(!e||Array.isArray(e)||"object"!=typeof e){let i=new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return t(i,{id:null,jsonrpc:"2.0",error:i})}if("string"!=typeof e.method){let i=new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return C.__privateGet.call(void 0,this,o)&&!k.isJsonRpcRequest.call(void 0,e)?t(null):t(i,{id:e.id??null,jsonrpc:"2.0",error:i})}if(C.__privateGet.call(void 0,this,o)&&k.isJsonRpcNotification.call(void 0,e)&&!k.isJsonRpcRequest.call(void 0,e)){try{await C.__privateGet.call(void 0,this,o).call(this,e)}catch(e){return t(e)}return t(null)}let i=null,n={...e},s={id:n.id,jsonrpc:n.jsonrpc};try{await C.__privateMethod.call(void 0,E,h,g).call(E,n,s,C.__privateGet.call(void 0,this,r))}catch(e){i=e}return i&&(delete s.result,s.error||(s.error=S.serializeError.call(void 0,i))),t(i,s)},h=new WeakSet,g=async function(e,t,i){let[n,r,o]=await C.__privateMethod.call(void 0,E,p,f).call(E,e,t,i);if(C.__privateMethod.call(void 0,E,_,w).call(E,e,t,r),await C.__privateMethod.call(void 0,E,b,y).call(E,o),n)throw n},p=new WeakSet,f=async function(e,t,i){let n=[],r=null,o=!1;for(let s of i)if([r,o]=await C.__privateMethod.call(void 0,E,m,v).call(E,e,t,s,n),o)break;return[r,o,n.reverse()]},m=new WeakSet,v=async function(e,t,i,n){return new Promise(r=>{let o=e=>{let i=e||t.error;i&&(t.error=S.serializeError.call(void 0,i)),r([i,!0])};try{i(e,t,i=>{t.error?o(t.error):(i&&("function"!=typeof i&&o(new S.JsonRpcError(S.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof i}" for request: + `}`.trim()}function yp(e={}){let{nonce:t}=e;return(0,T.jsx)("script",{id:"chakra-script",nonce:t,dangerouslySetInnerHTML:{__html:yg(e)}})}var[yf,ym]=F({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"
    \" "}),yv=sA((e,t)=>{let i=s$("Table",e),{className:n,layout:r,...o}=tL(e);return(0,T.jsx)(yf,{value:i,children:(0,T.jsx)(sE.table,{ref:t,__css:{tableLayout:r,...i.table},className:$("chakra-table",n),...o})})});yv.displayName="Table";var yb=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.thead,{...e,ref:t,__css:i.thead})}),yy=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tr,{...e,ref:t,__css:i.tr})}),y_=sA((e,t)=>{let{placement:i="bottom",...n}=e,r=ym();return(0,T.jsx)(sE.caption,{...n,ref:t,__css:{...r.caption,captionSide:i}})});y_.displayName="TableCaption";var yw=sA((e,t)=>{var i;let{overflow:n,overflowX:r,className:o,...s}=e;return(0,T.jsx)(sE.div,{ref:t,className:$("chakra-table__container",o),...s,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:null!=(i=null!=n?n:r)?i:"auto",overflowY:"hidden",maxWidth:"100%"}})}),yC=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tbody,{...e,ref:t,__css:i.tbody})}),yS=sA(({isNumeric:e,...t},i)=>{let n=ym();return(0,T.jsx)(sE.td,{...t,ref:i,__css:n.td,"data-is-numeric":e})}),yx=sA((e,t)=>{let i=ym();return(0,T.jsx)(sE.tfoot,{...e,ref:t,__css:i.tfoot})}),yk=sA(({isNumeric:e,...t},i)=>{let n=ym();return(0,T.jsx)(sE.th,{...t,ref:i,__css:n.th,"data-is-numeric":e})}),[yE,yL,yD,yN]=aI();function yA(e){var t;let{defaultIndex:i,onChange:n,index:r,isManual:o,isLazy:s,lazyBehavior:a="unmount",orientation:l="horizontal",direction:u="ltr",...d}=e,[c,h]=(0,R.useState)(null!=i?i:0),[g,p]=aW({defaultValue:null!=i?i:0,value:r,onChange:n});(0,R.useEffect)(()=>{null!=r&&h(r)},[r]);let f=yD();return{id:`tabs-${null!=(t=e.id)?t:(0,R.useId)()}`,selectedIndex:g,focusedIndex:c,setSelectedIndex:p,setFocusedIndex:h,isManual:o,isLazy:s,lazyBehavior:a,orientation:l,descendants:f,direction:u,htmlProps:d}}var[yT,yI]=F({name:"TabsContext",errorMessage:"useTabsContext: `context` is undefined. Seems you forgot to wrap all tabs components within "});function yM(e){let{focusedIndex:t,orientation:i,direction:n}=yI(),r=yL(),o=(0,R.useCallback)(e=>{let o=()=>{var e;let i=r.nextEnabled(t);i&&(null==(e=i.node)||e.focus())},s=()=>{var e;let i=r.prevEnabled(t);i&&(null==(e=i.node)||e.focus())},a="horizontal"===i,l="vertical"===i,u={["ltr"===n?"ArrowLeft":"ArrowRight"]:()=>a&&s(),["ltr"===n?"ArrowRight":"ArrowLeft"]:()=>a&&o(),ArrowDown:()=>l&&o(),ArrowUp:()=>l&&s(),Home:()=>{var e;let t=r.firstEnabled();t&&(null==(e=t.node)||e.focus())},End:()=>{var e;let t=r.lastEnabled();t&&(null==(e=t.node)||e.focus())}}[e.key];u&&(e.preventDefault(),u(e))},[r,t,i,n]);return{...e,role:"tablist","aria-orientation":i,onKeyDown:J(e.onKeyDown,o)}}function yO(e){let{isDisabled:t,isFocusable:i,...n}=e,{setSelectedIndex:r,isManual:o,id:s,setFocusedIndex:a,selectedIndex:l}=yI(),{index:u,register:d}=yN({disabled:t&&!i}),c=u===l;return{...gZ({...n,ref:aN(d,e.ref),isDisabled:t,isFocusable:i,onClick:J(e.onClick,()=>{r(u)})}),id:yH(s,u),role:"tab",tabIndex:c?0:-1,type:"button","aria-selected":c,"aria-controls":yj(s,u),onFocus:t?void 0:J(e.onFocus,()=>{a(u),o||t&&i||r(u)})}}var[yP,yR]=F({});function yF(e){let{id:t,selectedIndex:i}=yI(),n=lu(e.children).map((e,n)=>(0,R.createElement)(yP,{key:n,value:{isSelected:n===i,id:yj(t,n),tabId:yH(t,n),selectedIndex:i}},e));return{...e,children:n}}function yB(e){let{children:t,...i}=e,{isLazy:n,lazyBehavior:r}=yI(),{isSelected:o,id:s,tabId:a}=yR(),l=(0,R.useRef)(!1);o&&(l.current=!0);let u=fe({wasSelected:l.current,isSelected:o,enabled:n,mode:r});return{tabIndex:0,...i,children:u?t:null,role:"tabpanel","aria-labelledby":a,hidden:!o,id:s}}function yV(){let e=yI(),t=yL(),{selectedIndex:i,orientation:n}=e,r="horizontal"===n,o="vertical"===n,[s,a]=(0,R.useState)(()=>r?{left:0,width:0}:o?{top:0,height:0}:void 0),[l,u]=(0,R.useState)(!1);return t0(()=>{if(null==i)return;let e=t.item(i);if(null==e)return;r&&a({left:e.node.offsetLeft,width:e.node.offsetWidth}),o&&a({top:e.node.offsetTop,height:e.node.offsetHeight});let n=requestAnimationFrame(()=>{u(!0)});return()=>{n&&cancelAnimationFrame(n)}},[i,r,o,t]),{position:"absolute",transitionProperty:"left, right, top, bottom, height, width",transitionDuration:l?"200ms":"0ms",transitionTimingFunction:"cubic-bezier(0, 0, 0.2, 1)",...s}}function yH(e,t){return`${e}--tab-${t}`}function yj(e,t){return`${e}--tabpanel-${t}`}var[yW,yz]=F({name:"TabsStylesContext",errorMessage:"useTabsStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),yU=sA(function(e,t){let i=s$("Tabs",e),{children:n,className:r,...o}=tL(e),{htmlProps:s,descendants:a,...l}=yA(o),u=(0,R.useMemo)(()=>l,[l]),{isFitted:d,...c}=s;return(0,T.jsx)(yE,{value:a,children:(0,T.jsx)(yT,{value:u,children:(0,T.jsx)(yW,{value:i,children:(0,T.jsx)(sE.div,{className:$("chakra-tabs",r),ref:t,...c,__css:i.root,children:n})})})})});yU.displayName="Tabs";var y$=sA(function(e,t){let i=yV(),n={...e.style,...i},r=yz();return(0,T.jsx)(sE.div,{ref:t,...e,className:$("chakra-tabs__tab-indicator",e.className),style:n,__css:r.indicator})});y$.displayName="TabIndicator";var yq=sA(function(e,t){let i=yM({...e,ref:t}),n={display:"flex",...yz().tablist};return(0,T.jsx)(sE.div,{...i,className:$("chakra-tabs__tablist",e.className),__css:n})});yq.displayName="TabList";var yK=sA(function(e,t){let i=yB({...e,ref:t}),n=yz();return(0,T.jsx)(sE.div,{outline:"0",...i,className:$("chakra-tabs__tab-panel",e.className),__css:n.tabpanel})});yK.displayName="TabPanel";var yG=sA(function(e,t){let i=yF(e),n=yz();return(0,T.jsx)(sE.div,{...i,width:"100%",ref:t,className:$("chakra-tabs__tab-panels",e.className),__css:n.tabpanels})});yG.displayName="TabPanels";var yZ=sA(function(e,t){let i=yz(),n=yO({...e,ref:t}),r={outline:"0",display:"flex",alignItems:"center",justifyContent:"center",...i.tab};return(0,T.jsx)(sE.button,{...n,className:$("chakra-tabs__tab",e.className),__css:r})});yZ.displayName="Tab";var[yY,yQ]=F({name:"TagStylesContext",errorMessage:"useTagStyles returned is 'undefined'. Seems you forgot to wrap the components in \"\" "}),yJ=sA((e,t)=>{let i=s$("Tag",e),n=tL(e),r={display:"inline-flex",verticalAlign:"top",alignItems:"center",maxWidth:"100%",...i.container};return(0,T.jsx)(yY,{value:i,children:(0,T.jsx)(sE.span,{ref:t,...n,__css:r})})});yJ.displayName="Tag";var yX=sA((e,t)=>{let i=yQ();return(0,T.jsx)(sE.span,{ref:t,noOfLines:1,...e,__css:i.label})});yX.displayName="TagLabel";var y0=sA((e,t)=>(0,T.jsx)(sG,{ref:t,verticalAlign:"top",marginEnd:"0.5rem",...e}));y0.displayName="TagLeftIcon";var y1=sA((e,t)=>(0,T.jsx)(sG,{ref:t,verticalAlign:"top",marginStart:"0.5rem",...e}));y1.displayName="TagRightIcon";var y2=e=>(0,T.jsx)(sG,{verticalAlign:"inherit",viewBox:"0 0 512 512",...e,children:(0,T.jsx)("path",{fill:"currentColor",d:"M289.94 256l95-95A24 24 0 00351 127l-95 95-95-95a24 24 0 00-34 34l95 95-95 95a24 24 0 1034 34l95-95 95 95a24 24 0 0034-34z"})});y2.displayName="TagCloseIcon";var y6=sA((e,t)=>{let{isDisabled:i,children:n,...r}=e,o={display:"flex",alignItems:"center",justifyContent:"center",outline:"0",...yQ().closeButton};return(0,T.jsx)(sE.button,{ref:t,"aria-label":"close",...r,type:"button",disabled:i,__css:o,children:n||(0,T.jsx)(y2,{})})});y6.displayName="TagCloseButton";var y3=["h","minH","height","minHeight"],y8=sA((e,t)=>{let i=sU("Textarea",e),{className:n,rows:r,...o}=tL(e),s=lK(o),a=r?function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(i,y3):i;return(0,T.jsx)(sE.textarea,{ref:t,rows:r,...s,className:$("chakra-textarea",n),__css:a})});function y5({colorScheme:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{colorScheme:e}}]))})}}function y4({size:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{size:e}}]))})}}function y9({variant:e,components:t}){return i=>{let n=Object.keys(i.components||{});return Array.isArray(t)?n=t:q(t)&&(n=Object.keys(t)),sV(i,{components:Object.fromEntries(n.map(t=>[t,{defaultProps:{variant:e}}]))})}}function y7({defaultProps:{colorScheme:e,variant:t,size:i},components:n}){let r=e=>e,o=[e?y5({colorScheme:e,components:n}):r,i?y4({size:i,components:n}):r,t?y9({variant:t,components:n}):r];return e=>sV((function(...e){return t=>e.reduce((e,t)=>t(e),t)})(...o)(e))}function _e(e){let{theme:t}=sI(),i=ap();return(0,R.useMemo)(()=>an(t.direction,{...i,...e}),[e,t.direction,i])}y8.displayName="Textarea";var _t={theme:sd,colorMode:"light",toggleColorMode:()=>{},setColorMode:()=>{},defaultOptions:{duration:5e3,variant:"solid"},forced:!1};function _i({theme:e=_t.theme,colorMode:t=_t.colorMode,toggleColorMode:i=_t.toggleColorMode,setColorMode:n=_t.setColorMode,defaultOptions:r=_t.defaultOptions,motionVariants:o,toastSpacing:s,component:a,forced:l}=_t){let u={colorMode:t,setColorMode:n,toggleColorMode:i,forced:l};return{ToastContainer:()=>(0,T.jsx)(tH,{theme:e,children:(0,T.jsx)(j.Provider,{value:u,children:(0,T.jsx)(af,{defaultOptions:r,motionVariants:o,toastSpacing:s,component:a})})}),toast:an(e.direction,r)}}var _n={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}},_r=e=>{var t;return(null==(t=e.current)?void 0:t.ownerDocument)||document},_o=e=>{var t,i;return(null==(i=null==(t=e.current)?void 0:t.ownerDocument)?void 0:i.defaultView)||window};function _s(e={}){let{openDelay:t=0,closeDelay:i=0,closeOnClick:n=!0,closeOnMouseDown:r,closeOnScroll:o,closeOnPointerDown:s=r,closeOnEsc:a=!0,onOpen:l,onClose:u,placement:d,id:c,isOpen:h,defaultIsOpen:g,arrowSize:p=10,arrowShadowColor:f,arrowPadding:m,modifiers:v,isDisabled:b,gutter:y,offset:_,direction:w,...C}=e,{isOpen:S,onOpen:x,onClose:k}=p5({isOpen:h,defaultIsOpen:g,onOpen:l,onClose:u}),{referenceRef:E,getPopperProps:L,getArrowInnerProps:D,getArrowProps:N}=p8({enabled:S,placement:d,arrowPadding:m,modifiers:v,gutter:y,offset:_,direction:w}),A=`tooltip-${null!=c?c:(0,R.useId)()}`,T=(0,R.useRef)(null),I=(0,R.useRef)(),M=(0,R.useCallback)(()=>{I.current&&(clearTimeout(I.current),I.current=void 0)},[]),O=(0,R.useRef)(),P=(0,R.useCallback)(()=>{O.current&&(clearTimeout(O.current),O.current=void 0)},[]),F=(0,R.useCallback)(()=>{P(),k()},[k,P]),B=((0,R.useEffect)(()=>{let e=_r(T);return e.addEventListener(_a,F),()=>e.removeEventListener(_a,F)},[F,T]),()=>{let e=_r(T),t=_o(T);e.dispatchEvent(new t.CustomEvent(_a))}),V=(0,R.useCallback)(()=>{if(!b&&!I.current){B();let e=_o(T);I.current=e.setTimeout(x,t)}},[B,b,x,t]),H=(0,R.useCallback)(()=>{M();let e=_o(T);O.current=e.setTimeout(F,i)},[i,F,M]),j=(0,R.useCallback)(()=>{S&&n&&H()},[n,H,S]),W=(0,R.useCallback)(()=>{S&&s&&H()},[s,H,S]),z=(0,R.useCallback)(e=>{S&&"Escape"===e.key&&H()},[S,H]);uE(()=>_r(T),"keydown",a?z:void 0),uE(()=>_r(T),"scroll",()=>{S&&o&&F()}),(0,R.useEffect)(()=>{b&&(M(),S&&k())},[b,S,k,M]),(0,R.useEffect)(()=>()=>{M(),P()},[M,P]),uE(()=>T.current,"pointerleave",H);let U=(0,R.useCallback)((e={},t=null)=>({...e,ref:aN(T,t,E),onPointerEnter:J(e.onPointerEnter,e=>{"touch"!==e.pointerType&&V()}),onClick:J(e.onClick,j),onPointerDown:J(e.onPointerDown,W),onFocus:J(e.onFocus,V),onBlur:J(e.onBlur,H),"aria-describedby":S?A:void 0}),[V,H,W,S,A,j,E]),$=(0,R.useCallback)((e={},t=null)=>L({...e,style:{...e.style,[gX.arrowSize.var]:p?`${p}px`:void 0,[gX.arrowShadowColor.var]:f}},t),[L,p,f]);return{isOpen:S,show:V,hide:H,getTriggerProps:U,getTooltipProps:(0,R.useCallback)((e={},t=null)=>{let i={...e.style,position:"relative",transformOrigin:gX.transformOrigin.varRef};return{ref:t,...C,...e,id:A,role:"tooltip",style:i}},[C,A]),getTooltipPositionerProps:$,getArrowProps:N,getArrowInnerProps:D}}var _a="chakra-ui:close-tooltip",_l=sE(sb.E.div),_u=sA((e,t)=>{var i,n;let r;let o=sU("Tooltip",e),s=tL(e),a=sT(),{children:l,label:u,shouldWrapChildren:d,"aria-label":c,hasArrow:h,bg:g,portalProps:p,background:f,backgroundColor:m,bgColor:v,motionProps:b,...y}=s,_=null!=(n=null!=(i=null!=f?f:m)?i:g)?n:v;if(_){o.bg=_;let e=tE(a,"colors",_);o[gX.arrowBg.var]=e}let w=_s({...y,direction:a.direction});if("string"==typeof l||d)r=(0,T.jsx)(sE.span,{display:"inline-block",tabIndex:0,...w.getTriggerProps(),children:l});else{let e=R.Children.only(l);r=(0,R.cloneElement)(e,w.getTriggerProps(e.props,e.ref))}let C=!!c,S=w.getTooltipProps({},t),x=C?function(e,t=[]){let i=Object.assign({},e);for(let e of t)e in i&&delete i[e];return i}(S,["role","id"]):S,k=function(e,t){let i={};for(let n of t)n in e&&(i[n]=e[n]);return i}(S,["role","id"]);return u?(0,T.jsxs)(T.Fragment,{children:[r,(0,T.jsx)(ar.M,{children:w.isOpen&&(0,T.jsx)(ah,{...p,children:(0,T.jsx)(sE.div,{...w.getTooltipPositionerProps(),__css:{zIndex:o.zIndex,pointerEvents:"none"},children:(0,T.jsxs)(_l,{variants:_n,initial:"exit",animate:"enter",exit:"exit",...b,...x,__css:o,children:[u,C&&(0,T.jsx)(sE.span,{srOnly:!0,...k,children:c}),h&&(0,T.jsx)(sE.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper",children:(0,T.jsx)(sE.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:o.bg}})})]})})})})]}):(0,T.jsx)(T.Fragment,{children:l})});_u.displayName="Tooltip";var _d=sE("span",{baseStyle:lZ});_d.displayName="VisuallyHidden";var _c=sE("input",{baseStyle:lZ});_c.displayName="VisuallyHiddenInput"},39185:(e,t,i)=>{"use strict";i.d(t,{Z:()=>U});var n=function(){function e(e){var t=this;this._insertTag=function(e){var i;i=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,i),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t;this._insertTag(((t=document.createElement("style")).setAttribute("data-emotion",this.key),void 0!==this.nonce&&t.setAttribute("nonce",this.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t))}var i=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?f[w]+" "+C:a(C,/&\f/g,f[w])).trim())&&(c[_++]=S);return y(e,t,i,0===o?A:u,c,h,g)}function R(e,t,i,n){return y(e,t,i,T,d(e,0,n),d(e,n+1,-1),n)}var F=function(e,t,i){for(var n=0,r=0;n=r,r=C(),38===n&&12===r&&(t[i]=1),!S(r);)w();return d(b,e,m)},B=function(e,t){var i=-1,n=44;do switch(S(n)){case 0:38===n&&12===C()&&(t[i]=1),e[i]+=F(m-1,t,i);break;case 2:e[i]+=k(n);break;case 4:if(44===n){e[++i]=58===C()?"&\f":"",t[i]=e[i].length;break}default:e[i]+=o(n)}while(n=w())return e},V=function(e,t){var i;return i=B(x(e),t),b="",i},H=new WeakMap,j=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,i=e.parent,n=e.column===i.column&&e.line===i.line;"rule"!==i.type;)if(!(i=i.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||H.get(i))&&!n){H.set(e,!0);for(var r=[],o=V(t,r),s=i.props,a=0,l=0;a-1&&!e.return)switch(e.type){case T:e.return=function e(t,i){switch(45^u(t,0)?(((i<<2^u(t,0))<<2^u(t,1))<<2^u(t,2))<<2^u(t,3):0){case 5103:return D+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return D+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return D+t+L+t+E+t+t;case 6828:case 4268:return D+t+E+t+t;case 6165:return D+t+E+"flex-"+t+t;case 5187:return D+t+a(t,/(\w+).+(:[^]+)/,D+"box-$1$2"+E+"flex-$1$2")+t;case 5443:return D+t+E+"flex-item-"+a(t,/flex-|-self/,"")+t;case 4675:return D+t+E+"flex-line-pack"+a(t,/align-content|flex-|-self/,"")+t;case 5548:return D+t+E+a(t,"shrink","negative")+t;case 5292:return D+t+E+a(t,"basis","preferred-size")+t;case 6060:return D+"box-"+a(t,"-grow","")+D+t+E+a(t,"grow","positive")+t;case 4554:return D+a(t,/([^-])(transform)/g,"$1"+D+"$2")+t;case 6187:return a(a(a(t,/(zoom-|grab)/,D+"$1"),/(image-set)/,D+"$1"),t,"")+t;case 5495:case 3959:return a(t,/(image-set\([^]*)/,D+"$1$`$1");case 4968:return a(a(t,/(.+:)(flex-)?(.*)/,D+"box-pack:$3"+E+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+D+t+t;case 4095:case 3583:case 4068:case 2532:return a(t,/(.+)-inline(.+)/,D+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(c(t)-1-i>6)switch(u(t,i+1)){case 109:if(45!==u(t,i+4))break;case 102:return a(t,/(.+:)(.+)-([^]+)/,"$1"+D+"$2-$3$1"+L+(108==u(t,i+3)?"$3":"$2-$3"))+t;case 115:return~l(t,"stretch")?e(a(t,"stretch","fill-available"),i)+t:t}break;case 4949:if(115!==u(t,i+1))break;case 6444:switch(u(t,c(t)-3-(~l(t,"!important")&&10))){case 107:return a(t,":",":"+D)+t;case 101:return a(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+D+(45===u(t,14)?"inline-":"")+"box$3$1"+D+"$2$3$1"+E+"$2box$3")+t}break;case 5936:switch(u(t,i+11)){case 114:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return D+t+E+a(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return D+t+E+t+t}return t}(e.value,e.length);break;case I:return M([_(e,{value:a(e.value,"@","@"+D)})],n);case A:if(e.length)return e.props.map(function(t){var i;switch(i=t,(i=/(::plac\w+|:read-\w+)/.exec(i))?i[0]:i){case":read-only":case":read-write":return M([_(e,{props:[a(t,/:(read-\w+)/,":"+L+"$1")]})],n);case"::placeholder":return M([_(e,{props:[a(t,/:(plac\w+)/,":"+D+"input-$1")]}),_(e,{props:[a(t,/:(plac\w+)/,":"+L+"$1")]}),_(e,{props:[a(t,/:(plac\w+)/,E+"input-$1")]})],n)}return""}).join("")}}],U=function(e){var t,i,r,s,f,_=e.key;if("css"===_){var E=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(E,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var L=e.stylisPlugins||z,D={},A=[];s=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+_+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),i=1;i2||S(v)>3?"":" "}(O);break;case 92:$+=function(e,t){for(var i;--t&&w()&&!(v<48)&&!(v>102)&&(!(v>57)||!(v<65))&&(!(v>70)||!(v<97)););return i=m+(t<6&&32==C()&&32==w()),d(b,e,i)}(m-1,7);continue;case 47:switch(C()){case 42:case 47:h(y(L=function(e,t){for(;w();)if(e+v===57)break;else if(e+v===84&&47===C())break;return"/*"+d(b,t,m-1)+"*"+o(47===e?e:w())}(w(),m),i,n,N,o(v),d(L,2,-2),0),E);break;default:$+="/"}break;case 123*F:x[D++]=c($)*V;case 125*F:case 59:case 0:switch(H){case 0:case 125:B=0;case 59+A:-1==V&&($=a($,/\f/g,"")),M>0&&c($)-T&&h(M>32?R($+";",r,n,T-1):R(a($," ","")+";",r,n,T-2),E);break;case 59:$+=";";default:if(h(U=P($,i,n,D,A,s,x,j,W=[],z=[],T),f),123===H){if(0===A)e($,i,U,U,W,f,T,x,z);else switch(99===I&&110===u($,3)?100:I){case 100:case 108:case 109:case 115:e(t,U,U,r&&h(P(t,U,U,0,0,s,x,j,s,W=[],T),z),s,z,T,x,r?W:z);break;default:e($,U,U,U,[""],z,0,x,z)}}}D=A=M=0,F=V=1,j=$="",T=_;break;case 58:T=1+c($),M=O;default:if(F<1){if(123==H)--F;else if(125==H&&0==F++&&125==(v=m>0?u(b,--m):0,p--,10===v&&(p=1,g--),v))continue}switch($+=o(H),H*F){case 38:V=A>0?1:($+="\f",-1);break;case 44:x[D++]=(c($)-1)*V,V=1;break;case 64:45===C()&&($+=k(w())),I=C(),A=T=c(j=$+=function(e){for(;!S(C());)w();return d(b,e,m)}(m)),H++;break;case 45:45===O&&2==c($)&&(F=0)}}return f}("",null,null,null,[""],t=x(t=e),0,[0],t),b="",i),T)},F={key:_,sheet:new n({key:_,container:s,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:D,registered:{},insert:function(e,t,i,n){f=i,I(e?e+"{"+t.styles+"}":t.styles),n&&(F.inserted[t.name]=!0)}};return F.sheet.hydrate(A),F}},47229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});var n=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;let r=function(e){var t={};return function(i){return void 0===t[i]&&(t[i]=e(i)),t[i]}}(function(e){return n.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)})},86894:(e,t,i)=>{"use strict";function n(e){var t=Object.create(null);return function(i){return void 0===t[i]&&(t[i]=e(i)),t[i]}}i.d(t,{Z:()=>n})},33895:(e,t,i)=>{"use strict";i.d(t,{C:()=>f,E:()=>E,T:()=>b,_:()=>m,a:()=>w,b:()=>C,c:()=>x,h:()=>g,i:()=>h,u:()=>y,w:()=>v});var n=i(2784),r=i(39185),o=i(7560),s=function(e){var t=new WeakMap;return function(i){if(t.has(i))return t.get(i);var n=e(i);return t.set(i,n),n}},a=i(73463),l=i.n(a),u=i(82792),d=i(1245),c=i(82668),h=!0,g={}.hasOwnProperty,p=n.createContext("undefined"!=typeof HTMLElement?(0,r.Z)({key:"css"}):null),f=p.Provider,m=function(){return(0,n.useContext)(p)},v=function(e){return(0,n.forwardRef)(function(t,i){return e(t,(0,n.useContext)(p),i)})};h||(v=function(e){return function(t){var i=(0,n.useContext)(p);return null===i?(i=(0,r.Z)({key:"css"}),n.createElement(p.Provider,{value:i},e(t,i))):e(t,i)}});var b=n.createContext({}),y=function(){return n.useContext(b)},_=s(function(e){return s(function(t){return"function"==typeof t?t(e):(0,o.Z)({},e,t)})}),w=function(e){var t=n.useContext(b);return e.theme!==t&&(t=_(t)(e.theme)),n.createElement(b.Provider,{value:t},e.children)};function C(e){var t=e.displayName||e.name||"Component",i=n.forwardRef(function(t,i){var r=n.useContext(b);return n.createElement(e,(0,o.Z)({theme:r,ref:i},t))});return i.displayName="WithTheme("+t+")",l()(i,e)}var S="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",x=function(e,t){var i={};for(var n in t)g.call(t,n)&&(i[n]=t[n]);return i[S]=e,i},k=function(e){var t=e.cache,i=e.serialized,n=e.isStringTag;return(0,u.hC)(t,i,n),(0,c.L)(function(){return(0,u.My)(t,i,n)}),null},E=v(function(e,t,i){var r=e.css;"string"==typeof r&&void 0!==t.registered[r]&&(r=t.registered[r]);var o=e[S],s=[r],a="";"string"==typeof e.className?a=(0,u.fp)(t.registered,s,e.className):null!=e.className&&(a=e.className+" ");var l=(0,d.O)(s,void 0,n.useContext(b));a+=t.key+"-"+l.name;var c={};for(var h in e)g.call(e,h)&&"css"!==h&&h!==S&&(c[h]=e[h]);return c.ref=i,c.className=a,n.createElement(n.Fragment,null,n.createElement(k,{cache:t,serialized:l,isStringTag:"string"==typeof o}),n.createElement(o,c))})},28165:(e,t,i)=>{"use strict";i.r(t),i.d(t,{CacheProvider:()=>n.C,ClassNames:()=>p,Global:()=>u,ThemeContext:()=>n.T,ThemeProvider:()=>n.a,__unsafe_useEmotionCache:()=>n._,createElement:()=>l,css:()=>d,jsx:()=>l,keyframes:()=>c,useTheme:()=>n.u,withEmotionCache:()=>n.w,withTheme:()=>n.b});var n=i(33895),r=i(2784),o=i(82792),s=i(82668),a=i(1245);i(39185),i(73463);var l=function(e,t){var i=arguments;if(null==t||!n.h.call(t,"css"))return r.createElement.apply(void 0,i);var o=i.length,s=Array(o);s[0]=n.E,s[1]=(0,n.c)(e,t);for(var a=2;a{"use strict";i.d(t,{O:()=>p});var n,r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=i(86894),s=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,l=function(e){return 45===e.charCodeAt(1)},u=function(e){return null!=e&&"boolean"!=typeof e},d=(0,o.Z)(function(e){return l(e)?e:e.replace(s,"-$&").toLowerCase()}),c=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,t,i){return n={name:t,styles:i,next:n},t})}return 1===r[e]||l(e)||"number"!=typeof t||0===t?t:t+"px"};function h(e,t,i){if(null==i)return"";if(void 0!==i.__emotion_styles)return i;switch(typeof i){case"boolean":return"";case"object":if(1===i.anim)return n={name:i.name,styles:i.styles,next:n},i.name;if(void 0!==i.styles){var r=i.next;if(void 0!==r)for(;void 0!==r;)n={name:r.name,styles:r.styles,next:n},r=r.next;return i.styles+";"}return function(e,t,i){var n="";if(Array.isArray(i))for(var r=0;r=4;++n,r-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*1540483477+((t>>>16)*59797<<16),t^=t>>>24,i=(65535&t)*1540483477+((t>>>16)*59797<<16)^(65535&i)*1540483477+((i>>>16)*59797<<16);switch(r){case 3:i^=(255&e.charCodeAt(n+2))<<16;case 2:i^=(255&e.charCodeAt(n+1))<<8;case 1:i^=255&e.charCodeAt(n),i=(65535&i)*1540483477+((i>>>16)*59797<<16)}return i^=i>>>13,(((i=(65535&i)*1540483477+((i>>>16)*59797<<16))^i>>>15)>>>0).toString(36)}(s)+u,styles:s,next:n}}},74126:(e,t,i)=>{"use strict";i.r(t),i.d(t,{default:()=>m});var n=i(7560),r=i(2784),o=i(86894),s=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,a=(0,o.Z)(function(e){return s.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),l=i(33895),u=i(82792),d=i(1245),c=i(82668),h=function(e){return"theme"!==e},g=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?a:h},p=function(e,t,i){var n;if(t){var r=t.shouldForwardProp;n=e.__emotion_forwardProp&&r?function(t){return e.__emotion_forwardProp(t)&&r(t)}:r}return"function"!=typeof n&&i&&(n=e.__emotion_forwardProp),n},f=function(e){var t=e.cache,i=e.serialized,n=e.isStringTag;return(0,u.hC)(t,i,n),(0,c.L)(function(){return(0,u.My)(t,i,n)}),null},m=(function e(t,i){var o,s,a=t.__emotion_real===t,c=a&&t.__emotion_base||t;void 0!==i&&(o=i.label,s=i.target);var h=p(t,i,a),m=h||g(c),v=!m("as");return function(){var b=arguments,y=a&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==b[0]||void 0===b[0].raw)y.push.apply(y,b);else{y.push(b[0][0]);for(var _=b.length,w=1;w<_;w++)y.push(b[w],b[0][w])}var C=(0,l.w)(function(e,t,i){var n=v&&e.as||c,o="",a=[],p=e;if(null==e.theme){for(var b in p={},e)p[b]=e[b];p.theme=r.useContext(l.T)}"string"==typeof e.className?o=(0,u.fp)(t.registered,a,e.className):null!=e.className&&(o=e.className+" ");var _=(0,d.O)(y.concat(a),t.registered,p);o+=t.key+"-"+_.name,void 0!==s&&(o+=" "+s);var w=v&&void 0===h?g(n):m,C={};for(var S in e)(!v||"as"!==S)&&w(S)&&(C[S]=e[S]);return C.className=o,C.ref=i,r.createElement(r.Fragment,null,r.createElement(f,{cache:t,serialized:_,isStringTag:"string"==typeof n}),r.createElement(n,C))});return C.displayName=void 0!==o?o:"Styled("+("string"==typeof c?c:c.displayName||c.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=c,C.__emotion_styles=y,C.__emotion_forwardProp=h,Object.defineProperty(C,"toString",{value:function(){return"."+s}}),C.withComponent=function(t,r){return e(t,(0,n.Z)({},i,r,{shouldForwardProp:p(C,r,!0)})).apply(void 0,y)},C}}).bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach(function(e){m[e]=m(e)})},82668:(e,t,i)=>{"use strict";i.d(t,{L:()=>s,j:()=>a});var n,r=i(2784),o=!!(n||(n=i.t(r,2))).useInsertionEffect&&(n||(n=i.t(r,2))).useInsertionEffect,s=o||function(e){return e()},a=o||r.useLayoutEffect},82792:(e,t,i)=>{"use strict";function n(e,t,i){var n="";return i.split(" ").forEach(function(i){void 0!==e[i]?t.push(e[i]+";"):n+=i+" "}),n}i.d(t,{My:()=>o,fp:()=>n,hC:()=>r});var r=function(e,t,i){var n=e.key+"-"+t.name;!1===i&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},o=function(e,t,i){r(e,t,i);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do e.insert(t===o?"."+n:"",o,e.sheet,!0),o=o.next;while(void 0!==o)}}},57256:(e,t)=>{"use strict";function i(e){if(Array.isArray(e)){let t=[],n=0;for(let r=0;re.length)throw Error("invalid RLP (safeSlice): end slice of Uint8Array out-of-bounds");return e.slice(t,i)}function r(e){if(0===e[0])throw Error("invalid RLP: extra zeros");return u(l(e))}function o(e,t){if(e<56)return Uint8Array.from([e+t]);let i=g(e),n=g(t+55+i.length/2);return Uint8Array.from(d(n+i))}function s(e,t=!1){if(null==e||0===e.length)return Uint8Array.from([]);let i=function e(t){let i,o,s,a,l;let u=[],d=t[0];if(d<=127)return{data:t.slice(0,1),remainder:t.slice(1)};if(d<=183){if(i=d-127,s=128===d?Uint8Array.from([]):n(t,1,i),2===i&&s[0]<128)throw Error("invalid RLP encoding: invalid prefix, single byte < 0x80 are not prefixed");return{data:s,remainder:t.slice(i)}}if(d<=191){if(o=d-182,t.length-1t.length)throw Error("invalid RLP: total length is larger than the data");for(a=n(t,o,s);a.length;)l=e(a),u.push(l.data),a=l.remainder;return{data:u,remainder:t.slice(s)}}}(f(e));if(t)return i;if(0!==i.remainder.length)throw Error("invalid RLP: remainder must be zero");return i.data}Object.defineProperty(t,"__esModule",{value:!0}),t.RLP=t.utils=t.decode=t.encode=void 0,t.encode=i,t.decode=s;let a=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function l(e){let t="";for(let i=0;ie+t.length,0),i=new Uint8Array(t);for(let t=0,n=0;t=2&&"0"===e[0]&&"x"===e[1]}function f(e){if(e instanceof Uint8Array)return e;if("string"==typeof e){if(p(e)){var t;return d((t="string"!=typeof e?e:p(e)?e.slice(2):e).length%2?`0${t}`:t)}return h(e)}if("number"==typeof e||"bigint"==typeof e)return e?d(g(e)):Uint8Array.from([]);if(null==e)return Uint8Array.from([]);throw Error("toBytes: received unsupported type "+typeof e)}t.utils={bytesToHex:l,concatBytes:c,hexToBytes:d,utf8ToBytes:h},t.RLP={encode:i,decode:s}},54706:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.accountBodyToRLP=t.accountBodyToSlim=t.accountBodyFromSlim=t.isZeroAddress=t.zeroAddress=t.importPublic=t.privateToAddress=t.privateToPublic=t.publicToAddress=t.pubToAddress=t.isValidPublic=t.isValidPrivate=t.generateAddress2=t.generateAddress=t.isValidChecksumAddress=t.toChecksumAddress=t.isValidAddress=t.Account=void 0;let r=i(57256),o=i(1115),s=i(80101),a=i(10144),l=i(85766),u=i(38127),d=i(38707),c=i(34243),h=BigInt(0);class g{constructor(e=h,t=h,i=u.KECCAK256_RLP,n=u.KECCAK256_NULL){this.nonce=e,this.balance=t,this.storageRoot=i,this.codeHash=n,this._validate()}static fromAccountData(e){let{nonce:t,balance:i,storageRoot:n,codeHash:r}=e;return new g(void 0!==t?(0,l.bufferToBigInt)((0,l.toBuffer)(t)):void 0,void 0!==i?(0,l.bufferToBigInt)((0,l.toBuffer)(i)):void 0,void 0!==n?(0,l.toBuffer)(n):void 0,void 0!==r?(0,l.toBuffer)(r):void 0)}static fromRlpSerializedAccount(e){let t=(0,l.arrToBufArr)(r.RLP.decode(Uint8Array.from(e)));if(!Array.isArray(t))throw Error("Invalid serialized account input. Must be array");return this.fromValuesArray(t)}static fromValuesArray(e){let[t,i,n,r]=e;return new g((0,l.bufferToBigInt)(t),(0,l.bufferToBigInt)(i),n,r)}_validate(){if(this.nonce=8?h+=i[e].toUpperCase():h+=i[e];return h},t.isValidChecksumAddress=function(e,i){return(0,t.isValidAddress)(e)&&(0,t.toChecksumAddress)(e,i)===e},t.generateAddress=function(e,t){return((0,d.assertIsBuffer)(e),(0,d.assertIsBuffer)(t),(0,l.bufferToBigInt)(t)===BigInt(0))?n.from((0,o.keccak256)(r.RLP.encode((0,l.bufArrToArr)([e,null])))).slice(-20):n.from((0,o.keccak256)(r.RLP.encode((0,l.bufArrToArr)([e,t])))).slice(-20)},t.generateAddress2=function(e,t,i){if((0,d.assertIsBuffer)(e),(0,d.assertIsBuffer)(t),(0,d.assertIsBuffer)(i),20!==e.length)throw Error("Expected from to be of length 20");if(32!==t.length)throw Error("Expected salt to be of length 32");let r=(0,o.keccak256)(n.concat([n.from("ff","hex"),e,t,(0,o.keccak256)(i)]));return(0,l.toBuffer)(r).slice(-20)},t.isValidPrivate=function(e){return s.secp256k1.utils.isValidPrivateKey(e)},t.isValidPublic=function(e,t=!1){if((0,d.assertIsBuffer)(e),64===e.length)try{return s.secp256k1.ProjectivePoint.fromHex(n.concat([n.from([4]),e])),!0}catch(e){return!1}if(!t)return!1;try{return s.secp256k1.ProjectivePoint.fromHex(e),!0}catch(e){return!1}},t.pubToAddress=function(e,t=!1){if((0,d.assertIsBuffer)(e),t&&64!==e.length&&(e=n.from(s.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1))),64!==e.length)throw Error("Expected pubKey to be of length 64");return n.from((0,o.keccak256)(e)).slice(-20)},t.publicToAddress=t.pubToAddress,t.privateToPublic=function(e){return(0,d.assertIsBuffer)(e),n.from(s.secp256k1.ProjectivePoint.fromPrivateKey(e).toRawBytes(!1).slice(1))},t.privateToAddress=function(e){return(0,t.publicToAddress)((0,t.privateToPublic)(e))},t.importPublic=function(e){return(0,d.assertIsBuffer)(e),64!==e.length&&(e=n.from(s.secp256k1.ProjectivePoint.fromHex(e).toRawBytes(!1).slice(1))),e},t.zeroAddress=function(){let e=(0,l.zeros)(20);return(0,l.bufferToHex)(e)},t.isZeroAddress=function(e){try{(0,d.assertIsString)(e)}catch(e){return!1}return(0,t.zeroAddress)()===e},t.accountBodyFromSlim=p;let f=new Uint8Array(0);t.accountBodyToSlim=function(e){let[t,i,n,r]=e;return[t,i,(0,l.arrToBufArr)(n).equals(u.KECCAK256_RLP)?f:n,(0,l.arrToBufArr)(r).equals(u.KECCAK256_NULL)?f:r]},t.accountBodyToRLP=function(e,t=!0){let i=t?p(e):e;return(0,l.arrToBufArr)(r.RLP.encode(i))}},38515:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.Address=void 0;let r=i(54706),o=i(85766);class s{constructor(e){if(20!==e.length)throw Error("Invalid address length");this.buf=e}static zero(){return new s((0,o.zeros)(20))}static fromString(e){if(!(0,r.isValidAddress)(e))throw Error("Invalid address");return new s((0,o.toBuffer)(e))}static fromPublicKey(e){if(!n.isBuffer(e))throw Error("Public key should be Buffer");let t=(0,r.pubToAddress)(e);return new s(t)}static fromPrivateKey(e){if(!n.isBuffer(e))throw Error("Private key should be Buffer");let t=(0,r.privateToAddress)(e);return new s(t)}static generate(e,t){if("bigint"!=typeof t)throw Error("Expected nonce to be a bigint");return new s((0,r.generateAddress)(e.buf,(0,o.bigIntToBuffer)(t)))}static generate2(e,t,i){if(!n.isBuffer(t))throw Error("Expected salt to be a Buffer");if(!n.isBuffer(i))throw Error("Expected initCode to be a Buffer");return new s((0,r.generateAddress2)(e.buf,t,i))}equals(e){return this.buf.equals(e.buf)}isZero(){return this.equals(s.zero())}isPrecompileOrSystemAddress(){let e=(0,o.bufferToBigInt)(this.buf),t=BigInt(0),i=BigInt("0xffff");return e>=t&&e<=i}toString(){return"0x"+this.buf.toString("hex")}toBuffer(){return n.from(this.buf)}}t.Address=s},68263:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AsyncEventEmitter=void 0;let n=i(22699);async function r(e,t,i){let n;for await(let r of t)try{r.length<2?r.call(e,i):await new Promise((t,n)=>{r.call(e,i,e=>{e?n(e):t()})})}catch(e){n=e}if(n)throw n}class o extends n.EventEmitter{emit(e,...t){let[i,n]=t,o=this._events[e]??[];return void 0===n&&"function"==typeof i&&(n=i,i=void 0),("newListener"===e||"removeListener"===e)&&(i={event:i,fn:n},n=void 0),r(this,(o=Array.isArray(o)?o:[o]).slice(),i).then(n).catch(n),this.listenerCount(e)>0}once(e,t){let i;let n=this;if("function"!=typeof t)throw TypeError("listener must be a function");return i=t.length>=2?function(r,o){n.removeListener(e,i),t(r,o)}:function(r){n.removeListener(e,i),t(r,i)},n.on(e,i),n}first(e,t){let i=this._events[e]??[];if("function"!=typeof t)throw TypeError("listener must be a function");return Array.isArray(i)||(this._events[e]=i=[i]),i.unshift(t),this}before(e,t,i){return this.beforeOrAfter(e,t,i)}after(e,t,i){return this.beforeOrAfter(e,t,i,"after")}beforeOrAfter(e,t,i,n){let r,o,s=this._events[e]??[],a="after"===n?1:0;if("function"!=typeof i)throw TypeError("listener must be a function");if("function"!=typeof t)throw TypeError("target must be a function");for(Array.isArray(s)||(this._events[e]=s=[s]),o=s.length,r=s.length;r--;)if(s[r]===t){o=r+a;break}return s.splice(o,0,i),this}on(e,t){return super.on(e,t)}addListener(e,t){return super.addListener(e,t)}prependListener(e,t){return super.prependListener(e,t)}prependOnceListener(e,t){return super.prependOnceListener(e,t)}removeAllListeners(e){return super.removeAllListeners(e)}removeListener(e,t){return super.removeListener(e,t)}eventNames(){return super.eventNames()}listeners(e){return super.listeners(e)}listenerCount(e){return super.listenerCount(e)}getMaxListeners(){return super.getMaxListeners()}setMaxListeners(e){return super.setMaxListeners(e)}}t.AsyncEventEmitter=o},85766:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.intToUnpaddedBuffer=t.bigIntToUnpaddedBuffer=t.bigIntToHex=t.bufArrToArr=t.arrToBufArr=t.validateNoLeadingZeroes=t.baToJSON=t.toUtf8=t.short=t.addHexPrefix=t.toUnsigned=t.fromSigned=t.bufferToInt=t.bigIntToBuffer=t.bufferToBigInt=t.bufferToHex=t.toBuffer=t.unpadHexString=t.unpadArray=t.unpadBuffer=t.setLengthRight=t.setLengthLeft=t.zeros=t.intToBuffer=t.intToHex=void 0;let r=i(38707),o=i(34243);t.intToHex=function(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Received an invalid integer type: ${e}`);return`0x${e.toString(16)}`},t.intToBuffer=function(e){let i=(0,t.intToHex)(e);return n.from((0,o.padToEven)(i.slice(2)),"hex")},t.zeros=function(e){return n.allocUnsafe(e).fill(0)};let s=function(e,i,n){let r=(0,t.zeros)(i);return n?e.length0&&"0"===t.toString();)t=(e=e.slice(1))[0];return e};function l(e){let i=(0,t.bufferToHex)(e);return"0x"===i?BigInt(0):BigInt(i)}function u(e){return(0,t.toBuffer)("0x"+e.toString(16))}t.unpadBuffer=function(e){return(0,r.assertIsBuffer)(e),a(e)},t.unpadArray=function(e){return(0,r.assertIsArray)(e),a(e)},t.unpadHexString=function(e){return(0,r.assertIsHexString)(e),"0x"+a(e=(0,o.stripHexPrefix)(e))},t.toBuffer=function(e){if(null==e)return n.allocUnsafe(0);if(n.isBuffer(e)||Array.isArray(e)||e instanceof Uint8Array)return n.from(e);if("string"==typeof e){if(!(0,o.isHexString)(e))throw Error(`Cannot convert string to buffer. toBuffer only supports 0x-prefixed hex strings and this string was given: ${e}`);return n.from((0,o.padToEven)((0,o.stripHexPrefix)(e)),"hex")}if("number"==typeof e)return(0,t.intToBuffer)(e);if("bigint"==typeof e){if(e0&&0===i[0])throw Error(`${t} cannot have leading zeroes, received: ${i.toString("hex")}`)},t.arrToBufArr=function e(t){return Array.isArray(t)?t.map(t=>e(t)):n.from(t)},t.bufArrToArr=function e(t){return Array.isArray(t)?t.map(t=>e(t)):Uint8Array.from(t??[])},t.bigIntToHex=e=>"0x"+e.toString(16),t.bigIntToUnpaddedBuffer=function(e){return(0,t.unpadBuffer)(u(e))},t.intToUnpaddedBuffer=function(e){return(0,t.unpadBuffer)((0,t.intToBuffer)(e))}},38127:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.MAX_WITHDRAWALS_PER_PAYLOAD=t.RLP_EMPTY_STRING=t.KECCAK256_RLP=t.KECCAK256_RLP_S=t.KECCAK256_RLP_ARRAY=t.KECCAK256_RLP_ARRAY_S=t.KECCAK256_NULL=t.KECCAK256_NULL_S=t.TWO_POW256=t.SECP256K1_ORDER_DIV_2=t.SECP256K1_ORDER=t.MAX_INTEGER_BIGINT=t.MAX_INTEGER=t.MAX_UINT64=void 0;let n=i(48834),r=i(80101);t.MAX_UINT64=BigInt("0xffffffffffffffff"),t.MAX_INTEGER=BigInt("0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"),t.MAX_INTEGER_BIGINT=BigInt("115792089237316195423570985008687907853269984665640564039457584007913129639935"),t.SECP256K1_ORDER=r.secp256k1.CURVE.n,t.SECP256K1_ORDER_DIV_2=r.secp256k1.CURVE.n/BigInt(2),t.TWO_POW256=BigInt("0x10000000000000000000000000000000000000000000000000000000000000000"),t.KECCAK256_NULL_S="c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470",t.KECCAK256_NULL=n.Buffer.from(t.KECCAK256_NULL_S,"hex"),t.KECCAK256_RLP_ARRAY_S="1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",t.KECCAK256_RLP_ARRAY=n.Buffer.from(t.KECCAK256_RLP_ARRAY_S,"hex"),t.KECCAK256_RLP_S="56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",t.KECCAK256_RLP=n.Buffer.from(t.KECCAK256_RLP_S,"hex"),t.RLP_EMPTY_STRING=n.Buffer.from([128]),t.MAX_WITHDRAWALS_PER_PAYLOAD=16},73244:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.compactBytesToNibbles=t.bytesToNibbles=t.nibblesToCompactBytes=t.nibblesToBytes=t.hasTerminator=void 0,t.hasTerminator=e=>e.length>0&&16===e[e.length-1],t.nibblesToBytes=(e,t)=>{for(let i=0,n=0;n{let i=0;(0,t.hasTerminator)(e)&&(i=1,e=e.subarray(0,e.length-1));let n=new Uint8Array(e.length/2+1);return n[0]=i<<5,(1&e.length)==1&&(n[0]|=16,n[0]|=e[0],e=e.subarray(1)),(0,t.nibblesToBytes)(e,n.subarray(1)),n},t.bytesToNibbles=e=>{let t=2*e.length+1,i=new Uint8Array(t);for(let t=0;t{if(0===e.length)return e;let i=(0,t.bytesToNibbles)(e);i[0]<2&&(i=i.subarray(0,i.length-1));let n=2-(1&i[0]);return i.subarray(n)}},38707:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.assertIsString=t.assertIsArray=t.assertIsBuffer=t.assertIsHexString=void 0;let r=i(34243);t.assertIsHexString=function(e){if(!(0,r.isHexString)(e))throw Error(`This method only supports 0x-prefixed hex strings but input was: ${e}`)},t.assertIsBuffer=function(e){if(!n.isBuffer(e))throw Error(`This method only supports Buffer but input was: ${e}`)},t.assertIsArray=function(e){if(!Array.isArray(e))throw Error(`This method only supports number arrays but input was: ${e}`)},t.assertIsString=function(e){if("string"!=typeof e)throw Error(`This method only supports strings but input was: ${e}`)}},45372:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.toAscii=t.stripHexPrefix=t.padToEven=t.isHexString=t.isHexPrefixed=t.getKeys=t.getBinarySize=t.fromUtf8=t.fromAscii=t.arrayContainsArray=void 0,r(i(38127),t),r(i(53895),t),r(i(54706),t),r(i(38515),t),r(i(72868),t),r(i(2074),t),r(i(85766),t),r(i(82103),t),r(i(73244),t),r(i(68263),t);var o=i(34243);Object.defineProperty(t,"arrayContainsArray",{enumerable:!0,get:function(){return o.arrayContainsArray}}),Object.defineProperty(t,"fromAscii",{enumerable:!0,get:function(){return o.fromAscii}}),Object.defineProperty(t,"fromUtf8",{enumerable:!0,get:function(){return o.fromUtf8}}),Object.defineProperty(t,"getBinarySize",{enumerable:!0,get:function(){return o.getBinarySize}}),Object.defineProperty(t,"getKeys",{enumerable:!0,get:function(){return o.getKeys}}),Object.defineProperty(t,"isHexPrefixed",{enumerable:!0,get:function(){return o.isHexPrefixed}}),Object.defineProperty(t,"isHexString",{enumerable:!0,get:function(){return o.isHexString}}),Object.defineProperty(t,"padToEven",{enumerable:!0,get:function(){return o.padToEven}}),Object.defineProperty(t,"stripHexPrefix",{enumerable:!0,get:function(){return o.stripHexPrefix}}),Object.defineProperty(t,"toAscii",{enumerable:!0,get:function(){return o.toAscii}}),r(i(66065),t),r(i(46831),t)},34243:(e,t,i)=>{"use strict";var n=i(48834).Buffer;function r(e){if("string"!=typeof e)throw Error(`[isHexPrefixed] input must be type 'string', received type ${typeof e}`);return"0"===e[0]&&"x"===e[1]}function o(e){let t=e;if("string"!=typeof t)throw Error(`[padToEven] value must be type 'string', received ${typeof t}`);return t.length%2&&(t=`0${t}`),t}Object.defineProperty(t,"__esModule",{value:!0}),t.isHexString=t.getKeys=t.fromAscii=t.fromUtf8=t.toAscii=t.arrayContainsArray=t.getBinarySize=t.padToEven=t.stripHexPrefix=t.isHexPrefixed=void 0,t.isHexPrefixed=r,t.stripHexPrefix=e=>{if("string"!=typeof e)throw Error(`[stripHexPrefix] input must be type 'string', received ${typeof e}`);return r(e)?e.slice(2):e},t.padToEven=o,t.getBinarySize=function(e){if("string"!=typeof e)throw Error(`[getBinarySize] method requires input type 'string', received ${typeof e}`);return n.byteLength(e,"utf8")},t.arrayContainsArray=function(e,t,i){if(!0!==Array.isArray(e))throw Error(`[arrayContainsArray] method requires input 'superset' to be an array, got type '${typeof e}'`);if(!0!==Array.isArray(t))throw Error(`[arrayContainsArray] method requires input 'subset' to be an array, got type '${typeof t}'`);return t[!0===i?"some":"every"](t=>e.indexOf(t)>=0)},t.toAscii=function(e){let t="",i=0,n=e.length;for("0x"===e.substring(0,2)&&(i=2);i0)||e.length===2+2*t)}},66065:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Lock=void 0,t.Lock=class{constructor(){this.permits=1,this.promiseResolverQueue=[]}async acquire(){return this.permits>0?(this.permits-=1,Promise.resolve(!0)):new Promise(e=>this.promiseResolverQueue.push(e))}release(){if(this.permits+=1,this.permits>1&&this.promiseResolverQueue.length>0)console.warn("Lock.permits should never be > 0 when there is someone waiting.");else if(1===this.permits&&this.promiseResolverQueue.length>0){this.permits-=1;let e=this.promiseResolverQueue.shift();e&&e(!0)}}}},46831:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getProvider=t.fetchFromProvider=void 0;let n=i(42973),r=async(e,t)=>(await (0,n.default)(e,{headers:{"content-type":"application/json"},type:"json",data:{method:t.method,params:t.params,jsonrpc:"2.0",id:1}})).result;t.fetchFromProvider=r,t.getProvider=e=>{if("string"==typeof e)return e;if(e?.connection?.url!==void 0)return e.connection.url;throw Error("Must provide valid provider URL or Web3Provider")}},2074:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.hashPersonalMessage=t.isValidSignature=t.fromRpcSig=t.toCompactSig=t.toRpcSig=t.ecrecover=t.ecsign=void 0;let r=i(1115),o=i(80101),s=i(85766),a=i(38127),l=i(38707);function u(e,t){return e===BigInt(0)||e===BigInt(1)?e:void 0===t?e-BigInt(27):e-(t*BigInt(2)+BigInt(35))}function d(e){return e===BigInt(0)||e===BigInt(1)}t.ecsign=function(e,t,i){let r=o.secp256k1.sign(e,t),s=r.toCompactRawBytes();return{r:n.from(s.slice(0,32)),s:n.from(s.slice(32,64)),v:void 0===i?BigInt(r.recovery+27):BigInt(r.recovery+35)+BigInt(i)*BigInt(2)}},t.ecrecover=function(e,t,i,r,a){let l=n.concat([(0,s.setLengthLeft)(i,32),(0,s.setLengthLeft)(r,32)],64),c=u(t,a);if(!d(c))throw Error("Invalid signature v value");let h=o.secp256k1.Signature.fromCompact(l).addRecoveryBit(Number(c)).recoverPublicKey(e);return n.from(h.toRawBytes(!1).slice(1))},t.toRpcSig=function(e,t,i,r){if(!d(u(e,r)))throw Error("Invalid signature v value");return(0,s.bufferToHex)(n.concat([(0,s.setLengthLeft)(t,32),(0,s.setLengthLeft)(i,32),(0,s.toBuffer)(e)]))},t.toCompactSig=function(e,t,i,r){if(!d(u(e,r)))throw Error("Invalid signature v value");let o=i;return(e>BigInt(28)&&e%BigInt(2)===BigInt(1)||e===BigInt(1)||e===BigInt(28))&&(o=n.from(i),o[0]|=128),(0,s.bufferToHex)(n.concat([(0,s.setLengthLeft)(t,32),(0,s.setLengthLeft)(o,32)]))},t.fromRpcSig=function(e){let t,i,n;let r=(0,s.toBuffer)(e);if(r.length>=65)t=r.slice(0,32),i=r.slice(32,64),n=(0,s.bufferToBigInt)(r.slice(64));else if(64===r.length)t=r.slice(0,32),i=r.slice(32,64),n=BigInt((0,s.bufferToInt)(r.slice(32,33))>>7),i[0]&=127;else throw Error("Invalid signature length");return n<27&&(n+=BigInt(27)),{v:n,r:t,s:i}},t.isValidSignature=function(e,t,i,n=!0,r){if(32!==t.length||32!==i.length||!d(u(e,r)))return!1;let o=(0,s.bufferToBigInt)(t),l=(0,s.bufferToBigInt)(i);return o!==BigInt(0)&&!(o>=a.SECP256K1_ORDER)&&l!==BigInt(0)&&!(l>=a.SECP256K1_ORDER)&&(!n||!(l>=a.SECP256K1_ORDER_DIV_2))},t.hashPersonalMessage=function(e){(0,l.assertIsBuffer)(e);let t=n.from(`\u0019Ethereum Signed Message: +${e.length}`,"utf-8");return n.from((0,r.keccak256)(n.concat([t,e])))}},82103:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.toType=t.TypeOutput=void 0;let r=i(85766),o=i(34243);!function(e){e[e.Number=0]="Number",e[e.BigInt=1]="BigInt",e[e.Buffer=2]="Buffer",e[e.PrefixedHexString=3]="PrefixedHexString"}(n=t.TypeOutput||(t.TypeOutput={})),t.toType=function(e,t){if(null===e)return null;if(void 0===e)return;if("string"!=typeof e||(0,o.isHexString)(e)){if("number"==typeof e&&!Number.isSafeInteger(e))throw Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative input type)")}else throw Error(`A string must be provided with a 0x-prefix, given: ${e}`);let i=(0,r.toBuffer)(e);switch(t){case n.Buffer:return i;case n.BigInt:return(0,r.bufferToBigInt)(i);case n.Number:{let e=(0,r.bufferToBigInt)(i);if(e>BigInt(Number.MAX_SAFE_INTEGER))throw Error("The provided number is greater than MAX_SAFE_INTEGER (please use an alternative output type)");return Number(e)}case n.PrefixedHexString:return(0,r.bufferToHex)(i);default:throw Error("unknown outputType")}}},53895:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GWEI_TO_WEI=void 0,t.GWEI_TO_WEI=BigInt(1e9)},72868:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.Withdrawal=void 0;let r=i(38515),o=i(85766),s=i(82103);class a{constructor(e,t,i,n){this.index=e,this.validatorIndex=t,this.address=i,this.amount=n}static fromWithdrawalData(e){let{index:t,validatorIndex:i,address:n,amount:o}=e,l=(0,s.toType)(t,s.TypeOutput.BigInt),u=(0,s.toType)(i,s.TypeOutput.BigInt),d=new r.Address((0,s.toType)(n,s.TypeOutput.Buffer)),c=(0,s.toType)(o,s.TypeOutput.BigInt);return new a(l,u,d,c)}static fromValuesArray(e){if(4!==e.length)throw Error(`Invalid withdrawalArray length expected=4 actual=${e.length}`);let[t,i,n,r]=e;return a.fromWithdrawalData({index:t,validatorIndex:i,address:n,amount:r})}static toBufferArray(e){let{index:t,validatorIndex:i,address:o,amount:a}=e;return[(0,s.toType)(t,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(t,s.TypeOutput.Buffer),(0,s.toType)(i,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(i,s.TypeOutput.Buffer),o instanceof r.Address?o.buf:(0,s.toType)(o,s.TypeOutput.Buffer),(0,s.toType)(a,s.TypeOutput.BigInt)===BigInt(0)?n.alloc(0):(0,s.toType)(a,s.TypeOutput.Buffer)]}raw(){return a.toBufferArray(this)}toValue(){return{index:this.index,validatorIndex:this.validatorIndex,address:this.address.buf,amount:this.amount}}toJSON(){return{index:(0,o.bigIntToHex)(this.index),validatorIndex:(0,o.bigIntToHex)(this.validatorIndex),address:"0x"+this.address.buf.toString("hex"),amount:(0,o.bigIntToHex)(this.amount)}}}t.Withdrawal=a},83620:(e,t,i)=>{"use strict";i.r(t),i.d(t,{commify:()=>G,formatEther:()=>Q,formatUnits:()=>Z,parseEther:()=>J,parseUnits:()=>Y});let n=!1,r=!1,o={debug:1,default:2,info:2,warning:3,error:4,off:5},s=2,a=null,l=function(){try{let e=[];if(["NFD","NFC","NFKD","NFKC"].forEach(t=>{try{if("test"!=="test".normalize(t))throw Error("bad normalize")}catch(i){e.push(t)}}),e.length)throw Error("missing "+e.join(", "));if(String.fromCharCode(233).normalize("NFD")!==String.fromCharCode(101,769))throw Error("broken implementation")}catch(e){return e.message}return null}();!function(e){e.DEBUG="DEBUG",e.INFO="INFO",e.WARNING="WARNING",e.ERROR="ERROR",e.OFF="OFF"}(w||(w={})),function(e){e.UNKNOWN_ERROR="UNKNOWN_ERROR",e.NOT_IMPLEMENTED="NOT_IMPLEMENTED",e.UNSUPPORTED_OPERATION="UNSUPPORTED_OPERATION",e.NETWORK_ERROR="NETWORK_ERROR",e.SERVER_ERROR="SERVER_ERROR",e.TIMEOUT="TIMEOUT",e.BUFFER_OVERRUN="BUFFER_OVERRUN",e.NUMERIC_FAULT="NUMERIC_FAULT",e.MISSING_NEW="MISSING_NEW",e.INVALID_ARGUMENT="INVALID_ARGUMENT",e.MISSING_ARGUMENT="MISSING_ARGUMENT",e.UNEXPECTED_ARGUMENT="UNEXPECTED_ARGUMENT",e.CALL_EXCEPTION="CALL_EXCEPTION",e.INSUFFICIENT_FUNDS="INSUFFICIENT_FUNDS",e.NONCE_EXPIRED="NONCE_EXPIRED",e.REPLACEMENT_UNDERPRICED="REPLACEMENT_UNDERPRICED",e.UNPREDICTABLE_GAS_LIMIT="UNPREDICTABLE_GAS_LIMIT",e.TRANSACTION_REPLACED="TRANSACTION_REPLACED",e.ACTION_REJECTED="ACTION_REJECTED"}(C||(C={}));let u="0123456789abcdef";class d{constructor(e){Object.defineProperty(this,"version",{enumerable:!0,value:e,writable:!1})}_log(e,t){let i=e.toLowerCase();null==o[i]&&this.throwArgumentError("invalid log level name","logLevel",e),s>o[i]||console.log.apply(console,t)}debug(...e){this._log(d.levels.DEBUG,e)}info(...e){this._log(d.levels.INFO,e)}warn(...e){this._log(d.levels.WARNING,e)}makeError(e,t,i){if(r)return this.makeError("censored error",t,{});t||(t=d.errors.UNKNOWN_ERROR),i||(i={});let n=[];Object.keys(i).forEach(e=>{let t=i[e];try{if(t instanceof Uint8Array){let i="";for(let e=0;e>4]+u[15&t[e]];n.push(e+"=Uint8Array(0x"+i+")")}else n.push(e+"="+JSON.stringify(t))}catch(t){n.push(e+"="+JSON.stringify(i[e].toString()))}}),n.push(`code=${t}`),n.push(`version=${this.version}`);let o=e,s="";switch(t){case C.NUMERIC_FAULT:{s="NUMERIC_FAULT";let t=e;switch(t){case"overflow":case"underflow":case"division-by-zero":s+="-"+t;break;case"negative-power":case"negative-width":s+="-unsupported";break;case"unbound-bitwise-result":s+="-unbound-result"}break}case C.CALL_EXCEPTION:case C.INSUFFICIENT_FUNDS:case C.MISSING_NEW:case C.NONCE_EXPIRED:case C.REPLACEMENT_UNDERPRICED:case C.TRANSACTION_REPLACED:case C.UNPREDICTABLE_GAS_LIMIT:s=t}s&&(e+=" [ See: https://links.ethers.org/v5-errors-"+s+" ]"),n.length&&(e+=" ("+n.join(", ")+")");let a=Error(e);return a.reason=o,a.code=t,Object.keys(i).forEach(function(e){a[e]=i[e]}),a}throwError(e,t,i){throw this.makeError(e,t,i)}throwArgumentError(e,t,i){return this.throwError(e,d.errors.INVALID_ARGUMENT,{argument:t,value:i})}assert(e,t,i,n){e||this.throwError(t,i,n)}assertArgument(e,t,i,n){e||this.throwArgumentError(t,i,n)}checkNormalize(e){null==e&&(e="platform missing String.prototype.normalize"),l&&this.throwError("platform missing String.prototype.normalize",d.errors.UNSUPPORTED_OPERATION,{operation:"String.prototype.normalize",form:l})}checkSafeUint53(e,t){"number"==typeof e&&(null==t&&(t="value not safe"),(e<0||e>=9007199254740991)&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"out-of-safe-range",value:e}),e%1&&this.throwError(t,d.errors.NUMERIC_FAULT,{operation:"checkSafeInteger",fault:"non-integer",value:e}))}checkArgumentCount(e,t,i){i=i?": "+i:"",et&&this.throwError("too many arguments"+i,d.errors.UNEXPECTED_ARGUMENT,{count:e,expectedCount:t})}checkNew(e,t){(e===Object||null==e)&&this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}checkAbstract(e,t){e===t?this.throwError("cannot instantiate abstract class "+JSON.stringify(t.name)+" directly; use a sub-class",d.errors.UNSUPPORTED_OPERATION,{name:e.name,operation:"new"}):(e===Object||null==e)&&this.throwError("missing new",d.errors.MISSING_NEW,{name:t.name})}static globalLogger(){return a||(a=new d("logger/5.7.0")),a}static setCensorship(e,t){if(!e&&t&&this.globalLogger().throwError("cannot permanently disable censorship",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"}),n){if(!e)return;this.globalLogger().throwError("error censorship permanent",d.errors.UNSUPPORTED_OPERATION,{operation:"setCensorship"})}r=!!e,n=!!t}static setLogLevel(e){let t=o[e.toLowerCase()];if(null==t){d.globalLogger().warn("invalid log level - "+e);return}s=t}static from(e){return new d(e)}}d.errors=C,d.levels=w;let c=new d("bytes/5.7.0");function h(e){return!!e.toHexString}function g(e){return e.slice||(e.slice=function(){let t=Array.prototype.slice.call(arguments);return g(new Uint8Array(Array.prototype.slice.apply(e,t)))}),e}function p(e){return"number"==typeof e&&e==e&&e%1==0}function f(e){if(null==e)return!1;if(e.constructor===Uint8Array)return!0;if("string"==typeof e||!p(e.length)||e.length<0)return!1;for(let t=0;t=256)return!1}return!0}function m(e,t){return"string"==typeof e&&!!e.match(/^0x[0-9A-Fa-f]*$/)&&(!t||e.length===2+2*t)}let v="0123456789abcdef";function b(e,t){if(t||(t={}),"number"==typeof e){c.checkSafeUint53(e,"invalid hexlify value");let t="";for(;e;)t=v[15&e]+t,e=Math.floor(e/16);return t.length?(t.length%2&&(t="0"+t),"0x"+t):"0x00"}if("bigint"==typeof e)return(e=e.toString(16)).length%2?"0x0"+e:"0x"+e;if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),h(e))return e.toHexString();if(m(e))return e.length%2&&("left"===t.hexPad?e="0x0"+e.substring(2):"right"===t.hexPad?e+="0":c.throwArgumentError("hex data is odd-length","value",e)),e.toLowerCase();if(f(e)){let t="0x";for(let i=0;i>4]+v[15&n]}return t}return c.throwArgumentError("invalid hexlify value","value",e)}function y(e,t){for("string"!=typeof e?e=b(e):m(e)||c.throwArgumentError("invalid hex string","value",e),e.length>2*t+2&&c.throwArgumentError("value out of range","value",arguments[1]);e.length<2*t+2;)e="0x0"+e.substring(2);return e}let _="bignumber/5.7.0";var w,C,S=i(62197),x=i.n(S)().BN;let k=new d(_),E={},L=!1;class D{constructor(e,t){e!==E&&k.throwError("cannot call constructor directly; use BigNumber.from",d.errors.UNSUPPORTED_OPERATION,{operation:"new (BigNumber)"}),this._hex=t,this._isBigNumber=!0,Object.freeze(this)}fromTwos(e){return A(T(this).fromTwos(e))}toTwos(e){return A(T(this).toTwos(e))}abs(){return"-"===this._hex[0]?D.from(this._hex.substring(1)):this}add(e){return A(T(this).add(T(e)))}sub(e){return A(T(this).sub(T(e)))}div(e){return D.from(e).isZero()&&I("division-by-zero","div"),A(T(this).div(T(e)))}mul(e){return A(T(this).mul(T(e)))}mod(e){let t=T(e);return t.isNeg()&&I("division-by-zero","mod"),A(T(this).umod(t))}pow(e){let t=T(e);return t.isNeg()&&I("negative-power","pow"),A(T(this).pow(t))}and(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","and"),A(T(this).and(t))}or(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","or"),A(T(this).or(t))}xor(e){let t=T(e);return(this.isNegative()||t.isNeg())&&I("unbound-bitwise-result","xor"),A(T(this).xor(t))}mask(e){return(this.isNegative()||e<0)&&I("negative-width","mask"),A(T(this).maskn(e))}shl(e){return(this.isNegative()||e<0)&&I("negative-width","shl"),A(T(this).shln(e))}shr(e){return(this.isNegative()||e<0)&&I("negative-width","shr"),A(T(this).shrn(e))}eq(e){return T(this).eq(T(e))}lt(e){return T(this).lt(T(e))}lte(e){return T(this).lte(T(e))}gt(e){return T(this).gt(T(e))}gte(e){return T(this).gte(T(e))}isNegative(){return"-"===this._hex[0]}isZero(){return T(this).isZero()}toNumber(){try{return T(this).toNumber()}catch(e){I("overflow","toNumber",this.toString())}return null}toBigInt(){try{return BigInt(this.toString())}catch(e){}return k.throwError("this platform does not support BigInt",d.errors.UNSUPPORTED_OPERATION,{value:this.toString()})}toString(){return arguments.length>0&&(10===arguments[0]?L||(L=!0,k.warn("BigNumber.toString does not accept any parameters; base-10 is assumed")):16===arguments[0]?k.throwError("BigNumber.toString does not accept any parameters; use bigNumber.toHexString()",d.errors.UNEXPECTED_ARGUMENT,{}):k.throwError("BigNumber.toString does not accept parameters",d.errors.UNEXPECTED_ARGUMENT,{})),T(this).toString(10)}toHexString(){return this._hex}toJSON(e){return{type:"BigNumber",hex:this.toHexString()}}static from(e){if(e instanceof D)return e;if("string"==typeof e)return e.match(/^-?0x[0-9a-f]+$/i)?new D(E,N(e)):e.match(/^-?[0-9]+$/)?new D(E,N(new x(e))):k.throwArgumentError("invalid BigNumber string","value",e);if("number"==typeof e)return e%1&&I("underflow","BigNumber.from",e),(e>=9007199254740991||e<=-9007199254740991)&&I("overflow","BigNumber.from",e),D.from(String(e));if("bigint"==typeof e)return D.from(e.toString());if(f(e))return D.from(b(e));if(e){if(e.toHexString){let t=e.toHexString();if("string"==typeof t)return D.from(t)}else{let t=e._hex;if(null==t&&"BigNumber"===e.type&&(t=e.hex),"string"==typeof t&&(m(t)||"-"===t[0]&&m(t.substring(1))))return D.from(t)}}return k.throwArgumentError("invalid BigNumber value","value",e)}static isBigNumber(e){return!!(e&&e._isBigNumber)}}function N(e){if("string"!=typeof e)return N(e.toString(16));if("-"===e[0])return("-"===(e=e.substring(1))[0]&&k.throwArgumentError("invalid hex","value",e),"0x00"===(e=N(e)))?e:"-"+e;if("0x"!==e.substring(0,2)&&(e="0x"+e),"0x"===e)return"0x00";for(e.length%2&&(e="0x0"+e.substring(2));e.length>4&&"0x00"===e.substring(0,4);)e="0x"+e.substring(4);return e}function A(e){return D.from(N(e))}function T(e){let t=D.from(e).toHexString();return"-"===t[0]?new x("-"+t.substring(3),16):new x(t.substring(2),16)}function I(e,t,i){let n={fault:e,operation:t};return null!=i&&(n.value=i),k.throwError(e,d.errors.NUMERIC_FAULT,n)}let M=new d(_),O={},P=D.from(0),R=D.from(-1);function F(e,t,i,n){let r={fault:t,operation:i};return void 0!==n&&(r.value=n),M.throwError(e,d.errors.NUMERIC_FAULT,r)}let B="0";for(;B.length<256;)B+=B;function V(e){if("number"!=typeof e)try{e=D.from(e).toNumber()}catch(e){}return"number"==typeof e&&e>=0&&e<=256&&!(e%1)?"1"+B.substring(0,e):M.throwArgumentError("invalid decimal size","decimals",e)}function H(e,t){null==t&&(t=0);let i=V(t),n=(e=D.from(e)).lt(P);n&&(e=e.mul(R));let r=e.mod(i).toString();for(;r.length2&&M.throwArgumentError("too many decimal points","value",e);let o=r[0],s=r[1];for(o||(o="0"),s||(s="0");"0"===s[s.length-1];)s=s.substring(0,s.length-1);for(s.length>i.length-1&&F("fractional component exceeds decimals","underflow","parseFixed"),""===s&&(s="0");s.lengthnull==e[t]?n:(typeof e[t]!==i&&M.throwArgumentError("invalid fixed format ("+t+" not "+i+")","format."+t,e[t]),e[t]);t=r("signed","boolean",t),i=r("width","number",i),n=r("decimals","number",n)}return i%8&&M.throwArgumentError("invalid fixed format width (not byte aligned)","format.width",i),n>80&&M.throwArgumentError("invalid fixed format (decimals too large)","format.decimals",n),new W(O,t,i,n)}}class z{constructor(e,t,i,n){e!==O&&M.throwError("cannot use FixedNumber constructor; use FixedNumber.from",d.errors.UNSUPPORTED_OPERATION,{operation:"new FixedFormat"}),this.format=n,this._hex=t,this._value=i,this._isFixedNumber=!0,Object.freeze(this)}_checkFormat(e){this.format.name!==e.format.name&&M.throwArgumentError("incompatible format; use fixedNumber.toFormat","other",e)}addUnsafe(e){this._checkFormat(e);let t=j(this._value,this.format.decimals),i=j(e._value,e.format.decimals);return z.fromValue(t.add(i),this.format.decimals,this.format)}subUnsafe(e){this._checkFormat(e);let t=j(this._value,this.format.decimals),i=j(e._value,e.format.decimals);return z.fromValue(t.sub(i),this.format.decimals,this.format)}mulUnsafe(e){this._checkFormat(e);let t=j(this._value,this.format.decimals),i=j(e._value,e.format.decimals);return z.fromValue(t.mul(i).div(this.format._multiplier),this.format.decimals,this.format)}divUnsafe(e){this._checkFormat(e);let t=j(this._value,this.format.decimals),i=j(e._value,e.format.decimals);return z.fromValue(t.mul(this.format._multiplier).div(i),this.format.decimals,this.format)}floor(){let e=this.toString().split(".");1===e.length&&e.push("0");let t=z.from(e[0],this.format),i=!e[1].match(/^(0*)$/);return this.isNegative()&&i&&(t=t.subUnsafe(U.toFormat(t.format))),t}ceiling(){let e=this.toString().split(".");1===e.length&&e.push("0");let t=z.from(e[0],this.format),i=!e[1].match(/^(0*)$/);return!this.isNegative()&&i&&(t=t.addUnsafe(U.toFormat(t.format))),t}round(e){null==e&&(e=0);let t=this.toString().split(".");if(1===t.length&&t.push("0"),(e<0||e>80||e%1)&&M.throwArgumentError("invalid decimal count","decimals",e),t[1].length<=e)return this;let i=z.from("1"+B.substring(0,e),this.format),n=$.toFormat(this.format);return this.mulUnsafe(i).addUnsafe(n).floor().divUnsafe(i)}isZero(){return"0.0"===this._value||"0"===this._value}isNegative(){return"-"===this._value[0]}toString(){return this._value}toHexString(e){return null==e?this._hex:(e%8&&M.throwArgumentError("invalid byte width","width",e),y(D.from(this._hex).fromTwos(this.format.width).toTwos(e).toHexString(),e/8))}toUnsafeFloat(){return parseFloat(this.toString())}toFormat(e){return z.fromString(this._value,e)}static fromValue(e,t,i){var n;return null!=i||null==t||null!=(n=t)&&(D.isBigNumber(n)||"number"==typeof n&&n%1==0||"string"==typeof n&&n.match(/^-?[0-9]+$/)||m(n)||"bigint"==typeof n||f(n))||(i=t,t=null),null==t&&(t=0),null==i&&(i="fixed"),z.fromString(H(e,t),W.from(i))}static fromString(e,t){null==t&&(t="fixed");let i=W.from(t),n=j(e,i.decimals);!i.signed&&n.lt(P)&&F("unsigned value cannot be negative","overflow","value",e);let r=null;r=i.signed?n.toTwos(i.width).toHexString():y(r=n.toHexString(),i.width/8);let o=H(n,i.decimals);return new z(O,r,o,i)}static fromBytes(e,t){null==t&&(t="fixed");let i=W.from(t);if(function(e,t){if(t||(t={}),"number"==typeof e){c.checkSafeUint53(e,"invalid arrayify value");let t=[];for(;e;)t.unshift(255&e),e=parseInt(String(e/256));return 0===t.length&&t.push(0),g(new Uint8Array(t))}if(t.allowMissingPrefix&&"string"==typeof e&&"0x"!==e.substring(0,2)&&(e="0x"+e),h(e)&&(e=e.toHexString()),m(e)){let i=e.substring(2);i.length%2&&("left"===t.hexPad?i="0"+i:"right"===t.hexPad?i+="0":c.throwArgumentError("hex data is odd-length","value",e));let n=[];for(let e=0;ei.width/8)throw Error("overflow");let n=D.from(e);i.signed&&(n=n.fromTwos(i.width));let r=n.toTwos((i.signed?0:1)+i.width).toHexString(),o=H(n,i.decimals);return new z(O,r,o,i)}static from(e,t){if("string"==typeof e)return z.fromString(e,t);if(f(e))return z.fromBytes(e,t);try{return z.fromValue(e,0,t)}catch(e){if(e.code!==d.errors.INVALID_ARGUMENT)throw e}return M.throwArgumentError("invalid FixedNumber value","value",e)}static isFixedNumber(e){return!!(e&&e._isFixedNumber)}}let U=z.from(1),$=z.from("0.5"),q=new d("units/5.7.0"),K=["wei","kwei","mwei","gwei","szabo","finney","ether"];function G(e){let t=String(e).split(".");(t.length>2||!t[0].match(/^-?[0-9]*$/)||t[1]&&!t[1].match(/^[0-9]*$/)||"."===e||"-."===e)&&q.throwArgumentError("invalid value","value",e);let i=t[0],n="";for("-"===i.substring(0,1)&&(n="-",i=i.substring(1));"0"===i.substring(0,1);)i=i.substring(1);""===i&&(i="0");let r="";for(2===t.length&&(r="."+(t[1]||"0"));r.length>2&&"0"===r[r.length-1];)r=r.substring(0,r.length-1);let o=[];for(;i.length;){if(i.length<=3){o.unshift(i);break}{let e=i.length-3;o.unshift(i.substring(e)),i=i.substring(0,e)}}return n+o.join(",")+r}function Z(e,t){if("string"==typeof t){let e=K.indexOf(t);-1!==e&&(t=3*e)}return H(e,null!=t?t:18)}function Y(e,t){if("string"!=typeof e&&q.throwArgumentError("value must be a string","value",e),"string"==typeof t){let e=K.indexOf(t);-1!==e&&(t=3*e)}return j(e,null!=t?t:18)}function Q(e){return Z(e,18)}function J(e){return Y(e,18)}},68872:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeSingle=t.decode=t.encodePacked=t.encodeSingle=t.encode=void 0;let n=i(35428),r=i(39777),o=i(69472);t.encode=(e,t,i,n)=>{try{return(0,o.pack)({types:e,values:t,packed:i,tight:n})}catch(e){if(e instanceof r.ParserError)throw new r.ParserError(`Unable to encode value: ${e.message}`,e);throw new r.ParserError(`An unexpected error occurred: ${(0,r.getErrorMessage)(e)}`,e)}},t.encodeSingle=(e,i)=>(0,t.encode)([e],[i]),t.encodePacked=(e,i,n)=>(0,t.encode)(e,i,!0,n),t.decode=(e,t)=>{let i=(0,n.createBytes)(t);try{return(0,o.unpack)(e,i)}catch(e){if(e instanceof r.ParserError)throw new r.ParserError(`Unable to decode value: ${e.message}`,e);throw new r.ParserError(`An unexpected error occurred: ${(0,r.getErrorMessage)(e)}`,e)}},t.decodeSingle=(e,i)=>{let o=(0,t.decode)([e],i);return(0,n.assert)(1===o.length,new r.ParserError("Decoded value array has unexpected length.")),o[0]}},39777:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ParserError=t.getErrorStack=t.getErrorMessage=void 0;let n=i(35428);t.getErrorMessage=e=>"string"==typeof e?e:e instanceof Error||(0,n.isObject)(e)&&(0,n.hasProperty)(e,"message")&&"string"==typeof e.message?e.message:"Unknown error.",t.getErrorStack=e=>{if(e instanceof Error)return e.stack},t.ParserError=class extends Error{constructor(e,i){super(e),this.name="ParserError";let n=(0,t.getErrorStack)(i);n&&(this.stack=n)}}},40260:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(68872),t),r(i(39777),t),r(i(75858),t)},12378:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.iterate=void 0;let n=i(35428),r=function*(e,t=32){for(let i=0;i{(0,n.assert)(e>=0,"Cannot skip a negative number of bytes."),(0,n.assert)(e%t==0,"Length must be a multiple of the size."),i+=e},o=e.subarray(i);yield{skip:r,value:o}}return{skip:()=>void 0,value:new Uint8Array}};t.iterate=r},69472:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unpack=t.pack=t.isDynamicParser=t.getParser=void 0;let n=i(35428),r=i(39777),o=i(12378),s=i(84206),a=i(92313);t.getParser=e=>{let t={address:s.address,array:s.array,bool:s.bool,bytes:s.bytes,fixedBytes:s.fixedBytes,function:s.fn,number:s.number,string:s.string,tuple:s.tuple},i=t[e];if(i)return i;let n=Object.values(t).find(t=>t.isType(e));if(n)return n;throw new r.ParserError(`The type "${e}" is not supported.`)},t.isDynamicParser=(e,t)=>{let{isDynamic:i}=e;return"function"==typeof i?i(t):i},t.pack=({types:e,values:i,packed:o=!1,tight:s=!1,arrayPacked:l=!1,byteArray:u=new Uint8Array})=>{(0,n.assert)(e.length===i.length,new r.ParserError(`The number of types (${e.length}) does not match the number of values (${i.length}).`));let{staticBuffer:d,dynamicBuffer:c,pointers:h}=e.reduce(({staticBuffer:e,dynamicBuffer:r,pointers:a},u,d)=>{let c=(0,t.getParser)(u),h=i[d];return o||l||!(0,t.isDynamicParser)(c,u)?{staticBuffer:c.encode({buffer:e,value:h,type:u,packed:o,tight:s}),dynamicBuffer:r,pointers:a}:{staticBuffer:(0,n.concatBytes)([e,new Uint8Array(32)]),dynamicBuffer:c.encode({buffer:r,value:h,type:u,packed:o,tight:s}),pointers:[...a,{position:e.length,pointer:r.length}]}},{staticBuffer:new Uint8Array,dynamicBuffer:new Uint8Array,pointers:[]});(0,n.assert)(!o&&!l||0===c.length,new r.ParserError("Invalid pack state."));let g=d.length,p=h.reduce((e,{pointer:t,position:i})=>{let r=(0,a.padStart)((0,n.numberToBytes)(g+t));return(0,a.set)(e,r,i)},d);return(0,n.concatBytes)([u,p,c])},t.unpack=(e,i)=>{let s=(0,o.iterate)(i);return e.map(e=>{let{value:{value:o,skip:a},done:l}=s.next();(0,n.assert)(!l,new r.ParserError(`The encoded value is invalid for the provided types. Reached end of buffer while attempting to parse "${e}".`));let u=(0,t.getParser)(e);if((0,t.isDynamicParser)(u,e)){let t=(0,n.bytesToNumber)(o.subarray(0,32)),r=i.subarray(t);return u.decode({type:e,value:r,skip:a})}return u.decode({type:e,value:o,skip:a})})}},27683:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.address=t.getAddress=void 0;let n=i(35428),r=i(39777),o=i(92313);t.getAddress=e=>{let t=(0,n.createBytes)(e);return(0,n.assert)(t.length<=20,new r.ParserError(`Invalid address value. Expected address to be 20 bytes long, but received ${t.length} bytes.`)),(0,o.padStart)(t,20)},t.address={isDynamic:!1,isType:e=>"address"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:r}){let s=(0,t.getAddress)(i);if(r)return(0,n.concatBytes)([e,s]);let a=(0,o.padStart)(s);return(0,n.concatBytes)([e,a])},decode:({value:e})=>(0,n.add0x)((0,n.bytesToHex)(e.slice(12,32)))}},37759:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.array=t.getTupleType=t.getArrayType=t.isArrayType=void 0;let n=i(35428),r=i(39777),o=i(69472),s=i(92313),a=i(92408),l=i(44409),u=/^(?.*)\[(?\d*?)\]$/u;t.isArrayType=e=>u.test(e),t.getArrayType=e=>{let t=e.match(u);return(0,n.assert)(t?.groups?.type,new r.ParserError(`Invalid array type. Expected an array type, but received "${e}".`)),[t.groups.type,t.groups.length?parseInt(t.groups.length,10):void 0]},t.getTupleType=(e,t)=>`(${Array(t).fill(e).join(",")})`,t.array={isDynamic(e){let[i,n]=(0,t.getArrayType)(e);return void 0===n||(0,o.isDynamicParser)((0,o.getParser)(i),i)},isType:e=>(0,t.isArrayType)(e),getByteLength(e){(0,n.assert)((0,t.isArrayType)(e),new r.ParserError(`Expected an array type, but received "${e}".`));let[i,s]=(0,t.getArrayType)(e);return(0,o.isDynamicParser)(this,e)||void 0===s?32:l.tuple.getByteLength((0,t.getTupleType)(i,s))},encode({type:e,buffer:i,value:u,packed:d,tight:c}){let[h,g]=(0,t.getArrayType)(e);if((0,n.assert)(!d||!(0,t.isArrayType)(h),new r.ParserError("Cannot pack nested arrays.")),d&&(0,o.isDynamicParser)((0,o.getParser)(h),h))return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:i,packed:d,arrayPacked:!0,tight:c});if(g)return(0,n.assert)(g===u.length,new r.ParserError(`Array length does not match type length. Expected a length of ${g}, but received ${u.length}.`)),l.tuple.encode({type:(0,t.getTupleType)(h,g),buffer:i,value:u,packed:a.fixedBytes.isType(h)&&c,tight:c});if(d)return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:i,packed:a.fixedBytes.isType(h)&&c,arrayPacked:!0,tight:c});let p=(0,s.padStart)((0,n.numberToBytes)(u.length));return(0,o.pack)({types:Array(u.length).fill(h),values:u,byteArray:(0,n.concatBytes)([i,p]),packed:d,tight:c})},decode({type:e,value:i,...s}){let[a,u]=(0,t.getArrayType)(e);if(u){let e=l.tuple.decode({type:(0,t.getTupleType)(a,u),value:i,...s});return(0,n.assert)(e.length===u,new r.ParserError(`Array length does not match type length. Expected a length of ${u}, but received ${e.length}.`)),e}let d=(0,n.bytesToNumber)(i.subarray(0,32));return(0,o.unpack)(Array(d).fill(a),i.subarray(32))}}},18457:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bool=t.getBooleanValue=void 0;let n=i(35428),r=i(37715),o=i(39777),s=i(1001),a=(0,r.coerce)((0,r.boolean)(),(0,r.union)([(0,r.literal)("true"),(0,r.literal)("false")]),e=>"true"===e);t.getBooleanValue=e=>{try{if((0,r.create)(e,a))return BigInt(1);return BigInt(0)}catch{throw new o.ParserError(`Invalid boolean value. Expected a boolean literal, or the string "true" or "false", but received "${e}".`)}},t.bool={isDynamic:!1,isType:e=>"bool"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:r,tight:o}){let a=(0,t.getBooleanValue)(i);return r?(0,n.concatBytes)([e,(0,n.bigIntToBytes)(a)]):s.number.encode({type:"uint256",buffer:e,value:a,packed:r,tight:o})},decode:e=>s.number.decode({...e,type:"uint256"})===BigInt(1)}},37300:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bytes=void 0;let n=i(35428),r=i(92313);t.bytes={isDynamic:!0,isType:e=>"bytes"===e,getByteLength:()=>32,encode({buffer:e,value:t,packed:i}){let o=(0,n.createBytes)(t);if(i)return(0,n.concatBytes)([e,o]);let s=32*Math.ceil(o.byteLength/32);return(0,n.concatBytes)([e,(0,r.padStart)((0,n.numberToBytes)(o.byteLength)),(0,r.padEnd)(o,s)])},decode({value:e}){let t=e.subarray(0,32),i=(0,n.bytesToNumber)(t);return e.slice(32,32+i)}}},92408:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fixedBytes=t.getByteLength=void 0;let n=i(35428),r=i(39777),o=i(92313),s=/^bytes([0-9]{1,2})$/u;t.getByteLength=e=>{let t=e.match(s)?.[1];(0,n.assert)(t,`Invalid byte length. Expected a number between 1 and 32, but received "${e}".`);let i=Number(t);return(0,n.assert)(i>0&&i<=32,new r.ParserError(`Invalid byte length. Expected a number between 1 and 32, but received "${e}".`)),i},t.fixedBytes={isDynamic:!1,isType:e=>s.test(e),getByteLength:()=>32,encode({type:e,buffer:i,value:s,packed:a}){let l=(0,t.getByteLength)(e),u=(0,n.createBytes)(s);return((0,n.assert)(u.length<=l,new r.ParserError(`Expected a value of length ${l}, but received a value of length ${u.length}.`)),a)?(0,n.concatBytes)([i,(0,o.padEnd)(u,l)]):(0,n.concatBytes)([i,(0,o.padEnd)(u)])},decode({type:e,value:i}){let n=(0,t.getByteLength)(e);return i.slice(0,n)}}},42345:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.fn=t.getFunction=void 0;let n=i(35428),r=i(37715),o=i(39777),s=i(92408),a=(0,r.coerce)((0,r.object)({address:n.StrictHexStruct,selector:n.StrictHexStruct}),(0,r.union)([n.StrictHexStruct,(0,r.instance)(Uint8Array)]),e=>{let t=(0,n.createBytes)(e);return(0,n.assert)(24===t.length,new o.ParserError(`Invalid Solidity function. Expected function to be 24 bytes long, but received ${t.length} bytes.`)),{address:(0,n.bytesToHex)(t.subarray(0,20)),selector:(0,n.bytesToHex)(t.subarray(20,24))}});t.getFunction=e=>{let t=(0,r.create)(e,a);return(0,n.concatBytes)([(0,n.hexToBytes)(t.address),(0,n.hexToBytes)(t.selector)])},t.fn={isDynamic:!1,isType:e=>"function"===e,getByteLength:()=>32,encode({buffer:e,value:i,packed:n,tight:r}){let o=(0,t.getFunction)(i);return s.fixedBytes.encode({type:"bytes24",buffer:e,value:o,packed:n,tight:r})},decode:({value:e})=>({address:(0,n.bytesToHex)(e.slice(0,20)),selector:(0,n.bytesToHex)(e.slice(20,24))})}},84206:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(27683),t),r(i(37759),t),r(i(18457),t),r(i(37300),t),r(i(92408),t),r(i(42345),t),r(i(1001),t),r(i(10052),t),r(i(85967),t),r(i(44409),t)},1001:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.number=t.getBigInt=t.assertNumberLength=t.getLength=t.isSigned=void 0;let n=i(35428),r=i(39777),o=i(92313),s=/^u?int(?[0-9]*)?$/u;t.isSigned=e=>!e.startsWith("u"),t.getLength=e=>{if("int"===e||"uint"===e)return 256;let t=e.match(s);(0,n.assert)(t?.groups?.length,new r.ParserError(`Invalid number type. Expected a number type, but received "${e}".`));let i=parseInt(t.groups.length,10);return(0,n.assert)(i>=8&&i<=256,new r.ParserError(`Invalid number length. Expected a number between 8 and 256, but received "${e}".`)),(0,n.assert)(i%8==0,new r.ParserError(`Invalid number length. Expected a multiple of 8, but received "${e}".`)),i},t.assertNumberLength=(e,i)=>{let o=(0,t.getLength)(i),s=BigInt(2)**BigInt(o-((0,t.isSigned)(i)?1:0))-BigInt(1);if((0,t.isSigned)(i)){(0,n.assert)(e>=-(s+BigInt(1))&&e<=s,new r.ParserError(`Number "${e}" is out of range for type "${i}".`));return}(0,n.assert)(e<=s,new r.ParserError(`Number "${e}" is out of range for type "${i}".`))},t.getBigInt=e=>{try{return(0,n.createBigInt)(e)}catch{throw new r.ParserError(`Invalid number. Expected a valid number value, but received "${e}".`)}},t.number={isDynamic:!1,isType:e=>s.test(e),getByteLength:()=>32,encode({type:e,buffer:i,value:r,packed:s}){let a=(0,t.getBigInt)(r);if((0,t.assertNumberLength)(a,e),(0,t.isSigned)(e)){if(s){let r=(0,t.getLength)(e)/8;return(0,n.concatBytes)([i,(0,n.signedBigIntToBytes)(a,r)])}return(0,n.concatBytes)([i,(0,o.padStart)((0,n.signedBigIntToBytes)(a,32))])}if(s){let r=(0,t.getLength)(e)/8;return(0,n.concatBytes)([i,(0,o.padStart)((0,n.bigIntToBytes)(a),r)])}return(0,n.concatBytes)([i,(0,o.padStart)((0,n.bigIntToBytes)(a))])},decode({type:e,value:i}){let r=i.subarray(0,32);if((0,t.isSigned)(e)){let i=(0,n.bytesToSignedBigInt)(r);return(0,t.assertNumberLength)(i,e),i}let o=(0,n.bytesToBigInt)(r);return(0,t.assertNumberLength)(o,e),o}}},10052:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},85967:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.string=void 0;let n=i(35428),r=i(37300);t.string={isDynamic:!0,isType:e=>"string"===e,getByteLength:()=>32,encode:({buffer:e,value:t,packed:i,tight:o})=>r.bytes.encode({type:"bytes",buffer:e,value:(0,n.stringToBytes)(t),packed:i,tight:o}),decode:e=>(0,n.bytesToString)(r.bytes.decode(e))}},44409:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.tuple=t.getTupleElements=void 0;let n=i(35428),r=i(39777),o=i(69472),s=/^\((.+)\)$/u,a=e=>s.test(e);t.getTupleElements=e=>{(0,n.assert)(e.startsWith("(")&&e.endsWith(")"),new r.ParserError(`Invalid tuple type. Expected tuple type, but received "${e}".`));let t=[],i="",o=0;for(let n=1;n(0,t.getTupleElements)(e).some(e=>{let t=(0,o.getParser)(e);return(0,o.isDynamicParser)(t,e)}),isType:e=>a(e),getByteLength(e){return(0,o.isDynamicParser)(this,e)?32:(0,t.getTupleElements)(e).reduce((e,t)=>e+(0,o.getParser)(t).getByteLength(t),0)},encode({type:e,buffer:i,value:n,packed:r,tight:s}){let a=(0,t.getTupleElements)(e);return(0,o.pack)({types:a,values:n,byteArray:i,packed:r,tight:s})},decode({type:e,value:i,skip:n}){let r=(0,t.getTupleElements)(e);return n(this.getByteLength(e)-32),(0,o.unpack)(r,i)}}},54163:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0})},75858:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(54163),t)},21348:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.padEnd=t.padStart=t.set=void 0;let n=i(35428),r=32;t.set=(e,t,i)=>(0,n.concatBytes)([e.subarray(0,i),t,e.subarray(i+t.length)]),t.padStart=(e,t=r)=>{let i=new Uint8Array(Math.max(t-e.length,0)).fill(0);return(0,n.concatBytes)([i,e])},t.padEnd=(e,t=r)=>{let i=new Uint8Array(Math.max(t-e.length,0)).fill(0);return(0,n.concatBytes)([e,i])}},92313:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(21348),t)},60488:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BaseController:()=>k,BaseControllerV1:()=>b,ControllerMessenger:()=>A,RestrictedControllerMessenger:()=>N,getAnonymizedState:()=>E,getPersistentState:()=>L});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b=class{constructor(e={},t={}){this.defaultConfig={},this.defaultState={},this.disabled=!1,this.name="BaseController",this.internalConfig=this.defaultConfig,this.internalState=this.defaultState,this.internalListeners=[],this.initialState=t,this.initialConfig=e}initialize(){return this.internalState=this.defaultState,this.internalConfig=this.defaultConfig,this.configure(this.initialConfig),this.update(this.initialState),this}get config(){return this.internalConfig}get state(){return this.internalState}configure(e,t=!1,i=!0){if(i)for(let i of(this.internalConfig=t?e:Object.assign(this.internalConfig,e),Object.keys(this.internalConfig))){let e=this.internalConfig[i];void 0!==e&&(this[i]=e)}else for(let t of Object.keys(e))if(void 0!==this.internalConfig[t]){let i=e[t];this.internalConfig[t]=i,this[t]=i}}notify(){this.disabled||this.internalListeners.forEach(e=>{e(this.internalState)})}subscribe(e){this.internalListeners.push(e)}unsubscribe(e){let t=this.internalListeners.findIndex(t=>e===t);return t>-1&&this.internalListeners.splice(t,1),t>-1}update(e,t=!1){this.internalState=t?Object.assign({},e):Object.assign({},this.internalState,e),this.notify()}},y=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},_=(e,t,i)=>(y(e,t,"read from private field"),i?i.call(e):t.get(e)),w=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},C=(e,t,i,n)=>(y(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),S=(e,t,i)=>(y(e,t,"access private method"),i),x=i(3873);(0,x.vI)();var k=class{constructor({messenger:e,metadata:t,name:i,state:r}){w(this,n,void 0),this.messagingSystem=e,this.name=i,C(this,n,(0,x.vV)(r,!0)),this.metadata=t,this.messagingSystem.registerActionHandler(`${i}:getState`,()=>this.state),this.messagingSystem.registerInitialEventPayload({eventType:`${i}:stateChange`,getPayload:()=>[this.state,[]]})}get state(){return _(this,n)}set state(e){throw Error("Controller state cannot be directly mutated; use 'update' method instead.")}update(e){let[t,i,r]=(0,x.aS)(_(this,n),e);return C(this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,i),{nextState:t,patches:i,inversePatches:r}}applyPatches(e){let t=(0,x.QE)(_(this,n),e);C(this,n,t),this.messagingSystem.publish(`${this.name}:stateChange`,t,e)}destroy(){this.messagingSystem.clearEventSubscriptions(`${this.name}:stateChange`)}};function E(e,t){return D(e,t,"anonymous")}function L(e,t){return D(e,t,"persist")}function D(e,t,i){return Object.keys(e).reduce((n,r)=>{try{let o=t[r];if(!o)throw Error(`No metadata found for '${String(r)}'`);let s=o[i],a=e[r];return"function"==typeof s?n[r]=s(a):s&&(n[r]=a),n}catch(e){return setTimeout(()=>{throw e}),n}},{})}n=new WeakMap;var N=class{constructor({controllerMessenger:e,name:t,allowedActions:i,allowedEvents:n}){w(this,l),w(this,d),w(this,h),w(this,r,void 0),w(this,o,void 0),w(this,s,void 0),w(this,a,void 0),C(this,r,e),C(this,o,t),C(this,s,i),C(this,a,n)}registerActionHandler(e,t){if(!S(this,h,g).call(this,e))throw Error(`Only allowed registering action handlers prefixed by '${_(this,o)}:'`);_(this,r).registerActionHandler(e,t)}unregisterActionHandler(e){if(!S(this,h,g).call(this,e))throw Error(`Only allowed unregistering action handlers prefixed by '${_(this,o)}:'`);_(this,r).unregisterActionHandler(e)}call(e,...t){if(!S(this,d,c).call(this,e))throw Error(`Action missing from allow list: ${e}`);return _(this,r).call(e,...t)}registerInitialEventPayload({eventType:e,getPayload:t}){if(!S(this,h,g).call(this,e))throw Error(`Only allowed publishing events prefixed by '${_(this,o)}:'`);_(this,r).registerInitialEventPayload({eventType:e,getPayload:t})}publish(e,...t){if(!S(this,h,g).call(this,e))throw Error(`Only allowed publishing events prefixed by '${_(this,o)}:'`);_(this,r).publish(e,...t)}subscribe(e,t,i){if(!S(this,l,u).call(this,e))throw Error(`Event missing from allow list: ${e}`);return i?_(this,r).subscribe(e,t,i):_(this,r).subscribe(e,t)}unsubscribe(e,t){if(!S(this,l,u).call(this,e))throw Error(`Event missing from allow list: ${e}`);_(this,r).unsubscribe(e,t)}clearEventSubscriptions(e){if(!S(this,h,g).call(this,e))throw Error(`Only allowed clearing events prefixed by '${_(this,o)}:'`);_(this,r).clearEventSubscriptions(e)}};r=new WeakMap,o=new WeakMap,s=new WeakMap,a=new WeakMap,l=new WeakSet,u=function(e){let t=_(this,a);return S(this,h,g).call(this,e)||null!==t&&t.includes(e)},d=new WeakSet,c=function(e){let t=_(this,s);return S(this,h,g).call(this,e)||null!==t&&t.includes(e)},h=new WeakSet,g=function(e){return e.startsWith(`${_(this,o)}:`)};var A=class{constructor(){w(this,p,new Map),w(this,f,new Map),w(this,m,new Map),w(this,v,new Map)}registerActionHandler(e,t){if(_(this,p).has(e))throw Error(`A handler for ${e} has already been registered`);_(this,p).set(e,t)}unregisterActionHandler(e){_(this,p).delete(e)}clearActions(){_(this,p).clear()}call(e,...t){let i=_(this,p).get(e);if(!i)throw Error(`A handler for ${e} has not been registered`);return i(...t)}registerInitialEventPayload({eventType:e,getPayload:t}){_(this,m).set(e,t)}publish(e,...t){let i=_(this,f).get(e);if(i)for(let[e,n]of i.entries())try{if(n){let i=_(this,v).get(e),r=n(...t);r!==i&&(_(this,v).set(e,r),e(r,i))}else e(...t)}catch(e){setTimeout(()=>{throw e})}}subscribe(e,t,i){let n=_(this,f).get(e);if(n||(n=new Map,_(this,f).set(e,n)),n.set(t,i),i){let n=_(this,m).get(e);if(n){let e=i(...n());_(this,v).set(t,e)}}}unsubscribe(e,t){let i=_(this,f).get(e);if(!i||!i.has(t))throw Error(`Subscription not found for event: ${e}`);i.get(t)&&_(this,v).delete(t),i.delete(t)}clearEventSubscriptions(e){_(this,f).delete(e)}clearSubscriptions(){_(this,f).clear()}getRestricted({name:e,allowedActions:t,allowedEvents:i}){return new N({controllerMessenger:this,name:e,allowedActions:t,allowedEvents:i})}};p=new WeakMap,f=new WeakMap,m=new WeakMap,v=new WeakMap},7986:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockCacheMiddleware=void 0;let n=i(8664),r=i(47045),o=i(62836),s=(0,r.createModuleLogger)(r.projectLogger,"block-cache"),a=[void 0,null,""];class l{constructor(){this.cache={}}getBlockCache(e){let t=Number.parseInt(e,16),i=this.cache[t];if(!i){let e={};this.cache[t]=e,i=e}return i}async get(e,t){let i=this.getBlockCache(t),n=(0,o.cacheIdentifierForRequest)(e,!0);return n?i[n]:void 0}async set(e,t,i){if(!this.canCacheResult(e,i))return;let n=(0,o.cacheIdentifierForRequest)(e,!0);n&&(this.getBlockCache(t)[n]=i)}canCacheRequest(e){return!!(0,o.canCache)(e.method)&&"pending"!==(0,o.blockTagForRequest)(e)}canCacheResult(e,t){return!(a.includes(t)||e.method&&["eth_getTransactionByHash","eth_getTransactionReceipt"].includes(e.method)&&(!t||!t.blockHash||"0x0000000000000000000000000000000000000000000000000000000000000000"===t.blockHash))}clearBefore(e){let t=Number.parseInt(e,16);Object.keys(this.cache).map(Number).filter(e=>edelete this.cache[e])}}t.createBlockCacheMiddleware=function({blockTracker:e}={}){if(!e)throw Error("createBlockCacheMiddleware - No PollingBlockTracker specified");let t=new l,i={[o.CacheStrategy.Permanent]:t,[o.CacheStrategy.Block]:t,[o.CacheStrategy.Fork]:t,[o.CacheStrategy.Never]:void 0};return(0,n.createAsyncMiddleware)(async(n,r,a)=>{let l;if(n.skipCache)return a();let u=i[(0,o.cacheTypeForMethod)(n.method)];if(!u||!u.canCacheRequest(n))return a();let d=(0,o.blockTagForRequest)(n),c=d&&"string"==typeof d?d:"latest";if(s("blockTag = %o, req = %o",c,n),"earliest"===c)l="0x00";else if("latest"===c){s("Fetching latest block number to determine cache key");let i=await e.getLatestBlock();s("Clearing values stored under block numbers before %o",i),t.clearBefore(i),l=i}else l=c;let h=await u.get(n,l);void 0===h?(s("No cache stored under block number %o, carrying request forward",l),await a(),s("Populating cache with",r),await u.set(n,l,r.result)):(s("Cache hit, reusing cache result stored under block number %o",l),r.result=h)})}},43601:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockRefRewriteMiddleware=void 0;let n=i(8664),r=i(62836);t.createBlockRefRewriteMiddleware=function({blockTracker:e}={}){if(!e)throw Error('BlockRefRewriteMiddleware - mandatory "blockTracker" option is missing.');return(0,n.createAsyncMiddleware)(async(t,i,n)=>{let o=(0,r.blockTagParamIndex)(t.method);if(void 0===o||"latest"!==(Array.isArray(t.params)&&t.params[o]?t.params[o]:"latest"))return n();let s=await e.getLatestBlock();return Array.isArray(t.params)&&(t.params[o]=s),n()})}},5214:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockRefMiddleware=void 0;let r=i(8664),o=i(63951),s=n(i(42378)),a=i(47045),l=i(62836),u=(0,a.createModuleLogger)(a.projectLogger,"block-ref");t.createBlockRefMiddleware=function({provider:e,blockTracker:t}={}){if(!e)throw Error('BlockRefMiddleware - mandatory "provider" option is missing.');if(!t)throw Error('BlockRefMiddleware - mandatory "blockTracker" option is missing.');return(0,r.createAsyncMiddleware)(async(i,n,r)=>{var a;let d=(0,l.blockTagParamIndex)(i.method);if(void 0===d)return r();if("latest"!==(Array.isArray(i.params)&&null!==(a=i.params[d])&&void 0!==a?a:"latest"))return u('blockRef is not "latest", carrying request forward'),r();let c=await t.getLatestBlock();u(`blockRef is "latest", setting param ${d} to latest block ${c}`);let h=(0,o.klona)(i);Array.isArray(h.params)&&(h.params[d]=c),u("Performing another request %o",h);let g=await (0,s.default)(e.sendAsync).call(e,h);n.result=g.result,n.error=g.error})}},54006:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createBlockTrackerInspectorMiddleware=void 0;let n=i(8664),r=i(47045),o=(0,r.createModuleLogger)(r.projectLogger,"block-tracker-inspector"),s=["eth_getTransactionByHash","eth_getTransactionReceipt"];t.createBlockTrackerInspectorMiddleware=function({blockTracker:e}){return(0,n.createAsyncMiddleware)(async(t,i,n)=>{if(!s.includes(t.method))return n();await n();let r=function(e){let{result:t}=e;if(t&&"object"==typeof t&&Object.hasOwnProperty.call(t,"blockNumber")&&"string"==typeof t.blockNumber)return t.blockNumber}(i);r&&(o("res.result.blockNumber exists, proceeding. res = %o",i),Number.parseInt(r,16)>Number.parseInt(e.getCurrentBlock(),16)&&(o("blockNumber from response is greater than current block number, refreshing current block number"),await e.checkForLatestBlock()))})}},36477:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createFetchConfigFromReq=t.createFetchMiddleware=void 0;let n=i(8664),r=i(30774),o=i(50355),s=["Gateway timeout","ETIMEDOUT","failed to parse response body","Failed to fetch"];function a({btoa:e,req:t,rpcUrl:i,originHttpHeaderKey:n}){let r;let o=new URL(i),s=(r=o.protocol+`//${o.hostname}`,o.port&&(r+=`:${o.port}`),r+=`${o.pathname}${o.search}`),a={id:t.id,jsonrpc:t.jsonrpc,method:t.method,params:t.params},l=t.origin,u={method:"POST",headers:{Accept:"application/json","Content-Type":"application/json"},body:JSON.stringify(a)};if(o.username&&o.password){let t=e(`${o.username}:${o.password}`);u.headers.Authorization=`Basic ${t}`}return n&&l&&(u.headers[n]=l),{fetchUrl:s,fetchParams:u}}t.createFetchMiddleware=function({btoa:e,fetch:t,rpcUrl:i,originHttpHeaderKey:l}){return(0,n.createAsyncMiddleware)(async(n,u,d)=>{let{fetchUrl:c,fetchParams:h}=a({btoa:e,req:n,rpcUrl:i,originHttpHeaderKey:l});for(let e=0;e<5;e++){try{let e;let i=await t(c,h);!function(e){switch(e.status){case 405:throw r.rpcErrors.methodNotFound();case 418:throw r.rpcErrors.internal({message:"Request is being rate limited."});case 503:case 504:throw function(){let e="Gateway timeout. The request took too long to process. ";return e+="This can happen when querying logs over too wide a block range.",r.rpcErrors.internal({message:e})}()}}(i);let n=await i.text();try{e=JSON.parse(n)}catch(e){throw Error(`FetchMiddleware - failed to parse response body: "${n}"`)}let o=function(e,t){if(200!==e.status)throw r.rpcErrors.internal({message:`Non-200 status code: '${e.status}'`,data:t});if(t.error)throw r.rpcErrors.internal({data:t.error});return t.result}(i,e);u.result=o;return}catch(t){let e=t.toString();if(!s.some(t=>e.includes(t)))throw t}await (0,o.timeout)(1e3)}})},t.createFetchConfigFromReq=a},69234:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),r(i(7986),t),r(i(43601),t),r(i(5214),t),r(i(54006),t),r(i(36477),t),r(i(65421),t),r(i(60093),t),r(i(56962),t),r(i(41498),t)},65421:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createInflightCacheMiddleware=void 0;let n=i(8664),r=i(63951),o=i(47045),s=i(62836),a=(0,o.createModuleLogger)(o.projectLogger,"inflight-cache");t.createInflightCacheMiddleware=function(){let e={};return(0,n.createAsyncMiddleware)(async(i,n,r)=>{var o;if(i.skipCache)return r();let l=(0,s.cacheIdentifierForRequest)(i);if(!l)return a("Request is not cacheable, proceeding. req = %o",i),r();let u=e[l];if(u){a("Running %i handler(s) for request %o",u.length,i),await t(n,u);return}u=[],e[l]=u,a("Carrying original request forward %o",i),await r(),delete e[l],a("Running %i collected handler(s) for request %o",u.length,i),o=u,setTimeout(()=>{o.forEach(e=>{try{e(n)}catch(e){console.error(e)}})})});async function t(e,t){let i,n;let{resolve:o,promise:s}=(n=new Promise(e=>{i=e}),{resolve:i,promise:n});return t.push(t=>{e.result=(0,r.klona)(t.result),e.error=(0,r.klona)(t.error),o()}),s}}},47045:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createModuleLogger=t.projectLogger=void 0;let n=i(35428);Object.defineProperty(t,"createModuleLogger",{enumerable:!0,get:function(){return n.createModuleLogger}}),t.projectLogger=(0,n.createProjectLogger)("eth-json-rpc-middleware")},60093:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ethersProviderAsMiddleware=t.providerAsMiddleware=void 0,t.providerAsMiddleware=function(e){return(t,i,n,r)=>{e.sendAsync(t,(e,t)=>e instanceof Error?r(e):(Object.assign(i,t),r()))}},t.ethersProviderAsMiddleware=function(e){return(t,i,n,r)=>{e.send(t,(e,t)=>e?r(e):(Object.assign(i,t),r()))}}},56962:function(e,t,i){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createRetryOnEmptyMiddleware=void 0;let r=i(8664),o=i(63951),s=n(i(42378)),a=i(47045),l=i(62836),u=i(22644),d=i(50355),c=(0,a.createModuleLogger)(a.projectLogger,"retry-on-empty"),h=[void 0,null,""];async function g(e,t){for(let i=0;i{let a=(0,l.blockTagParamIndex)(i.method);if(void 0===a)return r();let u=Array.isArray(i.params)&&i.params[a]?i.params[a]:void 0;if(void 0===u&&(u="latest"),["latest","pending"].includes(u))return r();let d=Number.parseInt(u.slice(2),16);if(Number.isNaN(d))return r();let p=Number.parseInt((await t.getLatestBlock()).slice(2),16);if(d>p)return c("Requested block number %o is higher than latest block number %o, falling through to original request",d,p),r();c("Requested block number %o is not higher than latest block number %o, trying request until non-empty response is received",d,p);let f=(0,o.klona)(i),m=await g(10,async()=>{c("Performing request %o",f);let t=await (0,s.default)(e.sendAsync).call(e,f);if(c("Response is %o",t),h.includes(t.result))throw Error(`RetryOnEmptyMiddleware - empty response "${JSON.stringify(t)}" for request "${JSON.stringify(f)}"`);return t});c("Copying result %o and error %o",m.result,m.error),n.result=m.result,n.error=m.error})}},62836:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.cacheTypeForMethod=t.blockTagParamIndex=t.blockTagForRequest=t.canCache=t.cacheIdentifierForRequest=t.CacheStrategy=void 0;let r=(0,i(27822).configure)({bigint:!1,circularValue:Error});function o(e){return a(e)!==n.Never}function s(e){switch(e){case"eth_getStorageAt":return 2;case"eth_getBalance":case"eth_getCode":case"eth_getTransactionCount":case"eth_call":return 1;case"eth_getBlockByNumber":return 0;default:return}}function a(e){switch(e){case"web3_clientVersion":case"web3_sha3":case"eth_protocolVersion":case"eth_getBlockTransactionCountByHash":case"eth_getUncleCountByBlockHash":case"eth_getCode":case"eth_getBlockByHash":case"eth_getTransactionByHash":case"eth_getTransactionByBlockHashAndIndex":case"eth_getTransactionReceipt":case"eth_getUncleByBlockHashAndIndex":case"eth_getCompilers":case"eth_compileLLL":case"eth_compileSolidity":case"eth_compileSerpent":case"shh_version":case"test_permaCache":return n.Permanent;case"eth_getBlockByNumber":case"eth_getBlockTransactionCountByNumber":case"eth_getUncleCountByBlockNumber":case"eth_getTransactionByBlockNumberAndIndex":case"eth_getUncleByBlockNumberAndIndex":case"test_forkCache":return n.Fork;case"eth_gasPrice":case"eth_blockNumber":case"eth_getBalance":case"eth_getStorageAt":case"eth_getTransactionCount":case"eth_call":case"eth_estimateGas":case"eth_getFilterLogs":case"eth_getLogs":case"test_blockCache":return n.Block;default:return n.Never}}!function(e){e.Block="block",e.Fork="fork",e.Never="never",e.Permanent="perma"}(n=t.CacheStrategy||(t.CacheStrategy={})),t.cacheIdentifierForRequest=function(e,t){var i;let n=t?function(e){if(!e.params)return[];let t=s(e.method);return void 0===t||!Array.isArray(e.params)||t>=e.params.length?e.params:"eth_getBlockByNumber"===e.method?e.params.slice(1):e.params.slice(0,t)}(e):null!==(i=e.params)&&void 0!==i?i:[];return o(e.method)?`${e.method}:${r(n)}`:null},t.canCache=o,t.blockTagForRequest=function(e){if(!e.params)return;let t=s(e.method);if(void 0!==t&&Array.isArray(e.params)&&!(t>=e.params.length))return e.params[t]},t.blockTagParamIndex=s,t.cacheTypeForMethod=a},22644:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isExecutionRevertedError=void 0;let n=i(30774),r=i(35428);t.isExecutionRevertedError=function(e){return(0,r.isJsonRpcError)(e)&&e.code===n.errorCodes.rpc.invalidInput&&"execution reverted"===e.message}},50355:(e,t)=>{"use strict";async function i(e){return new Promise(t=>setTimeout(t,e))}Object.defineProperty(t,"__esModule",{value:!0}),t.timeout=void 0,t.timeout=i},41498:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),o=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&n(t,e,i);return r(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.createWalletMiddleware=void 0;let s=o(i(50539)),a=i(8664),l=i(30774);function u(e){return 42===e.length}t.createWalletMiddleware=function({getAccounts:e,processDecryptMessage:t,processEncryptionPublicKey:i,processEthSignMessage:n,processPersonalMessage:r,processTransaction:o,processSignTransaction:d,processTypedMessage:c,processTypedMessageV3:h,processTypedMessageV4:g}){if(!e)throw Error("opts.getAccounts is required");return(0,a.createScaffoldMiddleware)({eth_accounts:(0,a.createAsyncMiddleware)(p),eth_coinbase:(0,a.createAsyncMiddleware)(f),eth_sendTransaction:(0,a.createAsyncMiddleware)(m),eth_signTransaction:(0,a.createAsyncMiddleware)(v),eth_sign:(0,a.createAsyncMiddleware)(b),eth_signTypedData:(0,a.createAsyncMiddleware)(y),eth_signTypedData_v3:(0,a.createAsyncMiddleware)(_),eth_signTypedData_v4:(0,a.createAsyncMiddleware)(w),personal_sign:(0,a.createAsyncMiddleware)(C),eth_getEncryptionPublicKey:(0,a.createAsyncMiddleware)(x),eth_decrypt:(0,a.createAsyncMiddleware)(k),personal_ecRecover:(0,a.createAsyncMiddleware)(S)});async function p(t,i){i.result=await e(t)}async function f(t,i){let n=await e(t);i.result=n[0]||null}async function m(e,t){if(!o)throw l.rpcErrors.methodNotSupported();if(!e.params||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let i=e.params[0],n=Object.assign(Object.assign({},i),{from:await E((null==i?void 0:i.from)||"",e)});t.result=await o(n,e)}async function v(e,t){if(!d)throw l.rpcErrors.methodNotSupported();if(!e.params||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let i=e.params[0],n=Object.assign(Object.assign({},i),{from:await E((null==i?void 0:i.from)||"",e)});t.result=await d(n,e)}async function b(e,t){if(!n)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,r=await E(i[0],e),o=i[1],s=Object.assign(Object.assign({},i[2]||{}),{from:r,data:o,signatureMethod:"eth_sign"});t.result=await n(s,e)}async function y(e,t){if(!c)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=i[0],r=await E(i[1],e),o=Object.assign(Object.assign({},i[2]||{}),{from:r,data:n,signatureMethod:"eth_signTypedData",version:"V1"});t.result=await c(o,e,"V1")}async function _(e,t){if(!h)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=await E(i[0],e),r=i[1];t.result=await h({data:r,from:n,version:"V3",signatureMethod:"eth_signTypedData_v3"},e,"V3")}async function w(e,t){if(!g)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=await E(i[0],e),r=i[1];t.result=await g({data:r,from:n,version:"V4",signatureMethod:"eth_signTypedData_v4"},e,"V4")}async function C(e,t){let i,n;if(!r)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let o=e.params,s=o[0],a=o[1],d=o[2]||{};if(u(s)&&!u(a)){let e="The eth_personalSign method requires params ordered ";e+="[message, address]. This was previously handled incorrectly, and has been corrected automatically. Please switch this param order for smooth behavior in the future.",t.warning=e,i=s,n=a}else n=s,i=a;i=await E(i,e);let c=Object.assign(Object.assign({},d),{from:i,data:n,signatureMethod:"personal_sign"});t.result=await r(c,e)}async function S(e,t){if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=2))throw l.rpcErrors.invalidInput();let i=e.params,n=i[0],r=i[1],o=s.recoverPersonalSignature({data:n,signature:r});t.result=o}async function x(e,t){if(!i)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let n=await E(e.params[0],e);t.result=await i(n,e)}async function k(e,i){if(!t)throw l.rpcErrors.methodNotSupported();if(!(null==e?void 0:e.params)||!Array.isArray(e.params)||!(e.params.length>=1))throw l.rpcErrors.invalidInput();let n=e.params,r=n[0],o=await E(n[1],e),s=Object.assign(Object.assign({},n[2]||{}),{from:o,data:r});i.result=await t(s,e)}async function E(t,i){if("string"==typeof t&&t.length>0&&u(t)){let n=(await e(i)).map(e=>e.toLowerCase()),r=t.toLowerCase();if(n.includes(r))return r;throw l.providerErrors.unauthorized()}throw l.rpcErrors.invalidParams({message:"Invalid parameters: must provide an Ethereum address."})}}},40643:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C=i(79639),S=i(30774),x=function(e){return e&&e.__esModule?e:{default:e}}(i(99307)),k=i(35428),E=class e extends x.default{constructor({notificationHandler:e}={}){super(),C.__privateAdd.call(void 0,this,s),C.__privateAdd.call(void 0,this,l),C.__privateAdd.call(void 0,this,d),C.__privateAdd.call(void 0,this,n,!1),C.__privateAdd.call(void 0,this,r,void 0),C.__privateAdd.call(void 0,this,o,void 0),C.__privateSet.call(void 0,this,r,[]),C.__privateSet.call(void 0,this,o,e)}destroy(){C.__privateGet.call(void 0,this,r).forEach(e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}),C.__privateSet.call(void 0,this,r,[]),C.__privateSet.call(void 0,this,n,!0)}push(e){C.__privateMethod.call(void 0,this,s,a).call(this),C.__privateGet.call(void 0,this,r).push(e)}handle(e,t){if(C.__privateMethod.call(void 0,this,s,a).call(this),t&&"function"!=typeof t)throw Error('"callback" must be a function if provided.');return Array.isArray(e)?t?C.__privateMethod.call(void 0,this,l,u).call(this,e,t):C.__privateMethod.call(void 0,this,l,u).call(this,e):t?C.__privateMethod.call(void 0,this,d,c).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return C.__privateMethod.call(void 0,this,s,a).call(this),async(t,i,n,o)=>{try{let[s,a,l]=await C.__privateMethod.call(void 0,e,p,f).call(e,t,i,C.__privateGet.call(void 0,this,r));if(a)return await C.__privateMethod.call(void 0,e,b,y).call(e,l),o(s);return n(async t=>{try{await C.__privateMethod.call(void 0,e,b,y).call(e,l)}catch(e){return t(e)}return t()})}catch(e){return o(e)}}}async _promiseHandle(e){return new Promise((t,i)=>{C.__privateMethod.call(void 0,this,d,c).call(this,e,(e,n)=>{e&&void 0===n?i(e):t(n)}).catch(i)})}};function L(e){return JSON.stringify(e,null,2)}n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,a=function(){if(C.__privateGet.call(void 0,this,n))throw Error("This engine is destroyed and can no longer be used.")},l=new WeakSet,u=async function(e,t){try{if(0===e.length){let e=[{id:null,jsonrpc:"2.0",error:new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];if(t)return t(null,e);return e}let i=(await Promise.all(e.map(this._promiseHandle.bind(this)))).filter(e=>void 0!==e);if(t)return t(null,i);return i}catch(e){if(t)return t(e);throw e}},d=new WeakSet,c=async function(e,t){if(!e||Array.isArray(e)||"object"!=typeof e){let i=new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return t(i,{id:null,jsonrpc:"2.0",error:i})}if("string"!=typeof e.method){let i=new S.JsonRpcError(S.errorCodes.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return C.__privateGet.call(void 0,this,o)&&!k.isJsonRpcRequest.call(void 0,e)?t(null):t(i,{id:e.id??null,jsonrpc:"2.0",error:i})}if(C.__privateGet.call(void 0,this,o)&&k.isJsonRpcNotification.call(void 0,e)&&!k.isJsonRpcRequest.call(void 0,e)){try{await C.__privateGet.call(void 0,this,o).call(this,e)}catch(e){return t(e)}return t(null)}let i=null,n={...e},s={id:n.id,jsonrpc:n.jsonrpc};try{await C.__privateMethod.call(void 0,E,h,g).call(E,n,s,C.__privateGet.call(void 0,this,r))}catch(e){i=e}return i&&(delete s.result,s.error||(s.error=S.serializeError.call(void 0,i))),t(i,s)},h=new WeakSet,g=async function(e,t,i){let[n,r,o]=await C.__privateMethod.call(void 0,E,p,f).call(E,e,t,i);if(C.__privateMethod.call(void 0,E,_,w).call(E,e,t,r),await C.__privateMethod.call(void 0,E,b,y).call(E,o),n)throw n},p=new WeakSet,f=async function(e,t,i){let n=[],r=null,o=!1;for(let s of i)if([r,o]=await C.__privateMethod.call(void 0,E,m,v).call(E,e,t,s,n),o)break;return[r,o,n.reverse()]},m=new WeakSet,v=async function(e,t,i,n){return new Promise(r=>{let o=e=>{let i=e||t.error;i&&(t.error=S.serializeError.call(void 0,i)),r([i,!0])};try{i(e,t,i=>{t.error?o(t.error):(i&&("function"!=typeof i&&o(new S.JsonRpcError(S.errorCodes.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof i}" for request: ${L(e)}`,{request:e})),n.push(i)),r([null,!1]))},o)}catch(e){o(e)}})},b=new WeakSet,y=async function(e){for(let t of e)await new Promise((e,i)=>{t(t=>t?i(t):e())})},_=new WeakSet,w=function(e,t,i){if(!k.hasProperty.call(void 0,t,"result")&&!k.hasProperty.call(void 0,t,"error"))throw new S.JsonRpcError(S.errorCodes.rpc.internal,`JsonRpcEngine: Response has no error or result for request: ${L(e)}`,{request:e});if(!i)throw new S.JsonRpcError(S.errorCodes.rpc.internal,`JsonRpcEngine: Nothing ended request: -${L(e)}`,{request:e})},C.__privateAdd.call(void 0,E,h),C.__privateAdd.call(void 0,E,p),C.__privateAdd.call(void 0,E,m),C.__privateAdd.call(void 0,E,b),C.__privateAdd.call(void 0,E,_),t.JsonRpcEngine=E},9584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createScaffoldMiddleware=function(e){return(t,i,n,r)=>{let o=e[t.method];return void 0===o?n():"function"==typeof o?o(t,i,n,r):(i.result=o,r())}}},92668:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12227);t.createIdRemapMiddleware=function(){return(e,t,i,r)=>{let o=e.id,s=n.getUniqueId.call(void 0);e.id=s,t.id=s,i(i=>{e.id=o,t.id=o,i()})}}},9217:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(40643);t.mergeMiddleware=function(e){let t=new n.JsonRpcEngine;return e.forEach(e=>t.push(e)),t.asMiddleware()}},12227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Math.floor(4294967295*Math.random());t.getUniqueId=function(){return i=(i+1)%4294967295}},79639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)};t.__privateGet=(e,t,n)=>(i(e,t,"read from private field"),n?n.call(e):t.get(e)),t.__privateAdd=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},t.__privateSet=(e,t,n,r)=>(i(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),t.__privateMethod=(e,t,n)=>(i(e,t,"access private method"),n)},51405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAsyncMiddleware=function(e){return async(t,i,n,r)=>{let o;let s=new Promise(e=>{o=e}),a=null,l=!1,u=async()=>(l=!0,n(e=>{a=e,o()}),s);try{await e(t,i,u),l?(await s,a(null)):r(null)}catch(e){a?a(e):r(e)}}}},8664:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(51405),r=i(9584),o=i(92668),s=i(12227),a=i(9217),l=i(40643);i(79639),t.JsonRpcEngine=l.JsonRpcEngine,t.createAsyncMiddleware=n.createAsyncMiddleware,t.createIdRemapMiddleware=o.createIdRemapMiddleware,t.createScaffoldMiddleware=r.createScaffoldMiddleware,t.getUniqueId=s.getUniqueId,t.mergeMiddleware=a.mergeMiddleware},92517:function(e,t,i){"use strict";var n=i(48834).Buffer,r=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptionPublicKey=t.decryptSafely=t.decrypt=t.encryptSafely=t.encrypt=void 0;let a=i(36237),l=s(i(10717)),u=i(65491);function d({publicKey:e,data:t,version:i}){if((0,u.isNullish)(e))throw Error("Missing publicKey parameter");if((0,u.isNullish)(t))throw Error("Missing data parameter");if((0,u.isNullish)(i))throw Error("Missing version parameter");if("x25519-xsalsa20-poly1305"===i){let i;if("string"!=typeof t)throw Error("Message data must be given as a string");let n=l.box.keyPair();try{i=a.base64.decode(e)}catch(e){throw Error("Bad public key")}let r=a.utf8.decode(t),o=l.randomBytes(l.box.nonceLength),s=l.box(r,o,i,n.secretKey);return{version:"x25519-xsalsa20-poly1305",nonce:a.base64.encode(o),ephemPublicKey:a.base64.encode(n.publicKey),ciphertext:a.base64.encode(s)}}throw Error("Encryption type/version not supported")}function c({encryptedData:e,privateKey:t}){if((0,u.isNullish)(e))throw Error("Missing encryptedData parameter");if((0,u.isNullish)(t))throw Error("Missing privateKey parameter");if("x25519-xsalsa20-poly1305"===e.version){let i=n.from(t,"hex"),r=l.box.keyPair.fromSecretKey(i).secretKey,o=a.base64.decode(e.nonce),s=a.base64.decode(e.ciphertext),u=a.base64.decode(e.ephemPublicKey),d=l.box.open(s,o,u,r);try{if(!d)throw Error();let e=a.utf8.encode(d);if(!e)throw Error();return e}catch(e){if(e&&"string"==typeof e.message&&e.message.length)throw Error(`Decryption failed: ${e.message}`);throw Error("Decryption failed.")}}throw Error("Encryption type/version not supported.")}t.encrypt=d,t.encryptSafely=function({publicKey:e,data:t,version:i}){if((0,u.isNullish)(e))throw Error("Missing publicKey parameter");if((0,u.isNullish)(t))throw Error("Missing data parameter");if((0,u.isNullish)(i))throw Error("Missing version parameter");if("object"==typeof t&&t&&"toJSON"in t)throw Error("Cannot encrypt with toJSON property. Please remove toJSON property");let r={data:t,padding:""},o=n.byteLength(JSON.stringify(r),"utf-8")%2048,s=0;return o>0&&(s=2048-o-16),r.padding="0".repeat(s),d({publicKey:e,data:JSON.stringify(r),version:i})},t.decrypt=c,t.decryptSafely=function({encryptedData:e,privateKey:t}){if((0,u.isNullish)(e))throw Error("Missing encryptedData parameter");if((0,u.isNullish)(t))throw Error("Missing privateKey parameter");return JSON.parse(c({encryptedData:e,privateKey:t})).data},t.getEncryptionPublicKey=function(e){let t=n.from(e,"hex"),i=l.box.keyPair.fromSecretKey(t).publicKey;return a.base64.encode(i)}},50539:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.concatSig=void 0,r(i(91695),t),r(i(5190),t),r(i(92517),t);var o=i(65491);Object.defineProperty(t,"concatSig",{enumerable:!0,get:function(){return o.concatSig}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return o.normalize}})},91695:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractPublicKey=t.recoverPersonalSignature=t.personalSign=void 0;let n=i(45372),r=i(65491);function o(e,t){let i=(0,n.hashPersonalMessage)((0,r.legacyToBuffer)(e));return(0,r.recoverPublicKey)(i,t)}t.personalSign=function({privateKey:e,data:t}){if((0,r.isNullish)(t))throw Error("Missing data parameter");if((0,r.isNullish)(e))throw Error("Missing privateKey parameter");let i=(0,r.legacyToBuffer)(t),o=(0,n.hashPersonalMessage)(i),s=(0,n.ecsign)(o,e);return(0,r.concatSig)((0,n.toBuffer)(s.v),s.r,s.s)},t.recoverPersonalSignature=function({data:e,signature:t}){if((0,r.isNullish)(e))throw Error("Missing data parameter");if((0,r.isNullish)(t))throw Error("Missing signature parameter");let i=o(e,t),s=(0,n.publicToAddress)(i);return(0,n.bufferToHex)(s)},t.extractPublicKey=function({data:e,signature:t}){if((0,r.isNullish)(e))throw Error("Missing data parameter");if((0,r.isNullish)(t))throw Error("Missing signature parameter");return`0x${o(e,t).toString("hex")}`}},5190:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.recoverTypedSignature=t.signTypedData=t.typedSignatureHash=t.TypedDataUtils=t.TYPED_MESSAGE_SCHEMA=t.SignTypedDataVersion=void 0;let r=i(45372),o=i(40260),s=i(84206),a=i(92313),l=i(45554),u=i(1115),d=i(65491);function c(e,t){if(Object.keys(n).includes(e)){if(t&&!t.includes(e))throw Error(`SignTypedDataVersion not allowed: '${e}'. Allowed versions are: ${t.join(", ")}`)}else throw Error(`Invalid version: '${e}'`)}function h(e,t){(0,l.assert)(null!==t,`Unable to encode value: Invalid number. Expected a valid number value, but received "${t}".`);let i=BigInt(t),n=(0,s.getLength)(e),r=BigInt(2)**BigInt(n)-BigInt(1);return(0,l.assert)(i>=-r&&i<=r,`Unable to encode value: Number "${t}" is out of range for type "${e}".`),i}function g(e,t,i,s){c(s,[n.V3,n.V4]);let d=["bytes32"],p=[v(e,i)];for(let f of i[e]){if(s===n.V3&&void 0===t[f.name])continue;let[e,m]=function e(t,i,s,d,p){if(c(p,[n.V3,n.V4]),void 0!==t[s])return["bytes32",p===n.V4&&null==d?"0x0000000000000000000000000000000000000000000000000000000000000000":(0,r.arrToBufArr)((0,u.keccak256)(g(s,d,t,p)))];if("function"===s)throw Error('Unsupported or invalid type: "function"');if(void 0===d)throw Error(`missing value for field ${i} of type ${s}`);if("address"===s){if("number"==typeof d)return["address",(0,a.padStart)((0,l.numberToBytes)(d),20)];if((0,l.isStrictHexString)(d))return["address",(0,l.add0x)(d)];if("string"==typeof d)return["address",(function(e){let t=BigInt(0);for(let i=0;i=49?t+=n-BigInt(49)+BigInt(10):n>=17?t+=n-BigInt(17)+BigInt(10):t+=n}return(0,a.padStart)((0,l.bigIntToBytes)(t),20)})(d).subarray(0,20)]}if("bool"===s)return["bool",!!d];if("bytes"===s)return"number"==typeof d?d=(0,l.numberToBytes)(d):(0,l.isStrictHexString)(d)||"0x"===d?d=(0,l.hexToBytes)(d):"string"==typeof d&&(d=(0,l.stringToBytes)(d)),["bytes32",(0,r.arrToBufArr)((0,u.keccak256)(d))];if(s.startsWith("bytes")&&"bytes"!==s&&!s.includes("["))return"number"==typeof d?d<0?["bytes32",new Uint8Array(32)]:["bytes32",(0,l.bigIntToBytes)(BigInt(d))]:(0,l.isStrictHexString)(d)?["bytes32",(0,l.hexToBytes)(d)]:["bytes32",d];if(s.startsWith("int")&&!s.includes("[")){let e=h(s,d);return e>=BigInt(0)?["uint256",e]:["int256",e]}if("string"===s)return d="number"==typeof d?(0,l.numberToBytes)(d):(0,l.stringToBytes)(null!=d?d:""),["bytes32",(0,r.arrToBufArr)((0,u.keccak256)(d))];if(s.endsWith("]")){if(p===n.V3)throw Error("Arrays are unimplemented in encodeData; use V4 extension");let a=s.slice(0,s.lastIndexOf("[")),l=d.map(n=>e(t,i,a,n,p));return["bytes32",(0,r.arrToBufArr)((0,u.keccak256)((0,o.encode)(l.map(([e])=>e),l.map(([,e])=>e))))]}return[s,d]}(i,f.name,f.type,t[f.name],s);d.push(e),p.push(m)}return(0,r.arrToBufArr)((0,o.encode)(d,p))}function p(e,t){let i="",n=f(e,t);for(let r of(n.delete(e),[e,...Array.from(n).sort()])){if(!t[r])throw Error(`No type definition specified: ${r}`);i+=`${r}(${t[r].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`}return i}function f(e,t,i=new Set){if("string"!=typeof e)throw Error(`Invalid findTypeDependencies input ${JSON.stringify(e)}`);let n=e.match(/^\w*/u);if([e]=n,i.has(e)||void 0===t[e])return i;for(let n of(i.add(e),t[e]))f(n.type,t,i);return i}function m(e,t,i,o){c(o,[n.V3,n.V4]);let s=g(e,t,i,o),a=(0,u.keccak256)(s);return(0,r.arrToBufArr)(a)}function v(e,t){let i=(0,l.stringToBytes)(p(e,t));return(0,r.arrToBufArr)((0,u.keccak256)(i))}function b(e){let i={};for(let n in t.TYPED_MESSAGE_SCHEMA.properties)e[n]&&(i[n]=e[n]);return"types"in i&&(i.types=Object.assign({EIP712Domain:[]},i.types)),i}function y(e,t){c(t,[n.V3,n.V4]);let i=b(e),{domain:r}=i;return m("EIP712Domain",r,{EIP712Domain:i.types.EIP712Domain},t)}function _(e){let t=Error("Expect argument to be non-empty array");if("object"!=typeof e||!("length"in e)||!e.length)throw t;let i=e.map(({name:e,type:t,value:i})=>{if("address[]"===t)return{name:e,type:"bytes32[]",value:i.map(e=>"number"==typeof e?(0,a.padStart)((0,l.numberToBytes)(e),32):(0,l.isStrictHexString)(e)?(0,a.padStart)((0,l.hexToBytes)(e).subarray(0,32),32):e instanceof Uint8Array?(0,a.padStart)(e.subarray(0,32),32):e)};if(t.startsWith("int")&&(0,s.isArrayType)(t)){let[n,r]=(0,s.getArrayType)(t);return{name:e,type:`bytes32[${null!=r?r:""}]`,value:i.map(e=>{if("string"==typeof e||"number"==typeof e||"bigint"==typeof e){let t=h(n,e);if(t>=BigInt(0))return(0,a.padStart)((0,l.bigIntToBytes)(t),32);let i=BigInt.asIntN((0,s.getLength)(n),t);return(0,l.signedBigIntToBytes)(i,32)}return e})}}return{name:e,type:t,value:function e(t,i){if((0,s.isArrayType)(t)&&Array.isArray(i)){let[n]=(0,s.getArrayType)(t);return i.map(t=>e(n,t))}if("address"===t){if("number"==typeof i)return(0,a.padStart)((0,l.numberToBytes)(i),20);if((0,l.isStrictHexString)(i))return(0,a.padStart)((0,l.hexToBytes)(i).subarray(0,20),20);if(i instanceof Uint8Array)return(0,a.padStart)(i.subarray(0,20),20)}if("bool"===t)return!!i;if(t.startsWith("bytes")&&"bytes"!==t){let e=(0,s.getByteLength)(t);if("number"==typeof i)return i<0?new Uint8Array:(0,l.numberToBytes)(i).subarray(0,e);if((0,l.isStrictHexString)(i))return(0,l.hexToBytes)(i).subarray(0,e);if(i instanceof Uint8Array)return i.subarray(0,e)}return t.startsWith("uint")&&"number"==typeof i?Math.abs(i):t.startsWith("int")&&"number"==typeof i?BigInt.asIntN((0,s.getLength)(t),BigInt(i)):i}(t,i)}}),n=i.map(e=>"bytes"!==e.type?e.value:(0,d.legacyToBuffer)(e.value)),c=i.map(e=>{if("function"===e.type)throw Error('Unsupported or invalid type: "function"');return e.type}),g=e.map(e=>{if(!e.name)throw t;return`${e.type} ${e.name}`});return(0,r.arrToBufArr)((0,u.keccak256)((0,o.encodePacked)(["bytes32","bytes32"],[(0,u.keccak256)((0,o.encodePacked)(["string[]"],[g],!0)),(0,u.keccak256)((0,o.encodePacked)(c,n,!0))])))}!function(e){e.V1="V1",e.V3="V3",e.V4="V4"}(n=t.SignTypedDataVersion||(t.SignTypedDataVersion={})),t.TYPED_MESSAGE_SCHEMA={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},t.TypedDataUtils={encodeData:g,encodeType:p,findTypeDependencies:f,hashStruct:m,hashType:v,sanitizeData:b,eip712Hash:function(e,t){c(t,[n.V3,n.V4]);let i=b(e),o=[(0,l.hexToBytes)("1901")];return o.push(y(e,t)),"EIP712Domain"!==i.primaryType&&o.push(m(i.primaryType,i.message,i.types,t)),(0,r.arrToBufArr)((0,u.keccak256)((0,l.concatBytes)(o)))},eip712DomainHash:y},t.typedSignatureHash=function(e){let t=_(e);return(0,l.bytesToHex)(t)},t.signTypedData=function({privateKey:e,data:i,version:o}){if(c(o),(0,d.isNullish)(i))throw Error("Missing data parameter");if((0,d.isNullish)(e))throw Error("Missing private key parameter");let s=o===n.V1?_(i):t.TypedDataUtils.eip712Hash(i,o),a=(0,r.ecsign)(s,e);return(0,d.concatSig)((0,r.arrToBufArr)((0,l.bigIntToBytes)(a.v)),a.r,a.s)},t.recoverTypedSignature=function({data:e,signature:i,version:o}){if(c(o),(0,d.isNullish)(e))throw Error("Missing data parameter");if((0,d.isNullish)(i))throw Error("Missing signature parameter");let s=o===n.V1?_(e):t.TypedDataUtils.eip712Hash(e,o),a=(0,d.recoverPublicKey)(s,i),u=(0,r.publicToAddress)(a);return(0,l.bytesToHex)(u)}},65491:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.recoverPublicKey=t.concatSig=t.legacyToBuffer=t.isNullish=t.padWithZeroes=void 0;let r=i(45372),o=i(45554);function s(e,t){if(""!==e&&!/^[a-f0-9]+$/iu.test(e))throw Error(`Expected an unprefixed hex string. Received: ${e}`);if(t<0)throw Error(`Expected a non-negative integer target length. Received: ${t}`);return String.prototype.padStart.call(e,t,"0")}function a(e){return null==e}t.padWithZeroes=s,t.isNullish=a,t.legacyToBuffer=function(e){return"string"!=typeof e||(0,r.isHexString)(e)?(0,r.toBuffer)(e):n.from(e)},t.concatSig=function(e,t,i){let n=(0,r.fromSigned)(t),a=(0,r.fromSigned)(i),l=(0,r.bufferToInt)(e),u=s((0,r.toUnsigned)(n).toString("hex"),64),d=s((0,r.toUnsigned)(a).toString("hex"),64),c=(0,o.remove0x)((0,o.numberToHex)(l));return(0,o.add0x)(u.concat(d,c))},t.recoverPublicKey=function(e,t){let i=(0,r.fromRpcSig)(t);return(0,r.ecrecover)(e,i.v,i.r,i.s)},t.normalize=function(e){if(!a(e)){if("number"==typeof e){if(e<0)return"0x";let t=(0,o.numberToBytes)(e);e=(0,o.bytesToHex)(t)}if("string"!=typeof e){let t="eth-sig-util.normalize() requires hex string or integer input.";throw Error(t+=` received ${typeof e}: ${e}`)}return(0,o.add0x)(e.toLowerCase())}}},97817:(e,t,i)=>{"use strict";var n=i(62197),r=i(31110),o=new n(0),s=new n(-1),a={noether:"0",wei:"1",kwei:"1000",Kwei:"1000",babbage:"1000",femtoether:"1000",mwei:"1000000",Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};function l(e){var t=a[e?e.toLowerCase():"ether"];if("string"!=typeof t)throw Error("[ethjs-unit] the unit provided "+e+" doesn't exists, please use the one of the following units "+JSON.stringify(a,null,2));return new n(t,10)}function u(e){if("string"==typeof e){if(!e.match(/^-?[0-9.]+$/))throw Error("while converting number to string, invalid number value '"+e+"', should be a number matching (^-?[0-9.]+).");return e}if("number"==typeof e)return String(e);if("object"==typeof e&&e.toString&&(e.toTwos||e.dividedToIntegerBy))return e.toPrecision?String(e.toPrecision()):e.toString(10);throw Error("while converting number to string, invalid number value '"+e+"' type "+typeof e+".")}e.exports={unitMap:a,numberToString:u,getValueOfUnit:l,fromWei:function(e,t,i){var n=r(e),u=n.lt(o),d=l(t),c=a[t].length-1||1,h=i||{};u&&(n=n.mul(s));for(var g=n.mod(d).toString(10);g.length2)throw Error("[ethjs-unit] while converting number "+e+" to wei, too many decimal points");var h=c[0],g=c[1];if(h||(h="0"),g||(g="0"),g.length>o)throw Error("[ethjs-unit] while converting number "+e+" to wei, too many decimal places");for(;g.length{"use strict";function n(e){return async(t,i,n,r)=>{let o;let s=new Promise(e=>{o=e}),a=null,l=!1,u=async()=>(l=!0,n(e=>{a=e,o()}),s);try{await e(t,i,u),l?(await s,a(null)):r(null)}catch(e){a?a(e):r(e)}}}i.d(t,{P:()=>n})},86439:(e,t,i)=>{"use strict";i.r(t),i.d(t,{JsonRpcEngine:()=>F,createAsyncMiddleware:()=>C.P,createIdRemapMiddleware:()=>E,createScaffoldMiddleware:()=>S,getUniqueId:()=>k,mergeMiddleware:()=>V});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C=i(79250);function S(e){return(t,i,n,r)=>{let o=e[t.method];return void 0===o?n():"function"==typeof o?o(t,i,n,r):(i.result=o,r())}}var x=Math.floor(4294967295*Math.random());function k(){return x=(x+1)%4294967295}function E(){return(e,t,i,n)=>{let r=e.id,o=k();e.id=o,t.id=o,i(i=>{e.id=r,t.id=r,i()})}}var L=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},D=(e,t,i)=>(L(e,t,"read from private field"),i?i.call(e):t.get(e)),N=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},A=(e,t,i,n)=>(L(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),T=(e,t,i)=>(L(e,t,"access private method"),i),I=i(92530),M=i(4966),R=i(79009),P=i(56710),O=class e extends M.Z{constructor({notificationHandler:e}={}){super(),N(this,s),N(this,l),N(this,d),N(this,n,!1),N(this,r,void 0),N(this,o,void 0),A(this,r,[]),A(this,o,e)}destroy(){D(this,r).forEach(e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}),A(this,r,[]),A(this,n,!0)}push(e){T(this,s,a).call(this),D(this,r).push(e)}handle(e,t){if(T(this,s,a).call(this),t&&"function"!=typeof t)throw Error('"callback" must be a function if provided.');return Array.isArray(e)?t?T(this,l,u).call(this,e,t):T(this,l,u).call(this,e):t?T(this,d,c).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return T(this,s,a).call(this),async(t,i,n,o)=>{try{let[s,a,l]=await T(e,p,f).call(e,t,i,D(this,r));if(a)return await T(e,b,y).call(e,l),o(s);return n(async t=>{try{await T(e,b,y).call(e,l)}catch(e){return t(e)}return t()})}catch(e){return o(e)}}}async _promiseHandle(e){return new Promise((t,i)=>{T(this,d,c).call(this,e,(e,n)=>{e&&void 0===n?i(e):t(n)}).catch(i)})}};n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,a=function(){if(D(this,n))throw Error("This engine is destroyed and can no longer be used.")},l=new WeakSet,u=async function(e,t){try{if(0===e.length){let e=[{id:null,jsonrpc:"2.0",error:new I.uc(I.Zk.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];if(t)return t(null,e);return e}let i=(await Promise.all(e.map(this._promiseHandle.bind(this)))).filter(e=>void 0!==e);if(t)return t(null,i);return i}catch(e){if(t)return t(e);throw e}},d=new WeakSet,c=async function(e,t){if(!e||Array.isArray(e)||"object"!=typeof e){let i=new I.uc(I.Zk.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return t(i,{id:null,jsonrpc:"2.0",error:i})}if("string"!=typeof e.method){let i=new I.uc(I.Zk.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return D(this,o)&&!(0,R.DW)(e)?t(null):t(i,{id:e.id??null,jsonrpc:"2.0",error:i})}if(D(this,o)&&(0,R.LQ)(e)&&!(0,R.DW)(e)){try{await D(this,o).call(this,e)}catch(e){return t(e)}return t(null)}let i=null,n={...e},s={id:n.id,jsonrpc:n.jsonrpc};try{await T(O,h,g).call(O,n,s,D(this,r))}catch(e){i=e}return i&&(delete s.result,s.error||(s.error=(0,I.Xy)(i))),t(i,s)},h=new WeakSet,g=async function(e,t,i){let[n,r,o]=await T(O,p,f).call(O,e,t,i);if(T(O,_,w).call(O,e,t,r),await T(O,b,y).call(O,o),n)throw n},p=new WeakSet,f=async function(e,t,i){let n=[],r=null,o=!1;for(let s of i)if([r,o]=await T(O,m,v).call(O,e,t,s,n),o)break;return[r,o,n.reverse()]},m=new WeakSet,v=async function(e,t,i,n){return new Promise(r=>{let o=e=>{let i=e||t.error;i&&(t.error=(0,I.Xy)(i)),r([i,!0])};try{i(e,t,i=>{t.error?o(t.error):(i&&("function"!=typeof i&&o(new I.uc(I.Zk.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof i}" for request: +${L(e)}`,{request:e})},C.__privateAdd.call(void 0,E,h),C.__privateAdd.call(void 0,E,p),C.__privateAdd.call(void 0,E,m),C.__privateAdd.call(void 0,E,b),C.__privateAdd.call(void 0,E,_),t.JsonRpcEngine=E},9584:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createScaffoldMiddleware=function(e){return(t,i,n,r)=>{let o=e[t.method];return void 0===o?n():"function"==typeof o?o(t,i,n,r):(i.result=o,r())}}},92668:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(12227);t.createIdRemapMiddleware=function(){return(e,t,i,r)=>{let o=e.id,s=n.getUniqueId.call(void 0);e.id=s,t.id=s,i(i=>{e.id=o,t.id=o,i()})}}},9217:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(40643);t.mergeMiddleware=function(e){let t=new n.JsonRpcEngine;return e.forEach(e=>t.push(e)),t.asMiddleware()}},12227:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=Math.floor(4294967295*Math.random());t.getUniqueId=function(){return i=(i+1)%4294967295}},79639:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)};t.__privateGet=(e,t,n)=>(i(e,t,"read from private field"),n?n.call(e):t.get(e)),t.__privateAdd=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},t.__privateSet=(e,t,n,r)=>(i(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),t.__privateMethod=(e,t,n)=>(i(e,t,"access private method"),n)},51405:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createAsyncMiddleware=function(e){return async(t,i,n,r)=>{let o;let s=new Promise(e=>{o=e}),a=null,l=!1,u=async()=>(l=!0,n(e=>{a=e,o()}),s);try{await e(t,i,u),l?(await s,a(null)):r(null)}catch(e){a?a(e):r(e)}}}},8664:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(51405),r=i(9584),o=i(92668),s=i(12227),a=i(9217),l=i(40643);i(79639),t.JsonRpcEngine=l.JsonRpcEngine,t.createAsyncMiddleware=n.createAsyncMiddleware,t.createIdRemapMiddleware=o.createIdRemapMiddleware,t.createScaffoldMiddleware=r.createScaffoldMiddleware,t.getUniqueId=s.getUniqueId,t.mergeMiddleware=a.mergeMiddleware},92517:function(e,t,i){"use strict";var n=i(48834).Buffer,r=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var i in e)"default"!==i&&Object.prototype.hasOwnProperty.call(e,i)&&r(t,e,i);return o(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.getEncryptionPublicKey=t.decryptSafely=t.decrypt=t.encryptSafely=t.encrypt=void 0;let a=i(36237),l=s(i(10717)),u=i(65491);function d({publicKey:e,data:t,version:i}){if((0,u.isNullish)(e))throw Error("Missing publicKey parameter");if((0,u.isNullish)(t))throw Error("Missing data parameter");if((0,u.isNullish)(i))throw Error("Missing version parameter");if("x25519-xsalsa20-poly1305"===i){let i;if("string"!=typeof t)throw Error("Message data must be given as a string");let n=l.box.keyPair();try{i=a.base64.decode(e)}catch(e){throw Error("Bad public key")}let r=a.utf8.decode(t),o=l.randomBytes(l.box.nonceLength),s=l.box(r,o,i,n.secretKey);return{version:"x25519-xsalsa20-poly1305",nonce:a.base64.encode(o),ephemPublicKey:a.base64.encode(n.publicKey),ciphertext:a.base64.encode(s)}}throw Error("Encryption type/version not supported")}function c({encryptedData:e,privateKey:t}){if((0,u.isNullish)(e))throw Error("Missing encryptedData parameter");if((0,u.isNullish)(t))throw Error("Missing privateKey parameter");if("x25519-xsalsa20-poly1305"===e.version){let i=n.from(t,"hex"),r=l.box.keyPair.fromSecretKey(i).secretKey,o=a.base64.decode(e.nonce),s=a.base64.decode(e.ciphertext),u=a.base64.decode(e.ephemPublicKey),d=l.box.open(s,o,u,r);try{if(!d)throw Error();let e=a.utf8.encode(d);if(!e)throw Error();return e}catch(e){if(e&&"string"==typeof e.message&&e.message.length)throw Error(`Decryption failed: ${e.message}`);throw Error("Decryption failed.")}}throw Error("Encryption type/version not supported.")}t.encrypt=d,t.encryptSafely=function({publicKey:e,data:t,version:i}){if((0,u.isNullish)(e))throw Error("Missing publicKey parameter");if((0,u.isNullish)(t))throw Error("Missing data parameter");if((0,u.isNullish)(i))throw Error("Missing version parameter");if("object"==typeof t&&t&&"toJSON"in t)throw Error("Cannot encrypt with toJSON property. Please remove toJSON property");let r={data:t,padding:""},o=n.byteLength(JSON.stringify(r),"utf-8")%2048,s=0;return o>0&&(s=2048-o-16),r.padding="0".repeat(s),d({publicKey:e,data:JSON.stringify(r),version:i})},t.decrypt=c,t.decryptSafely=function({encryptedData:e,privateKey:t}){if((0,u.isNullish)(e))throw Error("Missing encryptedData parameter");if((0,u.isNullish)(t))throw Error("Missing privateKey parameter");return JSON.parse(c({encryptedData:e,privateKey:t})).data},t.getEncryptionPublicKey=function(e){let t=n.from(e,"hex"),i=l.box.keyPair.fromSecretKey(t).publicKey;return a.base64.encode(i)}},50539:function(e,t,i){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,i,n){void 0===n&&(n=i);var r=Object.getOwnPropertyDescriptor(t,i);(!r||("get"in r?!t.__esModule:r.writable||r.configurable))&&(r={enumerable:!0,get:function(){return t[i]}}),Object.defineProperty(e,n,r)}:function(e,t,i,n){void 0===n&&(n=i),e[n]=t[i]}),r=this&&this.__exportStar||function(e,t){for(var i in e)"default"===i||Object.prototype.hasOwnProperty.call(t,i)||n(t,e,i)};Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.concatSig=void 0,r(i(91695),t),r(i(5190),t),r(i(92517),t);var o=i(65491);Object.defineProperty(t,"concatSig",{enumerable:!0,get:function(){return o.concatSig}}),Object.defineProperty(t,"normalize",{enumerable:!0,get:function(){return o.normalize}})},91695:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.extractPublicKey=t.recoverPersonalSignature=t.personalSign=void 0;let n=i(45372),r=i(65491);function o(e,t){let i=(0,n.hashPersonalMessage)((0,r.legacyToBuffer)(e));return(0,r.recoverPublicKey)(i,t)}t.personalSign=function({privateKey:e,data:t}){if((0,r.isNullish)(t))throw Error("Missing data parameter");if((0,r.isNullish)(e))throw Error("Missing privateKey parameter");let i=(0,r.legacyToBuffer)(t),o=(0,n.hashPersonalMessage)(i),s=(0,n.ecsign)(o,e);return(0,r.concatSig)((0,n.toBuffer)(s.v),s.r,s.s)},t.recoverPersonalSignature=function({data:e,signature:t}){if((0,r.isNullish)(e))throw Error("Missing data parameter");if((0,r.isNullish)(t))throw Error("Missing signature parameter");let i=o(e,t),s=(0,n.publicToAddress)(i);return(0,n.bufferToHex)(s)},t.extractPublicKey=function({data:e,signature:t}){if((0,r.isNullish)(e))throw Error("Missing data parameter");if((0,r.isNullish)(t))throw Error("Missing signature parameter");return`0x${o(e,t).toString("hex")}`}},5190:(e,t,i)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.recoverTypedSignature=t.signTypedData=t.typedSignatureHash=t.TypedDataUtils=t.TYPED_MESSAGE_SCHEMA=t.SignTypedDataVersion=void 0;let r=i(45372),o=i(40260),s=i(84206),a=i(92313),l=i(35428),u=i(1115),d=i(65491);function c(e,t){if(Object.keys(n).includes(e)){if(t&&!t.includes(e))throw Error(`SignTypedDataVersion not allowed: '${e}'. Allowed versions are: ${t.join(", ")}`)}else throw Error(`Invalid version: '${e}'`)}function h(e,t){(0,l.assert)(null!==t,`Unable to encode value: Invalid number. Expected a valid number value, but received "${t}".`);let i=BigInt(t),n=(0,s.getLength)(e),r=BigInt(2)**BigInt(n)-BigInt(1);return(0,l.assert)(i>=-r&&i<=r,`Unable to encode value: Number "${t}" is out of range for type "${e}".`),i}function g(e,t,i,s){c(s,[n.V3,n.V4]);let d=["bytes32"],p=[v(e,i)];for(let f of i[e]){if(s===n.V3&&void 0===t[f.name])continue;let[e,m]=function e(t,i,s,d,p){if(c(p,[n.V3,n.V4]),void 0!==t[s])return["bytes32",p===n.V4&&null==d?"0x0000000000000000000000000000000000000000000000000000000000000000":(0,r.arrToBufArr)((0,u.keccak256)(g(s,d,t,p)))];if("function"===s)throw Error('Unsupported or invalid type: "function"');if(void 0===d)throw Error(`missing value for field ${i} of type ${s}`);if("address"===s){if("number"==typeof d)return["address",(0,a.padStart)((0,l.numberToBytes)(d),20)];if((0,l.isStrictHexString)(d))return["address",(0,l.add0x)(d)];if("string"==typeof d)return["address",(function(e){let t=BigInt(0);for(let i=0;i=49?t+=n-BigInt(49)+BigInt(10):n>=17?t+=n-BigInt(17)+BigInt(10):t+=n}return(0,a.padStart)((0,l.bigIntToBytes)(t),20)})(d).subarray(0,20)]}if("bool"===s)return["bool",!!d];if("bytes"===s)return"number"==typeof d?d=(0,l.numberToBytes)(d):(0,l.isStrictHexString)(d)||"0x"===d?d=(0,l.hexToBytes)(d):"string"==typeof d&&(d=(0,l.stringToBytes)(d)),["bytes32",(0,r.arrToBufArr)((0,u.keccak256)(d))];if(s.startsWith("bytes")&&"bytes"!==s&&!s.includes("["))return"number"==typeof d?d<0?["bytes32",new Uint8Array(32)]:["bytes32",(0,l.bigIntToBytes)(BigInt(d))]:(0,l.isStrictHexString)(d)?["bytes32",(0,l.hexToBytes)(d)]:["bytes32",d];if(s.startsWith("int")&&!s.includes("[")){let e=h(s,d);return e>=BigInt(0)?["uint256",e]:["int256",e]}if("string"===s)return d="number"==typeof d?(0,l.numberToBytes)(d):(0,l.stringToBytes)(null!=d?d:""),["bytes32",(0,r.arrToBufArr)((0,u.keccak256)(d))];if(s.endsWith("]")){if(p===n.V3)throw Error("Arrays are unimplemented in encodeData; use V4 extension");let a=s.slice(0,s.lastIndexOf("[")),l=d.map(n=>e(t,i,a,n,p));return["bytes32",(0,r.arrToBufArr)((0,u.keccak256)((0,o.encode)(l.map(([e])=>e),l.map(([,e])=>e))))]}return[s,d]}(i,f.name,f.type,t[f.name],s);d.push(e),p.push(m)}return(0,r.arrToBufArr)((0,o.encode)(d,p))}function p(e,t){let i="",n=f(e,t);for(let r of(n.delete(e),[e,...Array.from(n).sort()])){if(!t[r])throw Error(`No type definition specified: ${r}`);i+=`${r}(${t[r].map(({name:e,type:t})=>`${t} ${e}`).join(",")})`}return i}function f(e,t,i=new Set){if("string"!=typeof e)throw Error(`Invalid findTypeDependencies input ${JSON.stringify(e)}`);let n=e.match(/^\w*/u);if([e]=n,i.has(e)||void 0===t[e])return i;for(let n of(i.add(e),t[e]))f(n.type,t,i);return i}function m(e,t,i,o){c(o,[n.V3,n.V4]);let s=g(e,t,i,o),a=(0,u.keccak256)(s);return(0,r.arrToBufArr)(a)}function v(e,t){let i=(0,l.stringToBytes)(p(e,t));return(0,r.arrToBufArr)((0,u.keccak256)(i))}function b(e){let i={};for(let n in t.TYPED_MESSAGE_SCHEMA.properties)e[n]&&(i[n]=e[n]);return"types"in i&&(i.types=Object.assign({EIP712Domain:[]},i.types)),i}function y(e,t){c(t,[n.V3,n.V4]);let i=b(e),{domain:r}=i;return m("EIP712Domain",r,{EIP712Domain:i.types.EIP712Domain},t)}function _(e){let t=Error("Expect argument to be non-empty array");if("object"!=typeof e||!("length"in e)||!e.length)throw t;let i=e.map(({name:e,type:t,value:i})=>{if("address[]"===t)return{name:e,type:"bytes32[]",value:i.map(e=>"number"==typeof e?(0,a.padStart)((0,l.numberToBytes)(e),32):(0,l.isStrictHexString)(e)?(0,a.padStart)((0,l.hexToBytes)(e).subarray(0,32),32):e instanceof Uint8Array?(0,a.padStart)(e.subarray(0,32),32):e)};if(t.startsWith("int")&&(0,s.isArrayType)(t)){let[n,r]=(0,s.getArrayType)(t);return{name:e,type:`bytes32[${null!=r?r:""}]`,value:i.map(e=>{if("string"==typeof e||"number"==typeof e||"bigint"==typeof e){let t=h(n,e);if(t>=BigInt(0))return(0,a.padStart)((0,l.bigIntToBytes)(t),32);let i=BigInt.asIntN((0,s.getLength)(n),t);return(0,l.signedBigIntToBytes)(i,32)}return e})}}return{name:e,type:t,value:function e(t,i){if((0,s.isArrayType)(t)&&Array.isArray(i)){let[n]=(0,s.getArrayType)(t);return i.map(t=>e(n,t))}if("address"===t){if("number"==typeof i)return(0,a.padStart)((0,l.numberToBytes)(i),20);if((0,l.isStrictHexString)(i))return(0,a.padStart)((0,l.hexToBytes)(i).subarray(0,20),20);if(i instanceof Uint8Array)return(0,a.padStart)(i.subarray(0,20),20)}if("bool"===t)return!!i;if(t.startsWith("bytes")&&"bytes"!==t){let e=(0,s.getByteLength)(t);if("number"==typeof i)return i<0?new Uint8Array:(0,l.numberToBytes)(i).subarray(0,e);if((0,l.isStrictHexString)(i))return(0,l.hexToBytes)(i).subarray(0,e);if(i instanceof Uint8Array)return i.subarray(0,e)}return t.startsWith("uint")&&"number"==typeof i?Math.abs(i):t.startsWith("int")&&"number"==typeof i?BigInt.asIntN((0,s.getLength)(t),BigInt(i)):i}(t,i)}}),n=i.map(e=>"bytes"!==e.type?e.value:(0,d.legacyToBuffer)(e.value)),c=i.map(e=>{if("function"===e.type)throw Error('Unsupported or invalid type: "function"');return e.type}),g=e.map(e=>{if(!e.name)throw t;return`${e.type} ${e.name}`});return(0,r.arrToBufArr)((0,u.keccak256)((0,o.encodePacked)(["bytes32","bytes32"],[(0,u.keccak256)((0,o.encodePacked)(["string[]"],[g],!0)),(0,u.keccak256)((0,o.encodePacked)(c,n,!0))])))}!function(e){e.V1="V1",e.V3="V3",e.V4="V4"}(n=t.SignTypedDataVersion||(t.SignTypedDataVersion={})),t.TYPED_MESSAGE_SCHEMA={type:"object",properties:{types:{type:"object",additionalProperties:{type:"array",items:{type:"object",properties:{name:{type:"string"},type:{type:"string"}},required:["name","type"]}}},primaryType:{type:"string"},domain:{type:"object"},message:{type:"object"}},required:["types","primaryType","domain","message"]},t.TypedDataUtils={encodeData:g,encodeType:p,findTypeDependencies:f,hashStruct:m,hashType:v,sanitizeData:b,eip712Hash:function(e,t){c(t,[n.V3,n.V4]);let i=b(e),o=[(0,l.hexToBytes)("1901")];return o.push(y(e,t)),"EIP712Domain"!==i.primaryType&&o.push(m(i.primaryType,i.message,i.types,t)),(0,r.arrToBufArr)((0,u.keccak256)((0,l.concatBytes)(o)))},eip712DomainHash:y},t.typedSignatureHash=function(e){let t=_(e);return(0,l.bytesToHex)(t)},t.signTypedData=function({privateKey:e,data:i,version:o}){if(c(o),(0,d.isNullish)(i))throw Error("Missing data parameter");if((0,d.isNullish)(e))throw Error("Missing private key parameter");let s=o===n.V1?_(i):t.TypedDataUtils.eip712Hash(i,o),a=(0,r.ecsign)(s,e);return(0,d.concatSig)((0,r.arrToBufArr)((0,l.bigIntToBytes)(a.v)),a.r,a.s)},t.recoverTypedSignature=function({data:e,signature:i,version:o}){if(c(o),(0,d.isNullish)(e))throw Error("Missing data parameter");if((0,d.isNullish)(i))throw Error("Missing signature parameter");let s=o===n.V1?_(e):t.TypedDataUtils.eip712Hash(e,o),a=(0,d.recoverPublicKey)(s,i),u=(0,r.publicToAddress)(a);return(0,l.bytesToHex)(u)}},65491:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0}),t.normalize=t.recoverPublicKey=t.concatSig=t.legacyToBuffer=t.isNullish=t.padWithZeroes=void 0;let r=i(45372),o=i(35428);function s(e,t){if(""!==e&&!/^[a-f0-9]+$/iu.test(e))throw Error(`Expected an unprefixed hex string. Received: ${e}`);if(t<0)throw Error(`Expected a non-negative integer target length. Received: ${t}`);return String.prototype.padStart.call(e,t,"0")}function a(e){return null==e}t.padWithZeroes=s,t.isNullish=a,t.legacyToBuffer=function(e){return"string"!=typeof e||(0,r.isHexString)(e)?(0,r.toBuffer)(e):n.from(e)},t.concatSig=function(e,t,i){let n=(0,r.fromSigned)(t),a=(0,r.fromSigned)(i),l=(0,r.bufferToInt)(e),u=s((0,r.toUnsigned)(n).toString("hex"),64),d=s((0,r.toUnsigned)(a).toString("hex"),64),c=(0,o.remove0x)((0,o.numberToHex)(l));return(0,o.add0x)(u.concat(d,c))},t.recoverPublicKey=function(e,t){let i=(0,r.fromRpcSig)(t);return(0,r.ecrecover)(e,i.v,i.r,i.s)},t.normalize=function(e){if(!a(e)){if("number"==typeof e){if(e<0)return"0x";let t=(0,o.numberToBytes)(e);e=(0,o.bytesToHex)(t)}if("string"!=typeof e){let t="eth-sig-util.normalize() requires hex string or integer input.";throw Error(t+=` received ${typeof e}: ${e}`)}return(0,o.add0x)(e.toLowerCase())}}},97817:(e,t,i)=>{"use strict";var n=i(62197),r=i(31110),o=new n(0),s=new n(-1),a={noether:"0",wei:"1",kwei:"1000",Kwei:"1000",babbage:"1000",femtoether:"1000",mwei:"1000000",Mwei:"1000000",lovelace:"1000000",picoether:"1000000",gwei:"1000000000",Gwei:"1000000000",shannon:"1000000000",nanoether:"1000000000",nano:"1000000000",szabo:"1000000000000",microether:"1000000000000",micro:"1000000000000",finney:"1000000000000000",milliether:"1000000000000000",milli:"1000000000000000",ether:"1000000000000000000",kether:"1000000000000000000000",grand:"1000000000000000000000",mether:"1000000000000000000000000",gether:"1000000000000000000000000000",tether:"1000000000000000000000000000000"};function l(e){var t=a[e?e.toLowerCase():"ether"];if("string"!=typeof t)throw Error("[ethjs-unit] the unit provided "+e+" doesn't exists, please use the one of the following units "+JSON.stringify(a,null,2));return new n(t,10)}function u(e){if("string"==typeof e){if(!e.match(/^-?[0-9.]+$/))throw Error("while converting number to string, invalid number value '"+e+"', should be a number matching (^-?[0-9.]+).");return e}if("number"==typeof e)return String(e);if("object"==typeof e&&e.toString&&(e.toTwos||e.dividedToIntegerBy))return e.toPrecision?String(e.toPrecision()):e.toString(10);throw Error("while converting number to string, invalid number value '"+e+"' type "+typeof e+".")}e.exports={unitMap:a,numberToString:u,getValueOfUnit:l,fromWei:function(e,t,i){var n=r(e),u=n.lt(o),d=l(t),c=a[t].length-1||1,h=i||{};u&&(n=n.mul(s));for(var g=n.mod(d).toString(10);g.length2)throw Error("[ethjs-unit] while converting number "+e+" to wei, too many decimal points");var h=c[0],g=c[1];if(h||(h="0"),g||(g="0"),g.length>o)throw Error("[ethjs-unit] while converting number "+e+" to wei, too many decimal places");for(;g.length{"use strict";function n(e){return async(t,i,n,r)=>{let o;let s=new Promise(e=>{o=e}),a=null,l=!1,u=async()=>(l=!0,n(e=>{a=e,o()}),s);try{await e(t,i,u),l?(await s,a(null)):r(null)}catch(e){a?a(e):r(e)}}}i.d(t,{P:()=>n})},86439:(e,t,i)=>{"use strict";i.r(t),i.d(t,{JsonRpcEngine:()=>F,createAsyncMiddleware:()=>C.P,createIdRemapMiddleware:()=>E,createScaffoldMiddleware:()=>S,getUniqueId:()=>k,mergeMiddleware:()=>V});var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C=i(79250);function S(e){return(t,i,n,r)=>{let o=e[t.method];return void 0===o?n():"function"==typeof o?o(t,i,n,r):(i.result=o,r())}}var x=Math.floor(4294967295*Math.random());function k(){return x=(x+1)%4294967295}function E(){return(e,t,i,n)=>{let r=e.id,o=k();e.id=o,t.id=o,i(i=>{e.id=r,t.id=r,i()})}}var L=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},D=(e,t,i)=>(L(e,t,"read from private field"),i?i.call(e):t.get(e)),N=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},A=(e,t,i,n)=>(L(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),T=(e,t,i)=>(L(e,t,"access private method"),i),I=i(65982),M=i(4966),O=i(16572),P=i(2503),R=class e extends M.Z{constructor({notificationHandler:e}={}){super(),N(this,s),N(this,l),N(this,d),N(this,n,!1),N(this,r,void 0),N(this,o,void 0),A(this,r,[]),A(this,o,e)}destroy(){D(this,r).forEach(e=>{"destroy"in e&&"function"==typeof e.destroy&&e.destroy()}),A(this,r,[]),A(this,n,!0)}push(e){T(this,s,a).call(this),D(this,r).push(e)}handle(e,t){if(T(this,s,a).call(this),t&&"function"!=typeof t)throw Error('"callback" must be a function if provided.');return Array.isArray(e)?t?T(this,l,u).call(this,e,t):T(this,l,u).call(this,e):t?T(this,d,c).call(this,e,t):this._promiseHandle(e)}asMiddleware(){return T(this,s,a).call(this),async(t,i,n,o)=>{try{let[s,a,l]=await T(e,p,f).call(e,t,i,D(this,r));if(a)return await T(e,b,y).call(e,l),o(s);return n(async t=>{try{await T(e,b,y).call(e,l)}catch(e){return t(e)}return t()})}catch(e){return o(e)}}}async _promiseHandle(e){return new Promise((t,i)=>{T(this,d,c).call(this,e,(e,n)=>{e&&void 0===n?i(e):t(n)}).catch(i)})}};n=new WeakMap,r=new WeakMap,o=new WeakMap,s=new WeakSet,a=function(){if(D(this,n))throw Error("This engine is destroyed and can no longer be used.")},l=new WeakSet,u=async function(e,t){try{if(0===e.length){let e=[{id:null,jsonrpc:"2.0",error:new I.uc(I.Zk.rpc.invalidRequest,"Request batch must contain plain objects. Received an empty array")}];if(t)return t(null,e);return e}let i=(await Promise.all(e.map(this._promiseHandle.bind(this)))).filter(e=>void 0!==e);if(t)return t(null,i);return i}catch(e){if(t)return t(e);throw e}},d=new WeakSet,c=async function(e,t){if(!e||Array.isArray(e)||"object"!=typeof e){let i=new I.uc(I.Zk.rpc.invalidRequest,`Requests must be plain objects. Received: ${typeof e}`,{request:e});return t(i,{id:null,jsonrpc:"2.0",error:i})}if("string"!=typeof e.method){let i=new I.uc(I.Zk.rpc.invalidRequest,`Must specify a string method. Received: ${typeof e.method}`,{request:e});return D(this,o)&&!(0,O.DW)(e)?t(null):t(i,{id:e.id??null,jsonrpc:"2.0",error:i})}if(D(this,o)&&(0,O.LQ)(e)&&!(0,O.DW)(e)){try{await D(this,o).call(this,e)}catch(e){return t(e)}return t(null)}let i=null,n={...e},s={id:n.id,jsonrpc:n.jsonrpc};try{await T(R,h,g).call(R,n,s,D(this,r))}catch(e){i=e}return i&&(delete s.result,s.error||(s.error=(0,I.Xy)(i))),t(i,s)},h=new WeakSet,g=async function(e,t,i){let[n,r,o]=await T(R,p,f).call(R,e,t,i);if(T(R,_,w).call(R,e,t,r),await T(R,b,y).call(R,o),n)throw n},p=new WeakSet,f=async function(e,t,i){let n=[],r=null,o=!1;for(let s of i)if([r,o]=await T(R,m,v).call(R,e,t,s,n),o)break;return[r,o,n.reverse()]},m=new WeakSet,v=async function(e,t,i,n){return new Promise(r=>{let o=e=>{let i=e||t.error;i&&(t.error=(0,I.Xy)(i)),r([i,!0])};try{i(e,t,i=>{t.error?o(t.error):(i&&("function"!=typeof i&&o(new I.uc(I.Zk.rpc.internal,`JsonRpcEngine: "next" return handlers must be functions. Received "${typeof i}" for request: ${B(e)}`,{request:e})),n.push(i)),r([null,!1]))},o)}catch(e){o(e)}})},b=new WeakSet,y=async function(e){for(let t of e)await new Promise((e,i)=>{t(t=>t?i(t):e())})},_=new WeakSet,w=function(e,t,i){if(!(0,P.l$)(t,"result")&&!(0,P.l$)(t,"error"))throw new I.uc(I.Zk.rpc.internal,`JsonRpcEngine: Response has no error or result for request: ${B(e)}`,{request:e});if(!i)throw new I.uc(I.Zk.rpc.internal,`JsonRpcEngine: Nothing ended request: -${B(e)}`,{request:e})},N(O,h),N(O,p),N(O,m),N(O,b),N(O,_);var F=O;function B(e){return JSON.stringify(e,null,2)}function V(e){let t=new F;return e.forEach(e=>t.push(e)),t.asMiddleware()}},96940:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createEngineStream:()=>r,createStreamMiddleware:()=>s});var n=i(67525);function r(e){if(!e?.engine)throw Error("Missing engine parameter!");let{engine:t}=e,i=new n.Duplex({objectMode:!0,read:()=>void 0,write:function(e,n,r){t.handle(e,(e,t)=>{i.push(t)}),r()}});return t.on&&t.on("notification",e=>{i.push(e)}),i}var o=i(4966);function s(e={}){let t={},i=new n.Duplex({objectMode:!0,read:()=>void 0,write:function(n,o,s){let a=null;try{n.id?function(e){let{id:i}=e;if(null===i)return;let n=t[i];if(!n){console.warn(`StreamMiddleware - Unknown response id "${i}"`);return}delete t[i],Object.assign(n.res,e),setTimeout(n.end)}(n):(e?.retryOnMessage&&n.method===e.retryOnMessage&&Object.values(t).forEach(({req:e,retryCount:n=0})=>{if(!e.id)return;if(n>=3)throw Error(`StreamMiddleware - Retry limit exceeded for request id "${e.id}"`);let r=t[e.id];r&&(r.retryCount=n+1),i.push(e)}),r.emit("notification",n))}catch(e){a=e}s(a)}}),r=new o.Z;return{events:r,middleware:(e,n,r,o)=>{t[e.id]={req:e,res:n,next:r,end:o},i.push(e)},stream:i}}},67085:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BIP44CoinTypeNode:()=>iU,BIP44Node:()=>nH,BIP44PurposeNodeToken:()=>w,BIP_32_HARDENED_OFFSET:()=>D,BIP_32_PATH_REGEX:()=>x,BIP_39_PATH_REGEX:()=>L,BIP_44_COIN_TYPE_DEPTH:()=>iz,BYTES_KEY_LENGTH:()=>m,CIP_3_PATH_REGEX:()=>E,MAX_BIP_32_INDEX:()=>_,MAX_BIP_44_DEPTH:()=>b,MAX_UNHARDENED_BIP_32_INDEX:()=>y,MIN_BIP_44_DEPTH:()=>v,SLIP10Node:()=>nP,SLIP_10_PATH_REGEX:()=>k,UNPREFIXED_BIP_32_PATH_REGEX:()=>S,UNPREFIXED_PATH_REGEX:()=>C,createBip39KeyFromSeed:()=>ng,deriveBIP44AddressKey:()=>iK,ed25519:()=>l,ed25519Bip32:()=>u,getBIP44AddressKeyDeriver:()=>iG,getBIP44CoinTypeToAddressPathTuple:()=>ia,isValidBIP32PathSegment:()=>ih,mnemonicPhraseToBytes:()=>iS,secp256k1:()=>d});var n,r,o,s,a={};i.r(a),i.d(a,{dQ:()=>el,ci:()=>X,bytesToNumberBE:()=>ei,ty:()=>en,eV:()=>ea,n$:()=>ec,ql:()=>es,hexToBytes:()=>et,tL:()=>er,S5:()=>eo,FF:()=>eg});var l={};i.r(l),i.d(l,{compressPublicKey:()=>tK,compressedPublicKeyLength:()=>tQ,curve:()=>tV,decompressPublicKey:()=>tG,deriveUnhardenedKeys:()=>tz,getPublicKey:()=>t$,isValidPrivateKey:()=>tj,masterNodeGenerationSpec:()=>tY,name:()=>tH,privateKeyLength:()=>tZ,publicAdd:()=>tq,publicKeyLength:()=>tU,secret:()=>tW});var u={};i.r(u),i.d(u,{bytesToNumberLE:()=>t5,compressPublicKey:()=>ie,compressedPublicKeyLength:()=>io,curve:()=>tX,decompressPublicKey:()=>it,deriveUnhardenedKeys:()=>t3,getPublicKey:()=>t9,isValidPrivateKey:()=>t6,masterNodeGenerationSpec:()=>ir,multiplyWithBase:()=>t4,name:()=>t0,privateKeyLength:()=>ii,publicAdd:()=>t7,publicKeyLength:()=>t8,secret:()=>t1});var d={};i.r(d),i.d(d,{compressPublicKey:()=>iR,compressedPublicKeyLength:()=>iB,curve:()=>iE,decompressPublicKey:()=>iP,deriveUnhardenedKeys:()=>iN,getPublicKey:()=>iI,isValidPrivateKey:()=>iT,masterNodeGenerationSpec:()=>iF,name:()=>iL,privateKeyLength:()=>iO,publicAdd:()=>iM,publicKeyLength:()=>iA,secret:()=>iD});var c={};i.r(c),i.d(c,{deriveChildKey:()=>nl,privateKeyToEthAddress:()=>ns,publicKeyToEthAddress:()=>na});var h={};i.r(h),i.d(h,{bip39MnemonicToMultipath:()=>nc,createBip39KeyFromSeed:()=>ng,deriveChildKey:()=>nh,entropyToCip3MasterNode:()=>np});var g={};i.r(g),i.d(g,{add:()=>nw,bigIntToBytes:()=>nv,bytesToBigInt:()=>nm,deriveChainCode:()=>nE,deriveChildKey:()=>nD,derivePrivateKey:()=>nx,derivePublicKey:()=>nL,getKeyExtension:()=>nC,mod2Pow256:()=>n_,padEnd32Bytes:()=>nb,toReversed:()=>nf,trunc28Mul8:()=>ny});var p={};i.r(p),i.d(p,{deriveChildKey:()=>nN});var f=i(80045);let m=32,v=0,b=5,y=2147483647,_=4294967295,w="bip32:44'",C=/^\d+$/u,S=/^(?\d+)'?$/u,x=/^bip32:\d+'?$/u,k=/^slip10:\d+'?$/u,E=/^cip3:\d+'?$/u,L=/^bip39:([a-z]+){1}( [a-z]+){11,23}$/u,D=2147483648;var N=i(83618);function A(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function T(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function I(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}let M="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,R=e=>e instanceof Uint8Array,P=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),O=(e,t)=>e<<32-t|e>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw Error("Non little-endian hardware is not supported");function F(e){if("string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}(e)),!R(e))throw Error(`expected Uint8Array, got ${typeof e}`);return e}class B{clone(){return this._cloneInto()}}function V(e){let t=t=>e().update(F(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t}function H(e=32){if(M&&"function"==typeof M.getRandomValues)return M.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}class W extends B{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=P(this.buffer)}update(e){I(this);let{view:t,buffer:i,blockLen:n}=this,r=(e=F(e)).length;for(let o=0;on-o&&(this.process(i,0),o=0);for(let e=o;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,n-8,BigInt(8*this.length),r),this.process(i,0);let s=P(e),a=this.outputLen;if(a%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=a/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;ee&t^~e&i,z=(e,t,i)=>e&t^e&i^t&i,U=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]),$=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),q=new Uint32Array(64);class K extends W{constructor(){super(64,32,8,!1),this.A=0|$[0],this.B=0|$[1],this.C=0|$[2],this.D=0|$[3],this.E=0|$[4],this.F=0|$[5],this.G=0|$[6],this.H=0|$[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)q[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=q[e-15],i=q[e-2],n=O(t,7)^O(t,18)^t>>>3,r=O(i,17)^O(i,19)^i>>>10;q[e]=r+q[e-7]+n+q[e-16]|0}let{A:i,B:n,C:r,D:o,E:s,F:a,G:l,H:u}=this;for(let e=0;e<64;e++){let t=u+(O(s,6)^O(s,11)^O(s,25))+j(s,a,l)+U[e]+q[e]|0,d=(O(i,2)^O(i,13)^O(i,22))+z(i,n,r)|0;u=l,l=a,a=s,s=o+t|0,o=r,r=n,n=i,i=t+d|0}i=i+this.A|0,n=n+this.B|0,r=r+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(i,n,r,o,s,a,l,u)}roundClean(){q.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let G=V(()=>new K),Z=(BigInt(0),BigInt(1)),Y=BigInt(2),Q=e=>e instanceof Uint8Array,J=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function X(e){if(!Q(e))throw Error("Uint8Array expected");let t="";for(let i=0;ie+t.length,0)),i=0;return e.forEach(e=>{if(!Q(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}let el=e=>(Y<new Uint8Array(e),ed=e=>Uint8Array.from(e);function ec(e,t,i){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof i)throw Error("hmacFn must be a function");let n=eu(e),r=eu(e),o=0,s=()=>{n.fill(1),r.fill(0),o=0},a=(...e)=>i(r,n,...e),l=(e=eu())=>{r=a(ed([0]),e),n=a(),0!==e.length&&(r=a(ed([1]),e),n=a())},u=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,i=[];for(;e{let i;for(s(),l(e);!(i=t(u()));)l();return s(),i}}let eh={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||e instanceof Uint8Array,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)};function eg(e,t,i={}){let n=(t,i,n)=>{let r=eh[i];if("function"!=typeof r)throw Error(`Invalid validator "${i}", expected function`);let o=e[t];if((!n||void 0!==o)&&!r(o,e))throw Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${i}`)};for(let[e,i]of Object.entries(t))n(e,i,!1);for(let[e,t]of Object.entries(i))n(e,t,!0);return e}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let ep=BigInt(0),ef=BigInt(1),em=BigInt(2),ev=BigInt(3),eb=BigInt(4),ey=BigInt(5),e_=BigInt(8);function ew(e,t){let i=e%t;return i>=ep?i:t+i}function eC(e,t,i){let n=e;for(;t-- >ep;)n*=n,n%=i;return n}function eS(e,t){if(e===ep||t<=ep)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let i=ew(e,t),n=t,r=ep,o=ef,s=ef,a=ep;for(;i!==ep;){let e=n/i,t=n%i,l=r-s*e,u=o-a*e;n=i,i=t,r=s,o=a,s=l,a=u}if(n!==ef)throw Error("invert: does not exist");return ew(r,t)}BigInt(9),BigInt(16);let ex=(e,t)=>(ew(e,t)&ef)===ef,ek=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function eE(e,t){let i=void 0!==t?t:e.toString(2).length;return{nBitLength:i,nByteLength:Math.ceil(i/8)}}function eL(e,t,i=!1,n={}){if(e<=ep)throw Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:r,nByteLength:o}=eE(e,t);if(o>2048)throw Error("Field lengths over 2048 bytes are not supported");let s=function(e){if(e%eb===ev){let t=(e+ef)/eb;return function(e,i){let n=e.pow(i,t);if(!e.eql(e.sqr(n),i))throw Error("Cannot find square root");return n}}if(e%e_===ey){let t=(e-ey)/e_;return function(e,i){let n=e.mul(i,em),r=e.pow(n,t),o=e.mul(i,r),s=e.mul(e.mul(o,em),r),a=e.mul(o,e.sub(s,e.ONE));if(!e.eql(e.sqr(a),i))throw Error("Cannot find square root");return a}}return function(e){let t,i,n;let r=(e-ef)/em;for(t=e-ef,i=0;t%em===ep;t/=em,i++);for(n=em;n 0");if(i===ef)return ep;let n=ef;for(;t>ep;)t&ef&&(n=n*e%i),e=e*e%i,t>>=ef;return n}(n,r,e)!==e-ef;n++);if(1===i){let t=(e+ef)/eb;return function(e,i){let n=e.pow(i,t);if(!e.eql(e.sqr(n),i))throw Error("Cannot find square root");return n}}let o=(t+ef)/em;return function(e,s){if(e.pow(s,r)===e.neg(e.ONE))throw Error("Cannot find square root");let a=i,l=e.pow(e.mul(e.ONE,n),t),u=e.pow(s,o),d=e.pow(s,t);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let i=e.sqr(d);tew(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return ep<=t&&te===ep,isOdd:e=>(e&ef)===ef,neg:t=>ew(-t,e),eql:(e,t)=>e===t,sqr:t=>ew(t*t,e),add:(t,i)=>ew(t+i,e),sub:(t,i)=>ew(t-i,e),mul:(t,i)=>ew(t*i,e),pow:(e,t)=>(function(e,t,i){if(i 0");if(i===ep)return e.ONE;if(i===ef)return t;let n=e.ONE,r=t;for(;i>ep;)i&ef&&(n=e.mul(n,r)),r=e.sqr(r),i>>=ef;return n})(a,e,t),div:(t,i)=>ew(t*eS(i,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>eS(t,e),sqrt:n.sqrt||(e=>s(a,e)),invertBatch:e=>{let t,i,n;return t=Array(e.length),i=e.reduce((e,i,n)=>a.is0(i)?e:(t[n]=e,a.mul(e,i)),a.ONE),n=a.inv(i),e.reduceRight((e,i,n)=>a.is0(i)?e:(t[n]=a.mul(e,t[n]),a.mul(e,i)),n),t},cmov:(e,t,i)=>i?t:e,toBytes:e=>i?eo(e,o):er(e,o),fromBytes:e=>{if(e.length!==o)throw Error(`Fp.fromBytes: expected ${o}, got ${e.length}`);return i?en(e):ei(e)}});return Object.freeze(a)}function eD(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function eN(e){let t=eD(e);return t+Math.ceil(t/2)}class eA extends B{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,function(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");A(e.outputLen),A(e.blockLen)}(e);let i=F(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,r=new Uint8Array(n);r.set(i.length>n?e.create().update(i).digest():i);for(let e=0;enew eA(e,t).update(i).digest();eT.create=(e,t)=>new eA(e,t);let eI=BigInt(0),eM=BigInt(1);function eR(e,t){let i=(e,t)=>{let i=t.negate();return e?i:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:i,unsafeLadder(t,i){let n=e.ZERO,r=t;for(;i>eI;)i&eM&&(n=n.add(r)),r=r.double(),i>>=eM;return n},precomputeWindow(e,t){let{windows:i,windowSize:r}=n(t),o=[],s=e,a=s;for(let e=0;e>=h,n>a&&(n-=c,o+=eM);let s=t+Math.abs(n)-1,g=e%2!=0,p=n<0;0===n?u=u.add(i(g,r[t])):l=l.add(i(p,r[s]))}return{p:l,f:u}},wNAFCached(e,t,i,n){let r=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&t.set(e,n(o))),this.wNAF(r,o,i)}}}function eP(e){return eg(e.Fp,ek.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),eg(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...eE(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}let{bytesToNumberBE:eO,hexToBytes:eF}=a,eB={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=eB;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");let i=e[1],n=e.subarray(2,i+2);if(!i||n.length!==i)throw new t("Invalid signature integer: wrong length");if(128&n[0])throw new t("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:eO(n),l:e.subarray(i+2)}},toSig(e){let{Err:t}=eB,i="string"==typeof e?eF(e):e;if(!(i instanceof Uint8Array))throw Error("ui8a expected");let n=i.length;if(n<2||48!=i[0])throw new t("Invalid signature tag");if(i[1]!==n-2)throw new t("Invalid signature: incorrect length");let{d:r,l:o}=eB._parseInt(i.subarray(2)),{d:s,l:a}=eB._parseInt(o);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r,s}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,i=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(i(e.s)),r=t(i(e.r)),o=n.length/2,s=r.length/2;return`30${i(s+o+4)}02${i(s)}${r}02${i(o)}${n}`}},eV=BigInt(0),eH=BigInt(1),eW=(BigInt(2),BigInt(3)),ej=(BigInt(4),BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f")),ez=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),eU=BigInt(1),e$=BigInt(2),eq=(e,t)=>(e+t/e$)/t,eK=eL(ej,void 0,void 0,{sqrt:function(e){let t=BigInt(3),i=BigInt(6),n=BigInt(11),r=BigInt(22),o=BigInt(23),s=BigInt(44),a=BigInt(88),l=e*e*e%ej,u=l*l*e%ej,d=eC(u,t,ej)*u%ej,c=eC(d,t,ej)*u%ej,h=eC(c,e$,ej)*l%ej,g=eC(h,n,ej)*h%ej,p=eC(g,r,ej)*g%ej,f=eC(p,s,ej)*p%ej,m=eC(f,a,ej)*f%ej,v=eC(m,s,ej)*p%ej,b=eC(v,t,ej)*u%ej,y=eC(b,o,ej)*g%ej,_=eC(y,i,ej)*l%ej,w=eC(_,e$,ej);if(!eK.eql(eK.sqr(w),e))throw Error("Cannot find square root");return w}}),eG=function(e,t){let i=t=>(function(e){let t;let i=(eg(t=eP(e),{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})),{Fp:n,n:r}=i,o=n.BYTES+1,s=2*n.BYTES+1;function a(e){return ew(e,r)}let{ProjectivePoint:l,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:c}=function(e){let t=/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function(e){let t=eP(e);eg(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:i,Fp:n,a:r}=t;if(i){if(!n.eql(r,n.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof i||"bigint"!=typeof i.beta||"function"!=typeof i.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:i}=t,n=t.toBytes||((e,t,n)=>{let r=t.toAffine();return ea(Uint8Array.from([4]),i.toBytes(r.x),i.toBytes(r.y))}),r=t.fromBytes||(e=>{let t=e.subarray(1);return{x:i.fromBytes(t.subarray(0,i.BYTES)),y:i.fromBytes(t.subarray(i.BYTES,2*i.BYTES))}});function o(e){let{a:n,b:r}=t,o=i.sqr(e),s=i.mul(o,e);return i.add(i.add(s,i.mul(e,n)),r)}if(!i.eql(i.sqr(t.Gy),o(t.Gx)))throw Error("bad generator point: equation left != right");function s(e){return"bigint"==typeof e&&eVi.eql(e,i.ZERO);return r(t)&&r(n)?c.ZERO:new c(t,n,i.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(c.fromAffine)}static fromHex(e){let t=c.fromAffine(r(es("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return c.BASE.multiply(l(e))}_setWindowSize(e){this._WINDOW_SIZE=e,u.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!i.is0(this.py))return;throw Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!i.isValid(e)||!i.isValid(n))throw Error("bad point: x or y not FE");let r=i.sqr(n),s=o(e);if(!i.eql(r,s))throw Error("bad point: equation left != right");if(!this.isTorsionFree())throw Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(i.isOdd)return!i.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){d(e);let{px:t,py:n,pz:r}=this,{px:o,py:s,pz:a}=e,l=i.eql(i.mul(t,a),i.mul(o,r)),u=i.eql(i.mul(n,a),i.mul(s,r));return l&&u}negate(){return new c(this.px,i.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,r=i.mul(n,eW),{px:o,py:s,pz:a}=this,l=i.ZERO,u=i.ZERO,d=i.ZERO,h=i.mul(o,o),g=i.mul(s,s),p=i.mul(a,a),f=i.mul(o,s);return f=i.add(f,f),d=i.mul(o,a),d=i.add(d,d),l=i.mul(e,d),u=i.mul(r,p),u=i.add(l,u),l=i.sub(g,u),u=i.add(g,u),u=i.mul(l,u),l=i.mul(f,l),d=i.mul(r,d),p=i.mul(e,p),f=i.sub(h,p),f=i.mul(e,f),f=i.add(f,d),d=i.add(h,h),h=i.add(d,h),h=i.add(h,p),h=i.mul(h,f),u=i.add(u,h),p=i.mul(s,a),p=i.add(p,p),h=i.mul(p,f),l=i.sub(l,h),d=i.mul(p,g),d=i.add(d,d),d=i.add(d,d),new c(l,u,d)}add(e){d(e);let{px:n,py:r,pz:o}=this,{px:s,py:a,pz:l}=e,u=i.ZERO,h=i.ZERO,g=i.ZERO,p=t.a,f=i.mul(t.b,eW),m=i.mul(n,s),v=i.mul(r,a),b=i.mul(o,l),y=i.add(n,r),_=i.add(s,a);y=i.mul(y,_),_=i.add(m,v),y=i.sub(y,_),_=i.add(n,o);let w=i.add(s,l);return _=i.mul(_,w),w=i.add(m,b),_=i.sub(_,w),w=i.add(r,o),u=i.add(a,l),w=i.mul(w,u),u=i.add(v,b),w=i.sub(w,u),g=i.mul(p,_),u=i.mul(f,b),g=i.add(u,g),u=i.sub(v,g),g=i.add(v,g),h=i.mul(u,g),v=i.add(m,m),v=i.add(v,m),b=i.mul(p,b),_=i.mul(f,_),v=i.add(v,b),b=i.sub(m,b),b=i.mul(p,b),_=i.add(_,b),m=i.mul(v,_),h=i.add(h,m),m=i.mul(w,_),u=i.mul(y,u),u=i.sub(u,m),m=i.mul(y,v),g=i.mul(w,g),g=i.add(g,m),new c(u,h,g)}subtract(e){return this.add(e.negate())}is0(){return this.equals(c.ZERO)}wNAF(e){return g.wNAFCached(this,u,e,e=>{let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(c.fromAffine)})}multiplyUnsafe(e){let n=c.ZERO;if(e===eV)return n;if(a(e),e===eH)return this;let{endo:r}=t;if(!r)return g.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:l,k2:u}=r.splitScalar(e),d=n,h=n,p=this;for(;s>eV||u>eV;)s&eH&&(d=d.add(p)),u&eH&&(h=h.add(p)),p=p.double(),s>>=eH,u>>=eH;return o&&(d=d.negate()),l&&(h=h.negate()),h=new c(i.mul(h.px,r.beta),h.py,h.pz),d.add(h)}multiply(e){let n,r;a(e);let{endo:o}=t;if(o){let{k1neg:t,k1:s,k2neg:a,k2:l}=o.splitScalar(e),{p:u,f:d}=this.wNAF(s),{p:h,f:p}=this.wNAF(l);u=g.constTimeNegate(t,u),h=g.constTimeNegate(a,h),h=new c(i.mul(h.px,o.beta),h.py,h.pz),n=u.add(h),r=d.add(p)}else{let{p:t,f:i}=this.wNAF(e);n=t,r=i}return c.normalizeZ([n,r])[0]}multiplyAndAddUnsafe(e,t,i){let n=c.BASE,r=(e,t)=>t!==eV&&t!==eH&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=r(this,t).add(r(e,i));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:r}=this,o=this.is0();null==e&&(e=o?i.ONE:i.inv(r));let s=i.mul(t,e),a=i.mul(n,e),l=i.mul(r,e);if(o)return{x:i.ZERO,y:i.ZERO};if(!i.eql(l,i.ONE))throw Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:i}=t;if(e===eH)return!0;if(i)return i(c,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:i}=t;return e===eH?this:i?i(c,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),n(c,this,e)}toHex(e=!0){return X(this.toRawBytes(e))}}c.BASE=new c(t.Gx,t.Gy,i.ONE),c.ZERO=new c(i.ZERO,i.ONE,i.ZERO);let h=t.nBitLength,g=eR(c,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:c,normPrivateKeyToScalar:l,weierstrassEquation:o,isWithinCurveOrder:s}}({...i,toBytes(e,t,i){let r=t.toAffine(),o=n.toBytes(r.x),s=ea;return i?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,n.toBytes(r.y))},fromBytes(e){let t=e.length,i=e[0],r=e.subarray(1);if(t===o&&(2===i||3===i)){let e=ei(r);if(!(eVX(er(e,i.nByteLength)),g=(e,t,i)=>ei(e.slice(t,i));class p{constructor(e,t,i){this.r=e,this.s=t,this.recovery=i,this.assertValidity()}static fromCompact(e){let t=i.nByteLength;return e=es("compactSignature",e,2*t),new p(g(e,0,t),g(e,t,2*t))}static fromDER(e){let{r:t,s:i}=eB.toSig(es("DER",e));return new p(t,i)}assertValidity(){if(!c(this.r))throw Error("r must be 0 < r < CURVE.n");if(!c(this.s))throw Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new p(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:o,recovery:s}=this,u=v(es("msgHash",e));if(null==s||![0,1,2,3].includes(s))throw Error("recovery id invalid");let d=2===s||3===s?t+i.n:t;if(d>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let c=(1&s)==0?"02":"03",g=l.fromHex(c+h(d)),p=eS(d,r),f=a(-u*p),m=a(o*p),b=l.BASE.multiplyAndAddUnsafe(g,f,m);if(!b)throw Error("point at infinify");return b.assertValidity(),b}hasHighS(){return this.s>r>>eH}normalizeS(){return this.hasHighS()?new p(this.r,a(-this.s),this.recovery):this}toDERRawBytes(){return et(this.toDERHex())}toDERHex(){return eB.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return et(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}function f(e){let t=e instanceof Uint8Array,i="string"==typeof e,n=(t||i)&&e.length;return t?n===o||n===s:i?n===2*o||n===2*s:e instanceof l}let m=i.bits2int||function(e){let t=ei(e),n=8*e.length-i.nBitLength;return n>0?t>>BigInt(n):t},v=i.bits2int_modN||function(e){return a(m(e))},b=el(i.nBitLength);function y(e){if("bigint"!=typeof e)throw Error("bigint expected");if(!(eV<=e&&ee in o))throw Error("sign() legacy options not supported");let{hash:s,randomBytes:d}=i,{lowS:h,prehash:g,extraEntropy:f}=o;null==h&&(h=!0),e=es("msgHash",e),g&&(e=es("prehashed msgHash",s(e)));let b=v(e),w=u(t),C=[y(w),y(b)];if(null!=f){let e=!0===f?d(n.BYTES):f;C.push(es("extraEntropy",e))}return{seed:ea(...C),k2sig:function(e){let t=m(e);if(!c(t))return;let i=eS(t,r),n=l.BASE.multiply(t).toAffine(),o=a(n.x);if(o===eV)return;let s=a(i*a(b+o*w));if(s===eV)return;let u=(n.x===o?0:2)|Number(n.y&eH),d=s;return h&&s>r>>eH&&(d=s>r>>eH?a(-s):s,u^=1),new p(o,d,u)}}}(e,t,o);return ec(i.hash.outputLen,i.nByteLength,i.hmac)(s,d)},verify:function(e,t,n,o=w){let s,u;if(t=es("msgHash",t),n=es("publicKey",n),"strict"in o)throw Error("options.strict was renamed to lowS");let{lowS:d,prehash:c}=o;try{if("string"==typeof e||e instanceof Uint8Array)try{u=p.fromDER(e)}catch(t){if(!(t instanceof eB.Err))throw t;u=p.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:i}=e;u=new p(t,i)}else throw Error("PARSE");s=l.fromHex(n)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&u.hasHighS())return!1;c&&(t=i.hash(t));let{r:h,s:g}=u,f=v(t),m=eS(g,r),b=a(f*m),y=a(h*m),_=l.BASE.multiplyAndAddUnsafe(s,b,y)?.toAffine();return!!_&&a(_.x)===h},ProjectivePoint:l,Signature:p,utils:{isValidPrivateKey(e){try{return u(e),!0}catch(e){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=eN(i.n);return function(e,t,i=!1){let n=e.length,r=eD(t),o=eN(t);if(n<16||n1024)throw Error(`expected ${o}-1024 bytes of input, got ${n}`);let s=ew(i?ei(e):en(e),t-ef)+ef;return i?eo(s,r):er(s,r)}(i.randomBytes(e),i.n)},precompute:(e=8,t=l.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,hash:t,hmac:(e,...i)=>eT(t,e,function(...e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),i=0;return e.forEach(e=>{if(!R(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}(...i)),randomBytes:H});return Object.freeze({...i(t),create:i})}({a:BigInt(0),b:BigInt(7),Fp:eK,n:ez,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),i=-eU*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),r=BigInt("0x100000000000000000000000000000000"),o=eq(t*e,ez),s=eq(-i*e,ez),a=ew(e-o*t-s*n,ez),l=ew(-o*i-s*t,ez),u=a>r,d=l>r;if(u&&(a=ez-a),d&&(l=ez-l),a>r||l>r)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:a,k2neg:d,k2:l}}}},G);BigInt(0),eG.ProjectivePoint;var eZ=i(63610),eY=i(1840),eQ=i(79225);let eJ=(e,t,i)=>e&t^~e&i,eX=(e,t,i)=>e&t^e&i^t&i;class e0 extends eQ.kb{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,eQ.GL)(this.buffer)}update(e){(0,eY.Gg)(this);let{view:t,buffer:i,blockLen:n}=this,r=(e=(0,eQ.O0)(e)).length;for(let o=0;on-o&&(this.process(i,0),o=0);for(let e=o;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,n-8,BigInt(8*this.length),r),this.process(i,0);let s=(0,eQ.GL)(e),a=this.outputLen;if(a%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=a/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;et)),e6=e2.map(e=>(9*e+5)%16),e3=[e2],e8=[e6];for(let e=0;e<4;e++)for(let t of[e3,e8])t.push(t[e].map(e=>e1[e]));let e5=[[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)),e4=e3.map((e,t)=>e.map(e=>e5[t][e])),e9=e8.map((e,t)=>e.map(e=>e5[t][e])),e7=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),te=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function tt(e,t,i,n){return 0===e?t^i^n:1===e?t&i|~t&n:2===e?(t|~i)^n:3===e?t&n|i&~n:t^(i|~n)}let ti=new Uint32Array(16);class tn extends e0{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:t,h2:i,h3:n,h4:r}=this;return[e,t,i,n,r]}set(e,t,i,n,r){this.h0=0|e,this.h1=0|t,this.h2=0|i,this.h3=0|n,this.h4=0|r}process(e,t){for(let i=0;i<16;i++,t+=4)ti[i]=e.getUint32(t,!0);let i=0|this.h0,n=i,r=0|this.h1,o=r,s=0|this.h2,a=s,l=0|this.h3,u=l,d=0|this.h4,c=d;for(let e=0;e<5;e++){let t=4-e,h=e7[e],g=te[e],p=e3[e],f=e8[e],m=e4[e],v=e9[e];for(let t=0;t<16;t++){let n=(0,eQ.XG)(i+tt(e,r,s,l)+ti[p[t]]+h,m[t])+d|0;i=d,d=l,l=0|(0,eQ.XG)(s,10),s=r,r=n}for(let e=0;e<16;e++){let i=(0,eQ.XG)(n+tt(t,o,a,u)+ti[f[e]]+g,v[e])+c|0;n=c,c=u,u=0|(0,eQ.XG)(a,10),a=o,o=i}}this.set(this.h1+s+u|0,this.h2+l+c|0,this.h3+d+n|0,this.h4+i+o|0,this.h0+r+a|0)}roundClean(){ti.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}let tr=(0,eQ.hE)(()=>new tn),to=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]),ts=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ta=new Uint32Array(64);class tl extends e0{constructor(){super(64,32,8,!1),this.A=0|ts[0],this.B=0|ts[1],this.C=0|ts[2],this.D=0|ts[3],this.E=0|ts[4],this.F=0|ts[5],this.G=0|ts[6],this.H=0|ts[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)ta[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=ta[e-15],i=ta[e-2],n=(0,eQ.np)(t,7)^(0,eQ.np)(t,18)^t>>>3,r=(0,eQ.np)(i,17)^(0,eQ.np)(i,19)^i>>>10;ta[e]=r+ta[e-7]+n+ta[e-16]|0}let{A:i,B:n,C:r,D:o,E:s,F:a,G:l,H:u}=this;for(let e=0;e<64;e++){let t=u+((0,eQ.np)(s,6)^(0,eQ.np)(s,11)^(0,eQ.np)(s,25))+eJ(s,a,l)+to[e]+ta[e]|0,d=((0,eQ.np)(i,2)^(0,eQ.np)(i,13)^(0,eQ.np)(i,22))+eX(i,n,r)|0;u=l,l=a,a=s,s=o+t|0,o=r,r=n,n=i,i=t+d|0}i=i+this.A|0,n=n+this.B|0,r=r+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(i,n,r,o,s,a,l,u)}roundClean(){ta.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let tu=(0,eQ.hE)(()=>new tl);var td=i(25814);let tc=BigInt(4294967295),th=BigInt(32);function tg(e,t=!1){return t?{h:Number(e&tc),l:Number(e>>th&tc)}:{h:0|Number(e>>th&tc),l:0|Number(e&tc)}}let tp={fromBig:tg,split:function(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let r=0;rBigInt(e>>>0)<>>0),shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,i)=>e<>>32-i,rotlSL:(e,t,i)=>t<>>32-i,rotlBH:(e,t,i)=>t<>>64-i,rotlBL:(e,t,i)=>e<>>64-i,add:function(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}},add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)},[tf,tm]=tp.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))),tv=new Uint32Array(80),tb=new Uint32Array(80);class ty extends W{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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)tv[i]=e.getUint32(t),tb[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|tv[e-15],i=0|tb[e-15],n=tp.rotrSH(t,i,1)^tp.rotrSH(t,i,8)^tp.shrSH(t,i,7),r=tp.rotrSL(t,i,1)^tp.rotrSL(t,i,8)^tp.shrSL(t,i,7),o=0|tv[e-2],s=0|tb[e-2],a=tp.rotrSH(o,s,19)^tp.rotrBH(o,s,61)^tp.shrSH(o,s,6),l=tp.rotrSL(o,s,19)^tp.rotrBL(o,s,61)^tp.shrSL(o,s,6),u=tp.add4L(r,l,tb[e-7],tb[e-16]),d=tp.add4H(u,n,a,tv[e-7],tv[e-16]);tv[e]=0|d,tb[e]=0|u}let{Ah:i,Al:n,Bh:r,Bl:o,Ch:s,Cl:a,Dh:l,Dl:u,Eh:d,El:c,Fh:h,Fl:g,Gh:p,Gl:f,Hh:m,Hl:v}=this;for(let e=0;e<80;e++){let t=tp.rotrSH(d,c,14)^tp.rotrSH(d,c,18)^tp.rotrBH(d,c,41),b=tp.rotrSL(d,c,14)^tp.rotrSL(d,c,18)^tp.rotrBL(d,c,41),y=d&h^~d&p,_=c&g^~c&f,w=tp.add5L(v,b,_,tm[e],tb[e]),C=tp.add5H(w,m,t,y,tf[e],tv[e]),S=0|w,x=tp.rotrSH(i,n,28)^tp.rotrBH(i,n,34)^tp.rotrBH(i,n,39),k=tp.rotrSL(i,n,28)^tp.rotrBL(i,n,34)^tp.rotrBL(i,n,39),E=i&r^i&s^r&s,L=n&o^n&a^o&a;m=0|p,v=0|f,p=0|h,f=0|g,h=0|d,g=0|c,({h:d,l:c}=tp.add(0|l,0|u,0|C,0|S)),l=0|s,u=0|a,s=0|r,a=0|o,r=0|i,o=0|n;let D=tp.add3L(S,k,L);i=tp.add3H(D,C,x,E),n=0|D}({h:i,l:n}=tp.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:r,l:o}=tp.add(0|this.Bh,0|this.Bl,0|r,0|o)),({h:s,l:a}=tp.add(0|this.Ch,0|this.Cl,0|s,0|a)),({h:l,l:u}=tp.add(0|this.Dh,0|this.Dl,0|l,0|u)),({h:d,l:c}=tp.add(0|this.Eh,0|this.El,0|d,0|c)),({h:h,l:g}=tp.add(0|this.Fh,0|this.Fl,0|h,0|g)),({h:p,l:f}=tp.add(0|this.Gh,0|this.Gl,0|p,0|f)),({h:m,l:v}=tp.add(0|this.Hh,0|this.Hl,0|m,0|v)),this.set(i,n,r,o,s,a,l,u,d,c,h,g,p,f,m,v)}roundClean(){tv.fill(0),tb.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)}}let t_=V(()=>new ty),tw=BigInt(0),tC=BigInt(1),tS=BigInt(2),tx=BigInt(8),tk={zip215:!0},tE=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),tL=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),tD=(BigInt(0),BigInt(1)),tN=BigInt(2),tA=BigInt(5),tT=BigInt(10),tI=BigInt(20),tM=BigInt(40),tR=BigInt(80),tP=eL(tE,void 0,!0),tO={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:tP,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:t_,randomBytes:H,adjustScalarBytes:function(e){return e[0]&=248,e[31]&=127,e[31]|=64,e},uvRatio:function(e,t){var i;let n,r,o,s,a,l,u,d,c,h;let g=ew(t*t*t,tE),p=(r=eC(n=(i=e*ew(g*g*t,tE))*i%tE*i%tE,tN,tE)*n%tE,o=eC(r,tD,tE)*i%tE,s=eC(o,tA,tE)*o%tE,a=eC(s,tT,tE)*s%tE,l=eC(a,tI,tE)*a%tE,u=eC(l,tM,tE)*l%tE,d=eC(u,tR,tE)*u%tE,c=eC(d,tR,tE)*u%tE,h=eC(c,tT,tE)*s%tE,{pow_p_5_8:eC(h,tN,tE)*i%tE,b2:n}).pow_p_5_8,f=ew(e*g*p,tE),m=ew(t*f*f,tE),v=f,b=ew(f*tL,tE),y=m===e,_=m===ew(-e,tE),w=m===ew(-e*tL,tE);return y&&(f=v),(_||w)&&(f=b),ex(f,tE)&&(f=ew(-f,tE)),{isValid:y||_,value:f}}},tF=function(e){let t;let i=(t=eP(e),eg(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})),{Fp:n,n:r,prehash:o,hash:s,randomBytes:a,nByteLength:l,h:u}=i,d=tS<{try{return{isValid:!0,value:n.sqrt(e*n.inv(t))}}catch(e){return{isValid:!1,value:tw}}}),g=i.adjustScalarBytes||(e=>e),p=i.domain||((e,t,i)=>{if(t.length||i)throw Error("Contexts/pre-hash are not supported");return e}),f=e=>"bigint"==typeof e&&twf(e)&&f(t)&&ee===tw||m(e,d);function b(e,t){if(m(e,t))return e;throw Error(`Expected valid scalar < ${t}, got ${typeof e} ${e}`)}function y(e){return e===tw?e:b(e,r)}let _=new Map;function w(e){if(!(e instanceof C))throw Error("ExtendedPoint expected")}class C{constructor(e,t,i,n){if(this.ex=e,this.ey=t,this.ez=i,this.et=n,!v(e))throw Error("x required");if(!v(t))throw Error("y required");if(!v(i))throw Error("z required");if(!v(n))throw Error("t required")}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof C)throw Error("extended point not allowed");let{x:t,y:i}=e||{};if(!v(t)||!v(i))throw Error("invalid affine point");return new C(t,i,tC,c(t*i))}static normalizeZ(e){let t=n.invertBatch(e.map(e=>e.ez));return e.map((e,i)=>e.toAffine(t[i])).map(C.fromAffine)}_setWindowSize(e){this._WINDOW_SIZE=e,_.delete(this)}assertValidity(){let{a:e,d:t}=i;if(this.is0())throw Error("bad point: ZERO");let{ex:n,ey:r,ez:o,et:s}=this,a=c(n*n),l=c(r*r),u=c(o*o),d=c(u*u),h=c(a*e);if(c(u*c(h+l))!==c(d+c(t*c(a*l))))throw Error("bad point: equation left != right (1)");if(c(n*r)!==c(o*s))throw Error("bad point: equation left != right (2)")}equals(e){w(e);let{ex:t,ey:i,ez:n}=this,{ex:r,ey:o,ez:s}=e,a=c(t*s),l=c(r*n),u=c(i*s),d=c(o*n);return a===l&&u===d}is0(){return this.equals(C.ZERO)}negate(){return new C(c(-this.ex),this.ey,this.ez,c(-this.et))}double(){let{a:e}=i,{ex:t,ey:n,ez:r}=this,o=c(t*t),s=c(n*n),a=c(tS*c(r*r)),l=c(e*o),u=t+n,d=c(c(u*u)-o-s),h=l+s,g=h-a,p=l-s,f=c(d*g),m=c(h*p),v=c(d*p),b=c(g*h);return new C(f,m,b,v)}add(e){w(e);let{a:t,d:n}=i,{ex:r,ey:o,ez:s,et:a}=this,{ex:l,ey:u,ez:d,et:h}=e;if(t===BigInt(-1)){let e=c((o-r)*(u+l)),t=c((o+r)*(u-l)),i=c(t-e);if(i===tw)return this.double();let n=c(s*tS*h),g=c(a*tS*d),p=g+n,f=t+e,m=g-n,v=c(p*i),b=c(f*m),y=c(p*m),_=c(i*f);return new C(v,b,_,y)}let g=c(r*l),p=c(o*u),f=c(a*n*h),m=c(s*d),v=c((r+o)*(l+u)-g-p),b=m-f,y=m+f,_=c(p-t*g),S=c(v*b),x=c(y*_),k=c(v*_),E=c(b*y);return new C(S,x,E,k)}subtract(e){return this.add(e.negate())}wNAF(e){return k.wNAFCached(this,_,e,C.normalizeZ)}multiply(e){let{p:t,f:i}=this.wNAF(b(e,r));return C.normalizeZ([t,i])[0]}multiplyUnsafe(e){let t=y(e);return t===tw?x:this.equals(x)||t===tC?this:this.equals(S)?this.wNAF(t).p:k.unsafeLadder(this,t)}isSmallOrder(){return this.multiplyUnsafe(u).is0()}isTorsionFree(){return k.unsafeLadder(this,r).is0()}toAffine(e){let{ex:t,ey:i,ez:r}=this,o=this.is0();null==e&&(e=o?tx:n.inv(r));let s=c(t*e),a=c(i*e),l=c(r*e);if(o)return{x:tw,y:tC};if(l!==tC)throw Error("invZ was invalid");return{x:s,y:a}}clearCofactor(){let{h:e}=i;return e===tC?this:this.multiplyUnsafe(e)}static fromHex(e,t=!1){let{d:r,a:o}=i,s=n.BYTES,a=(e=es("pointHex",e,s)).slice(),l=e[s-1];a[s-1]=-129&l;let u=en(a);u===tw||(t?b(u,d):b(u,n.ORDER));let g=c(u*u),{isValid:p,value:f}=h(c(g-tC),c(r*g-o));if(!p)throw Error("Point.fromHex: invalid y coordinate");let m=(f&tC)===tC,v=(128&l)!=0;if(!t&&f===tw&&v)throw Error("Point.fromHex: x=0 and x_0=1");return v!==m&&(f=c(-f)),C.fromAffine({x:f,y:u})}static fromPrivateKey(e){return E(e).point}toRawBytes(){let{x:e,y:t}=this.toAffine(),i=eo(t,n.BYTES);return i[i.length-1]|=e&tC?128:0,i}toHex(){return X(this.toRawBytes())}}C.BASE=new C(i.Gx,i.Gy,tC,c(i.Gx*i.Gy)),C.ZERO=new C(tw,tC,tC,tw);let{BASE:S,ZERO:x}=C,k=eR(C,8*l);function E(e){e=es("private key",e,l);let t=es("hashed private key",s(e),2*l),i=g(t.slice(0,l)),n=t.slice(l,2*l),o=ew(en(i),r),a=S.multiply(o),u=a.toRawBytes();return{head:i,prefix:n,scalar:o,point:a,pointBytes:u}}function L(e=new Uint8Array,...t){return ew(en(s(p(ea(...t),es("context",e),!!o))),r)}return S._setWindowSize(8),{CURVE:i,getPublicKey:function(e){return E(e).pointBytes},sign:function(e,t,i={}){e=es("message",e),o&&(e=o(e));let{prefix:s,scalar:a,pointBytes:u}=E(t),d=L(i.context,s,e),c=S.multiply(d).toRawBytes(),h=ew(d+L(i.context,c,u,e)*a,r);return y(h),es("result",ea(c,eo(h,n.BYTES)),2*l)},verify:function(e,t,i,r=tk){let s,a,l;let{context:u,zip215:d}=r,c=n.BYTES;e=es("signature",e,2*c),t=es("message",t),o&&(t=o(t));let h=en(e.slice(c,2*c));try{s=C.fromHex(i,d),a=C.fromHex(e.slice(0,c),d),l=S.multiplyUnsafe(h)}catch(e){return!1}if(!d&&s.isSmallOrder())return!1;let g=L(u,a.toRawBytes(),s.toRawBytes(),t);return a.add(s.multiplyUnsafe(g)).subtract(l).clearCofactor().equals(C.ZERO)},ExtendedPoint:C,utils:{getExtendedPublicKey:E,randomPrivateKey:()=>a(n.BYTES),precompute:(e=8,t=C.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}}(tO);({...tO});let tB=(tP.ORDER+BigInt(3))/BigInt(8);tP.pow(tN,tB),tP.sqrt(tP.neg(tP.ONE)),tP.ORDER,BigInt(5),BigInt(8),BigInt(486662),function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);e.isOdd(i)&&e.neg(i)}(tP,tP.neg(BigInt(486664))),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");let tV=tF.CURVE,tH="ed25519",tW=(0,N.qX)("ed25519 seed"),tj=e=>!0,tz=!1,tU=33,t$=(e,t)=>{let i=tF.getPublicKey(e);return(0,N.eV)([new Uint8Array([0]),i])},tq=(e,t)=>{throw Error("Ed25519 does not support public key derivation.")},tK=e=>e,tG=e=>e,tZ=32,tY="slip10",tQ=33;var tJ=i(94663);let tX=tF.CURVE,t0="ed25519Bip32",t1=(0,N.qX)("");function t2(e,t){let i=e[t];return(0,f.hu)(void 0!==i,"Private key is too short."),i}let t6=e=>(7&t2(e,0))==0&&(128&t2(e,31))==0&&(64&t2(e,31))==64,t3=!0,t8=32,t5=e=>(0,tJ.y_)((0,N.ci)(Uint8Array.from(e).reverse())),t4=e=>{let t=ew(t5(e),tX.n);return tF.ExtendedPoint.BASE.multiply(t).toRawBytes()},t9=async(e,t)=>t4(e.slice(0,32)),t7=(e,t)=>tF.ExtendedPoint.fromHex((0,N.BG)((0,N.ci)(e))).add(tF.ExtendedPoint.fromHex((0,N.BG)((0,N.ci)(t)))).toRawBytes(),ie=e=>e,it=e=>e,ii=64,ir="cip3",io=32,is={secp256k1:d,ed25519:l,ed25519Bip32:u};function ia({account:e=0,change:t=0,address_index:i}){return[il(e),id(t),id(i)]}function il(e){return ic(e),`${iu(e)}'`}function iu(e){return ic(e),`bip32:${e}`}function id(e){if("number"==typeof e)return iu(e);if(!e||!Number.isInteger(e.index)||"boolean"!=typeof e.hardened)throw Error("Invalid BIP-32 index: Must be an object containing the index and whether it is hardened.");return e.hardened?il(e.index):iu(e.index)}function ic(e){if(!(iv(e)&&e<=_))throw Error("Invalid BIP-32 index: Must be a non-negative integer.")}function ih(e){if("string"!=typeof e)return!1;let t=e.match(S);if(void 0===t?.groups?.index)return!1;let i=parseInt(t.groups.index,10);return iv(i)&&i<=y}function ig(e){return e.endsWith("'")}function ip(e){return e instanceof Uint8Array?e:(0,N.nr)(e)}function im(e,t){if(e.length!==t)return!1;for(let t of e)if(0!==t)return!0;return!1}function iv(e){return"number"==typeof e&&Number.isInteger(e)&&e>=0}function ib(e,t){if(e instanceof Uint8Array)return iy(e,t),e;if("string"==typeof e){let i=(0,N.nr)(e);return iy(i,t),i}throw Error("Invalid value: Expected an instance of Uint8Array or hexadecimal string.")}function iy(e,t){if(!im(e,t))throw Error(`Invalid value: Must be a non-zero ${t}-byte byte array.`)}let i_=e=>{let t=(0,td.Av)(tu);try{return t.decode(e)}catch{throw Error("Invalid extended key: Value is not base58-encoded, or the checksum is invalid.")}},iw=e=>(0,td.Av)(tu).encode(e),iC=(e,t)=>{if(!im(e,t))throw Error(`Invalid public key: The key must be a ${t}-byte, non-zero byte array.`);let i=tr(tu(e));return(0,N.Vp)(i).getUint32(0,!1)};function iS(e){let t=e.split(" ").map(e=>{let t=eZ.U.indexOf(e);return(0,f.hu)(-1!==t,`Invalid mnemonic phrase: Unknown word "${e}".`),t});return new Uint8Array(new Uint16Array(t).buffer)}function ix(e){if(!e||"string"!=typeof e)throw Error("Invalid curve: Must specify a curve.");if(!Object.keys(is).includes(e))throw Error(`Invalid curve: Only the following curves are supported: ${Object.keys(is).join(", ")}.`)}function ik(e,t=!1){let i=new Uint8Array(4);return(0,N.Vp)(i).setUint32(0,e,t),i}let iE=eG.CURVE,iL="secp256k1",iD=(0,N.qX)("Bitcoin seed"),iN=!0,iA=65,iT=e=>eG.utils.isValidPrivateKey(e),iI=(e,t=!1)=>eG.getPublicKey(e,t),iM=(e,t)=>{(0,f.hu)(im(t,32),"Invalid tweak: Tweak must be a non-zero 32-byte Uint8Array.");let i=eG.ProjectivePoint.fromHex(e).add(eG.ProjectivePoint.fromPrivateKey(t));return i.assertValidity(),i.toRawBytes(!1)},iR=e=>eG.ProjectivePoint.fromHex(e).toRawBytes(!0),iP=e=>eG.ProjectivePoint.fromHex(e).toRawBytes(!1),iO=32,iF="slip10",iB=33,iV=e=>{let t=i_(e);if(78!==t.length)throw Error(`Invalid extended key: Expected a length of 78, got ${t.length}.`);let i=(0,N.Vp)(t),n=i.getUint32(0,!1),r=i.getUint8(4);nW(r);let o=i.getUint32(5,!1),s=i.getUint32(9,!1),a=t.slice(13,45);if(!im(a,32))throw Error("Invalid extended key: Chain code must be a 32-byte non-zero byte array.");let l=t.slice(45,78);if(!im(l,33))throw Error("Invalid extended key: Key must be a 33-byte non-zero byte array.");let u=(0,N.Vp)(l);if(76067358===n){if(2!==u.getUint8(0)&&3!==u.getUint8(0))throw Error("Invalid extended key: Public key must start with 0x02 or 0x03.");return{version:n,depth:r,parentFingerprint:o,index:s,chainCode:a,publicKey:iP(l)}}if(76066276===n){if(0!==u.getUint8(0))throw Error("Invalid extended key: Private key must start with 0x00.");return{version:n,depth:r,parentFingerprint:o,index:s,chainCode:a,privateKey:l.slice(1)}}throw Error("Invalid extended key: Expected a public (xpub) or private key (xprv) version.")},iH=e=>{let{version:t,depth:i,parentFingerprint:n,index:r,chainCode:o}=e,s=new Uint8Array(78),a=(0,N.Vp)(s);if(a.setUint32(0,t,!1),a.setUint8(4,i),a.setUint32(5,n,!1),a.setUint32(9,r,!1),s.set(o,13),76067358===e.version){let{publicKey:t}=e,i=iR(t);s.set(i,45)}if(76066276===e.version){let{privateKey:t}=e;s.set(t,46)}return iw(s)};var iW=function(e,t,i,n,r){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!r)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,i):r?r.value=i:t.set(e,i),i},ij=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};let iz=2;class iU{constructor(e,t){n.set(this,void 0),iW(this,n,e,"f"),this.coin_type=t,this.path=`m / ${w} / ${il(t)}`,Object.freeze(this)}static async fromJSON(e,t){iq(t),i$(e.depth);let i=await nH.fromExtendedKey({depth:e.depth,index:e.index,parentFingerprint:e.parentFingerprint,chainCode:ip(e.chainCode),privateKey:function(e){if(void 0!==e)return ip(e)}(e.privateKey),publicKey:ip(e.publicKey)});return new iU(i,t)}static async fromDerivationPath(e){i$(e.length-1);let t=await nH.fromDerivationPath({derivationPath:e}),i=e[iz].split(":")[1]?.replace("'","");(0,f.hu)(i,"Invalid derivation path.");let n=Number.parseInt(i,10);return new iU(t,n)}static async fromNode(e,t){if(!(e instanceof nH))throw Error("Invalid node: Expected an instance of BIP44Node.");return iq(t),i$(e.depth),Promise.resolve(new iU(e,t))}get depth(){return ij(this,n,"f").depth}get privateKeyBytes(){return ij(this,n,"f").privateKeyBytes}get publicKeyBytes(){return ij(this,n,"f").publicKeyBytes}get chainCodeBytes(){return ij(this,n,"f").chainCodeBytes}get privateKey(){return ij(this,n,"f").privateKey}get publicKey(){return ij(this,n,"f").publicKey}get compressedPublicKey(){return ij(this,n,"f").compressedPublicKey}get compressedPublicKeyBytes(){return ij(this,n,"f").compressedPublicKeyBytes}get chainCode(){return ij(this,n,"f").chainCode}get address(){return ij(this,n,"f").address}get masterFingerprint(){return ij(this,n,"f").masterFingerprint}get parentFingerprint(){return ij(this,n,"f").parentFingerprint}get fingerprint(){return ij(this,n,"f").fingerprint}get index(){return ij(this,n,"f").index}get curve(){return ij(this,n,"f").curve}get extendedKey(){return ij(this,n,"f").extendedKey}async deriveBIP44AddressKey({account:e=0,change:t=0,address_index:i}){return await ij(this,n,"f").derive(ia({account:e,change:t,address_index:i}))}toJSON(){return{...ij(this,n,"f").toJSON(),coin_type:this.coin_type,path:this.path}}}function i$(e){if(e!==iz)throw Error(`Invalid depth: Coin type nodes must be of depth ${iz}. Received: "${e}"`)}function iq(e){if("number"!=typeof e||!Number.isInteger(e)||e<0)throw Error("Invalid coin type: The specified coin type must be a non-negative integer number.")}async function iK(e,{account:t=0,change:i=0,address_index:n}){let r=ia({account:t,change:i,address_index:n}),o=await iZ(e),s=await nF({path:r,node:o});return new nH(s)}async function iG(e,t){var i,n;let{account:r=0,change:o=0}=t??{},s=await iZ(e),a=il(r),l=id(o),u=async(e,t=!1)=>{let i=await nF({path:[a,l,t?il(e):iu(e)],node:s});return new nH(i)};return u.coin_type=s.coin_type,u.path=(i=s.path,n={account:r,change:o},`${i} / ${il(n.account??0)} / ${id(n.change??0)}`),Object.freeze(u),u}async function iZ(e){if(e instanceof iU)return i$(e.depth),e;if("string"==typeof e){let t=await nH.fromExtendedKey(e),i=await iU.fromNode(t,t.index-D);return i$(i.depth),i}return iU.fromJSON(e,e.coin_type)}n=new WeakMap;var iY=i(91374);class iQ extends eQ.kb{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,eY.vp)(e);let i=(0,eQ.O0)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,r=new Uint8Array(n);r.set(i.length>n?e.create().update(i).digest():i);for(let e=0;enew iQ(e,t).update(i).digest();iJ.create=(e,t)=>new iQ(e,t);var iX=i(4307);let[i0,i1]=iX.ZP.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))),i2=new Uint32Array(80),i6=new Uint32Array(80);class i3 extends e0{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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)i2[i]=e.getUint32(t),i6[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|i2[e-15],i=0|i6[e-15],n=iX.ZP.rotrSH(t,i,1)^iX.ZP.rotrSH(t,i,8)^iX.ZP.shrSH(t,i,7),r=iX.ZP.rotrSL(t,i,1)^iX.ZP.rotrSL(t,i,8)^iX.ZP.shrSL(t,i,7),o=0|i2[e-2],s=0|i6[e-2],a=iX.ZP.rotrSH(o,s,19)^iX.ZP.rotrBH(o,s,61)^iX.ZP.shrSH(o,s,6),l=iX.ZP.rotrSL(o,s,19)^iX.ZP.rotrBL(o,s,61)^iX.ZP.shrSL(o,s,6),u=iX.ZP.add4L(r,l,i6[e-7],i6[e-16]),d=iX.ZP.add4H(u,n,a,i2[e-7],i2[e-16]);i2[e]=0|d,i6[e]=0|u}let{Ah:i,Al:n,Bh:r,Bl:o,Ch:s,Cl:a,Dh:l,Dl:u,Eh:d,El:c,Fh:h,Fl:g,Gh:p,Gl:f,Hh:m,Hl:v}=this;for(let e=0;e<80;e++){let t=iX.ZP.rotrSH(d,c,14)^iX.ZP.rotrSH(d,c,18)^iX.ZP.rotrBH(d,c,41),b=iX.ZP.rotrSL(d,c,14)^iX.ZP.rotrSL(d,c,18)^iX.ZP.rotrBL(d,c,41),y=d&h^~d&p,_=c&g^~c&f,w=iX.ZP.add5L(v,b,_,i1[e],i6[e]),C=iX.ZP.add5H(w,m,t,y,i0[e],i2[e]),S=0|w,x=iX.ZP.rotrSH(i,n,28)^iX.ZP.rotrBH(i,n,34)^iX.ZP.rotrBH(i,n,39),k=iX.ZP.rotrSL(i,n,28)^iX.ZP.rotrBL(i,n,34)^iX.ZP.rotrBL(i,n,39),E=i&r^i&s^r&s,L=n&o^n&a^o&a;m=0|p,v=0|f,p=0|h,f=0|g,h=0|d,g=0|c,({h:d,l:c}=iX.ZP.add(0|l,0|u,0|C,0|S)),l=0|s,u=0|a,s=0|r,a=0|o,r=0|i,o=0|n;let D=iX.ZP.add3L(S,k,L);i=iX.ZP.add3H(D,C,x,E),n=0|D}({h:i,l:n}=iX.ZP.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:r,l:o}=iX.ZP.add(0|this.Bh,0|this.Bl,0|r,0|o)),({h:s,l:a}=iX.ZP.add(0|this.Ch,0|this.Cl,0|s,0|a)),({h:l,l:u}=iX.ZP.add(0|this.Dh,0|this.Dl,0|l,0|u)),({h:d,l:c}=iX.ZP.add(0|this.Eh,0|this.El,0|d,0|c)),({h:h,l:g}=iX.ZP.add(0|this.Fh,0|this.Fl,0|h,0|g)),({h:p,l:f}=iX.ZP.add(0|this.Gh,0|this.Gl,0|p,0|f)),({h:m,l:v}=iX.ZP.add(0|this.Hh,0|this.Hl,0|m,0|v)),this.set(i,n,r,o,s,a,l,u,d,c,h,g,p,f,m,v)}roundClean(){i2.fill(0),i6.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)}}let i8=(0,eQ.hE)(()=>new i3);async function i5({path:e,node:t,curve:i},n){nr(t);let{childIndex:r,isHardened:o}=no(e,t,i),s={chainCode:t.chainCodeBytes,childIndex:r,isHardened:o,depth:t.depth,parentFingerprint:t.fingerprint,masterFingerprint:t.masterFingerprint,curve:i};if(t.privateKeyBytes){let e=await i9({privateKey:t.privateKeyBytes,childIndex:r,isHardened:o,curve:i}),a=nn({chainCode:t.chainCodeBytes,extension:e});return await i4({privateKey:t.privateKeyBytes,entropy:a,...s},n)}let a=i7({parentPublicKey:t.compressedPublicKeyBytes,childIndex:r}),l=nn({chainCode:t.chainCodeBytes,extension:a});return await i4({publicKey:t.compressedPublicKeyBytes,entropy:l,...s},n)}async function i4(e,t){let{privateKey:i,publicKey:n,entropy:r,childIndex:o,isHardened:s,depth:a,parentFingerprint:l,masterFingerprint:u,curve:d}=e;try{if(i)return await nt({entropy:r,privateKey:i,depth:a,masterFingerprint:u,parentFingerprint:l,childIndex:o,isHardened:s,curve:d});return await ni({entropy:r,publicKey:n,depth:a,masterFingerprint:u,parentFingerprint:l,childIndex:o,curve:d})}catch(i){return await i4(await t(i,e),t)}}async function i9({privateKey:e,childIndex:t,isHardened:i,curve:n}){return i?(0,N.eV)([new Uint8Array([0]),e,ik(t+D)]):i7({parentPublicKey:await n.getPublicKey(e,!0),childIndex:t})}function i7({parentPublicKey:e,childIndex:t}){return(0,N.eV)([e,ik(t)])}async function ne({privateKey:e,entropy:t,curve:i}){let n=t.slice(0,32),r=t.slice(32);if("ed25519"===i.name){let e=await i.getPublicKey(n);return{privateKey:n,publicKey:e,chainCode:r}}let o=function(e,t,i){(0,f.hu)(im(t,32),"Invalid tweak: Tweak must be a non-zero 32-byte Uint8Array.");let n=(0,N.v3)(e),r=(0,N.v3)(t);if(r>=i.curve.n)throw Error("Invalid tweak: Tweak is larger than the curve order.");let o=ew(n+r,i.curve.n),s=(0,N.nr)(o.toString(16).padStart(64,"0"));if(!i.isValidPrivateKey(s))throw Error("Invalid private key or tweak: The resulting private key is invalid.");return s}(e,n,i),s=await i.getPublicKey(o);return{privateKey:o,publicKey:s,chainCode:r}}async function nt({entropy:e,privateKey:t,depth:i,masterFingerprint:n,parentFingerprint:r,childIndex:o,isHardened:s,curve:a}){let l=o+(s?D:0),{privateKey:u,chainCode:d}=await ne({privateKey:t,entropy:e,curve:a});return await nP.fromExtendedKey({privateKey:u,chainCode:d,depth:i+1,masterFingerprint:n,parentFingerprint:r,index:l,curve:a.name})}async function ni({entropy:e,publicKey:t,depth:i,masterFingerprint:n,parentFingerprint:r,childIndex:o,curve:s}){let{publicKey:a,chainCode:l}=function({publicKey:e,entropy:t,curve:i}){let n=t.slice(0,32),r=t.slice(32);return{publicKey:i.publicAdd(e,n),chainCode:r}}({publicKey:t,entropy:e,curve:s});return await nP.fromExtendedKey({publicKey:a,chainCode:l,depth:i+1,masterFingerprint:n,parentFingerprint:r,index:o,curve:s.name})}function nn({chainCode:e,extension:t}){return iJ(i8,e,t)}function nr(e){(0,f.hu)(e,"Invalid parameters: Must specify a node to derive from.")}function no(e,t,i){let n;(0,f.hu)("string"==typeof e,"Invalid path: Must be a string."),n=e.endsWith("'"),(0,f.hu)(!n||t.privateKey,"Invalid parameters: Cannot derive hardened child keys without a private key."),(0,f.hu)(n||i.deriveUnhardenedKeys,`Invalid path: Cannot derive unhardened child keys with ${i.name}.`);let r=e.split("'")[0];(0,f.hu)(r);let o=parseInt(r,10);if(!C.test(r)||!Number.isInteger(o)||o<0||o>=D)throw Error(`Invalid path: The index must be a non-negative decimal integer less than ${D}.`);return{childIndex:o,isHardened:e.includes("'")}}function ns(e){return(0,f.hu)(e instanceof Uint8Array&&im(e,m),"Invalid key: The key must be a 32-byte, non-zero Uint8Array."),na(iI(e,!1))}function na(e){return(0,f.hu)(e instanceof Uint8Array&&im(e,iA),"Invalid key: The key must be a 65-byte, non-zero Uint8Array."),(0,iY.fr)(e.slice(1)).slice(-20)}async function nl(e){return(0,f.hu)("secp256k1"===e.curve.name,"Invalid curve: Only secp256k1 is supported by BIP-32."),i5(e,nu)}async function nu(e,t){let{childIndex:i,privateKey:n,publicKey:r,isHardened:o,curve:s,chainCode:a}=t;if(ic(i+1),n){let e=nn({chainCode:a,extension:await i9({privateKey:n,childIndex:i+1,isHardened:o,curve:s})});return{...t,childIndex:i+1,entropy:e}}let l=nn({chainCode:a,extension:i7({parentPublicKey:r,childIndex:i+1})});return{...t,childIndex:i+1,entropy:l}}var nd=i(91763);function nc(e){return`bip39:${e.toLowerCase().trim()}`}async function nh({path:e,curve:t}){switch(t.masterNodeGenerationSpec){case"slip10":return ng(await (0,nd.OI)(e,eZ.U),t);case"cip3":return np((0,nd.oy)(e,eZ.U),t);default:throw Error("Unsupported master node generation spec.")}}async function ng(e,t){(0,f.hu)(e.length>=16&&e.length<=64,"Invalid seed: The seed must be between 16 and 64 bytes long.");let i=iJ(i8,t.secret,e),n=i.slice(0,m),r=i.slice(m);(0,f.hu)(t.isValidPrivateKey(n),"Invalid private key: The private key must greater than 0 and less than the curve order.");let o=iC(await t.getPublicKey(n,!0),t.compressedPublicKeyLength);return nP.fromExtendedKey({privateKey:n,chainCode:r,masterFingerprint:o,depth:0,parentFingerprint:0,index:0,curve:t.name})}async function np(e,t){(0,f.hu)(e.length>=16&&e.length<=64,"Invalid entropy: The entropy must be between 16 and 64 bytes long.");let i=function(e,t,i,n){var r;let o;let{c:s,dkLen:a,DK:l,PRF:u,PRFSalt:d}=function(e,t,i,n){(0,eY.vp)(e);let{c:r,dkLen:o,asyncTick:s}=(0,eQ.U5)({dkLen:32,asyncTick:10},n);if((0,eY.Rx)(r),(0,eY.Rx)(o),(0,eY.Rx)(s),r<1)throw Error("PBKDF2: iterations (c) should be >= 1");let a=(0,eQ.O0)(t),l=(0,eQ.O0)(i),u=new Uint8Array(o),d=iJ.create(e,a),c=d._cloneInto().update(l);return{c:r,dkLen:o,asyncTick:s,DK:u,PRF:d,PRFSalt:c}}(e,t,i,n),c=new Uint8Array(4),h=(0,eQ.GL)(c),g=new Uint8Array(u.outputLen);for(let e=1,t=0;te.slice().reverse(),nm=e=>{let t=nf(e);return BigInt((0,N.ci)(t))},nv=e=>{let t=e.toString(16);return nf((0,N.nr)(t))},nb=e=>(0,N.eV)([e,new Uint8Array(Math.max(32-e.length,0)).fill(0)]),ny=e=>nb(nv(nm(e.slice(0,28))*BigInt(8))),n_=e=>nb(nv(ew(nm(e),BigInt(2)**BigInt(256)))),nw=(e,t)=>nb(nv(nm(e)+nm(t))).slice(0,32),nC=(e,t,i)=>(0,N.eV)([new Uint8Array([e]),t,ik(i,!0)]),nS={normal:2,hardened:0},nx=async({parentNode:e,childIndex:t,isHardened:i})=>{let n=i?nC(nS.hardened,e.privateKeyBytes,t+D):nC(nS.normal,e.publicKeyBytes,t),r=nn({chainCode:e.chainCodeBytes,extension:n}),o=r.subarray(0,32),s=r.subarray(32),a=e.privateKeyBytes.subarray(0,32),l=e.privateKeyBytes.subarray(32),u=nw(ny(o),a),d=nw(s,l);return(0,N.eV)([u,d])},nk={normal:3,hardened:1},nE=async({parentNode:e,childIndex:t,isHardened:i})=>{let n=i?nC(nk.hardened,e.privateKeyBytes,t+D):nC(nk.normal,e.publicKeyBytes,t);return nn({chainCode:e.chainCodeBytes,extension:n}).subarray(32)},nL=async({parentNode:e,childIndex:t,curve:i})=>{let n=nC(2,e.publicKeyBytes,t),r=nn({chainCode:e.chainCodeBytes,extension:n}).slice(0,32),o=await i.getPublicKey(ny(r));return i.publicAdd(e.publicKeyBytes,o)};async function nD(e){let{curve:t,node:i,path:n}=e;nr(i);let{childIndex:r,isHardened:o}=no(n,i,t);if("ed25519Bip32"!==t.name||!i)throw Error("Unsupported curve: Only ed25519Bip32 is supported by CIP3.");let s=r+(o?D:0),{privateKeyBytes:a,chainCodeBytes:l,publicKeyBytes:u,masterFingerprint:d,depth:c,fingerprint:h}=i;if(a){let e={privateKeyBytes:a,chainCodeBytes:l,publicKeyBytes:u},i=await nx({parentNode:e,childIndex:r,isHardened:o}),n=await nE({parentNode:e,childIndex:r,isHardened:o});return nP.fromExtendedKey({privateKey:(0,N.ci)(i),chainCode:(0,N.ci)(n),masterFingerprint:d,depth:c+1,parentFingerprint:h,index:s,curve:t.name})}(0,f.hu)(!o,"Invalid parameters: Cannot derive hardened child keys without a private key.");let g={chainCodeBytes:l,publicKeyBytes:u},p=await nL({parentNode:g,childIndex:r,isHardened:!1,curve:t}),m=await nE({parentNode:g,childIndex:r,isHardened:!1});return nP.fromExtendedKey({publicKey:(0,N.ci)(p),chainCode:(0,N.ci)(m),masterFingerprint:d,depth:c+1,parentFingerprint:h,index:s,curve:t.name})}async function nN(e){return await i5(e,nA)}async function nA(e,t){let{curve:i,isHardened:n,childIndex:r,entropy:o,chainCode:s}=t;if("ed25519"===i.name)throw e;let a=n?r+D:r,l=nn({chainCode:s,extension:(0,N.eV)([1,o.slice(32,64),ik(a)])});return{...t,entropy:l}}let nT={bip32:c,bip39:h,slip10:p,cip3:g};async function nI(e){let{path:t,depth:i=t.length}=e,n="node"in e?e.node:void 0,r="curve"in e?e.curve:n?.curve;if(n&&!(n instanceof nP)&&!(n instanceof nH)&&!(n instanceof iU))throw Error("Invalid arguments: Node must be a SLIP-10 node or a BIP-44 node when provided.");if(!r)throw Error("Invalid arguments: Must specify either a parent node or curve.");return function(e,t,i){if(0===e.length)throw Error("Invalid HD path segment: The segment must not be empty.");let n=!1;if(e.forEach((e,t)=>{if(0===t){if(n=e instanceof Uint8Array||L.test(e),!(e instanceof Uint8Array)&&!n&&!x.test(e)&&!k.test(e)&&!E.test(e))throw nM()}else if(e instanceof Uint8Array||!x.test(e)&&!k.test(e)&&!E.test(e))throw nM()}),i===v&&(!n||1!==e.length))throw Error(`Invalid HD path segment: The segment must consist of a single BIP-39 node for depths of ${v}. Received: "${String(e)}".`);if(!t&&!n)throw Error("Invalid derivation parameters: Must specify parent key if the first node of the path segment is not a BIP-39 node.");if(t&&n)throw Error("Invalid derivation parameters: May not specify parent key if the path segment starts with a BIP-39 node.");let r=n?e.slice(1):e;if(r.length>0){let e=r[0]?.split(":")[0];(0,f.hu)(e),(0,f.hu)(r.every(t=>t.startsWith(`${e}:`)),"Invalid HD path segment: Cannot mix 'bip32' and 'slip10' path segments.")}}(t,!!n?.privateKey||!!n?.publicKey,i),await t.reduce(async(e,t,i)=>{let n=await e;if("string"==typeof t){let[e,i]=t.split(":");(0,f.hu)(e),(0,f.hu)(i),(0,f.hu)(e in nT,`Unknown derivation type: "${e}".`);let o=nT[e];return await o.deriveChildKey({path:i,node:n,curve:is[r]})}return(0,f.hu)(0===i,nM()),await nT.bip39.deriveChildKey({path:t,node:n,curve:is[r]})},Promise.resolve(n))}function nM(){return Error("Invalid HD path segment: The path segment is malformed.")}var nR=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};class nP{constructor({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:s,privateKey:a,publicKey:l,curve:u},d){(0,f.hu)(d===nR(nP,r,"f",o),"SLIP10Node can only be constructed using `SLIP10Node.fromJSON`, `SLIP10Node.fromExtendedKey`, or `SLIP10Node.fromDerivationPath`."),this.depth=e,this.masterFingerprint=t,this.parentFingerprint=i,this.index=n,this.chainCodeBytes=s,this.privateKeyBytes=a,this.publicKeyBytes=l,this.curve=u,Object.freeze(this)}static async fromJSON(e){return nP.fromExtendedKey(e)}static async fromExtendedKey({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,privateKey:s,publicKey:a,chainCode:l,curve:u}){let d=ib(l,m);ix(u),nO(e),ic(n),function(e,t){if(0===t&&0!==e)throw Error(`Invalid index: The index of the root node must be 0. Received: "${String(e)}".`)}(n,e),function(e,t){if(!iv(e))throw Error(`Invalid parent fingerprint: The fingerprint must be a positive integer. Received: "${String(e)}".`);if(0===t&&0!==e)throw Error(`Invalid parent fingerprint: The fingerprint of the root node must be 0. Received: "${String(e)}".`);if(t>0&&0===e)throw Error(`Invalid parent fingerprint: The fingerprint of a child node must not be 0. Received: "${String(e)}".`)}(i,e),function(e,t,i){if(e&&i>=2&&e===t)throw Error(`Invalid parent fingerprint: The fingerprint of a child node cannot be equal to the master fingerprint. Received: "${String(t)}".`)}(t,i,e);let c=is[u];if(s){let a=function e(t,i){if(t instanceof Uint8Array)return(0,f.hu)(t.length===i,`Invalid value: Must be a ${i}-byte byte array.`),t;if("string"==typeof t)return e((0,N.nr)(t),i);throw Error("Invalid value: Expected an instance of Uint8Array or hexadecimal string.")}(s,c.privateKeyLength);return(0,f.hu)(c.isValidPrivateKey(a),`Invalid private key: Value is not a valid ${u} private key.`),new nP({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:d,privateKey:a,publicKey:await c.getPublicKey(a),curve:u},nR(this,r,"f",o))}if(a){let s=ib(a,c.publicKeyLength);return new nP({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:d,publicKey:s,curve:u},nR(this,r,"f",o))}throw Error("Invalid options: Must provide either a private key or a public key.")}static async fromDerivationPath({derivationPath:e,curve:t}){if(ix(t),!e)throw Error("Invalid options: Must provide a derivation path.");if(0===e.length)throw Error("Invalid derivation path: May not specify an empty derivation path.");return await nI({path:e,depth:e.length-1,curve:t})}get chainCode(){return(0,N.ci)(this.chainCodeBytes)}get privateKey(){if(this.privateKeyBytes)return(0,N.ci)(this.privateKeyBytes)}get publicKey(){return(0,N.ci)(this.publicKeyBytes)}get compressedPublicKeyBytes(){return is[this.curve].compressPublicKey(this.publicKeyBytes)}get compressedPublicKey(){return(0,N.ci)(this.compressedPublicKeyBytes)}get address(){if("secp256k1"!==this.curve)throw Error("Unable to get address for this node: Only secp256k1 is supported.");return(0,N.ci)(na(this.publicKeyBytes))}get fingerprint(){return iC(this.compressedPublicKeyBytes,is[this.curve].compressedPublicKeyLength)}neuter(){return new nP({depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,chainCode:this.chainCodeBytes,publicKey:this.publicKeyBytes,curve:this.curve},nR(nP,r,"f",o))}async derive(e){return await nF({path:e,node:this})}toJSON(){return{depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,curve:this.curve,privateKey:this.privateKey,publicKey:this.publicKey,chainCode:this.chainCode}}}function nO(e){if(!iv(e))throw Error(`Invalid HD tree path depth: The depth must be a positive integer. Received: "${String(e)}".`)}async function nF({path:e,node:t}){if(0===e.length)throw Error("Invalid HD tree derivation path: Deriving a path of length 0 is not defined.");let i=t.depth+e.length;return nO(i),await nI({path:e,node:t,depth:i})}r=nP,o={value:Symbol("SLIP10Node.constructor")};var nB=function(e,t,i,n,r){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!r)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,i):r?r.value=i:t.set(e,i),i},nV=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};class nH{constructor(e){s.set(this,void 0),nB(this,s,e,"f"),Object.freeze(this)}static async fromJSON(e){return nH.fromExtendedKey(e)}static async fromExtendedKey(e){if("string"==typeof e){let t=iV(e),{chainCode:i,depth:n,parentFingerprint:r,index:o}=t;if(76066276===t.version){let{privateKey:e}=t;return nH.fromExtendedKey({depth:n,parentFingerprint:r,index:o,privateKey:e,chainCode:i})}let{publicKey:s}=t;return nH.fromExtendedKey({depth:n,parentFingerprint:r,index:o,publicKey:s,chainCode:i})}let{privateKey:t,publicKey:i,chainCode:n,depth:r,parentFingerprint:o,index:s}=e;nW(r);let a=await nP.fromExtendedKey({privateKey:t,publicKey:i,chainCode:n,depth:r,parentFingerprint:o,index:s,curve:"secp256k1"});return new nH(a)}static async fromDerivationPath({derivationPath:e}){nW(e.length-1),nj(e,v);let t=await nP.fromDerivationPath({derivationPath:e,curve:"secp256k1"});return new nH(t)}get depth(){return nV(this,s,"f").depth}get privateKeyBytes(){return nV(this,s,"f").privateKeyBytes}get publicKeyBytes(){return nV(this,s,"f").publicKeyBytes}get chainCodeBytes(){return nV(this,s,"f").chainCodeBytes}get privateKey(){return nV(this,s,"f").privateKey}get publicKey(){return nV(this,s,"f").publicKey}get compressedPublicKey(){return nV(this,s,"f").compressedPublicKey}get compressedPublicKeyBytes(){return nV(this,s,"f").compressedPublicKeyBytes}get chainCode(){return nV(this,s,"f").chainCode}get address(){return nV(this,s,"f").address}get masterFingerprint(){return nV(this,s,"f").masterFingerprint}get parentFingerprint(){return nV(this,s,"f").parentFingerprint}get fingerprint(){return nV(this,s,"f").fingerprint}get index(){return nV(this,s,"f").index}get extendedKey(){let e={depth:this.depth,parentFingerprint:this.parentFingerprint,index:this.index,chainCode:this.chainCodeBytes};return this.privateKeyBytes?iH({...e,version:76066276,privateKey:this.privateKeyBytes}):iH({...e,version:76067358,publicKey:this.publicKeyBytes})}get curve(){return nV(this,s,"f").curve}neuter(){let e=nV(this,s,"f").neuter();return new nH(e)}async derive(e){if(this.depth===b)throw Error("Illegal operation: This HD tree node is already a leaf node.");nW(this.depth+e.length),nj(e,this.depth+1);let t=await nV(this,s,"f").derive(e);return new nH(t)}toJSON(){return{depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,privateKey:this.privateKey,publicKey:this.publicKey,chainCode:this.chainCode}}}function nW(e){if(nO(e),eb)throw Error(`Invalid HD tree path depth: The depth must be a positive integer N such that 0 <= N <= 5. Received: "${e}"`)}function nj(e,t){e.forEach((e,i)=>{let n=t+i;if(n===v){if(!(e instanceof Uint8Array)&&!L.test(e))throw Error('Invalid derivation path: The "m" / seed node (depth 0) must be a BIP-39 node.');return}switch((0,f.hu)("string"==typeof e),n){case 1:if(e!==w)throw Error(`Invalid derivation path: The "purpose" node (depth 1) must be the string "${w}".`);break;case 2:if(!x.test(e)||!ig(e))throw Error('Invalid derivation path: The "coin_type" node (depth 2) must be a hardened BIP-32 node.');break;case 3:if(!x.test(e)||!ig(e))throw Error('Invalid derivation path: The "account" node (depth 3) must be a hardened BIP-32 node.');break;case 4:if(!x.test(e))throw Error('Invalid derivation path: The "change" node (depth 4) must be a BIP-32 node.');break;case b:if(!x.test(e))throw Error('Invalid derivation path: The "address_index" node (depth 5) must be a BIP-32 node.')}})}s=new WeakMap},31110:(e,t,i)=>{var n=i(62197),r=i(79826);e.exports=function(e){if("string"==typeof e||"number"==typeof e){var t=new n(1),i=String(e).toLowerCase().trim(),o="0x"===i.substr(0,2)||"-0x"===i.substr(0,3),s=r(i);if("-"===s.substr(0,1)&&(s=r(s.slice(1)),t=new n(-1,10)),!(s=""===s?"0":s).match(/^-?[0-9]+$/)&&s.match(/^[0-9A-Fa-f]+$/)||s.match(/^[a-fA-F]+$/)||!0===o&&s.match(/^[0-9A-Fa-f]+$/))return new n(s,16).mul(t);if((s.match(/^-?[0-9]+$/)||""===s)&&!1===o)return new n(s,10).mul(t)}else if("object"==typeof e&&e.toString&&!e.pop&&!e.push&&e.toString(10).match(/^-?[0-9]+$/)&&(e.mul||e.dividedToIntegerBy))return new n(e.toString(10),10);throw Error("[number-to-bn] while converting number "+JSON.stringify(e)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},44898:(e,t,i)=>{"use strict";async function n(e,t,i,n,{getPermissionsForOrigin:r}){return t.result=Object.values(r()||{}),n()}i.r(t),i.d(t,{CaveatAlreadyExistsError:()=>O,CaveatDoesNotExistError:()=>P,CaveatInvalidJsonError:()=>H,CaveatMergeTypeMismatchError:()=>U,CaveatMergerDoesNotExistError:()=>D,CaveatMissingValueError:()=>V,CaveatMutatorOperation:()=>e_,CaveatSpecificationMismatchError:()=>$,DuplicateCaveatError:()=>z,EndowmentPermissionDoesNotExistError:()=>I,ForbiddenCaveatError:()=>j,InvalidApprovedPermissionError:()=>A,InvalidCaveatError:()=>F,InvalidCaveatFieldsError:()=>W,InvalidCaveatTypeError:()=>B,InvalidCaveatsPropertyError:()=>R,InvalidMergedPermissionsError:()=>N,InvalidSubjectIdentifierError:()=>E,MethodNames:()=>eg,PermissionController:()=>ew,PermissionDoesNotExistError:()=>T,PermissionType:()=>ed,PermissionsRequestNotFoundError:()=>q,SubjectMetadataController:()=>ek,SubjectType:()=>eC,UnrecognizedCaveatTypeError:()=>M,UnrecognizedSubjectError:()=>L,constructPermission:()=>el,decorateWithCaveats:()=>es,findCaveat:()=>eu,hasSpecificationType:()=>ec,internalError:()=>k,invalidParams:()=>S,isRestrictedMethodCaveatSpecification:()=>eo,methodNotFound:()=>C,permissionRpcMethods:()=>en,unauthorized:()=>w,userRejectedRequest:()=>x});var r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_=i(92530);function w(e){return _.gK.unauthorized({message:"Unauthorized to perform action. Try requesting the required permission(s) first. For more information, see: https://docs.metamask.io/guide/rpc-api.html#permissions",data:e.data})}function C(e,t){let i={message:`The method "${e}" does not exist / is not available.`};return void 0!==t&&(i.data=t),_.PY.methodNotFound(i)}function S(e){return _.PY.invalidParams({data:e.data,message:e.message})}function x(e){return _.gK.userRejectedRequest({data:e})}function k(e,t){return _.PY.internal({message:e,data:t})}var E=class extends Error{constructor(e){super(`Invalid subject identifier: "${"string"==typeof e?e:typeof e}"`)}},L=class extends Error{constructor(e){super(`Unrecognized subject: "${e}" has no permissions.`)}},D=class extends Error{constructor(e){super(`Caveat value merger does not exist for type: "${e}"`)}},N=class extends Error{constructor(e,t,i){super(`Invalid merged permissions for subject "${e}": -${t.message}`),this.cause=t,this.data={diff:i}}},A=class extends Error{constructor(e,t,i){super(`Invalid approved permission for origin "${e}" and target "${t}".`),this.data={origin:e,target:t,approvedPermission:i}}},T=class extends Error{constructor(e,t){super(`Subject "${e}" has no permission for "${t}".`)}},I=class extends Error{constructor(e,t){super(`Subject "${t}" has no permission for "${e}".`),t&&(this.data={origin:t})}},M=class extends Error{constructor(e,t,i){super(`Unrecognized caveat type: "${e}"`),this.data={caveatType:e},void 0!==t&&(this.data.origin=t),void 0!==i&&(this.data.target=i)}},R=class extends Error{constructor(e,t,i){super(`The "caveats" property of permission for "${t}" of subject "${e}" is invalid. It must be a non-empty array if specified.`),this.data={origin:e,target:t,caveatsProperty:i}}},P=class extends Error{constructor(e,t,i){super(`Permission for "${t}" of subject "${e}" has no caveat of type "${i}".`)}},O=class extends Error{constructor(e,t,i){super(`Permission for "${t}" of subject "${e}" already has a caveat of type "${i}".`)}},F=class extends _.uc{constructor(e,t,i){super(_.Zk.rpc.invalidParams,"Invalid caveat. Caveats must be plain objects.",{receivedCaveat:e}),this.data={origin:t,target:i}}},B=class extends Error{constructor(e,t,i){super(`Caveat types must be strings. Received: "${typeof e.type}"`),this.data={caveat:e,origin:t,target:i}}},V=class extends Error{constructor(e,t,i){super('Caveat is missing "value" field.'),this.data={caveat:e,origin:t,target:i}}},H=class extends Error{constructor(e,t,i){super('Caveat "value" is invalid JSON.'),this.data={caveat:e,origin:t,target:i}}},W=class extends Error{constructor(e,t,i){super(`Caveat has unexpected number of fields: "${Object.keys(e).length}"`),this.data={caveat:e,origin:t,target:i}}},j=class extends Error{constructor(e,t,i){super(`Permissions for target "${i}" may not have caveats of type "${e}".`),this.data={caveatType:e,origin:t,target:i}}},z=class extends Error{constructor(e,t,i){super(`Permissions for target "${i}" contains multiple caveats of type "${e}".`),this.data={caveatType:e,origin:t,target:i}}},U=class extends Error{constructor(e,t){super(`Cannot merge caveats of different types: "${e}" and "${t}".`),this.data={leftCaveatType:e,rightCaveatType:t}}},$=class extends Error{constructor(e,t){super(`Caveat specification uses a mismatched type. Expected caveats for ${t}`),this.data={caveatSpec:e,permissionType:t}}},q=class extends Error{constructor(e){super(`Permissions request with id "${e}" not found.`)}};i(45372),i(97817),i(62197),i(82775);var K=i(69378),G=i.n(K);function Z(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}async function Y(e,t,i,n,{requestPermissionsForOrigin:r}){let{params:o}=e;if(!Array.isArray(o)||!Z(o[0]))return n(S({data:{request:e}}));let[s]=o,[a]=await r(s);return t.result=Object.values(a),n()}i(48834).Buffer,Error("timeout");var Q=i(56710);async function J(e,t,i,n,{revokePermissionsForOrigin:r}){let{params:o}=e,s=o?.[0];if(!s)return n(S({data:{request:e}}));let a=Object.keys(s);return(0,Q.Of)(a)?(r(a),t.result=null,n()):n(S({data:{request:e}}))}var X=Object.defineProperty,ee=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},et=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},ei=(e,t,i)=>(ee(e,t,"access private method"),i),en={};((e,t)=>{for(var i in t)X(e,i,{get:t[i],enumerable:!0})})(en,{handlers:()=>er});var er=[{methodNames:["wallet_requestPermissions"],implementation:Y,hookNames:{requestPermissionsForOrigin:!0}},{methodNames:["wallet_getPermissions"],implementation:n,hookNames:{getPermissionsForOrigin:!0}},{methodNames:["wallet_revokePermissions"],implementation:J,hookNames:{revokePermissionsForOrigin:!0}}];function eo(e){return(0,Q.l$)(e,"decorator")}function es(e,t,i){let{caveats:n}=t;if(!n)return e;let r=async t=>e(t);for(let e of n){let t=i[e.type];if(!t)throw new M(e.type);if(!eo(t))throw new $(t,"RestrictedMethod");r=t.decorator(r,e)}return r}let ea=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function el(e){let{caveats:t=null,invoker:i,target:n}=e;return{id:ea(),parentCapability:n,invoker:i,caveats:t,date:new Date().getTime()}}function eu(e,t){return e.caveats?.find(e=>e.type===t)}var ed=((r=ed||{}).RestrictedMethod="RestrictedMethod",r.Endowment="Endowment",r);function ec(e,t){return e.permissionType===t}var eh=i(79250),eg=((o=eg||{}).requestPermissions="wallet_requestPermissions",o.getPermissions="wallet_getPermissions",o.revokePermissions="wallet_revokePermissions",o),ep=i(26708),ef=i(88629),em=i.n(ef),ev=i(3873),eb="PermissionController";function ey(){return{subjects:{}}}var e_=((s=e_||{})[s.noop=0]="noop",s[s.updateValue=1]="updateValue",s[s.deleteCaveat=2]="deleteCaveat",s[s.revokePermission=3]="revokePermission",s),ew=class extends ep.BaseController{constructor(e){let{caveatSpecifications:t,permissionSpecifications:i,unrestrictedMethods:n,messenger:r,state:o={}}=e;super({name:eb,metadata:{subjects:{anonymous:!0,persist:!0}},messenger:r,state:{...ey(),...o}}),et(this,l),et(this,d),et(this,h),et(this,p),et(this,m),et(this,b),this._unrestrictedMethods=new Set(n),this._caveatSpecifications=em()({...t}),this.validatePermissionSpecifications(i,this._caveatSpecifications),this._permissionSpecifications=em()({...i}),this.registerMessageHandlers(),this.createPermissionMiddleware=function({executeRestrictedMethod:e,getRestrictedMethod:t,isUnrestrictedMethod:i}){return function(n){let{origin:r}=n;if("string"!=typeof r||!r)throw Error('The subject "origin" must be a non-empty string.');let o=async(o,s,a)=>{let{method:l,params:u}=o;if(i(l))return a();let d=t(l,r),c=await e(d,n,l,u);if(void 0===c){s.error=k(`Request for method "${o.method}" returned undefined result.`,{request:o});return}s.result=c};return(0,eh.P)(o)}}({executeRestrictedMethod:this._executeRestrictedMethod.bind(this),getRestrictedMethod:this.getRestrictedMethod.bind(this),isUnrestrictedMethod:this.unrestrictedMethods.has.bind(this.unrestrictedMethods)})}get unrestrictedMethods(){return this._unrestrictedMethods}getPermissionSpecification(e){return this._permissionSpecifications[e]}getCaveatSpecification(e){return this._caveatSpecifications[e]}validatePermissionSpecifications(e,t){Object.entries(e).forEach(([e,{permissionType:i,targetName:n,allowedCaveats:r}])=>{if(!i||!(0,Q.l$)(ed,i))throw Error(`Invalid permission type: "${i}"`);if(!e)throw Error(`Invalid permission target name: "${e}"`);if(e!==n)throw Error(`Invalid permission specification: target name "${e}" must match specification.targetName value "${n}".`);r&&r.forEach(e=>{if(!(0,Q.l$)(t,e))throw new M(e);let n=t[e],r=eo(n);if("RestrictedMethod"===i&&!r||"Endowment"===i&&r)throw new $(n,i)})})}registerMessageHandlers(){this.messagingSystem.registerActionHandler(`${eb}:clearPermissions`,()=>this.clearState()),this.messagingSystem.registerActionHandler(`${eb}:getEndowments`,(e,t,i)=>this.getEndowments(e,t,i)),this.messagingSystem.registerActionHandler(`${eb}:getSubjectNames`,()=>this.getSubjectNames()),this.messagingSystem.registerActionHandler(`${eb}:getPermissions`,e=>this.getPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:hasPermission`,(e,t)=>this.hasPermission(e,t)),this.messagingSystem.registerActionHandler(`${eb}:hasPermissions`,e=>this.hasPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:grantPermissions`,this.grantPermissions.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:grantPermissionsIncremental`,this.grantPermissionsIncremental.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:requestPermissions`,(e,t)=>this.requestPermissions(e,t)),this.messagingSystem.registerActionHandler(`${eb}:requestPermissionsIncremental`,(e,t)=>this.requestPermissionsIncremental(e,t)),this.messagingSystem.registerActionHandler(`${eb}:revokeAllPermissions`,e=>this.revokeAllPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:revokePermissionForAllSubjects`,e=>this.revokePermissionForAllSubjects(e)),this.messagingSystem.registerActionHandler(`${eb}:revokePermissions`,this.revokePermissions.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:updateCaveat`,(e,t,i,n)=>{this.updateCaveat(e,t,i,n)})}clearState(){this.update(e=>({...ey()}))}getTypedPermissionSpecification(e,t,i){let n="RestrictedMethod"===e?C(t,i?{origin:i}:void 0):new I(t,i);if(!this.targetExists(t))throw n;let r=this.getPermissionSpecification(t);if(!ec(r,e))throw n;return r}getRestrictedMethod(e,t){return this.getTypedPermissionSpecification("RestrictedMethod",e,t).methodImplementation}getSubjectNames(){return Object.keys(this.state.subjects)}getPermission(e,t){return this.state.subjects[e]?.permissions[t]}getPermissions(e){return this.state.subjects[e]?.permissions}hasPermission(e,t){return!!this.getPermission(e,t)}hasPermissions(e){return!!this.state.subjects[e]}revokeAllPermissions(e){this.update(t=>{if(!t.subjects[e])throw new L(e);delete t.subjects[e]})}revokePermission(e,t){this.revokePermissions({[e]:[t]})}revokePermissions(e){this.update(t=>{Object.keys(e).forEach(i=>{if(!(0,Q.l$)(t.subjects,i))throw new L(i);e[i].forEach(e=>{let{permissions:n}=t.subjects[i];if(!(0,Q.l$)(n,e))throw new T(i,e);this.deletePermission(t.subjects,i,e)})})})}revokePermissionForAllSubjects(e){0!==this.getSubjectNames().length&&this.update(t=>{Object.entries(t.subjects).forEach(([i,n])=>{let{permissions:r}=n;(0,Q.l$)(r,e)&&this.deletePermission(t.subjects,i,e)})})}deletePermission(e,t,i){let{permissions:n}=e[t];Object.keys(n).length>1?delete n[i]:delete e[t]}hasCaveat(e,t,i){return!!this.getCaveat(e,t,i)}getCaveat(e,t,i){let n=this.getPermission(e,t);if(!n)throw new T(e,t);return eu(n,i)}addCaveat(e,t,i,n){if(this.hasCaveat(e,t,i))throw new O(e,t,i);this.setCaveat(e,t,i,n)}updateCaveat(e,t,i,n){if(!this.hasCaveat(e,t,i))throw new P(e,t,i);this.setCaveat(e,t,i,n)}setCaveat(e,t,i,n){this.update(r=>{let o=r.subjects[e];if(!o)throw new L(e);let s=o.permissions[t];if(!s)throw new T(e,t);let a={type:i,value:n};if(this.validateCaveat(a,e,t),s.caveats){let e=s.caveats.findIndex(e=>e.type===a.type);-1===e?s.caveats.push(a):s.caveats.splice(e,1,a)}else s.caveats=[a];this.validateModifiedPermission(s,e)})}updatePermissionsByCaveat(e,t){0!==Object.keys(this.state.subjects).length&&this.update(i=>{Object.values(i.subjects).forEach(n=>{Object.values(n.permissions).forEach(r=>{let{caveats:o}=r,s=o?.find(({type:t})=>t===e);if(!s)return;let a=t(s.value),{operation:l}=a;switch(l){case 0:break;case 1:s.value=a.value,this.validateCaveat(s,n.origin,r.parentCapability);break;case 2:this.deleteCaveat(r,e,n.origin);break;case 3:this.deletePermission(i.subjects,n.origin,r.parentCapability);break;default:throw Error(`Unrecognized mutation result: "${l}"`)}})})})}removeCaveat(e,t,i){this.update(n=>{let r=n.subjects[e]?.permissions[t];if(!r)throw new T(e,t);if(!r.caveats)throw new P(e,t,i);this.deleteCaveat(r,i,e)})}deleteCaveat(e,t,i){if(!e.caveats)throw new P(i,e.parentCapability,t);let n=e.caveats.findIndex(e=>e.type===t);if(-1===n)throw new P(i,e.parentCapability,t);1===e.caveats.length?e.caveats=null:e.caveats.splice(n,1),this.validateModifiedPermission(e,i)}validateModifiedPermission(e,t){if(!this.targetExists(e.parentCapability))throw Error(`Fatal: Existing permission target "${e.parentCapability}" has no specification.`);this.validatePermission(this.getPermissionSpecification(e.parentCapability),e,t)}targetExists(e){return(0,Q.l$)(this._permissionSpecifications,e)}grantPermissions({approvedPermissions:e,requestData:t,preserveExistingPermissions:i=!0,subject:n}){return ei(this,d,c).call(this,{approvedPermissions:e,subject:n,mergePermissions:!1,preserveExistingPermissions:i,requestData:t})}grantPermissionsIncremental({approvedPermissions:e,requestData:t,subject:i}){return ei(this,d,c).call(this,{approvedPermissions:e,subject:i,mergePermissions:!0,preserveExistingPermissions:!0,requestData:t})}validatePermission(e,t,i,{invokePermissionValidator:n,performCaveatValidation:r}={invokePermissionValidator:!0,performCaveatValidation:!0}){let{allowedCaveats:o,validator:s,targetName:a}=e;if(e.subjectTypes?.length&&e.subjectTypes.length>0){let t=this.messagingSystem.call("SubjectMetadataController:getSubjectMetadata",i);if(!t||null===t.subjectType||!e.subjectTypes.includes(t.subjectType))throw"RestrictedMethod"===e.permissionType?C(a,{origin:i}):new I(a,i)}if((0,Q.l$)(t,"caveats")){let{caveats:e}=t;if(null!==e&&!(Array.isArray(e)&&e.length>0))throw new R(i,a,e);let n=new Set;e?.forEach(e=>{if(r&&this.validateCaveat(e,i,a),!o?.includes(e.type))throw new j(e.type,i,a);if(n.has(e.type))throw new z(e.type,i,a);n.add(e.type)})}n&&s&&s(t,i,a)}setValidatedPermissions(e,t){this.update(i=>{i.subjects[e]||(i.subjects[e]={origin:e,permissions:{}}),i.subjects[e].permissions=(0,ev.cA)(t)})}constructCaveats(e,t,i){var n;let r=i?.map(i=>{this.validateCaveat(i,e,t);let{type:n,value:r}=i;return{type:n,value:r}});return r&&Array.isArray(n=r)&&n.length>0?r:void 0}validateCaveat(e,t,i){if(!Z(e))throw new F(e,t,i);if(2!==Object.keys(e).length)throw new W(e,t,i);if("string"!=typeof e.type)throw new B(e,t,i);let n=this.getCaveatSpecification(e.type);if(!n)throw new M(e.type,t,i);if(!(0,Q.l$)(e,"value")||void 0===e.value)throw new V(e,t,i);if(!function(e){try{return G()(e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}(e.value))throw new H(e,t,i);n.validator?.(e,t,i)}async requestPermissions(e,t,i={}){let{origin:n}=e,{id:r=ea(),preserveExistingPermissions:o=!0}=i;this.validateRequestedPermissions(n,t);let s={...i.metadata,id:r,origin:n},a=await this.requestUserApproval({metadata:s,permissions:t});return await ei(this,b,y).call(this,{subject:e,metadata:s,preserveExistingPermissions:o,approvedRequest:a})}async requestPermissionsIncremental(e,t,i={}){let{origin:n}=e,{id:r=ea()}=i;this.validateRequestedPermissions(n,t);let o=this.getPermissions(n)??{},[s,a]=ei(this,h,g).call(this,o,t);if(void 0===s||void 0===a)return[];try{this.validateRequestedPermissions(n,s)}catch(e){if(e instanceof Error)throw new N(n,e,a);throw k("Unrecognized error type",{error:e})}let l={...i.metadata,id:r,origin:n},u=await this.requestUserApproval({metadata:l,permissions:s,diff:{currentPermissions:o,permissionDiffMap:a}});return await ei(this,b,y).call(this,{subject:e,metadata:l,preserveExistingPermissions:!1,approvedRequest:u})}validateRequestedPermissions(e,t){if(!Z(t))throw S({message:`Requested permissions for origin "${e}" is not a plain object.`,data:{origin:e,requestedPermissions:t}});if(0===Object.keys(t).length)throw S({message:`Permissions request for origin "${e}" contains no permissions.`,data:{requestedPermissions:t}});for(let i of Object.keys(t)){let n=t[i];if(!this.targetExists(i))throw C(i,{origin:e,requestedPermissions:t});if(!Z(n)||void 0!==n.parentCapability&&i!==n.parentCapability)throw S({message:`Permissions request for origin "${e}" contains invalid requested permission(s).`,data:{origin:e,requestedPermissions:t}});this.validatePermission(this.getPermissionSpecification(i),n,e,{invokePermissionValidator:!1,performCaveatValidation:!0})}}async requestUserApproval(e){let{origin:t,id:i}=e.metadata,n=await this.messagingSystem.call("ApprovalController:addRequest",{id:i,origin:t,requestData:e,type:"wallet_requestPermissions"},!0);return this.validateApprovedPermissions(n,{id:i,origin:t}),n}getSideEffects(e){return Object.keys(e).reduce((e,t)=>{if(this.targetExists(t)){let i=this.getPermissionSpecification(t);i.sideEffect&&(e.permittedHandlers[t]=i.sideEffect.onPermitted,i.sideEffect.onFailure&&(e.failureHandlers[t]=i.sideEffect.onFailure))}return e},{permittedHandlers:{},failureHandlers:{}})}async executeSideEffects(e,t){let{permittedHandlers:i,failureHandlers:n}=e,r={requestData:t,messagingSystem:this.messagingSystem},o=await Promise.allSettled(Object.values(i).map(e=>e(r))),s=o.filter(e=>"rejected"===e.status);if(s.length>0){let e=Object.values(n);if(e.length>0)try{await Promise.all(e.map(e=>e(r)))}catch(e){throw k("Unexpected error in side-effects",{error:e})}let t=s.map(e=>e.reason);throw t.forEach(e=>{console.error(e)}),t.length>1?k("Multiple errors occurred during side-effects execution",{errors:t}):t[0]}return o.map(({value:e})=>e)}validateApprovedPermissions(e,t){let{id:i,origin:n}=t;if(!Z(e)||!Z(e.metadata))throw k(`Approved permissions request for subject "${n}" is invalid.`,{data:{approvedRequest:e}});let{metadata:{id:r,origin:o},permissions:s}=e;if(r!==i)throw k(`Approved permissions request for subject "${n}" mutated its id.`,{originalId:i,mutatedId:r});if(o!==n)throw k(`Approved permissions request for subject "${n}" mutated its origin.`,{originalOrigin:n,mutatedOrigin:o});try{this.validateRequestedPermissions(n,s)}catch(e){if(e instanceof Error)throw k(`Invalid approved permissions request: ${e.message}`,e instanceof _.uc?e.data:void 0);throw k("Unrecognized error type",{error:e})}}async acceptPermissionsRequest(e){let{id:t}=e.metadata;if(!this.hasApprovalRequest({id:t}))throw new q(t);if(0===Object.keys(e.permissions).length){this._rejectPermissionsRequest(t,S({message:"Must request at least one permission."}));return}try{this.messagingSystem.call("ApprovalController:acceptRequest",t,e)}catch(e){throw this._rejectPermissionsRequest(t,e),e}}async rejectPermissionsRequest(e){if(!this.hasApprovalRequest({id:e}))throw new q(e);this._rejectPermissionsRequest(e,x())}hasApprovalRequest(e){return this.messagingSystem.call("ApprovalController:hasRequest",e)}_rejectPermissionsRequest(e,t){return this.messagingSystem.call("ApprovalController:rejectRequest",e,t)}async getEndowments(e,t,i){if(!this.hasPermission(e,t))throw w({data:{origin:e,targetName:t}});return this.getTypedPermissionSpecification("Endowment",t,e).endowmentGetter({origin:e,requestData:i})}async executeRestrictedMethod(e,t,i){let n=this.getRestrictedMethod(t,e),r=await this._executeRestrictedMethod(n,{origin:e},t,i);if(void 0===r)throw Error(`Internal request for method "${t}" as origin "${e}" returned no result.`);return r}_executeRestrictedMethod(e,t,i,n=[]){let{origin:r}=t,o=this.getPermission(r,i);if(!o)throw w({data:{origin:r,method:i}});return es(e,o,this._caveatSpecifications)({method:i,params:n,context:{origin:r}})}};l=new WeakSet,u=function(e){let{merger:t}=this.getCaveatSpecification(e);if(void 0===t)throw new D(e);return t},d=new WeakSet,c=function({approvedPermissions:e,subject:t,mergePermissions:i,preserveExistingPermissions:n,requestData:r}){let{origin:o}=t;if(!o||"string"!=typeof o)throw new E(o);let s=n?{...this.getPermissions(o)}:{};for(let[t,n]of Object.entries(e)){let e;if(!this.targetExists(t))throw C(t);if(void 0!==n.parentCapability&&t!==n.parentCapability)throw new A(o,t,n);let a=this.getPermissionSpecification(t),l={caveats:this.constructCaveats(o,t,n.caveats),invoker:o,target:t},u=!0;a.factory?e=a.factory(l,r):(e=el(l),u=!1),i&&(e=ei(this,p,f).call(this,s[t],e)[0]),this.validatePermission(a,e,o,{invokePermissionValidator:!0,performCaveatValidation:u}),s[t]=e}return this.setValidatedPermissions(o,s),s},h=new WeakSet,g=function(e,t){let i={},n=(0,ev.Uy)(e,e=>{Object.entries(t).forEach(([t,n])=>{let r=e[t],[o,s]=ei(this,p,f).call(this,r??{},n);(void 0===r||Object.keys(s).length>0)&&(e[t]=o,i[t]=s)})});return 0===Object.keys(i).length?[]:[n,i]},p=new WeakSet,f=function(e,t){let i,n,r,o;let{caveatPairs:s,leftUniqueCaveats:a,rightUniqueCaveats:l}=(i=e?.caveats?.slice()??[],n=t.caveats?.slice()??[],r=[],o=[],i.forEach(e=>{let t=n.findIndex(t=>t.type===e.type);-1===t?r.push(e):(o.push([e,n[t]]),n.splice(t,1))}),{caveatPairs:o,leftUniqueCaveats:r,rightUniqueCaveats:[...n]}),[u,d]=s.reduce(([e,t],[i,n])=>{let[r,o]=ei(this,m,v).call(this,i,n);return void 0!==r&&void 0!==o?(e.push(r),t[r.type]=o):e.push(i),[e,t]},[[],{}]),c=[...u,...a,...l.map(e=>{let[t,i]=ei(this,m,v).call(this,void 0,e);return d[t.type]=i,t})];return[{...e,...t,...c.length>0?{caveats:c}:{}},d]},m=new WeakSet,v=function(e,t){if(void 0!==e&&e.type!==t.type)throw new U(e.type,t.type);let i=ei(this,l,u).call(this,t.type);if(void 0===e)return[{...t},t.value];let[n,r]=i(e.value,t.value);return void 0!==n&&void 0!==r?[{type:t.type,value:n},r]:[]},b=new WeakSet,y=async function({subject:e,metadata:t,preserveExistingPermissions:i,approvedRequest:n}){let{permissions:r,...o}=n,s={...t},a=this.getSideEffects(r);if(Object.values(a.permittedHandlers).length>0){let e=await this.executeSideEffects(a,n);s.data=Object.keys(a.permittedHandlers).reduce((t,i,n)=>({[i]:e[n],...t}),{})}return[this.grantPermissions({subject:e,approvedPermissions:r,preserveExistingPermissions:i,requestData:o}),s]};var eC=((a=eC||{}).Extension="extension",a.Internal="internal",a.Unknown="unknown",a.Website="website",a.Snap="snap",a),eS={subjectMetadata:{persist:!0,anonymous:!1}},ex={subjectMetadata:{}},ek=class e extends ep.BaseController{constructor({messenger:t,subjectCacheLimit:i,state:n={}}){if(!Number.isInteger(i)||i<1)throw Error(`subjectCacheLimit must be a positive integer. Received: "${i}"`);let r=e=>t.call("PermissionController:hasPermissions",e);super({name:"SubjectMetadataController",metadata:eS,messenger:t,state:{...e.getTrimmedState(n,r)}}),this.subjectHasPermissions=r,this.subjectCacheLimit=i,this.subjectsWithoutPermissionsEncounteredSinceStartup=new Set,this.messagingSystem.registerActionHandler(`${this.name}:getSubjectMetadata`,this.getSubjectMetadata.bind(this)),this.messagingSystem.registerActionHandler(`${this.name}:addSubjectMetadata`,this.addSubjectMetadata.bind(this))}clearState(){this.subjectsWithoutPermissionsEncounteredSinceStartup.clear(),this.update(e=>({...ex}))}addSubjectMetadata(e){let{origin:t}=e,i={...e,extensionId:e.extensionId||null,iconUrl:e.iconUrl||null,name:e.name||null,subjectType:e.subjectType||null},n=null;if(this.subjectsWithoutPermissionsEncounteredSinceStartup.size>=this.subjectCacheLimit){let e=this.subjectsWithoutPermissionsEncounteredSinceStartup.values().next().value;this.subjectsWithoutPermissionsEncounteredSinceStartup.delete(e),this.subjectHasPermissions(e)||(n=e)}this.subjectsWithoutPermissionsEncounteredSinceStartup.add(t),this.update(e=>{e.subjectMetadata[t]=i,"string"==typeof n&&delete e.subjectMetadata[n]})}getSubjectMetadata(e){return this.state.subjectMetadata[e]}trimMetadataState(){this.update(t=>e.getTrimmedState(t,this.subjectHasPermissions))}static getTrimmedState(e,t){let{subjectMetadata:i={}}=e;return{subjectMetadata:Object.keys(i).reduce((e,n)=>(t(n)&&(e[n]=i[n]),e),{})}}}},1850:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(96734),r=i(45554),o=function(e){return e&&e.__esModule?e:{default:e}}(i(77847)),s=class extends Error{constructor(e,t,i){if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');super(t),this.code=e,void 0!==i&&(this.data=i)}serialize(){let e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data,r.isPlainObject.call(void 0,this.data)&&(e.data.cause=n.serializeCause.call(void 0,this.data.cause))),this.stack&&(e.stack=this.stack),e}toString(){return o.default.call(void 0,this.serialize(),l,2)}},a=class extends s{constructor(e,t,i){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,i)}};function l(e,t){if("[Circular]"!==t)return t}t.JsonRpcError=s,t.EthereumProviderError=a},49274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},t.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}},27327:(e,t,i)=>{"use strict";function n(e,t){return null!=e?e:t()}Object.defineProperty(t,"__esModule",{value:!0});var r=i(1850),o=i(96734),s=i(49274);function a(e,t){let[i,s]=u(t);return new r.JsonRpcError(e,n(i,()=>o.getMessageFromCode.call(void 0,e)),s)}function l(e,t){let[i,s]=u(t);return new r.EthereumProviderError(e,n(i,()=>o.getMessageFromCode.call(void 0,e)),s)}function u(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:i}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[n(t,()=>void 0),i]}}return[]}t.rpcErrors={parse:e=>a(s.errorCodes.rpc.parse,e),invalidRequest:e=>a(s.errorCodes.rpc.invalidRequest,e),invalidParams:e=>a(s.errorCodes.rpc.invalidParams,e),methodNotFound:e=>a(s.errorCodes.rpc.methodNotFound,e),internal:e=>a(s.errorCodes.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(t,e)},invalidInput:e=>a(s.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>a(s.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>a(s.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>a(s.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>a(s.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>a(s.errorCodes.rpc.limitExceeded,e)},t.providerErrors={userRejectedRequest:e=>l(s.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>l(s.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>l(s.errorCodes.provider.unsupportedMethod,e),disconnected:e=>l(s.errorCodes.provider.disconnected,e),chainDisconnected:e=>l(s.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:i,data:n}=e;if(!i||"string"!=typeof i)throw Error('"message" must be a nonempty string');return new r.EthereumProviderError(t,i,n)}}},96734:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(49274),r=i(45554),o=n.errorCodes.rpc.internal,s={code:o,message:l(o)},a="Unspecified server error.";function l(e,t="Unspecified error message. This is a bug, please report it."){if(u(e)){let t=e.toString();if(r.hasProperty.call(void 0,n.errorValues,t))return n.errorValues[t].message;if(e>=-32099&&e<=-32e3)return a}return t}function u(e){return Number.isInteger(e)}function d(e){return Array.isArray(e)?e.map(e=>r.isValidJson.call(void 0,e)?e:r.isObject.call(void 0,e)?c(e):null):r.isObject.call(void 0,e)?c(e):r.isValidJson.call(void 0,e)?e:null}function c(e){return Object.getOwnPropertyNames(e).reduce((t,i)=>{let n=e[i];return r.isValidJson.call(void 0,n)&&(t[i]=n),t},{})}t.JSON_RPC_SERVER_ERROR_MESSAGE=a,t.getMessageFromCode=l,t.isValidCode=u,t.serializeError=function(e,{fallbackError:t=s,shouldIncludeStack:i=!0}={}){if(!r.isJsonRpcError.call(void 0,t))throw Error("Must provide fallback error with integer number code and string message.");let n=function(e,t){if(e&&"object"==typeof e&&"serialize"in e&&"function"==typeof e.serialize)return e.serialize();if(r.isJsonRpcError.call(void 0,e))return e;let i=d(e);return{...t,data:{cause:i}}}(e,t);return i||delete n.stack,n},t.serializeCause=d},30774:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(27327),r=i(1850),o=i(96734),s=i(49274);t.EthereumProviderError=r.EthereumProviderError,t.JsonRpcError=r.JsonRpcError,t.errorCodes=s.errorCodes,t.getMessageFromCode=o.getMessageFromCode,t.providerErrors=n.providerErrors,t.rpcErrors=n.rpcErrors,t.serializeCause=o.serializeCause,t.serializeError=o.serializeError},92530:(e,t,i)=>{"use strict";i.d(t,{uc:()=>f,Zk:()=>n,gK:()=>y,PY:()=>b,Xy:()=>d});var n={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},r={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}},o=i(56710),s=i(79009),a=n.rpc.internal,l={code:a,message:u(a)};function u(e,t="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(e)){let t=e.toString();if((0,o.l$)(r,t))return r[t].message;if(e>=-32099&&e<=-32e3)return"Unspecified server error."}return t}function d(e,{fallbackError:t=l,shouldIncludeStack:i=!0}={}){if(!(0,s.jg)(t))throw Error("Must provide fallback error with integer number code and string message.");let n=function(e,t){if(e&&"object"==typeof e&&"serialize"in e&&"function"==typeof e.serialize)return e.serialize();if((0,s.jg)(e))return e;let i=c(e);return{...t,data:{cause:i}}}(e,t);return i||delete n.stack,n}function c(e){return Array.isArray(e)?e.map(e=>(0,s.Vx)(e)?e:(0,o.Kn)(e)?h(e):null):(0,o.Kn)(e)?h(e):(0,s.Vx)(e)?e:null}function h(e){return Object.getOwnPropertyNames(e).reduce((t,i)=>{let n=e[i];return(0,s.Vx)(n)&&(t[i]=n),t},{})}var g=i(77847),p=i.n(g),f=class extends Error{constructor(e,t,i){if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');super(t),this.code=e,void 0!==i&&(this.data=i)}serialize(){let e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data,(0,o.PO)(this.data)&&(e.data.cause=c(this.data.cause))),this.stack&&(e.stack=this.stack),e}toString(){return p()(this.serialize(),v,2)}},m=class extends f{constructor(e,t,i){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,i)}};function v(e,t){if("[Circular]"!==t)return t}var b={parse:e=>_(n.rpc.parse,e),invalidRequest:e=>_(n.rpc.invalidRequest,e),invalidParams:e=>_(n.rpc.invalidParams,e),methodNotFound:e=>_(n.rpc.methodNotFound,e),internal:e=>_(n.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return _(t,e)},invalidInput:e=>_(n.rpc.invalidInput,e),resourceNotFound:e=>_(n.rpc.resourceNotFound,e),resourceUnavailable:e=>_(n.rpc.resourceUnavailable,e),transactionRejected:e=>_(n.rpc.transactionRejected,e),methodNotSupported:e=>_(n.rpc.methodNotSupported,e),limitExceeded:e=>_(n.rpc.limitExceeded,e)},y={userRejectedRequest:e=>w(n.provider.userRejectedRequest,e),unauthorized:e=>w(n.provider.unauthorized,e),unsupportedMethod:e=>w(n.provider.unsupportedMethod,e),disconnected:e=>w(n.provider.disconnected,e),chainDisconnected:e=>w(n.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:i,data:n}=e;if(!i||"string"!=typeof i)throw Error('"message" must be a nonempty string');return new m(t,i,n)}};function _(e,t){let[i,n]=C(t);return new f(e,i??u(e),n)}function w(e,t){let[i,n]=C(t);return new m(e,i??u(e),n)}function C(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:i}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[t??void 0,i]}}return[]}},99307:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=i(22699);function r(e,t,i){try{Reflect.apply(e,t,i)}catch(e){setTimeout(()=>{throw e})}}class o extends n.EventEmitter{emit(e,...t){let i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;let i=Error(`Unhandled error.${e?` (${e.message})`:""}`);throw i.context=e,i}let o=n[e];if(void 0===o)return!1;if("function"==typeof o)r(o,this,t);else{let e=o.length,i=function(e){let t=e.length,i=Array(t);for(let n=0;n{"use strict";i.d(t,{Z:()=>o});var n=i(22699);function r(e,t,i){try{Reflect.apply(e,t,i)}catch(e){setTimeout(()=>{throw e})}}class o extends n.EventEmitter{emit(e,...t){let i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;let i=Error(`Unhandled error.${e?` (${e.message})`:""}`);throw i.context=e,i}let o=n[e];if(void 0===o)return!1;if("function"==typeof o)r(o,this,t);else{let e=o.length,i=function(e){let t=e.length,i=Array(t);for(let n=0;n{"use strict";t.OI=t.oy=void 0;/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */let n=i(1162),r=i(99969),o=i(70806),s=i(4123),a=(i(39473),i(36237));function l(e){if("string"!=typeof e)throw TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function u(e){let t=l(e),i=t.split(" ");if(![12,15,18,21,24].includes(i.length))throw Error("Invalid mnemonic");return{nfkd:t,words:i}}let d=e=>{let t=8-e.length/4;return new Uint8Array([(0,o.sha256)(e)[0]>>t<{if("string"!=typeof e)throw Error(`Wordlist: non-string element: ${e}`)}),a.utils.chain(a.utils.checksum(1,d),a.utils.radix2(11,!0),a.utils.alphabet(e))}t.oy=function(e,t){var i;let r;if("string"==typeof e){let{words:i}=u(e);r=c(t).decode(i)}else r=c(t).decode(Array.from(new Uint16Array(e.buffer)).map(e=>t[e]));return i=r,n.default.bytes(i,16,20,24,28,32),r};let h=e=>l(`mnemonic${e}`);t.OI=function(e,t,i=""){let n="string"==typeof e?new TextEncoder().encode(u(e).nfkd):new TextEncoder().encode(Array.from(new Uint16Array(e.buffer)).map(e=>t[e]).join(" "));return(0,r.pbkdf2Async)(s.sha512,n,h(i),{c:2048,dkLen:64})}},63610:(e,t)=>{"use strict";t.U=void 0,t.U=`abandon +${B(e)}`,{request:e})},N(R,h),N(R,p),N(R,m),N(R,b),N(R,_);var F=R;function B(e){return JSON.stringify(e,null,2)}function V(e){let t=new F;return e.forEach(e=>t.push(e)),t.asMiddleware()}},34487:(e,t,i)=>{"use strict";i.r(t),i.d(t,{createEngineStream:()=>r,createStreamMiddleware:()=>a});var n=i(67525);function r(e){if(!e?.engine)throw Error("Missing engine parameter!");let{engine:t}=e,i=new n.Duplex({objectMode:!0,read:()=>void 0,write:function(e,n,r){t.handle(e,(e,t)=>{i.push(t)}),r()}});return t.on&&t.on("notification",e=>{i.push(e)}),i}var o=i(4966),s=i(2503);function a(e={}){let t={},i=new n.Duplex({objectMode:!0,read:()=>void 0,write:function(n,o,a){let l=null;try{(0,s.l$)(n,"id")?function(e){let{id:i}=e;if(null===i)return;let n=t[i];if(!n){console.warn(`StreamMiddleware - Unknown response id "${i}"`);return}delete t[i],Object.assign(n.res,e),setTimeout(n.end)}(n):(e?.retryOnMessage&&n.method===e.retryOnMessage&&Object.values(t).forEach(({req:e,retryCount:n=0})=>{if(!e.id)return;if(n>=3)throw Error(`StreamMiddleware - Retry limit exceeded for request id "${e.id}"`);let r=t[e.id];r&&(r.retryCount=n+1),i.push(e)}),r.emit("notification",n))}catch(e){l=e}a(l)}}),r=new o.Z;return{events:r,middleware:(e,n,r,o)=>{t[e.id]={req:e,res:n,next:r,end:o},i.push(e)},stream:i}}},67085:(e,t,i)=>{"use strict";i.r(t),i.d(t,{BIP44CoinTypeNode:()=>i$,BIP44Node:()=>nj,BIP44PurposeNodeToken:()=>w,BIP_32_HARDENED_OFFSET:()=>D,BIP_32_PATH_REGEX:()=>x,BIP_39_PATH_REGEX:()=>L,BIP_44_COIN_TYPE_DEPTH:()=>iU,BYTES_KEY_LENGTH:()=>m,CIP_3_PATH_REGEX:()=>E,MAX_BIP_32_INDEX:()=>_,MAX_BIP_44_DEPTH:()=>b,MAX_UNHARDENED_BIP_32_INDEX:()=>y,MIN_BIP_44_DEPTH:()=>v,SLIP10Node:()=>nR,SLIP_10_PATH_REGEX:()=>k,UNPREFIXED_BIP_32_PATH_REGEX:()=>S,UNPREFIXED_PATH_REGEX:()=>C,createBip39KeyFromSeed:()=>np,deriveBIP44AddressKey:()=>iG,ed25519:()=>l,ed25519Bip32:()=>u,getBIP44AddressKeyDeriver:()=>iZ,getBIP44CoinTypeToAddressPathTuple:()=>il,isValidBIP32PathSegment:()=>ig,mnemonicPhraseToBytes:()=>ix,secp256k1:()=>d});var n,r,o,s,a={};i.r(a),i.d(a,{dQ:()=>el,ci:()=>X,bytesToNumberBE:()=>ei,ty:()=>en,eV:()=>ea,n$:()=>ec,ql:()=>es,hexToBytes:()=>et,tL:()=>er,S5:()=>eo,FF:()=>eg});var l={};i.r(l),i.d(l,{compressPublicKey:()=>tK,compressedPublicKeyLength:()=>tQ,curve:()=>tV,decompressPublicKey:()=>tG,deriveUnhardenedKeys:()=>tz,getPublicKey:()=>t$,isValidPrivateKey:()=>tW,masterNodeGenerationSpec:()=>tY,name:()=>tH,privateKeyLength:()=>tZ,publicAdd:()=>tq,publicKeyLength:()=>tU,secret:()=>tj});var u={};i.r(u),i.d(u,{bytesToNumberLE:()=>t4,compressPublicKey:()=>it,compressedPublicKeyLength:()=>is,curve:()=>t0,decompressPublicKey:()=>ii,deriveUnhardenedKeys:()=>t8,getPublicKey:()=>t7,isValidPrivateKey:()=>t3,masterNodeGenerationSpec:()=>io,multiplyWithBase:()=>t9,name:()=>t1,privateKeyLength:()=>ir,publicAdd:()=>ie,publicKeyLength:()=>t5,secret:()=>t2});var d={};i.r(d),i.d(d,{compressPublicKey:()=>iP,compressedPublicKeyLength:()=>iV,curve:()=>iL,decompressPublicKey:()=>iR,deriveUnhardenedKeys:()=>iA,getPublicKey:()=>iM,isValidPrivateKey:()=>iI,masterNodeGenerationSpec:()=>iB,name:()=>iD,privateKeyLength:()=>iF,publicAdd:()=>iO,publicKeyLength:()=>iT,secret:()=>iN});var c={};i.r(c),i.d(c,{deriveChildKey:()=>nu,privateKeyToEthAddress:()=>na,publicKeyToEthAddress:()=>nl});var h={};i.r(h),i.d(h,{bip39MnemonicToMultipath:()=>nh,createBip39KeyFromSeed:()=>np,deriveChildKey:()=>ng,entropyToCip3MasterNode:()=>nf});var g={};i.r(g),i.d(g,{add:()=>nC,bigIntToBytes:()=>nb,bytesToBigInt:()=>nv,deriveChainCode:()=>nL,deriveChildKey:()=>nN,derivePrivateKey:()=>nk,derivePublicKey:()=>nD,getKeyExtension:()=>nS,mod2Pow256:()=>nw,padEnd32Bytes:()=>ny,toReversed:()=>nm,trunc28Mul8:()=>n_});var p={};i.r(p),i.d(p,{deriveChildKey:()=>nA});var f=i(12343);let m=32,v=0,b=5,y=2147483647,_=4294967295,w="bip32:44'",C=/^\d+$/u,S=/^(?\d+)'?$/u,x=/^bip32:\d+'?$/u,k=/^slip10:\d+'?$/u,E=/^cip3:\d+'?$/u,L=/^bip39:([a-z]+){1}( [a-z]+){11,23}$/u,D=2147483648;var N=i(30376);function A(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function T(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function I(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}let M="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,O=e=>e instanceof Uint8Array,P=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),R=(e,t)=>e<<32-t|e>>>t;if(68!==new Uint8Array(new Uint32Array([287454020]).buffer)[0])throw Error("Non little-endian hardware is not supported");function F(e){if("string"==typeof e&&(e=function(e){if("string"!=typeof e)throw Error(`utf8ToBytes expected string, got ${typeof e}`);return new Uint8Array(new TextEncoder().encode(e))}(e)),!O(e))throw Error(`expected Uint8Array, got ${typeof e}`);return e}class B{clone(){return this._cloneInto()}}function V(e){let t=t=>e().update(F(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t}function H(e=32){if(M&&"function"==typeof M.getRandomValues)return M.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}class j extends B{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=P(this.buffer)}update(e){I(this);let{view:t,buffer:i,blockLen:n}=this,r=(e=F(e)).length;for(let o=0;on-o&&(this.process(i,0),o=0);for(let e=o;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,n-8,BigInt(8*this.length),r),this.process(i,0);let s=P(e),a=this.outputLen;if(a%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=a/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;ee&t^~e&i,z=(e,t,i)=>e&t^e&i^t&i,U=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]),$=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),q=new Uint32Array(64);class K extends j{constructor(){super(64,32,8,!1),this.A=0|$[0],this.B=0|$[1],this.C=0|$[2],this.D=0|$[3],this.E=0|$[4],this.F=0|$[5],this.G=0|$[6],this.H=0|$[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)q[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=q[e-15],i=q[e-2],n=R(t,7)^R(t,18)^t>>>3,r=R(i,17)^R(i,19)^i>>>10;q[e]=r+q[e-7]+n+q[e-16]|0}let{A:i,B:n,C:r,D:o,E:s,F:a,G:l,H:u}=this;for(let e=0;e<64;e++){let t=u+(R(s,6)^R(s,11)^R(s,25))+W(s,a,l)+U[e]+q[e]|0,d=(R(i,2)^R(i,13)^R(i,22))+z(i,n,r)|0;u=l,l=a,a=s,s=o+t|0,o=r,r=n,n=i,i=t+d|0}i=i+this.A|0,n=n+this.B|0,r=r+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(i,n,r,o,s,a,l,u)}roundClean(){q.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let G=V(()=>new K),Z=(BigInt(0),BigInt(1)),Y=BigInt(2),Q=e=>e instanceof Uint8Array,J=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function X(e){if(!Q(e))throw Error("Uint8Array expected");let t="";for(let i=0;ie+t.length,0)),i=0;return e.forEach(e=>{if(!Q(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}let el=e=>(Y<new Uint8Array(e),ed=e=>Uint8Array.from(e);function ec(e,t,i){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof i)throw Error("hmacFn must be a function");let n=eu(e),r=eu(e),o=0,s=()=>{n.fill(1),r.fill(0),o=0},a=(...e)=>i(r,n,...e),l=(e=eu())=>{r=a(ed([0]),e),n=a(),0!==e.length&&(r=a(ed([1]),e),n=a())},u=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,i=[];for(;e{let i;for(s(),l(e);!(i=t(u()));)l();return s(),i}}let eh={bigint:e=>"bigint"==typeof e,function:e=>"function"==typeof e,boolean:e=>"boolean"==typeof e,string:e=>"string"==typeof e,stringOrUint8Array:e=>"string"==typeof e||e instanceof Uint8Array,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)};function eg(e,t,i={}){let n=(t,i,n)=>{let r=eh[i];if("function"!=typeof r)throw Error(`Invalid validator "${i}", expected function`);let o=e[t];if((!n||void 0!==o)&&!r(o,e))throw Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${i}`)};for(let[e,i]of Object.entries(t))n(e,i,!1);for(let[e,t]of Object.entries(i))n(e,t,!0);return e}/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let ep=BigInt(0),ef=BigInt(1),em=BigInt(2),ev=BigInt(3),eb=BigInt(4),ey=BigInt(5),e_=BigInt(8);function ew(e,t){let i=e%t;return i>=ep?i:t+i}function eC(e,t,i){let n=e;for(;t-- >ep;)n*=n,n%=i;return n}function eS(e,t){if(e===ep||t<=ep)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let i=ew(e,t),n=t,r=ep,o=ef,s=ef,a=ep;for(;i!==ep;){let e=n/i,t=n%i,l=r-s*e,u=o-a*e;n=i,i=t,r=s,o=a,s=l,a=u}if(n!==ef)throw Error("invert: does not exist");return ew(r,t)}BigInt(9),BigInt(16);let ex=(e,t)=>(ew(e,t)&ef)===ef,ek=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function eE(e,t){let i=void 0!==t?t:e.toString(2).length;return{nBitLength:i,nByteLength:Math.ceil(i/8)}}function eL(e,t,i=!1,n={}){if(e<=ep)throw Error(`Expected Field ORDER > 0, got ${e}`);let{nBitLength:r,nByteLength:o}=eE(e,t);if(o>2048)throw Error("Field lengths over 2048 bytes are not supported");let s=function(e){if(e%eb===ev){let t=(e+ef)/eb;return function(e,i){let n=e.pow(i,t);if(!e.eql(e.sqr(n),i))throw Error("Cannot find square root");return n}}if(e%e_===ey){let t=(e-ey)/e_;return function(e,i){let n=e.mul(i,em),r=e.pow(n,t),o=e.mul(i,r),s=e.mul(e.mul(o,em),r),a=e.mul(o,e.sub(s,e.ONE));if(!e.eql(e.sqr(a),i))throw Error("Cannot find square root");return a}}return function(e){let t,i,n;let r=(e-ef)/em;for(t=e-ef,i=0;t%em===ep;t/=em,i++);for(n=em;n 0");if(i===ef)return ep;let n=ef;for(;t>ep;)t&ef&&(n=n*e%i),e=e*e%i,t>>=ef;return n}(n,r,e)!==e-ef;n++);if(1===i){let t=(e+ef)/eb;return function(e,i){let n=e.pow(i,t);if(!e.eql(e.sqr(n),i))throw Error("Cannot find square root");return n}}let o=(t+ef)/em;return function(e,s){if(e.pow(s,r)===e.neg(e.ONE))throw Error("Cannot find square root");let a=i,l=e.pow(e.mul(e.ONE,n),t),u=e.pow(s,o),d=e.pow(s,t);for(;!e.eql(d,e.ONE);){if(e.eql(d,e.ZERO))return e.ZERO;let t=1;for(let i=e.sqr(d);tew(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return ep<=t&&te===ep,isOdd:e=>(e&ef)===ef,neg:t=>ew(-t,e),eql:(e,t)=>e===t,sqr:t=>ew(t*t,e),add:(t,i)=>ew(t+i,e),sub:(t,i)=>ew(t-i,e),mul:(t,i)=>ew(t*i,e),pow:(e,t)=>(function(e,t,i){if(i 0");if(i===ep)return e.ONE;if(i===ef)return t;let n=e.ONE,r=t;for(;i>ep;)i&ef&&(n=e.mul(n,r)),r=e.sqr(r),i>>=ef;return n})(a,e,t),div:(t,i)=>ew(t*eS(i,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>eS(t,e),sqrt:n.sqrt||(e=>s(a,e)),invertBatch:e=>{let t,i,n;return t=Array(e.length),i=e.reduce((e,i,n)=>a.is0(i)?e:(t[n]=e,a.mul(e,i)),a.ONE),n=a.inv(i),e.reduceRight((e,i,n)=>a.is0(i)?e:(t[n]=a.mul(e,t[n]),a.mul(e,i)),n),t},cmov:(e,t,i)=>i?t:e,toBytes:e=>i?eo(e,o):er(e,o),fromBytes:e=>{if(e.length!==o)throw Error(`Fp.fromBytes: expected ${o}, got ${e.length}`);return i?en(e):ei(e)}});return Object.freeze(a)}function eD(e){if("bigint"!=typeof e)throw Error("field order must be bigint");return Math.ceil(e.toString(2).length/8)}function eN(e){let t=eD(e);return t+Math.ceil(t/2)}class eA extends B{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,function(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");A(e.outputLen),A(e.blockLen)}(e);let i=F(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,r=new Uint8Array(n);r.set(i.length>n?e.create().update(i).digest():i);for(let e=0;enew eA(e,t).update(i).digest();eT.create=(e,t)=>new eA(e,t);let eI=BigInt(0),eM=BigInt(1);function eO(e,t){let i=(e,t)=>{let i=t.negate();return e?i:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:i,unsafeLadder(t,i){let n=e.ZERO,r=t;for(;i>eI;)i&eM&&(n=n.add(r)),r=r.double(),i>>=eM;return n},precomputeWindow(e,t){let{windows:i,windowSize:r}=n(t),o=[],s=e,a=s;for(let e=0;e>=h,n>a&&(n-=c,o+=eM);let s=t+Math.abs(n)-1,g=e%2!=0,p=n<0;0===n?u=u.add(i(g,r[t])):l=l.add(i(p,r[s]))}return{p:l,f:u}},wNAFCached(e,t,i,n){let r=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&t.set(e,n(o))),this.wNAF(r,o,i)}}}function eP(e){return eg(e.Fp,ek.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"})),eg(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...eE(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}let{bytesToNumberBE:eR,hexToBytes:eF}=a,eB={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:t}=eB;if(e.length<2||2!==e[0])throw new t("Invalid signature integer tag");let i=e[1],n=e.subarray(2,i+2);if(!i||n.length!==i)throw new t("Invalid signature integer: wrong length");if(128&n[0])throw new t("Invalid signature integer: negative");if(0===n[0]&&!(128&n[1]))throw new t("Invalid signature integer: unnecessary leading zero");return{d:eR(n),l:e.subarray(i+2)}},toSig(e){let{Err:t}=eB,i="string"==typeof e?eF(e):e;if(!(i instanceof Uint8Array))throw Error("ui8a expected");let n=i.length;if(n<2||48!=i[0])throw new t("Invalid signature tag");if(i[1]!==n-2)throw new t("Invalid signature: incorrect length");let{d:r,l:o}=eB._parseInt(i.subarray(2)),{d:s,l:a}=eB._parseInt(o);if(a.length)throw new t("Invalid signature: left bytes after parsing");return{r,s}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,i=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(i(e.s)),r=t(i(e.r)),o=n.length/2,s=r.length/2;return`30${i(s+o+4)}02${i(s)}${r}02${i(o)}${n}`}},eV=BigInt(0),eH=BigInt(1),ej=(BigInt(2),BigInt(3)),eW=(BigInt(4),BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f")),ez=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),eU=BigInt(1),e$=BigInt(2),eq=(e,t)=>(e+t/e$)/t,eK=eL(eW,void 0,void 0,{sqrt:function(e){let t=BigInt(3),i=BigInt(6),n=BigInt(11),r=BigInt(22),o=BigInt(23),s=BigInt(44),a=BigInt(88),l=e*e*e%eW,u=l*l*e%eW,d=eC(u,t,eW)*u%eW,c=eC(d,t,eW)*u%eW,h=eC(c,e$,eW)*l%eW,g=eC(h,n,eW)*h%eW,p=eC(g,r,eW)*g%eW,f=eC(p,s,eW)*p%eW,m=eC(f,a,eW)*f%eW,v=eC(m,s,eW)*p%eW,b=eC(v,t,eW)*u%eW,y=eC(b,o,eW)*g%eW,_=eC(y,i,eW)*l%eW,w=eC(_,e$,eW);if(!eK.eql(eK.sqr(w),e))throw Error("Cannot find square root");return w}}),eG=function(e,t){let i=t=>(function(e){let t;let i=(eg(t=eP(e),{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...t})),{Fp:n,n:r}=i,o=n.BYTES+1,s=2*n.BYTES+1;function a(e){return ew(e,r)}let{ProjectivePoint:l,normPrivateKeyToScalar:u,weierstrassEquation:d,isWithinCurveOrder:c}=function(e){let t=/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */function(e){let t=eP(e);eg(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:i,Fp:n,a:r}=t;if(i){if(!n.eql(r,n.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof i||"bigint"!=typeof i.beta||"function"!=typeof i.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:i}=t,n=t.toBytes||((e,t,n)=>{let r=t.toAffine();return ea(Uint8Array.from([4]),i.toBytes(r.x),i.toBytes(r.y))}),r=t.fromBytes||(e=>{let t=e.subarray(1);return{x:i.fromBytes(t.subarray(0,i.BYTES)),y:i.fromBytes(t.subarray(i.BYTES,2*i.BYTES))}});function o(e){let{a:n,b:r}=t,o=i.sqr(e),s=i.mul(o,e);return i.add(i.add(s,i.mul(e,n)),r)}if(!i.eql(i.sqr(t.Gy),o(t.Gx)))throw Error("bad generator point: equation left != right");function s(e){return"bigint"==typeof e&&eVi.eql(e,i.ZERO);return r(t)&&r(n)?c.ZERO:new c(t,n,i.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(c.fromAffine)}static fromHex(e){let t=c.fromAffine(r(es("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return c.BASE.multiply(l(e))}_setWindowSize(e){this._WINDOW_SIZE=e,u.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint&&!i.is0(this.py))return;throw Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!i.isValid(e)||!i.isValid(n))throw Error("bad point: x or y not FE");let r=i.sqr(n),s=o(e);if(!i.eql(r,s))throw Error("bad point: equation left != right");if(!this.isTorsionFree())throw Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(i.isOdd)return!i.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){d(e);let{px:t,py:n,pz:r}=this,{px:o,py:s,pz:a}=e,l=i.eql(i.mul(t,a),i.mul(o,r)),u=i.eql(i.mul(n,a),i.mul(s,r));return l&&u}negate(){return new c(this.px,i.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,r=i.mul(n,ej),{px:o,py:s,pz:a}=this,l=i.ZERO,u=i.ZERO,d=i.ZERO,h=i.mul(o,o),g=i.mul(s,s),p=i.mul(a,a),f=i.mul(o,s);return f=i.add(f,f),d=i.mul(o,a),d=i.add(d,d),l=i.mul(e,d),u=i.mul(r,p),u=i.add(l,u),l=i.sub(g,u),u=i.add(g,u),u=i.mul(l,u),l=i.mul(f,l),d=i.mul(r,d),p=i.mul(e,p),f=i.sub(h,p),f=i.mul(e,f),f=i.add(f,d),d=i.add(h,h),h=i.add(d,h),h=i.add(h,p),h=i.mul(h,f),u=i.add(u,h),p=i.mul(s,a),p=i.add(p,p),h=i.mul(p,f),l=i.sub(l,h),d=i.mul(p,g),d=i.add(d,d),d=i.add(d,d),new c(l,u,d)}add(e){d(e);let{px:n,py:r,pz:o}=this,{px:s,py:a,pz:l}=e,u=i.ZERO,h=i.ZERO,g=i.ZERO,p=t.a,f=i.mul(t.b,ej),m=i.mul(n,s),v=i.mul(r,a),b=i.mul(o,l),y=i.add(n,r),_=i.add(s,a);y=i.mul(y,_),_=i.add(m,v),y=i.sub(y,_),_=i.add(n,o);let w=i.add(s,l);return _=i.mul(_,w),w=i.add(m,b),_=i.sub(_,w),w=i.add(r,o),u=i.add(a,l),w=i.mul(w,u),u=i.add(v,b),w=i.sub(w,u),g=i.mul(p,_),u=i.mul(f,b),g=i.add(u,g),u=i.sub(v,g),g=i.add(v,g),h=i.mul(u,g),v=i.add(m,m),v=i.add(v,m),b=i.mul(p,b),_=i.mul(f,_),v=i.add(v,b),b=i.sub(m,b),b=i.mul(p,b),_=i.add(_,b),m=i.mul(v,_),h=i.add(h,m),m=i.mul(w,_),u=i.mul(y,u),u=i.sub(u,m),m=i.mul(y,v),g=i.mul(w,g),g=i.add(g,m),new c(u,h,g)}subtract(e){return this.add(e.negate())}is0(){return this.equals(c.ZERO)}wNAF(e){return g.wNAFCached(this,u,e,e=>{let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(c.fromAffine)})}multiplyUnsafe(e){let n=c.ZERO;if(e===eV)return n;if(a(e),e===eH)return this;let{endo:r}=t;if(!r)return g.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:l,k2:u}=r.splitScalar(e),d=n,h=n,p=this;for(;s>eV||u>eV;)s&eH&&(d=d.add(p)),u&eH&&(h=h.add(p)),p=p.double(),s>>=eH,u>>=eH;return o&&(d=d.negate()),l&&(h=h.negate()),h=new c(i.mul(h.px,r.beta),h.py,h.pz),d.add(h)}multiply(e){let n,r;a(e);let{endo:o}=t;if(o){let{k1neg:t,k1:s,k2neg:a,k2:l}=o.splitScalar(e),{p:u,f:d}=this.wNAF(s),{p:h,f:p}=this.wNAF(l);u=g.constTimeNegate(t,u),h=g.constTimeNegate(a,h),h=new c(i.mul(h.px,o.beta),h.py,h.pz),n=u.add(h),r=d.add(p)}else{let{p:t,f:i}=this.wNAF(e);n=t,r=i}return c.normalizeZ([n,r])[0]}multiplyAndAddUnsafe(e,t,i){let n=c.BASE,r=(e,t)=>t!==eV&&t!==eH&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=r(this,t).add(r(e,i));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:r}=this,o=this.is0();null==e&&(e=o?i.ONE:i.inv(r));let s=i.mul(t,e),a=i.mul(n,e),l=i.mul(r,e);if(o)return{x:i.ZERO,y:i.ZERO};if(!i.eql(l,i.ONE))throw Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:i}=t;if(e===eH)return!0;if(i)return i(c,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:i}=t;return e===eH?this:i?i(c,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),n(c,this,e)}toHex(e=!0){return X(this.toRawBytes(e))}}c.BASE=new c(t.Gx,t.Gy,i.ONE),c.ZERO=new c(i.ZERO,i.ONE,i.ZERO);let h=t.nBitLength,g=eO(c,t.endo?Math.ceil(h/2):h);return{CURVE:t,ProjectivePoint:c,normPrivateKeyToScalar:l,weierstrassEquation:o,isWithinCurveOrder:s}}({...i,toBytes(e,t,i){let r=t.toAffine(),o=n.toBytes(r.x),s=ea;return i?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,n.toBytes(r.y))},fromBytes(e){let t=e.length,i=e[0],r=e.subarray(1);if(t===o&&(2===i||3===i)){let e=ei(r);if(!(eVX(er(e,i.nByteLength)),g=(e,t,i)=>ei(e.slice(t,i));class p{constructor(e,t,i){this.r=e,this.s=t,this.recovery=i,this.assertValidity()}static fromCompact(e){let t=i.nByteLength;return e=es("compactSignature",e,2*t),new p(g(e,0,t),g(e,t,2*t))}static fromDER(e){let{r:t,s:i}=eB.toSig(es("DER",e));return new p(t,i)}assertValidity(){if(!c(this.r))throw Error("r must be 0 < r < CURVE.n");if(!c(this.s))throw Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new p(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:o,recovery:s}=this,u=v(es("msgHash",e));if(null==s||![0,1,2,3].includes(s))throw Error("recovery id invalid");let d=2===s||3===s?t+i.n:t;if(d>=n.ORDER)throw Error("recovery id 2 or 3 invalid");let c=(1&s)==0?"02":"03",g=l.fromHex(c+h(d)),p=eS(d,r),f=a(-u*p),m=a(o*p),b=l.BASE.multiplyAndAddUnsafe(g,f,m);if(!b)throw Error("point at infinify");return b.assertValidity(),b}hasHighS(){return this.s>r>>eH}normalizeS(){return this.hasHighS()?new p(this.r,a(-this.s),this.recovery):this}toDERRawBytes(){return et(this.toDERHex())}toDERHex(){return eB.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return et(this.toCompactHex())}toCompactHex(){return h(this.r)+h(this.s)}}function f(e){let t=e instanceof Uint8Array,i="string"==typeof e,n=(t||i)&&e.length;return t?n===o||n===s:i?n===2*o||n===2*s:e instanceof l}let m=i.bits2int||function(e){let t=ei(e),n=8*e.length-i.nBitLength;return n>0?t>>BigInt(n):t},v=i.bits2int_modN||function(e){return a(m(e))},b=el(i.nBitLength);function y(e){if("bigint"!=typeof e)throw Error("bigint expected");if(!(eV<=e&&ee in o))throw Error("sign() legacy options not supported");let{hash:s,randomBytes:d}=i,{lowS:h,prehash:g,extraEntropy:f}=o;null==h&&(h=!0),e=es("msgHash",e),g&&(e=es("prehashed msgHash",s(e)));let b=v(e),w=u(t),C=[y(w),y(b)];if(null!=f){let e=!0===f?d(n.BYTES):f;C.push(es("extraEntropy",e))}return{seed:ea(...C),k2sig:function(e){let t=m(e);if(!c(t))return;let i=eS(t,r),n=l.BASE.multiply(t).toAffine(),o=a(n.x);if(o===eV)return;let s=a(i*a(b+o*w));if(s===eV)return;let u=(n.x===o?0:2)|Number(n.y&eH),d=s;return h&&s>r>>eH&&(d=s>r>>eH?a(-s):s,u^=1),new p(o,d,u)}}}(e,t,o);return ec(i.hash.outputLen,i.nByteLength,i.hmac)(s,d)},verify:function(e,t,n,o=w){let s,u;if(t=es("msgHash",t),n=es("publicKey",n),"strict"in o)throw Error("options.strict was renamed to lowS");let{lowS:d,prehash:c}=o;try{if("string"==typeof e||e instanceof Uint8Array)try{u=p.fromDER(e)}catch(t){if(!(t instanceof eB.Err))throw t;u=p.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:i}=e;u=new p(t,i)}else throw Error("PARSE");s=l.fromHex(n)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(d&&u.hasHighS())return!1;c&&(t=i.hash(t));let{r:h,s:g}=u,f=v(t),m=eS(g,r),b=a(f*m),y=a(h*m),_=l.BASE.multiplyAndAddUnsafe(s,b,y)?.toAffine();return!!_&&a(_.x)===h},ProjectivePoint:l,Signature:p,utils:{isValidPrivateKey(e){try{return u(e),!0}catch(e){return!1}},normPrivateKeyToScalar:u,randomPrivateKey:()=>{let e=eN(i.n);return function(e,t,i=!1){let n=e.length,r=eD(t),o=eN(t);if(n<16||n1024)throw Error(`expected ${o}-1024 bytes of input, got ${n}`);let s=ew(i?ei(e):en(e),t-ef)+ef;return i?eo(s,r):er(s,r)}(i.randomBytes(e),i.n)},precompute:(e=8,t=l.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}})({...e,hash:t,hmac:(e,...i)=>eT(t,e,function(...e){let t=new Uint8Array(e.reduce((e,t)=>e+t.length,0)),i=0;return e.forEach(e=>{if(!O(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}(...i)),randomBytes:H});return Object.freeze({...i(t),create:i})}({a:BigInt(0),b:BigInt(7),Fp:eK,n:ez,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),i=-eU*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),r=BigInt("0x100000000000000000000000000000000"),o=eq(t*e,ez),s=eq(-i*e,ez),a=ew(e-o*t-s*n,ez),l=ew(-o*i-s*t,ez),u=a>r,d=l>r;if(u&&(a=ez-a),d&&(l=ez-l),a>r||l>r)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:u,k1:a,k2neg:d,k2:l}}}},G);BigInt(0),eG.ProjectivePoint;var eZ=i(63610),eY=i(1840),eQ=i(79225);let eJ=(e,t,i)=>e&t^~e&i,eX=(e,t,i)=>e&t^e&i^t&i;class e0 extends eQ.kb{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,eQ.GL)(this.buffer)}update(e){(0,eY.Gg)(this);let{view:t,buffer:i,blockLen:n}=this,r=(e=(0,eQ.O0)(e)).length;for(let o=0;on-o&&(this.process(i,0),o=0);for(let e=o;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,n-8,BigInt(8*this.length),r),this.process(i,0);let s=(0,eQ.GL)(e),a=this.outputLen;if(a%4)throw Error("_sha2: outputLen should be aligned to 32bit");let l=a/4,u=this.get();if(l>u.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;et)),e6=e2.map(e=>(9*e+5)%16),e3=[e2],e8=[e6];for(let e=0;e<4;e++)for(let t of[e3,e8])t.push(t[e].map(e=>e1[e]));let e5=[[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)),e4=e3.map((e,t)=>e.map(e=>e5[t][e])),e9=e8.map((e,t)=>e.map(e=>e5[t][e])),e7=new Uint32Array([0,1518500249,1859775393,2400959708,2840853838]),te=new Uint32Array([1352829926,1548603684,1836072691,2053994217,0]);function tt(e,t,i,n){return 0===e?t^i^n:1===e?t&i|~t&n:2===e?(t|~i)^n:3===e?t&n|i&~n:t^(i|~n)}let ti=new Uint32Array(16);class tn extends e0{constructor(){super(64,20,8,!0),this.h0=1732584193,this.h1=-271733879,this.h2=-1732584194,this.h3=271733878,this.h4=-1009589776}get(){let{h0:e,h1:t,h2:i,h3:n,h4:r}=this;return[e,t,i,n,r]}set(e,t,i,n,r){this.h0=0|e,this.h1=0|t,this.h2=0|i,this.h3=0|n,this.h4=0|r}process(e,t){for(let i=0;i<16;i++,t+=4)ti[i]=e.getUint32(t,!0);let i=0|this.h0,n=i,r=0|this.h1,o=r,s=0|this.h2,a=s,l=0|this.h3,u=l,d=0|this.h4,c=d;for(let e=0;e<5;e++){let t=4-e,h=e7[e],g=te[e],p=e3[e],f=e8[e],m=e4[e],v=e9[e];for(let t=0;t<16;t++){let n=(0,eQ.XG)(i+tt(e,r,s,l)+ti[p[t]]+h,m[t])+d|0;i=d,d=l,l=0|(0,eQ.XG)(s,10),s=r,r=n}for(let e=0;e<16;e++){let i=(0,eQ.XG)(n+tt(t,o,a,u)+ti[f[e]]+g,v[e])+c|0;n=c,c=u,u=0|(0,eQ.XG)(a,10),a=o,o=i}}this.set(this.h1+s+u|0,this.h2+l+c|0,this.h3+d+n|0,this.h4+i+o|0,this.h0+r+a|0)}roundClean(){ti.fill(0)}destroy(){this.destroyed=!0,this.buffer.fill(0),this.set(0,0,0,0,0)}}let tr=(0,eQ.hE)(()=>new tn),to=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]),ts=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),ta=new Uint32Array(64);class tl extends e0{constructor(){super(64,32,8,!1),this.A=0|ts[0],this.B=0|ts[1],this.C=0|ts[2],this.D=0|ts[3],this.E=0|ts[4],this.F=0|ts[5],this.G=0|ts[6],this.H=0|ts[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)ta[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=ta[e-15],i=ta[e-2],n=(0,eQ.np)(t,7)^(0,eQ.np)(t,18)^t>>>3,r=(0,eQ.np)(i,17)^(0,eQ.np)(i,19)^i>>>10;ta[e]=r+ta[e-7]+n+ta[e-16]|0}let{A:i,B:n,C:r,D:o,E:s,F:a,G:l,H:u}=this;for(let e=0;e<64;e++){let t=u+((0,eQ.np)(s,6)^(0,eQ.np)(s,11)^(0,eQ.np)(s,25))+eJ(s,a,l)+to[e]+ta[e]|0,d=((0,eQ.np)(i,2)^(0,eQ.np)(i,13)^(0,eQ.np)(i,22))+eX(i,n,r)|0;u=l,l=a,a=s,s=o+t|0,o=r,r=n,n=i,i=t+d|0}i=i+this.A|0,n=n+this.B|0,r=r+this.C|0,o=o+this.D|0,s=s+this.E|0,a=a+this.F|0,l=l+this.G|0,u=u+this.H|0,this.set(i,n,r,o,s,a,l,u)}roundClean(){ta.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}let tu=(0,eQ.hE)(()=>new tl);var td=i(25814);let tc=BigInt(4294967295),th=BigInt(32);function tg(e,t=!1){return t?{h:Number(e&tc),l:Number(e>>th&tc)}:{h:0|Number(e>>th&tc),l:0|Number(e&tc)}}let tp={fromBig:tg,split:function(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let r=0;rBigInt(e>>>0)<>>0),shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,i)=>e<>>32-i,rotlSL:(e,t,i)=>t<>>32-i,rotlBH:(e,t,i)=>t<>>64-i,rotlBL:(e,t,i)=>e<>>64-i,add:function(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}},add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)},[tf,tm]=tp.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))),tv=new Uint32Array(80),tb=new Uint32Array(80);class ty extends j{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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)tv[i]=e.getUint32(t),tb[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|tv[e-15],i=0|tb[e-15],n=tp.rotrSH(t,i,1)^tp.rotrSH(t,i,8)^tp.shrSH(t,i,7),r=tp.rotrSL(t,i,1)^tp.rotrSL(t,i,8)^tp.shrSL(t,i,7),o=0|tv[e-2],s=0|tb[e-2],a=tp.rotrSH(o,s,19)^tp.rotrBH(o,s,61)^tp.shrSH(o,s,6),l=tp.rotrSL(o,s,19)^tp.rotrBL(o,s,61)^tp.shrSL(o,s,6),u=tp.add4L(r,l,tb[e-7],tb[e-16]),d=tp.add4H(u,n,a,tv[e-7],tv[e-16]);tv[e]=0|d,tb[e]=0|u}let{Ah:i,Al:n,Bh:r,Bl:o,Ch:s,Cl:a,Dh:l,Dl:u,Eh:d,El:c,Fh:h,Fl:g,Gh:p,Gl:f,Hh:m,Hl:v}=this;for(let e=0;e<80;e++){let t=tp.rotrSH(d,c,14)^tp.rotrSH(d,c,18)^tp.rotrBH(d,c,41),b=tp.rotrSL(d,c,14)^tp.rotrSL(d,c,18)^tp.rotrBL(d,c,41),y=d&h^~d&p,_=c&g^~c&f,w=tp.add5L(v,b,_,tm[e],tb[e]),C=tp.add5H(w,m,t,y,tf[e],tv[e]),S=0|w,x=tp.rotrSH(i,n,28)^tp.rotrBH(i,n,34)^tp.rotrBH(i,n,39),k=tp.rotrSL(i,n,28)^tp.rotrBL(i,n,34)^tp.rotrBL(i,n,39),E=i&r^i&s^r&s,L=n&o^n&a^o&a;m=0|p,v=0|f,p=0|h,f=0|g,h=0|d,g=0|c,({h:d,l:c}=tp.add(0|l,0|u,0|C,0|S)),l=0|s,u=0|a,s=0|r,a=0|o,r=0|i,o=0|n;let D=tp.add3L(S,k,L);i=tp.add3H(D,C,x,E),n=0|D}({h:i,l:n}=tp.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:r,l:o}=tp.add(0|this.Bh,0|this.Bl,0|r,0|o)),({h:s,l:a}=tp.add(0|this.Ch,0|this.Cl,0|s,0|a)),({h:l,l:u}=tp.add(0|this.Dh,0|this.Dl,0|l,0|u)),({h:d,l:c}=tp.add(0|this.Eh,0|this.El,0|d,0|c)),({h:h,l:g}=tp.add(0|this.Fh,0|this.Fl,0|h,0|g)),({h:p,l:f}=tp.add(0|this.Gh,0|this.Gl,0|p,0|f)),({h:m,l:v}=tp.add(0|this.Hh,0|this.Hl,0|m,0|v)),this.set(i,n,r,o,s,a,l,u,d,c,h,g,p,f,m,v)}roundClean(){tv.fill(0),tb.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)}}let t_=V(()=>new ty),tw=BigInt(0),tC=BigInt(1),tS=BigInt(2),tx=BigInt(8),tk={zip215:!0},tE=BigInt("57896044618658097711785492504343953926634992332820282019728792003956564819949"),tL=BigInt("19681161376707505956807079304988542015446066515923890162744021073123829784752"),tD=(BigInt(0),BigInt(1)),tN=BigInt(2),tA=BigInt(5),tT=BigInt(10),tI=BigInt(20),tM=BigInt(40),tO=BigInt(80),tP=eL(tE,void 0,!0),tR={a:BigInt(-1),d:BigInt("37095705934669439343138083508754565189542113879843219016388785533085940283555"),Fp:tP,n:BigInt("7237005577332262213973186563042994240857116359379907606001950938285454250989"),h:BigInt(8),Gx:BigInt("15112221349535400772501151409588531511454012693041857206046113283949847762202"),Gy:BigInt("46316835694926478169428394003475163141307993866256225615783033603165251855960"),hash:t_,randomBytes:H,adjustScalarBytes:function(e){return e[0]&=248,e[31]&=127,e[31]|=64,e},uvRatio:function(e,t){var i;let n,r,o,s,a,l,u,d,c,h;let g=ew(t*t*t,tE),p=(r=eC(n=(i=e*ew(g*g*t,tE))*i%tE*i%tE,tN,tE)*n%tE,o=eC(r,tD,tE)*i%tE,s=eC(o,tA,tE)*o%tE,a=eC(s,tT,tE)*s%tE,l=eC(a,tI,tE)*a%tE,u=eC(l,tM,tE)*l%tE,d=eC(u,tO,tE)*u%tE,c=eC(d,tO,tE)*u%tE,h=eC(c,tT,tE)*s%tE,{pow_p_5_8:eC(h,tN,tE)*i%tE,b2:n}).pow_p_5_8,f=ew(e*g*p,tE),m=ew(t*f*f,tE),v=f,b=ew(f*tL,tE),y=m===e,_=m===ew(-e,tE),w=m===ew(-e*tL,tE);return y&&(f=v),(_||w)&&(f=b),ex(f,tE)&&(f=ew(-f,tE)),{isValid:y||_,value:f}}},tF=function(e){let t;let i=(t=eP(e),eg(e,{hash:"function",a:"bigint",d:"bigint",randomBytes:"function"},{adjustScalarBytes:"function",domain:"function",uvRatio:"function",mapToCurve:"function"}),Object.freeze({...t})),{Fp:n,n:r,prehash:o,hash:s,randomBytes:a,nByteLength:l,h:u}=i,d=tS<{try{return{isValid:!0,value:n.sqrt(e*n.inv(t))}}catch(e){return{isValid:!1,value:tw}}}),g=i.adjustScalarBytes||(e=>e),p=i.domain||((e,t,i)=>{if(t.length||i)throw Error("Contexts/pre-hash are not supported");return e}),f=e=>"bigint"==typeof e&&twf(e)&&f(t)&&ee===tw||m(e,d);function b(e,t){if(m(e,t))return e;throw Error(`Expected valid scalar < ${t}, got ${typeof e} ${e}`)}function y(e){return e===tw?e:b(e,r)}let _=new Map;function w(e){if(!(e instanceof C))throw Error("ExtendedPoint expected")}class C{constructor(e,t,i,n){if(this.ex=e,this.ey=t,this.ez=i,this.et=n,!v(e))throw Error("x required");if(!v(t))throw Error("y required");if(!v(i))throw Error("z required");if(!v(n))throw Error("t required")}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static fromAffine(e){if(e instanceof C)throw Error("extended point not allowed");let{x:t,y:i}=e||{};if(!v(t)||!v(i))throw Error("invalid affine point");return new C(t,i,tC,c(t*i))}static normalizeZ(e){let t=n.invertBatch(e.map(e=>e.ez));return e.map((e,i)=>e.toAffine(t[i])).map(C.fromAffine)}_setWindowSize(e){this._WINDOW_SIZE=e,_.delete(this)}assertValidity(){let{a:e,d:t}=i;if(this.is0())throw Error("bad point: ZERO");let{ex:n,ey:r,ez:o,et:s}=this,a=c(n*n),l=c(r*r),u=c(o*o),d=c(u*u),h=c(a*e);if(c(u*c(h+l))!==c(d+c(t*c(a*l))))throw Error("bad point: equation left != right (1)");if(c(n*r)!==c(o*s))throw Error("bad point: equation left != right (2)")}equals(e){w(e);let{ex:t,ey:i,ez:n}=this,{ex:r,ey:o,ez:s}=e,a=c(t*s),l=c(r*n),u=c(i*s),d=c(o*n);return a===l&&u===d}is0(){return this.equals(C.ZERO)}negate(){return new C(c(-this.ex),this.ey,this.ez,c(-this.et))}double(){let{a:e}=i,{ex:t,ey:n,ez:r}=this,o=c(t*t),s=c(n*n),a=c(tS*c(r*r)),l=c(e*o),u=t+n,d=c(c(u*u)-o-s),h=l+s,g=h-a,p=l-s,f=c(d*g),m=c(h*p),v=c(d*p),b=c(g*h);return new C(f,m,b,v)}add(e){w(e);let{a:t,d:n}=i,{ex:r,ey:o,ez:s,et:a}=this,{ex:l,ey:u,ez:d,et:h}=e;if(t===BigInt(-1)){let e=c((o-r)*(u+l)),t=c((o+r)*(u-l)),i=c(t-e);if(i===tw)return this.double();let n=c(s*tS*h),g=c(a*tS*d),p=g+n,f=t+e,m=g-n,v=c(p*i),b=c(f*m),y=c(p*m),_=c(i*f);return new C(v,b,_,y)}let g=c(r*l),p=c(o*u),f=c(a*n*h),m=c(s*d),v=c((r+o)*(l+u)-g-p),b=m-f,y=m+f,_=c(p-t*g),S=c(v*b),x=c(y*_),k=c(v*_),E=c(b*y);return new C(S,x,E,k)}subtract(e){return this.add(e.negate())}wNAF(e){return k.wNAFCached(this,_,e,C.normalizeZ)}multiply(e){let{p:t,f:i}=this.wNAF(b(e,r));return C.normalizeZ([t,i])[0]}multiplyUnsafe(e){let t=y(e);return t===tw?x:this.equals(x)||t===tC?this:this.equals(S)?this.wNAF(t).p:k.unsafeLadder(this,t)}isSmallOrder(){return this.multiplyUnsafe(u).is0()}isTorsionFree(){return k.unsafeLadder(this,r).is0()}toAffine(e){let{ex:t,ey:i,ez:r}=this,o=this.is0();null==e&&(e=o?tx:n.inv(r));let s=c(t*e),a=c(i*e),l=c(r*e);if(o)return{x:tw,y:tC};if(l!==tC)throw Error("invZ was invalid");return{x:s,y:a}}clearCofactor(){let{h:e}=i;return e===tC?this:this.multiplyUnsafe(e)}static fromHex(e,t=!1){let{d:r,a:o}=i,s=n.BYTES,a=(e=es("pointHex",e,s)).slice(),l=e[s-1];a[s-1]=-129&l;let u=en(a);u===tw||(t?b(u,d):b(u,n.ORDER));let g=c(u*u),{isValid:p,value:f}=h(c(g-tC),c(r*g-o));if(!p)throw Error("Point.fromHex: invalid y coordinate");let m=(f&tC)===tC,v=(128&l)!=0;if(!t&&f===tw&&v)throw Error("Point.fromHex: x=0 and x_0=1");return v!==m&&(f=c(-f)),C.fromAffine({x:f,y:u})}static fromPrivateKey(e){return E(e).point}toRawBytes(){let{x:e,y:t}=this.toAffine(),i=eo(t,n.BYTES);return i[i.length-1]|=e&tC?128:0,i}toHex(){return X(this.toRawBytes())}}C.BASE=new C(i.Gx,i.Gy,tC,c(i.Gx*i.Gy)),C.ZERO=new C(tw,tC,tC,tw);let{BASE:S,ZERO:x}=C,k=eO(C,8*l);function E(e){e=es("private key",e,l);let t=es("hashed private key",s(e),2*l),i=g(t.slice(0,l)),n=t.slice(l,2*l),o=ew(en(i),r),a=S.multiply(o),u=a.toRawBytes();return{head:i,prefix:n,scalar:o,point:a,pointBytes:u}}function L(e=new Uint8Array,...t){return ew(en(s(p(ea(...t),es("context",e),!!o))),r)}return S._setWindowSize(8),{CURVE:i,getPublicKey:function(e){return E(e).pointBytes},sign:function(e,t,i={}){e=es("message",e),o&&(e=o(e));let{prefix:s,scalar:a,pointBytes:u}=E(t),d=L(i.context,s,e),c=S.multiply(d).toRawBytes(),h=ew(d+L(i.context,c,u,e)*a,r);return y(h),es("result",ea(c,eo(h,n.BYTES)),2*l)},verify:function(e,t,i,r=tk){let s,a,l;let{context:u,zip215:d}=r,c=n.BYTES;e=es("signature",e,2*c),t=es("message",t),o&&(t=o(t));let h=en(e.slice(c,2*c));try{s=C.fromHex(i,d),a=C.fromHex(e.slice(0,c),d),l=S.multiplyUnsafe(h)}catch(e){return!1}if(!d&&s.isSmallOrder())return!1;let g=L(u,a.toRawBytes(),s.toRawBytes(),t);return a.add(s.multiplyUnsafe(g)).subtract(l).clearCofactor().equals(C.ZERO)},ExtendedPoint:C,utils:{getExtendedPublicKey:E,randomPrivateKey:()=>a(n.BYTES),precompute:(e=8,t=C.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}}(tR);({...tR});let tB=(tP.ORDER+BigInt(3))/BigInt(8);tP.pow(tN,tB),tP.sqrt(tP.neg(tP.ONE)),tP.ORDER,BigInt(5),BigInt(8),BigInt(486662),function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);e.isOdd(i)&&e.neg(i)}(tP,tP.neg(BigInt(486664))),BigInt("25063068953384623474111414158702152701244531502492656460079210482610430750235"),BigInt("54469307008909316920995813868745141605393597292927456921205312896311721017578"),BigInt("1159843021668779879193775521855586647937357759715417654439879720876111806838"),BigInt("40440834346308536858101042469323190826248399146238708352240133220865137265952"),BigInt("0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");let tV=tF.CURVE,tH="ed25519",tj=(0,N.qX)("ed25519 seed"),tW=e=>!0,tz=!1,tU=33,t$=(e,t)=>{let i=tF.getPublicKey(e);return(0,N.eV)([new Uint8Array([0]),i])},tq=(e,t)=>{throw Error("Ed25519 does not support public key derivation.")},tK=e=>e,tG=e=>e,tZ=32,tY="slip10",tQ=33;var tJ=i(35532),tX=i(90476);let t0=tF.CURVE,t1="ed25519Bip32",t2=(0,N.qX)("");function t6(e,t){let i=e[t];return(0,f.hu)(void 0!==i,"Private key is too short."),i}let t3=e=>(7&t6(e,0))==0&&(128&t6(e,31))==0&&(64&t6(e,31))==64,t8=!0,t5=32,t4=e=>(0,tJ.y_)((0,N.ci)(Uint8Array.from(e).reverse())),t9=e=>{let t=ew(t4(e),t0.n);return tF.ExtendedPoint.BASE.multiply(t).toRawBytes()},t7=async(e,t)=>t9(e.slice(0,32)),ie=(e,t)=>tF.ExtendedPoint.fromHex((0,tX.BG)((0,N.ci)(e))).add(tF.ExtendedPoint.fromHex((0,tX.BG)((0,N.ci)(t)))).toRawBytes(),it=e=>e,ii=e=>e,ir=64,io="cip3",is=32,ia={secp256k1:d,ed25519:l,ed25519Bip32:u};function il({account:e=0,change:t=0,address_index:i}){return[iu(e),ic(t),ic(i)]}function iu(e){return ih(e),`${id(e)}'`}function id(e){return ih(e),`bip32:${e}`}function ic(e){if("number"==typeof e)return id(e);if(!e||!Number.isInteger(e.index)||"boolean"!=typeof e.hardened)throw Error("Invalid BIP-32 index: Must be an object containing the index and whether it is hardened.");return e.hardened?iu(e.index):id(e.index)}function ih(e){if(!(ib(e)&&e<=_))throw Error("Invalid BIP-32 index: Must be a non-negative integer.")}function ig(e){if("string"!=typeof e)return!1;let t=e.match(S);if(void 0===t?.groups?.index)return!1;let i=parseInt(t.groups.index,10);return ib(i)&&i<=y}function ip(e){return e.endsWith("'")}function im(e){return e instanceof Uint8Array?e:(0,N.nr)(e)}function iv(e,t){if(e.length!==t)return!1;for(let t of e)if(0!==t)return!0;return!1}function ib(e){return"number"==typeof e&&Number.isInteger(e)&&e>=0}function iy(e,t){if(e instanceof Uint8Array)return i_(e,t),e;if("string"==typeof e){let i=(0,N.nr)(e);return i_(i,t),i}throw Error("Invalid value: Expected an instance of Uint8Array or hexadecimal string.")}function i_(e,t){if(!iv(e,t))throw Error(`Invalid value: Must be a non-zero ${t}-byte byte array.`)}let iw=e=>{let t=(0,td.Av)(tu);try{return t.decode(e)}catch{throw Error("Invalid extended key: Value is not base58-encoded, or the checksum is invalid.")}},iC=e=>(0,td.Av)(tu).encode(e),iS=(e,t)=>{if(!iv(e,t))throw Error(`Invalid public key: The key must be a ${t}-byte, non-zero byte array.`);let i=tr(tu(e));return(0,N.Vp)(i).getUint32(0,!1)};function ix(e){let t=e.split(" ").map(e=>{let t=eZ.U.indexOf(e);return(0,f.hu)(-1!==t,`Invalid mnemonic phrase: Unknown word "${e}".`),t});return new Uint8Array(new Uint16Array(t).buffer)}function ik(e){if(!e||"string"!=typeof e)throw Error("Invalid curve: Must specify a curve.");if(!Object.keys(ia).includes(e))throw Error(`Invalid curve: Only the following curves are supported: ${Object.keys(ia).join(", ")}.`)}function iE(e,t=!1){let i=new Uint8Array(4);return(0,N.Vp)(i).setUint32(0,e,t),i}let iL=eG.CURVE,iD="secp256k1",iN=(0,N.qX)("Bitcoin seed"),iA=!0,iT=65,iI=e=>eG.utils.isValidPrivateKey(e),iM=(e,t=!1)=>eG.getPublicKey(e,t),iO=(e,t)=>{(0,f.hu)(iv(t,32),"Invalid tweak: Tweak must be a non-zero 32-byte Uint8Array.");let i=eG.ProjectivePoint.fromHex(e).add(eG.ProjectivePoint.fromPrivateKey(t));return i.assertValidity(),i.toRawBytes(!1)},iP=e=>eG.ProjectivePoint.fromHex(e).toRawBytes(!0),iR=e=>eG.ProjectivePoint.fromHex(e).toRawBytes(!1),iF=32,iB="slip10",iV=33,iH=e=>{let t=iw(e);if(78!==t.length)throw Error(`Invalid extended key: Expected a length of 78, got ${t.length}.`);let i=(0,N.Vp)(t),n=i.getUint32(0,!1),r=i.getUint8(4);nW(r);let o=i.getUint32(5,!1),s=i.getUint32(9,!1),a=t.slice(13,45);if(!iv(a,32))throw Error("Invalid extended key: Chain code must be a 32-byte non-zero byte array.");let l=t.slice(45,78);if(!iv(l,33))throw Error("Invalid extended key: Key must be a 33-byte non-zero byte array.");let u=(0,N.Vp)(l);if(76067358===n){if(2!==u.getUint8(0)&&3!==u.getUint8(0))throw Error("Invalid extended key: Public key must start with 0x02 or 0x03.");return{version:n,depth:r,parentFingerprint:o,index:s,chainCode:a,publicKey:iR(l)}}if(76066276===n){if(0!==u.getUint8(0))throw Error("Invalid extended key: Private key must start with 0x00.");return{version:n,depth:r,parentFingerprint:o,index:s,chainCode:a,privateKey:l.slice(1)}}throw Error("Invalid extended key: Expected a public (xpub) or private key (xprv) version.")},ij=e=>{let{version:t,depth:i,parentFingerprint:n,index:r,chainCode:o}=e,s=new Uint8Array(78),a=(0,N.Vp)(s);if(a.setUint32(0,t,!1),a.setUint8(4,i),a.setUint32(5,n,!1),a.setUint32(9,r,!1),s.set(o,13),76067358===e.version){let{publicKey:t}=e,i=iP(t);s.set(i,45)}if(76066276===e.version){let{privateKey:t}=e;s.set(t,46)}return iC(s)};var iW=function(e,t,i,n,r){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!r)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,i):r?r.value=i:t.set(e,i),i},iz=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};let iU=2;class i${constructor(e,t){n.set(this,void 0),iW(this,n,e,"f"),this.coin_type=t,this.path=`m / ${w} / ${iu(t)}`,Object.freeze(this)}static async fromJSON(e,t){iK(t),iq(e.depth);let i=await nj.fromExtendedKey({depth:e.depth,index:e.index,parentFingerprint:e.parentFingerprint,chainCode:im(e.chainCode),privateKey:function(e){if(void 0!==e)return im(e)}(e.privateKey),publicKey:im(e.publicKey)});return new i$(i,t)}static async fromDerivationPath(e){iq(e.length-1);let t=await nj.fromDerivationPath({derivationPath:e}),i=e[iU].split(":")[1]?.replace("'","");(0,f.hu)(i,"Invalid derivation path.");let n=Number.parseInt(i,10);return new i$(t,n)}static async fromNode(e,t){if(!(e instanceof nj))throw Error("Invalid node: Expected an instance of BIP44Node.");return iK(t),iq(e.depth),Promise.resolve(new i$(e,t))}get depth(){return iz(this,n,"f").depth}get privateKeyBytes(){return iz(this,n,"f").privateKeyBytes}get publicKeyBytes(){return iz(this,n,"f").publicKeyBytes}get chainCodeBytes(){return iz(this,n,"f").chainCodeBytes}get privateKey(){return iz(this,n,"f").privateKey}get publicKey(){return iz(this,n,"f").publicKey}get compressedPublicKey(){return iz(this,n,"f").compressedPublicKey}get compressedPublicKeyBytes(){return iz(this,n,"f").compressedPublicKeyBytes}get chainCode(){return iz(this,n,"f").chainCode}get address(){return iz(this,n,"f").address}get masterFingerprint(){return iz(this,n,"f").masterFingerprint}get parentFingerprint(){return iz(this,n,"f").parentFingerprint}get fingerprint(){return iz(this,n,"f").fingerprint}get index(){return iz(this,n,"f").index}get curve(){return iz(this,n,"f").curve}get extendedKey(){return iz(this,n,"f").extendedKey}async deriveBIP44AddressKey({account:e=0,change:t=0,address_index:i}){return await iz(this,n,"f").derive(il({account:e,change:t,address_index:i}))}toJSON(){return{...iz(this,n,"f").toJSON(),coin_type:this.coin_type,path:this.path}}}function iq(e){if(e!==iU)throw Error(`Invalid depth: Coin type nodes must be of depth ${iU}. Received: "${e}"`)}function iK(e){if("number"!=typeof e||!Number.isInteger(e)||e<0)throw Error("Invalid coin type: The specified coin type must be a non-negative integer number.")}async function iG(e,{account:t=0,change:i=0,address_index:n}){let r=il({account:t,change:i,address_index:n}),o=await iY(e),s=await nB({path:r,node:o});return new nj(s)}async function iZ(e,t){var i,n;let{account:r=0,change:o=0}=t??{},s=await iY(e),a=iu(r),l=ic(o),u=async(e,t=!1)=>{let i=await nB({path:[a,l,t?iu(e):id(e)],node:s});return new nj(i)};return u.coin_type=s.coin_type,u.path=(i=s.path,n={account:r,change:o},`${i} / ${iu(n.account??0)} / ${ic(n.change??0)}`),Object.freeze(u),u}async function iY(e){if(e instanceof i$)return iq(e.depth),e;if("string"==typeof e){let t=await nj.fromExtendedKey(e),i=await i$.fromNode(t,t.index-D);return iq(i.depth),i}return i$.fromJSON(e,e.coin_type)}n=new WeakMap;var iQ=i(91374);class iJ extends eQ.kb{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,eY.vp)(e);let i=(0,eQ.O0)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let n=this.blockLen,r=new Uint8Array(n);r.set(i.length>n?e.create().update(i).digest():i);for(let e=0;enew iJ(e,t).update(i).digest();iX.create=(e,t)=>new iJ(e,t);var i0=i(4307);let[i1,i2]=i0.ZP.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))),i6=new Uint32Array(80),i3=new Uint32Array(80);class i8 extends e0{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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)i6[i]=e.getUint32(t),i3[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|i6[e-15],i=0|i3[e-15],n=i0.ZP.rotrSH(t,i,1)^i0.ZP.rotrSH(t,i,8)^i0.ZP.shrSH(t,i,7),r=i0.ZP.rotrSL(t,i,1)^i0.ZP.rotrSL(t,i,8)^i0.ZP.shrSL(t,i,7),o=0|i6[e-2],s=0|i3[e-2],a=i0.ZP.rotrSH(o,s,19)^i0.ZP.rotrBH(o,s,61)^i0.ZP.shrSH(o,s,6),l=i0.ZP.rotrSL(o,s,19)^i0.ZP.rotrBL(o,s,61)^i0.ZP.shrSL(o,s,6),u=i0.ZP.add4L(r,l,i3[e-7],i3[e-16]),d=i0.ZP.add4H(u,n,a,i6[e-7],i6[e-16]);i6[e]=0|d,i3[e]=0|u}let{Ah:i,Al:n,Bh:r,Bl:o,Ch:s,Cl:a,Dh:l,Dl:u,Eh:d,El:c,Fh:h,Fl:g,Gh:p,Gl:f,Hh:m,Hl:v}=this;for(let e=0;e<80;e++){let t=i0.ZP.rotrSH(d,c,14)^i0.ZP.rotrSH(d,c,18)^i0.ZP.rotrBH(d,c,41),b=i0.ZP.rotrSL(d,c,14)^i0.ZP.rotrSL(d,c,18)^i0.ZP.rotrBL(d,c,41),y=d&h^~d&p,_=c&g^~c&f,w=i0.ZP.add5L(v,b,_,i2[e],i3[e]),C=i0.ZP.add5H(w,m,t,y,i1[e],i6[e]),S=0|w,x=i0.ZP.rotrSH(i,n,28)^i0.ZP.rotrBH(i,n,34)^i0.ZP.rotrBH(i,n,39),k=i0.ZP.rotrSL(i,n,28)^i0.ZP.rotrBL(i,n,34)^i0.ZP.rotrBL(i,n,39),E=i&r^i&s^r&s,L=n&o^n&a^o&a;m=0|p,v=0|f,p=0|h,f=0|g,h=0|d,g=0|c,({h:d,l:c}=i0.ZP.add(0|l,0|u,0|C,0|S)),l=0|s,u=0|a,s=0|r,a=0|o,r=0|i,o=0|n;let D=i0.ZP.add3L(S,k,L);i=i0.ZP.add3H(D,C,x,E),n=0|D}({h:i,l:n}=i0.ZP.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:r,l:o}=i0.ZP.add(0|this.Bh,0|this.Bl,0|r,0|o)),({h:s,l:a}=i0.ZP.add(0|this.Ch,0|this.Cl,0|s,0|a)),({h:l,l:u}=i0.ZP.add(0|this.Dh,0|this.Dl,0|l,0|u)),({h:d,l:c}=i0.ZP.add(0|this.Eh,0|this.El,0|d,0|c)),({h:h,l:g}=i0.ZP.add(0|this.Fh,0|this.Fl,0|h,0|g)),({h:p,l:f}=i0.ZP.add(0|this.Gh,0|this.Gl,0|p,0|f)),({h:m,l:v}=i0.ZP.add(0|this.Hh,0|this.Hl,0|m,0|v)),this.set(i,n,r,o,s,a,l,u,d,c,h,g,p,f,m,v)}roundClean(){i6.fill(0),i3.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)}}let i5=(0,eQ.hE)(()=>new i8);async function i4({path:e,node:t,curve:i},n){no(t);let{childIndex:r,isHardened:o}=ns(e,t,i),s={chainCode:t.chainCodeBytes,childIndex:r,isHardened:o,depth:t.depth,parentFingerprint:t.fingerprint,masterFingerprint:t.masterFingerprint,curve:i};if(t.privateKeyBytes){let e=await i7({privateKey:t.privateKeyBytes,childIndex:r,isHardened:o,curve:i}),a=nr({chainCode:t.chainCodeBytes,extension:e});return await i9({privateKey:t.privateKeyBytes,entropy:a,...s},n)}let a=ne({parentPublicKey:t.compressedPublicKeyBytes,childIndex:r}),l=nr({chainCode:t.chainCodeBytes,extension:a});return await i9({publicKey:t.compressedPublicKeyBytes,entropy:l,...s},n)}async function i9(e,t){let{privateKey:i,publicKey:n,entropy:r,childIndex:o,isHardened:s,depth:a,parentFingerprint:l,masterFingerprint:u,curve:d}=e;try{if(i)return await ni({entropy:r,privateKey:i,depth:a,masterFingerprint:u,parentFingerprint:l,childIndex:o,isHardened:s,curve:d});return await nn({entropy:r,publicKey:n,depth:a,masterFingerprint:u,parentFingerprint:l,childIndex:o,curve:d})}catch(i){return await i9(await t(i,e),t)}}async function i7({privateKey:e,childIndex:t,isHardened:i,curve:n}){return i?(0,N.eV)([new Uint8Array([0]),e,iE(t+D)]):ne({parentPublicKey:await n.getPublicKey(e,!0),childIndex:t})}function ne({parentPublicKey:e,childIndex:t}){return(0,N.eV)([e,iE(t)])}async function nt({privateKey:e,entropy:t,curve:i}){let n=t.slice(0,32),r=t.slice(32);if("ed25519"===i.name){let e=await i.getPublicKey(n);return{privateKey:n,publicKey:e,chainCode:r}}let o=function(e,t,i){(0,f.hu)(iv(t,32),"Invalid tweak: Tweak must be a non-zero 32-byte Uint8Array.");let n=(0,N.v3)(e),r=(0,N.v3)(t);if(r>=i.curve.n)throw Error("Invalid tweak: Tweak is larger than the curve order.");let o=ew(n+r,i.curve.n),s=(0,N.nr)(o.toString(16).padStart(64,"0"));if(!i.isValidPrivateKey(s))throw Error("Invalid private key or tweak: The resulting private key is invalid.");return s}(e,n,i),s=await i.getPublicKey(o);return{privateKey:o,publicKey:s,chainCode:r}}async function ni({entropy:e,privateKey:t,depth:i,masterFingerprint:n,parentFingerprint:r,childIndex:o,isHardened:s,curve:a}){let l=o+(s?D:0),{privateKey:u,chainCode:d}=await nt({privateKey:t,entropy:e,curve:a});return await nR.fromExtendedKey({privateKey:u,chainCode:d,depth:i+1,masterFingerprint:n,parentFingerprint:r,index:l,curve:a.name})}async function nn({entropy:e,publicKey:t,depth:i,masterFingerprint:n,parentFingerprint:r,childIndex:o,curve:s}){let{publicKey:a,chainCode:l}=function({publicKey:e,entropy:t,curve:i}){let n=t.slice(0,32),r=t.slice(32);return{publicKey:i.publicAdd(e,n),chainCode:r}}({publicKey:t,entropy:e,curve:s});return await nR.fromExtendedKey({publicKey:a,chainCode:l,depth:i+1,masterFingerprint:n,parentFingerprint:r,index:o,curve:s.name})}function nr({chainCode:e,extension:t}){return iX(i5,e,t)}function no(e){(0,f.hu)(e,"Invalid parameters: Must specify a node to derive from.")}function ns(e,t,i){let n;(0,f.hu)("string"==typeof e,"Invalid path: Must be a string."),n=e.endsWith("'"),(0,f.hu)(!n||t.privateKey,"Invalid parameters: Cannot derive hardened child keys without a private key."),(0,f.hu)(n||i.deriveUnhardenedKeys,`Invalid path: Cannot derive unhardened child keys with ${i.name}.`);let r=e.split("'")[0];(0,f.hu)(r);let o=parseInt(r,10);if(!C.test(r)||!Number.isInteger(o)||o<0||o>=D)throw Error(`Invalid path: The index must be a non-negative decimal integer less than ${D}.`);return{childIndex:o,isHardened:e.includes("'")}}function na(e){return(0,f.hu)(e instanceof Uint8Array&&iv(e,m),"Invalid key: The key must be a 32-byte, non-zero Uint8Array."),nl(iM(e,!1))}function nl(e){return(0,f.hu)(e instanceof Uint8Array&&iv(e,iT),"Invalid key: The key must be a 65-byte, non-zero Uint8Array."),(0,iQ.fr)(e.slice(1)).slice(-20)}async function nu(e){return(0,f.hu)("secp256k1"===e.curve.name,"Invalid curve: Only secp256k1 is supported by BIP-32."),i4(e,nd)}async function nd(e,t){let{childIndex:i,privateKey:n,publicKey:r,isHardened:o,curve:s,chainCode:a}=t;if(ih(i+1),n){let e=nr({chainCode:a,extension:await i7({privateKey:n,childIndex:i+1,isHardened:o,curve:s})});return{...t,childIndex:i+1,entropy:e}}let l=nr({chainCode:a,extension:ne({parentPublicKey:r,childIndex:i+1})});return{...t,childIndex:i+1,entropy:l}}var nc=i(91763);function nh(e){return`bip39:${e.toLowerCase().trim()}`}async function ng({path:e,curve:t}){switch(t.masterNodeGenerationSpec){case"slip10":return np(await (0,nc.OI)(e,eZ.U),t);case"cip3":return nf((0,nc.oy)(e,eZ.U),t);default:throw Error("Unsupported master node generation spec.")}}async function np(e,t){(0,f.hu)(e.length>=16&&e.length<=64,"Invalid seed: The seed must be between 16 and 64 bytes long.");let i=iX(i5,t.secret,e),n=i.slice(0,m),r=i.slice(m);(0,f.hu)(t.isValidPrivateKey(n),"Invalid private key: The private key must greater than 0 and less than the curve order.");let o=iS(await t.getPublicKey(n,!0),t.compressedPublicKeyLength);return nR.fromExtendedKey({privateKey:n,chainCode:r,masterFingerprint:o,depth:0,parentFingerprint:0,index:0,curve:t.name})}async function nf(e,t){(0,f.hu)(e.length>=16&&e.length<=64,"Invalid entropy: The entropy must be between 16 and 64 bytes long.");let i=function(e,t,i,n){var r;let o;let{c:s,dkLen:a,DK:l,PRF:u,PRFSalt:d}=function(e,t,i,n){(0,eY.vp)(e);let{c:r,dkLen:o,asyncTick:s}=(0,eQ.U5)({dkLen:32,asyncTick:10},n);if((0,eY.Rx)(r),(0,eY.Rx)(o),(0,eY.Rx)(s),r<1)throw Error("PBKDF2: iterations (c) should be >= 1");let a=(0,eQ.O0)(t),l=(0,eQ.O0)(i),u=new Uint8Array(o),d=iX.create(e,a),c=d._cloneInto().update(l);return{c:r,dkLen:o,asyncTick:s,DK:u,PRF:d,PRFSalt:c}}(e,t,i,n),c=new Uint8Array(4),h=(0,eQ.GL)(c),g=new Uint8Array(u.outputLen);for(let e=1,t=0;te.slice().reverse(),nv=e=>{let t=nm(e);return BigInt((0,N.ci)(t))},nb=e=>{let t=e.toString(16);return nm((0,N.nr)(t))},ny=e=>(0,N.eV)([e,new Uint8Array(Math.max(32-e.length,0)).fill(0)]),n_=e=>ny(nb(nv(e.slice(0,28))*BigInt(8))),nw=e=>ny(nb(ew(nv(e),BigInt(2)**BigInt(256)))),nC=(e,t)=>ny(nb(nv(e)+nv(t))).slice(0,32),nS=(e,t,i)=>(0,N.eV)([new Uint8Array([e]),t,iE(i,!0)]),nx={normal:2,hardened:0},nk=async({parentNode:e,childIndex:t,isHardened:i})=>{let n=i?nS(nx.hardened,e.privateKeyBytes,t+D):nS(nx.normal,e.publicKeyBytes,t),r=nr({chainCode:e.chainCodeBytes,extension:n}),o=r.subarray(0,32),s=r.subarray(32),a=e.privateKeyBytes.subarray(0,32),l=e.privateKeyBytes.subarray(32),u=nC(n_(o),a),d=nC(s,l);return(0,N.eV)([u,d])},nE={normal:3,hardened:1},nL=async({parentNode:e,childIndex:t,isHardened:i})=>{let n=i?nS(nE.hardened,e.privateKeyBytes,t+D):nS(nE.normal,e.publicKeyBytes,t);return nr({chainCode:e.chainCodeBytes,extension:n}).subarray(32)},nD=async({parentNode:e,childIndex:t,curve:i})=>{let n=nS(2,e.publicKeyBytes,t),r=nr({chainCode:e.chainCodeBytes,extension:n}).slice(0,32),o=await i.getPublicKey(n_(r));return i.publicAdd(e.publicKeyBytes,o)};async function nN(e){let{curve:t,node:i,path:n}=e;no(i);let{childIndex:r,isHardened:o}=ns(n,i,t);if("ed25519Bip32"!==t.name||!i)throw Error("Unsupported curve: Only ed25519Bip32 is supported by CIP3.");let s=r+(o?D:0),{privateKeyBytes:a,chainCodeBytes:l,publicKeyBytes:u,masterFingerprint:d,depth:c,fingerprint:h}=i;if(a){let e={privateKeyBytes:a,chainCodeBytes:l,publicKeyBytes:u},i=await nk({parentNode:e,childIndex:r,isHardened:o}),n=await nL({parentNode:e,childIndex:r,isHardened:o});return nR.fromExtendedKey({privateKey:(0,N.ci)(i),chainCode:(0,N.ci)(n),masterFingerprint:d,depth:c+1,parentFingerprint:h,index:s,curve:t.name})}(0,f.hu)(!o,"Invalid parameters: Cannot derive hardened child keys without a private key.");let g={chainCodeBytes:l,publicKeyBytes:u},p=await nD({parentNode:g,childIndex:r,isHardened:!1,curve:t}),m=await nL({parentNode:g,childIndex:r,isHardened:!1});return nR.fromExtendedKey({publicKey:(0,N.ci)(p),chainCode:(0,N.ci)(m),masterFingerprint:d,depth:c+1,parentFingerprint:h,index:s,curve:t.name})}async function nA(e){return await i4(e,nT)}async function nT(e,t){let{curve:i,isHardened:n,childIndex:r,entropy:o,chainCode:s}=t;if("ed25519"===i.name)throw e;let a=n?r+D:r,l=nr({chainCode:s,extension:(0,N.eV)([1,o.slice(32,64),iE(a)])});return{...t,entropy:l}}let nI={bip32:c,bip39:h,slip10:p,cip3:g};async function nM(e){let{path:t,depth:i=t.length}=e,n="node"in e?e.node:void 0,r="curve"in e?e.curve:n?.curve;if(n&&!(n instanceof nR)&&!(n instanceof nj)&&!(n instanceof i$))throw Error("Invalid arguments: Node must be a SLIP-10 node or a BIP-44 node when provided.");if(!r)throw Error("Invalid arguments: Must specify either a parent node or curve.");return function(e,t,i){if(0===e.length)throw Error("Invalid HD path segment: The segment must not be empty.");let n=!1;if(e.forEach((e,t)=>{if(0===t){if(n=e instanceof Uint8Array||L.test(e),!(e instanceof Uint8Array)&&!n&&!x.test(e)&&!k.test(e)&&!E.test(e))throw nO()}else if(e instanceof Uint8Array||!x.test(e)&&!k.test(e)&&!E.test(e))throw nO()}),i===v&&(!n||1!==e.length))throw Error(`Invalid HD path segment: The segment must consist of a single BIP-39 node for depths of ${v}. Received: "${String(e)}".`);if(!t&&!n)throw Error("Invalid derivation parameters: Must specify parent key if the first node of the path segment is not a BIP-39 node.");if(t&&n)throw Error("Invalid derivation parameters: May not specify parent key if the path segment starts with a BIP-39 node.");let r=n?e.slice(1):e;if(r.length>0){let e=r[0]?.split(":")[0];(0,f.hu)(e),(0,f.hu)(r.every(t=>t.startsWith(`${e}:`)),"Invalid HD path segment: Cannot mix 'bip32' and 'slip10' path segments.")}}(t,!!n?.privateKey||!!n?.publicKey,i),await t.reduce(async(e,t,i)=>{let n=await e;if("string"==typeof t){let[e,i]=t.split(":");(0,f.hu)(e),(0,f.hu)(i),(0,f.hu)(e in nI,`Unknown derivation type: "${e}".`);let o=nI[e];return await o.deriveChildKey({path:i,node:n,curve:ia[r]})}return(0,f.hu)(0===i,nO()),await nI.bip39.deriveChildKey({path:t,node:n,curve:ia[r]})},Promise.resolve(n))}function nO(){return Error("Invalid HD path segment: The path segment is malformed.")}var nP=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};class nR{constructor({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:s,privateKey:a,publicKey:l,curve:u},d){(0,f.hu)(d===nP(nR,r,"f",o),"SLIP10Node can only be constructed using `SLIP10Node.fromJSON`, `SLIP10Node.fromExtendedKey`, or `SLIP10Node.fromDerivationPath`."),this.depth=e,this.masterFingerprint=t,this.parentFingerprint=i,this.index=n,this.chainCodeBytes=s,this.privateKeyBytes=a,this.publicKeyBytes=l,this.curve=u,Object.freeze(this)}static async fromJSON(e){return nR.fromExtendedKey(e)}static async fromExtendedKey({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,privateKey:s,publicKey:a,chainCode:l,curve:u}){let d=iy(l,m);ik(u),nF(e),ih(n),function(e,t){if(0===t&&0!==e)throw Error(`Invalid index: The index of the root node must be 0. Received: "${String(e)}".`)}(n,e),function(e,t){if(!ib(e))throw Error(`Invalid parent fingerprint: The fingerprint must be a positive integer. Received: "${String(e)}".`);if(0===t&&0!==e)throw Error(`Invalid parent fingerprint: The fingerprint of the root node must be 0. Received: "${String(e)}".`);if(t>0&&0===e)throw Error(`Invalid parent fingerprint: The fingerprint of a child node must not be 0. Received: "${String(e)}".`)}(i,e),function(e,t,i){if(e&&i>=2&&e===t)throw Error(`Invalid parent fingerprint: The fingerprint of a child node cannot be equal to the master fingerprint. Received: "${String(t)}".`)}(t,i,e);let c=ia[u];if(s){let a=function e(t,i){if(t instanceof Uint8Array)return(0,f.hu)(t.length===i,`Invalid value: Must be a ${i}-byte byte array.`),t;if("string"==typeof t)return e((0,N.nr)(t),i);throw Error("Invalid value: Expected an instance of Uint8Array or hexadecimal string.")}(s,c.privateKeyLength);return(0,f.hu)(c.isValidPrivateKey(a),`Invalid private key: Value is not a valid ${u} private key.`),new nR({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:d,privateKey:a,publicKey:await c.getPublicKey(a),curve:u},nP(this,r,"f",o))}if(a){let s=iy(a,c.publicKeyLength);return new nR({depth:e,masterFingerprint:t,parentFingerprint:i,index:n,chainCode:d,publicKey:s,curve:u},nP(this,r,"f",o))}throw Error("Invalid options: Must provide either a private key or a public key.")}static async fromDerivationPath({derivationPath:e,curve:t}){if(ik(t),!e)throw Error("Invalid options: Must provide a derivation path.");if(0===e.length)throw Error("Invalid derivation path: May not specify an empty derivation path.");return await nM({path:e,depth:e.length-1,curve:t})}get chainCode(){return(0,N.ci)(this.chainCodeBytes)}get privateKey(){if(this.privateKeyBytes)return(0,N.ci)(this.privateKeyBytes)}get publicKey(){return(0,N.ci)(this.publicKeyBytes)}get compressedPublicKeyBytes(){return ia[this.curve].compressPublicKey(this.publicKeyBytes)}get compressedPublicKey(){return(0,N.ci)(this.compressedPublicKeyBytes)}get address(){if("secp256k1"!==this.curve)throw Error("Unable to get address for this node: Only secp256k1 is supported.");return(0,N.ci)(nl(this.publicKeyBytes))}get fingerprint(){return iS(this.compressedPublicKeyBytes,ia[this.curve].compressedPublicKeyLength)}neuter(){return new nR({depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,chainCode:this.chainCodeBytes,publicKey:this.publicKeyBytes,curve:this.curve},nP(nR,r,"f",o))}async derive(e){return await nB({path:e,node:this})}toJSON(){return{depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,curve:this.curve,privateKey:this.privateKey,publicKey:this.publicKey,chainCode:this.chainCode}}}function nF(e){if(!ib(e))throw Error(`Invalid HD tree path depth: The depth must be a positive integer. Received: "${String(e)}".`)}async function nB({path:e,node:t}){if(0===e.length)throw Error("Invalid HD tree derivation path: Deriving a path of length 0 is not defined.");let i=t.depth+e.length;return nF(i),await nM({path:e,node:t,depth:i})}r=nR,o={value:Symbol("SLIP10Node.constructor")};var nV=function(e,t,i,n,r){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!r)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,i):r?r.value=i:t.set(e,i),i},nH=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)};class nj{constructor(e){s.set(this,void 0),nV(this,s,e,"f"),Object.freeze(this)}static async fromJSON(e){return nj.fromExtendedKey(e)}static async fromExtendedKey(e){if("string"==typeof e){let t=iH(e),{chainCode:i,depth:n,parentFingerprint:r,index:o}=t;if(76066276===t.version){let{privateKey:e}=t;return nj.fromExtendedKey({depth:n,parentFingerprint:r,index:o,privateKey:e,chainCode:i})}let{publicKey:s}=t;return nj.fromExtendedKey({depth:n,parentFingerprint:r,index:o,publicKey:s,chainCode:i})}let{privateKey:t,publicKey:i,chainCode:n,depth:r,parentFingerprint:o,index:s}=e;nW(r);let a=await nR.fromExtendedKey({privateKey:t,publicKey:i,chainCode:n,depth:r,parentFingerprint:o,index:s,curve:"secp256k1"});return new nj(a)}static async fromDerivationPath({derivationPath:e}){nW(e.length-1),nz(e,v);let t=await nR.fromDerivationPath({derivationPath:e,curve:"secp256k1"});return new nj(t)}get depth(){return nH(this,s,"f").depth}get privateKeyBytes(){return nH(this,s,"f").privateKeyBytes}get publicKeyBytes(){return nH(this,s,"f").publicKeyBytes}get chainCodeBytes(){return nH(this,s,"f").chainCodeBytes}get privateKey(){return nH(this,s,"f").privateKey}get publicKey(){return nH(this,s,"f").publicKey}get compressedPublicKey(){return nH(this,s,"f").compressedPublicKey}get compressedPublicKeyBytes(){return nH(this,s,"f").compressedPublicKeyBytes}get chainCode(){return nH(this,s,"f").chainCode}get address(){return nH(this,s,"f").address}get masterFingerprint(){return nH(this,s,"f").masterFingerprint}get parentFingerprint(){return nH(this,s,"f").parentFingerprint}get fingerprint(){return nH(this,s,"f").fingerprint}get index(){return nH(this,s,"f").index}get extendedKey(){let e={depth:this.depth,parentFingerprint:this.parentFingerprint,index:this.index,chainCode:this.chainCodeBytes};return this.privateKeyBytes?ij({...e,version:76066276,privateKey:this.privateKeyBytes}):ij({...e,version:76067358,publicKey:this.publicKeyBytes})}get curve(){return nH(this,s,"f").curve}neuter(){let e=nH(this,s,"f").neuter();return new nj(e)}async derive(e){if(this.depth===b)throw Error("Illegal operation: This HD tree node is already a leaf node.");nW(this.depth+e.length),nz(e,this.depth+1);let t=await nH(this,s,"f").derive(e);return new nj(t)}toJSON(){return{depth:this.depth,masterFingerprint:this.masterFingerprint,parentFingerprint:this.parentFingerprint,index:this.index,privateKey:this.privateKey,publicKey:this.publicKey,chainCode:this.chainCode}}}function nW(e){if(nF(e),eb)throw Error(`Invalid HD tree path depth: The depth must be a positive integer N such that 0 <= N <= 5. Received: "${e}"`)}function nz(e,t){e.forEach((e,i)=>{let n=t+i;if(n===v){if(!(e instanceof Uint8Array)&&!L.test(e))throw Error('Invalid derivation path: The "m" / seed node (depth 0) must be a BIP-39 node.');return}switch((0,f.hu)("string"==typeof e),n){case 1:if(e!==w)throw Error(`Invalid derivation path: The "purpose" node (depth 1) must be the string "${w}".`);break;case 2:if(!x.test(e)||!ip(e))throw Error('Invalid derivation path: The "coin_type" node (depth 2) must be a hardened BIP-32 node.');break;case 3:if(!x.test(e)||!ip(e))throw Error('Invalid derivation path: The "account" node (depth 3) must be a hardened BIP-32 node.');break;case 4:if(!x.test(e))throw Error('Invalid derivation path: The "change" node (depth 4) must be a BIP-32 node.');break;case b:if(!x.test(e))throw Error('Invalid derivation path: The "address_index" node (depth 5) must be a BIP-32 node.')}})}s=new WeakMap},31110:(e,t,i)=>{var n=i(62197),r=i(79826);e.exports=function(e){if("string"==typeof e||"number"==typeof e){var t=new n(1),i=String(e).toLowerCase().trim(),o="0x"===i.substr(0,2)||"-0x"===i.substr(0,3),s=r(i);if("-"===s.substr(0,1)&&(s=r(s.slice(1)),t=new n(-1,10)),!(s=""===s?"0":s).match(/^-?[0-9]+$/)&&s.match(/^[0-9A-Fa-f]+$/)||s.match(/^[a-fA-F]+$/)||!0===o&&s.match(/^[0-9A-Fa-f]+$/))return new n(s,16).mul(t);if((s.match(/^-?[0-9]+$/)||""===s)&&!1===o)return new n(s,10).mul(t)}else if("object"==typeof e&&e.toString&&!e.pop&&!e.push&&e.toString(10).match(/^-?[0-9]+$/)&&(e.mul||e.dividedToIntegerBy))return new n(e.toString(10),10);throw Error("[number-to-bn] while converting number "+JSON.stringify(e)+" to BN.js instance, error: invalid number value. Value must be an integer, hex string, BN or BigNumber instance. Note, decimals are not supported.")}},64016:(e,t,i)=>{"use strict";async function n(e,t,i,n,{getPermissionsForOrigin:r}){return t.result=Object.values(r()||{}),n()}i.r(t),i.d(t,{CaveatAlreadyExistsError:()=>R,CaveatDoesNotExistError:()=>P,CaveatInvalidJsonError:()=>H,CaveatMergeTypeMismatchError:()=>U,CaveatMergerDoesNotExistError:()=>D,CaveatMissingValueError:()=>V,CaveatMutatorOperation:()=>e_,CaveatSpecificationMismatchError:()=>$,DuplicateCaveatError:()=>z,EndowmentPermissionDoesNotExistError:()=>I,ForbiddenCaveatError:()=>W,InvalidApprovedPermissionError:()=>A,InvalidCaveatError:()=>F,InvalidCaveatFieldsError:()=>j,InvalidCaveatTypeError:()=>B,InvalidCaveatsPropertyError:()=>O,InvalidMergedPermissionsError:()=>N,InvalidSubjectIdentifierError:()=>E,MethodNames:()=>eg,PermissionController:()=>ew,PermissionDoesNotExistError:()=>T,PermissionType:()=>ed,PermissionsRequestNotFoundError:()=>q,SubjectMetadataController:()=>ek,SubjectType:()=>eC,UnrecognizedCaveatTypeError:()=>M,UnrecognizedSubjectError:()=>L,constructPermission:()=>el,decorateWithCaveats:()=>es,findCaveat:()=>eu,hasSpecificationType:()=>ec,internalError:()=>k,invalidParams:()=>S,isRestrictedMethodCaveatSpecification:()=>eo,methodNotFound:()=>C,permissionRpcMethods:()=>en,unauthorized:()=>w,userRejectedRequest:()=>x});var r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_=i(65982);function w(e){return _.gK.unauthorized({message:"Unauthorized to perform action. Try requesting the required permission(s) first. For more information, see: https://docs.metamask.io/guide/rpc-api.html#permissions",data:e.data})}function C(e,t){let i={message:`The method "${e}" does not exist / is not available.`};return void 0!==t&&(i.data=t),_.PY.methodNotFound(i)}function S(e){return _.PY.invalidParams({data:e.data,message:e.message})}function x(e){return _.gK.userRejectedRequest({data:e})}function k(e,t){return _.PY.internal({message:e,data:t})}var E=class extends Error{constructor(e){super(`Invalid subject identifier: "${"string"==typeof e?e:typeof e}"`)}},L=class extends Error{constructor(e){super(`Unrecognized subject: "${e}" has no permissions.`)}},D=class extends Error{constructor(e){super(`Caveat value merger does not exist for type: "${e}"`)}},N=class extends Error{constructor(e,t,i){super(`Invalid merged permissions for subject "${e}": +${t.message}`),this.cause=t,this.data={diff:i}}},A=class extends Error{constructor(e,t,i){super(`Invalid approved permission for origin "${e}" and target "${t}".`),this.data={origin:e,target:t,approvedPermission:i}}},T=class extends Error{constructor(e,t){super(`Subject "${e}" has no permission for "${t}".`)}},I=class extends Error{constructor(e,t){super(`Subject "${t}" has no permission for "${e}".`),t&&(this.data={origin:t})}},M=class extends Error{constructor(e,t,i){super(`Unrecognized caveat type: "${e}"`),this.data={caveatType:e},void 0!==t&&(this.data.origin=t),void 0!==i&&(this.data.target=i)}},O=class extends Error{constructor(e,t,i){super(`The "caveats" property of permission for "${t}" of subject "${e}" is invalid. It must be a non-empty array if specified.`),this.data={origin:e,target:t,caveatsProperty:i}}},P=class extends Error{constructor(e,t,i){super(`Permission for "${t}" of subject "${e}" has no caveat of type "${i}".`)}},R=class extends Error{constructor(e,t,i){super(`Permission for "${t}" of subject "${e}" already has a caveat of type "${i}".`)}},F=class extends _.uc{constructor(e,t,i){super(_.Zk.rpc.invalidParams,"Invalid caveat. Caveats must be plain objects.",{receivedCaveat:e}),this.data={origin:t,target:i}}},B=class extends Error{constructor(e,t,i){super(`Caveat types must be strings. Received: "${typeof e.type}"`),this.data={caveat:e,origin:t,target:i}}},V=class extends Error{constructor(e,t,i){super('Caveat is missing "value" field.'),this.data={caveat:e,origin:t,target:i}}},H=class extends Error{constructor(e,t,i){super('Caveat "value" is invalid JSON.'),this.data={caveat:e,origin:t,target:i}}},j=class extends Error{constructor(e,t,i){super(`Caveat has unexpected number of fields: "${Object.keys(e).length}"`),this.data={caveat:e,origin:t,target:i}}},W=class extends Error{constructor(e,t,i){super(`Permissions for target "${i}" may not have caveats of type "${e}".`),this.data={caveatType:e,origin:t,target:i}}},z=class extends Error{constructor(e,t,i){super(`Permissions for target "${i}" contains multiple caveats of type "${e}".`),this.data={caveatType:e,origin:t,target:i}}},U=class extends Error{constructor(e,t){super(`Cannot merge caveats of different types: "${e}" and "${t}".`),this.data={leftCaveatType:e,rightCaveatType:t}}},$=class extends Error{constructor(e,t){super(`Caveat specification uses a mismatched type. Expected caveats for ${t}`),this.data={caveatSpec:e,permissionType:t}}},q=class extends Error{constructor(e){super(`Permissions request with id "${e}" not found.`)}};i(45372),i(97817),i(62197),i(82775);var K=i(69378),G=i.n(K);function Z(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}async function Y(e,t,i,n,{requestPermissionsForOrigin:r}){let{params:o}=e;if(!Array.isArray(o)||!Z(o[0]))return n(S({data:{request:e}}));let[s]=o,[a]=await r(s);return t.result=Object.values(a),n()}i(48834).Buffer,Error("timeout");var Q=i(2503);async function J(e,t,i,n,{revokePermissionsForOrigin:r}){let{params:o}=e,s=o?.[0];if(!s)return n(S({data:{request:e}}));let a=Object.keys(s);return(0,Q.Of)(a)?(r(a),t.result=null,n()):n(S({data:{request:e}}))}var X=Object.defineProperty,ee=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},et=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},ei=(e,t,i)=>(ee(e,t,"access private method"),i),en={};((e,t)=>{for(var i in t)X(e,i,{get:t[i],enumerable:!0})})(en,{handlers:()=>er});var er=[{methodNames:["wallet_requestPermissions"],implementation:Y,hookNames:{requestPermissionsForOrigin:!0}},{methodNames:["wallet_getPermissions"],implementation:n,hookNames:{getPermissionsForOrigin:!0}},{methodNames:["wallet_revokePermissions"],implementation:J,hookNames:{revokePermissionsForOrigin:!0}}];function eo(e){return(0,Q.l$)(e,"decorator")}function es(e,t,i){let{caveats:n}=t;if(!n)return e;let r=async t=>e(t);for(let e of n){let t=i[e.type];if(!t)throw new M(e.type);if(!eo(t))throw new $(t,"RestrictedMethod");r=t.decorator(r,e)}return r}let ea=(e=21)=>crypto.getRandomValues(new Uint8Array(e)).reduce((e,t)=>((t&=63)<36?e+=t.toString(36):t<62?e+=(t-26).toString(36).toUpperCase():t>62?e+="-":e+="_",e),"");function el(e){let{caveats:t=null,invoker:i,target:n}=e;return{id:ea(),parentCapability:n,invoker:i,caveats:t,date:new Date().getTime()}}function eu(e,t){return e.caveats?.find(e=>e.type===t)}var ed=((r=ed||{}).RestrictedMethod="RestrictedMethod",r.Endowment="Endowment",r);function ec(e,t){return e.permissionType===t}var eh=i(79250),eg=((o=eg||{}).requestPermissions="wallet_requestPermissions",o.getPermissions="wallet_getPermissions",o.revokePermissions="wallet_revokePermissions",o),ep=i(60488),ef=i(88629),em=i.n(ef),ev=i(3873),eb="PermissionController";function ey(){return{subjects:{}}}var e_=((s=e_||{})[s.noop=0]="noop",s[s.updateValue=1]="updateValue",s[s.deleteCaveat=2]="deleteCaveat",s[s.revokePermission=3]="revokePermission",s),ew=class extends ep.BaseController{constructor(e){let{caveatSpecifications:t,permissionSpecifications:i,unrestrictedMethods:n,messenger:r,state:o={}}=e;super({name:eb,metadata:{subjects:{anonymous:!0,persist:!0}},messenger:r,state:{...ey(),...o}}),et(this,l),et(this,d),et(this,h),et(this,p),et(this,m),et(this,b),this._unrestrictedMethods=new Set(n),this._caveatSpecifications=em()({...t}),this.validatePermissionSpecifications(i,this._caveatSpecifications),this._permissionSpecifications=em()({...i}),this.registerMessageHandlers(),this.createPermissionMiddleware=function({executeRestrictedMethod:e,getRestrictedMethod:t,isUnrestrictedMethod:i}){return function(n){let{origin:r}=n;if("string"!=typeof r||!r)throw Error('The subject "origin" must be a non-empty string.');let o=async(o,s,a)=>{let{method:l,params:u}=o;if(i(l))return a();let d=t(l,r),c=await e(d,n,l,u);if(void 0===c){s.error=k(`Request for method "${o.method}" returned undefined result.`,{request:o});return}s.result=c};return(0,eh.P)(o)}}({executeRestrictedMethod:this._executeRestrictedMethod.bind(this),getRestrictedMethod:this.getRestrictedMethod.bind(this),isUnrestrictedMethod:this.unrestrictedMethods.has.bind(this.unrestrictedMethods)})}get unrestrictedMethods(){return this._unrestrictedMethods}getPermissionSpecification(e){return this._permissionSpecifications[e]}getCaveatSpecification(e){return this._caveatSpecifications[e]}validatePermissionSpecifications(e,t){Object.entries(e).forEach(([e,{permissionType:i,targetName:n,allowedCaveats:r}])=>{if(!i||!(0,Q.l$)(ed,i))throw Error(`Invalid permission type: "${i}"`);if(!e)throw Error(`Invalid permission target name: "${e}"`);if(e!==n)throw Error(`Invalid permission specification: target name "${e}" must match specification.targetName value "${n}".`);r&&r.forEach(e=>{if(!(0,Q.l$)(t,e))throw new M(e);let n=t[e],r=eo(n);if("RestrictedMethod"===i&&!r||"Endowment"===i&&r)throw new $(n,i)})})}registerMessageHandlers(){this.messagingSystem.registerActionHandler(`${eb}:clearPermissions`,()=>this.clearState()),this.messagingSystem.registerActionHandler(`${eb}:getEndowments`,(e,t,i)=>this.getEndowments(e,t,i)),this.messagingSystem.registerActionHandler(`${eb}:getSubjectNames`,()=>this.getSubjectNames()),this.messagingSystem.registerActionHandler(`${eb}:getPermissions`,e=>this.getPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:hasPermission`,(e,t)=>this.hasPermission(e,t)),this.messagingSystem.registerActionHandler(`${eb}:hasPermissions`,e=>this.hasPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:grantPermissions`,this.grantPermissions.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:grantPermissionsIncremental`,this.grantPermissionsIncremental.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:requestPermissions`,(e,t)=>this.requestPermissions(e,t)),this.messagingSystem.registerActionHandler(`${eb}:requestPermissionsIncremental`,(e,t)=>this.requestPermissionsIncremental(e,t)),this.messagingSystem.registerActionHandler(`${eb}:revokeAllPermissions`,e=>this.revokeAllPermissions(e)),this.messagingSystem.registerActionHandler(`${eb}:revokePermissionForAllSubjects`,e=>this.revokePermissionForAllSubjects(e)),this.messagingSystem.registerActionHandler(`${eb}:revokePermissions`,this.revokePermissions.bind(this)),this.messagingSystem.registerActionHandler(`${eb}:updateCaveat`,(e,t,i,n)=>{this.updateCaveat(e,t,i,n)})}clearState(){this.update(e=>({...ey()}))}getTypedPermissionSpecification(e,t,i){let n="RestrictedMethod"===e?C(t,i?{origin:i}:void 0):new I(t,i);if(!this.targetExists(t))throw n;let r=this.getPermissionSpecification(t);if(!ec(r,e))throw n;return r}getRestrictedMethod(e,t){return this.getTypedPermissionSpecification("RestrictedMethod",e,t).methodImplementation}getSubjectNames(){return Object.keys(this.state.subjects)}getPermission(e,t){return this.state.subjects[e]?.permissions[t]}getPermissions(e){return this.state.subjects[e]?.permissions}hasPermission(e,t){return!!this.getPermission(e,t)}hasPermissions(e){return!!this.state.subjects[e]}revokeAllPermissions(e){this.update(t=>{if(!t.subjects[e])throw new L(e);delete t.subjects[e]})}revokePermission(e,t){this.revokePermissions({[e]:[t]})}revokePermissions(e){this.update(t=>{Object.keys(e).forEach(i=>{if(!(0,Q.l$)(t.subjects,i))throw new L(i);e[i].forEach(e=>{let{permissions:n}=t.subjects[i];if(!(0,Q.l$)(n,e))throw new T(i,e);this.deletePermission(t.subjects,i,e)})})})}revokePermissionForAllSubjects(e){0!==this.getSubjectNames().length&&this.update(t=>{Object.entries(t.subjects).forEach(([i,n])=>{let{permissions:r}=n;(0,Q.l$)(r,e)&&this.deletePermission(t.subjects,i,e)})})}deletePermission(e,t,i){let{permissions:n}=e[t];Object.keys(n).length>1?delete n[i]:delete e[t]}hasCaveat(e,t,i){return!!this.getCaveat(e,t,i)}getCaveat(e,t,i){let n=this.getPermission(e,t);if(!n)throw new T(e,t);return eu(n,i)}addCaveat(e,t,i,n){if(this.hasCaveat(e,t,i))throw new R(e,t,i);this.setCaveat(e,t,i,n)}updateCaveat(e,t,i,n){if(!this.hasCaveat(e,t,i))throw new P(e,t,i);this.setCaveat(e,t,i,n)}setCaveat(e,t,i,n){this.update(r=>{let o=r.subjects[e];if(!o)throw new L(e);let s=o.permissions[t];if(!s)throw new T(e,t);let a={type:i,value:n};if(this.validateCaveat(a,e,t),s.caveats){let e=s.caveats.findIndex(e=>e.type===a.type);-1===e?s.caveats.push(a):s.caveats.splice(e,1,a)}else s.caveats=[a];this.validateModifiedPermission(s,e)})}updatePermissionsByCaveat(e,t){0!==Object.keys(this.state.subjects).length&&this.update(i=>{Object.values(i.subjects).forEach(n=>{Object.values(n.permissions).forEach(r=>{let{caveats:o}=r,s=o?.find(({type:t})=>t===e);if(!s)return;let a=t(s.value),{operation:l}=a;switch(l){case 0:break;case 1:s.value=a.value,this.validateCaveat(s,n.origin,r.parentCapability);break;case 2:this.deleteCaveat(r,e,n.origin);break;case 3:this.deletePermission(i.subjects,n.origin,r.parentCapability);break;default:throw Error(`Unrecognized mutation result: "${l}"`)}})})})}removeCaveat(e,t,i){this.update(n=>{let r=n.subjects[e]?.permissions[t];if(!r)throw new T(e,t);if(!r.caveats)throw new P(e,t,i);this.deleteCaveat(r,i,e)})}deleteCaveat(e,t,i){if(!e.caveats)throw new P(i,e.parentCapability,t);let n=e.caveats.findIndex(e=>e.type===t);if(-1===n)throw new P(i,e.parentCapability,t);1===e.caveats.length?e.caveats=null:e.caveats.splice(n,1),this.validateModifiedPermission(e,i)}validateModifiedPermission(e,t){if(!this.targetExists(e.parentCapability))throw Error(`Fatal: Existing permission target "${e.parentCapability}" has no specification.`);this.validatePermission(this.getPermissionSpecification(e.parentCapability),e,t)}targetExists(e){return(0,Q.l$)(this._permissionSpecifications,e)}grantPermissions({approvedPermissions:e,requestData:t,preserveExistingPermissions:i=!0,subject:n}){return ei(this,d,c).call(this,{approvedPermissions:e,subject:n,mergePermissions:!1,preserveExistingPermissions:i,requestData:t})}grantPermissionsIncremental({approvedPermissions:e,requestData:t,subject:i}){return ei(this,d,c).call(this,{approvedPermissions:e,subject:i,mergePermissions:!0,preserveExistingPermissions:!0,requestData:t})}validatePermission(e,t,i,{invokePermissionValidator:n,performCaveatValidation:r}={invokePermissionValidator:!0,performCaveatValidation:!0}){let{allowedCaveats:o,validator:s,targetName:a}=e;if(e.subjectTypes?.length&&e.subjectTypes.length>0){let t=this.messagingSystem.call("SubjectMetadataController:getSubjectMetadata",i);if(!t||null===t.subjectType||!e.subjectTypes.includes(t.subjectType))throw"RestrictedMethod"===e.permissionType?C(a,{origin:i}):new I(a,i)}if((0,Q.l$)(t,"caveats")){let{caveats:e}=t;if(null!==e&&!(Array.isArray(e)&&e.length>0))throw new O(i,a,e);let n=new Set;e?.forEach(e=>{if(r&&this.validateCaveat(e,i,a),!o?.includes(e.type))throw new W(e.type,i,a);if(n.has(e.type))throw new z(e.type,i,a);n.add(e.type)})}n&&s&&s(t,i,a)}setValidatedPermissions(e,t){this.update(i=>{i.subjects[e]||(i.subjects[e]={origin:e,permissions:{}}),i.subjects[e].permissions=(0,ev.cA)(t)})}constructCaveats(e,t,i){var n;let r=i?.map(i=>{this.validateCaveat(i,e,t);let{type:n,value:r}=i;return{type:n,value:r}});return r&&Array.isArray(n=r)&&n.length>0?r:void 0}validateCaveat(e,t,i){if(!Z(e))throw new F(e,t,i);if(2!==Object.keys(e).length)throw new j(e,t,i);if("string"!=typeof e.type)throw new B(e,t,i);let n=this.getCaveatSpecification(e.type);if(!n)throw new M(e.type,t,i);if(!(0,Q.l$)(e,"value")||void 0===e.value)throw new V(e,t,i);if(!function(e){try{return G()(e,JSON.parse(JSON.stringify(e)))}catch(e){return!1}}(e.value))throw new H(e,t,i);n.validator?.(e,t,i)}async requestPermissions(e,t,i={}){let{origin:n}=e,{id:r=ea(),preserveExistingPermissions:o=!0}=i;this.validateRequestedPermissions(n,t);let s={...i.metadata,id:r,origin:n},a=await this.requestUserApproval({metadata:s,permissions:t});return await ei(this,b,y).call(this,{subject:e,metadata:s,preserveExistingPermissions:o,approvedRequest:a})}async requestPermissionsIncremental(e,t,i={}){let{origin:n}=e,{id:r=ea()}=i;this.validateRequestedPermissions(n,t);let o=this.getPermissions(n)??{},[s,a]=ei(this,h,g).call(this,o,t);if(void 0===s||void 0===a)return[];try{this.validateRequestedPermissions(n,s)}catch(e){if(e instanceof Error)throw new N(n,e,a);throw k("Unrecognized error type",{error:e})}let l={...i.metadata,id:r,origin:n},u=await this.requestUserApproval({metadata:l,permissions:s,diff:{currentPermissions:o,permissionDiffMap:a}});return await ei(this,b,y).call(this,{subject:e,metadata:l,preserveExistingPermissions:!1,approvedRequest:u})}validateRequestedPermissions(e,t){if(!Z(t))throw S({message:`Requested permissions for origin "${e}" is not a plain object.`,data:{origin:e,requestedPermissions:t}});if(0===Object.keys(t).length)throw S({message:`Permissions request for origin "${e}" contains no permissions.`,data:{requestedPermissions:t}});for(let i of Object.keys(t)){let n=t[i];if(!this.targetExists(i))throw C(i,{origin:e,requestedPermissions:t});if(!Z(n)||void 0!==n.parentCapability&&i!==n.parentCapability)throw S({message:`Permissions request for origin "${e}" contains invalid requested permission(s).`,data:{origin:e,requestedPermissions:t}});this.validatePermission(this.getPermissionSpecification(i),n,e,{invokePermissionValidator:!1,performCaveatValidation:!0})}}async requestUserApproval(e){let{origin:t,id:i}=e.metadata,n=await this.messagingSystem.call("ApprovalController:addRequest",{id:i,origin:t,requestData:e,type:"wallet_requestPermissions"},!0);return this.validateApprovedPermissions(n,{id:i,origin:t}),n}getSideEffects(e){return Object.keys(e).reduce((e,t)=>{if(this.targetExists(t)){let i=this.getPermissionSpecification(t);i.sideEffect&&(e.permittedHandlers[t]=i.sideEffect.onPermitted,i.sideEffect.onFailure&&(e.failureHandlers[t]=i.sideEffect.onFailure))}return e},{permittedHandlers:{},failureHandlers:{}})}async executeSideEffects(e,t){let{permittedHandlers:i,failureHandlers:n}=e,r={requestData:t,messagingSystem:this.messagingSystem},o=await Promise.allSettled(Object.values(i).map(e=>e(r))),s=o.filter(e=>"rejected"===e.status);if(s.length>0){let e=Object.values(n);if(e.length>0)try{await Promise.all(e.map(e=>e(r)))}catch(e){throw k("Unexpected error in side-effects",{error:e})}let t=s.map(e=>e.reason);throw t.forEach(e=>{console.error(e)}),t.length>1?k("Multiple errors occurred during side-effects execution",{errors:t}):t[0]}return o.map(({value:e})=>e)}validateApprovedPermissions(e,t){let{id:i,origin:n}=t;if(!Z(e)||!Z(e.metadata))throw k(`Approved permissions request for subject "${n}" is invalid.`,{data:{approvedRequest:e}});let{metadata:{id:r,origin:o},permissions:s}=e;if(r!==i)throw k(`Approved permissions request for subject "${n}" mutated its id.`,{originalId:i,mutatedId:r});if(o!==n)throw k(`Approved permissions request for subject "${n}" mutated its origin.`,{originalOrigin:n,mutatedOrigin:o});try{this.validateRequestedPermissions(n,s)}catch(e){if(e instanceof Error)throw k(`Invalid approved permissions request: ${e.message}`,e instanceof _.uc?e.data:void 0);throw k("Unrecognized error type",{error:e})}}async acceptPermissionsRequest(e){let{id:t}=e.metadata;if(!this.hasApprovalRequest({id:t}))throw new q(t);if(0===Object.keys(e.permissions).length){this._rejectPermissionsRequest(t,S({message:"Must request at least one permission."}));return}try{this.messagingSystem.call("ApprovalController:acceptRequest",t,e)}catch(e){throw this._rejectPermissionsRequest(t,e),e}}async rejectPermissionsRequest(e){if(!this.hasApprovalRequest({id:e}))throw new q(e);this._rejectPermissionsRequest(e,x())}hasApprovalRequest(e){return this.messagingSystem.call("ApprovalController:hasRequest",e)}_rejectPermissionsRequest(e,t){return this.messagingSystem.call("ApprovalController:rejectRequest",e,t)}async getEndowments(e,t,i){if(!this.hasPermission(e,t))throw w({data:{origin:e,targetName:t}});return this.getTypedPermissionSpecification("Endowment",t,e).endowmentGetter({origin:e,requestData:i})}async executeRestrictedMethod(e,t,i){let n=this.getRestrictedMethod(t,e),r=await this._executeRestrictedMethod(n,{origin:e},t,i);if(void 0===r)throw Error(`Internal request for method "${t}" as origin "${e}" returned no result.`);return r}_executeRestrictedMethod(e,t,i,n=[]){let{origin:r}=t,o=this.getPermission(r,i);if(!o)throw w({data:{origin:r,method:i}});return es(e,o,this._caveatSpecifications)({method:i,params:n,context:{origin:r}})}};l=new WeakSet,u=function(e){let{merger:t}=this.getCaveatSpecification(e);if(void 0===t)throw new D(e);return t},d=new WeakSet,c=function({approvedPermissions:e,subject:t,mergePermissions:i,preserveExistingPermissions:n,requestData:r}){let{origin:o}=t;if(!o||"string"!=typeof o)throw new E(o);let s=n?{...this.getPermissions(o)}:{};for(let[t,n]of Object.entries(e)){let e;if(!this.targetExists(t))throw C(t);if(void 0!==n.parentCapability&&t!==n.parentCapability)throw new A(o,t,n);let a=this.getPermissionSpecification(t),l={caveats:this.constructCaveats(o,t,n.caveats),invoker:o,target:t},u=!0;a.factory?e=a.factory(l,r):(e=el(l),u=!1),i&&(e=ei(this,p,f).call(this,s[t],e)[0]),this.validatePermission(a,e,o,{invokePermissionValidator:!0,performCaveatValidation:u}),s[t]=e}return this.setValidatedPermissions(o,s),s},h=new WeakSet,g=function(e,t){let i={},n=(0,ev.Uy)(e,e=>{Object.entries(t).forEach(([t,n])=>{let r=e[t],[o,s]=ei(this,p,f).call(this,r??{},n);(void 0===r||Object.keys(s).length>0)&&(e[t]=o,i[t]=s)})});return 0===Object.keys(i).length?[]:[n,i]},p=new WeakSet,f=function(e,t){let i,n,r,o;let{caveatPairs:s,leftUniqueCaveats:a,rightUniqueCaveats:l}=(i=e?.caveats?.slice()??[],n=t.caveats?.slice()??[],r=[],o=[],i.forEach(e=>{let t=n.findIndex(t=>t.type===e.type);-1===t?r.push(e):(o.push([e,n[t]]),n.splice(t,1))}),{caveatPairs:o,leftUniqueCaveats:r,rightUniqueCaveats:[...n]}),[u,d]=s.reduce(([e,t],[i,n])=>{let[r,o]=ei(this,m,v).call(this,i,n);return void 0!==r&&void 0!==o?(e.push(r),t[r.type]=o):e.push(i),[e,t]},[[],{}]),c=[...u,...a,...l.map(e=>{let[t,i]=ei(this,m,v).call(this,void 0,e);return d[t.type]=i,t})];return[{...e,...t,...c.length>0?{caveats:c}:{}},d]},m=new WeakSet,v=function(e,t){if(void 0!==e&&e.type!==t.type)throw new U(e.type,t.type);let i=ei(this,l,u).call(this,t.type);if(void 0===e)return[{...t},t.value];let[n,r]=i(e.value,t.value);return void 0!==n&&void 0!==r?[{type:t.type,value:n},r]:[]},b=new WeakSet,y=async function({subject:e,metadata:t,preserveExistingPermissions:i,approvedRequest:n}){let{permissions:r,...o}=n,s={...t},a=this.getSideEffects(r);if(Object.values(a.permittedHandlers).length>0){let e=await this.executeSideEffects(a,n);s.data=Object.keys(a.permittedHandlers).reduce((t,i,n)=>({[i]:e[n],...t}),{})}return[this.grantPermissions({subject:e,approvedPermissions:r,preserveExistingPermissions:i,requestData:o}),s]};var eC=((a=eC||{}).Extension="extension",a.Internal="internal",a.Unknown="unknown",a.Website="website",a.Snap="snap",a),eS={subjectMetadata:{persist:!0,anonymous:!1}},ex={subjectMetadata:{}},ek=class e extends ep.BaseController{constructor({messenger:t,subjectCacheLimit:i,state:n={}}){if(!Number.isInteger(i)||i<1)throw Error(`subjectCacheLimit must be a positive integer. Received: "${i}"`);let r=e=>t.call("PermissionController:hasPermissions",e);super({name:"SubjectMetadataController",metadata:eS,messenger:t,state:{...e.getTrimmedState(n,r)}}),this.subjectHasPermissions=r,this.subjectCacheLimit=i,this.subjectsWithoutPermissionsEncounteredSinceStartup=new Set,this.messagingSystem.registerActionHandler(`${this.name}:getSubjectMetadata`,this.getSubjectMetadata.bind(this)),this.messagingSystem.registerActionHandler(`${this.name}:addSubjectMetadata`,this.addSubjectMetadata.bind(this))}clearState(){this.subjectsWithoutPermissionsEncounteredSinceStartup.clear(),this.update(e=>({...ex}))}addSubjectMetadata(e){let{origin:t}=e,i={...e,extensionId:e.extensionId||null,iconUrl:e.iconUrl||null,name:e.name||null,subjectType:e.subjectType||null},n=null;if(this.subjectsWithoutPermissionsEncounteredSinceStartup.size>=this.subjectCacheLimit){let e=this.subjectsWithoutPermissionsEncounteredSinceStartup.values().next().value;this.subjectsWithoutPermissionsEncounteredSinceStartup.delete(e),this.subjectHasPermissions(e)||(n=e)}this.subjectsWithoutPermissionsEncounteredSinceStartup.add(t),this.update(e=>{e.subjectMetadata[t]=i,"string"==typeof n&&delete e.subjectMetadata[n]})}getSubjectMetadata(e){return this.state.subjectMetadata[e]}trimMetadataState(){this.update(t=>e.getTrimmedState(t,this.subjectHasPermissions))}static getTrimmedState(e,t){let{subjectMetadata:i={}}=e;return{subjectMetadata:Object.keys(i).reduce((e,n)=>(t(n)&&(e[n]=i[n]),e),{})}}}},49274:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.errorCodes={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},t.errorValues={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}}},87643:(e,t,i)=>{"use strict";function n(e,t){return null!=e?e:t()}Object.defineProperty(t,"__esModule",{value:!0});var r=i(24712),o=i(31986),s=i(49274);function a(e,t){let[i,s]=u(t);return new r.JsonRpcError(e,n(i,()=>o.getMessageFromCode.call(void 0,e)),s)}function l(e,t){let[i,s]=u(t);return new r.EthereumProviderError(e,n(i,()=>o.getMessageFromCode.call(void 0,e)),s)}function u(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:i}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[n(t,()=>void 0),i]}}return[]}t.rpcErrors={parse:e=>a(s.errorCodes.rpc.parse,e),invalidRequest:e=>a(s.errorCodes.rpc.invalidRequest,e),invalidParams:e=>a(s.errorCodes.rpc.invalidParams,e),methodNotFound:e=>a(s.errorCodes.rpc.methodNotFound,e),internal:e=>a(s.errorCodes.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return a(t,e)},invalidInput:e=>a(s.errorCodes.rpc.invalidInput,e),resourceNotFound:e=>a(s.errorCodes.rpc.resourceNotFound,e),resourceUnavailable:e=>a(s.errorCodes.rpc.resourceUnavailable,e),transactionRejected:e=>a(s.errorCodes.rpc.transactionRejected,e),methodNotSupported:e=>a(s.errorCodes.rpc.methodNotSupported,e),limitExceeded:e=>a(s.errorCodes.rpc.limitExceeded,e)},t.providerErrors={userRejectedRequest:e=>l(s.errorCodes.provider.userRejectedRequest,e),unauthorized:e=>l(s.errorCodes.provider.unauthorized,e),unsupportedMethod:e=>l(s.errorCodes.provider.unsupportedMethod,e),disconnected:e=>l(s.errorCodes.provider.disconnected,e),chainDisconnected:e=>l(s.errorCodes.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:i,data:n}=e;if(!i||"string"!=typeof i)throw Error('"message" must be a nonempty string');return new r.EthereumProviderError(t,i,n)}}},24712:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(31986),r=i(35428),o=function(e){return e&&e.__esModule?e:{default:e}}(i(77847)),s=class extends Error{constructor(e,t,i){var o=(...e)=>{super(...e)};if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');n.dataHasCause.call(void 0,i)?(o(t,{cause:i.cause}),r.hasProperty.call(void 0,this,"cause")||Object.assign(this,{cause:i.cause})):o(t),void 0!==i&&(this.data=i),this.code=e}serialize(){let e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data,r.isPlainObject.call(void 0,this.data)&&(e.data.cause=n.serializeCause.call(void 0,this.data.cause))),this.stack&&(e.stack=this.stack),e}toString(){return o.default.call(void 0,this.serialize(),l,2)}},a=class extends s{constructor(e,t,i){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,i)}};function l(e,t){if("[Circular]"!==t)return t}t.JsonRpcError=s,t.EthereumProviderError=a},31986:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(49274),r=i(35428),o=n.errorCodes.rpc.internal,s={code:o,message:l(o)},a="Unspecified server error.";function l(e,t="Unspecified error message. This is a bug, please report it."){if(u(e)){let t=e.toString();if(r.hasProperty.call(void 0,n.errorValues,t))return n.errorValues[t].message;if(e>=-32099&&e<=-32e3)return a}return t}function u(e){return Number.isInteger(e)}function d(e){return Array.isArray(e)?e.map(e=>r.isValidJson.call(void 0,e)?e:r.isObject.call(void 0,e)?c(e):null):r.isObject.call(void 0,e)?c(e):r.isValidJson.call(void 0,e)?e:null}function c(e){return Object.getOwnPropertyNames(e).reduce((t,i)=>{let n=e[i];return r.isValidJson.call(void 0,n)&&(t[i]=n),t},{})}t.JSON_RPC_SERVER_ERROR_MESSAGE=a,t.getMessageFromCode=l,t.isValidCode=u,t.serializeError=function(e,{fallbackError:t=s,shouldIncludeStack:i=!0}={}){if(!r.isJsonRpcError.call(void 0,t))throw Error("Must provide fallback error with integer number code and string message.");let n=function(e,t){if(e&&"object"==typeof e&&"serialize"in e&&"function"==typeof e.serialize)return e.serialize();if(r.isJsonRpcError.call(void 0,e))return e;let i=d(e);return{...t,data:{cause:i}}}(e,t);return i||delete n.stack,n},t.serializeCause=d,t.dataHasCause=function(e){return r.isObject.call(void 0,e)&&r.hasProperty.call(void 0,e,"cause")&&r.isObject.call(void 0,e.cause)}},30774:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(87643),r=i(24712),o=i(31986),s=i(49274);t.EthereumProviderError=r.EthereumProviderError,t.JsonRpcError=r.JsonRpcError,t.dataHasCause=o.dataHasCause,t.errorCodes=s.errorCodes,t.getMessageFromCode=o.getMessageFromCode,t.providerErrors=n.providerErrors,t.rpcErrors=n.rpcErrors,t.serializeCause=o.serializeCause,t.serializeError=o.serializeError},65982:(e,t,i)=>{"use strict";i.d(t,{uc:()=>f,Zk:()=>n,gK:()=>y,PY:()=>b,Xy:()=>d});var n={rpc:{invalidInput:-32e3,resourceNotFound:-32001,resourceUnavailable:-32002,transactionRejected:-32003,methodNotSupported:-32004,limitExceeded:-32005,parse:-32700,invalidRequest:-32600,methodNotFound:-32601,invalidParams:-32602,internal:-32603},provider:{userRejectedRequest:4001,unauthorized:4100,unsupportedMethod:4200,disconnected:4900,chainDisconnected:4901}},r={"-32700":{standard:"JSON RPC 2.0",message:"Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text."},"-32600":{standard:"JSON RPC 2.0",message:"The JSON sent is not a valid Request object."},"-32601":{standard:"JSON RPC 2.0",message:"The method does not exist / is not available."},"-32602":{standard:"JSON RPC 2.0",message:"Invalid method parameter(s)."},"-32603":{standard:"JSON RPC 2.0",message:"Internal JSON-RPC error."},"-32000":{standard:"EIP-1474",message:"Invalid input."},"-32001":{standard:"EIP-1474",message:"Resource not found."},"-32002":{standard:"EIP-1474",message:"Resource unavailable."},"-32003":{standard:"EIP-1474",message:"Transaction rejected."},"-32004":{standard:"EIP-1474",message:"Method not supported."},"-32005":{standard:"EIP-1474",message:"Request limit exceeded."},4001:{standard:"EIP-1193",message:"User rejected the request."},4100:{standard:"EIP-1193",message:"The requested account and/or method has not been authorized by the user."},4200:{standard:"EIP-1193",message:"The requested method is not supported by this Ethereum provider."},4900:{standard:"EIP-1193",message:"The provider is disconnected from all chains."},4901:{standard:"EIP-1193",message:"The provider is disconnected from the specified chain."}},o=i(2503),s=i(16572),a=n.rpc.internal,l={code:a,message:u(a)};function u(e,t="Unspecified error message. This is a bug, please report it."){if(Number.isInteger(e)){let t=e.toString();if((0,o.l$)(r,t))return r[t].message;if(e>=-32099&&e<=-32e3)return"Unspecified server error."}return t}function d(e,{fallbackError:t=l,shouldIncludeStack:i=!0}={}){if(!(0,s.jg)(t))throw Error("Must provide fallback error with integer number code and string message.");let n=function(e,t){if(e&&"object"==typeof e&&"serialize"in e&&"function"==typeof e.serialize)return e.serialize();if((0,s.jg)(e))return e;let i=c(e);return{...t,data:{cause:i}}}(e,t);return i||delete n.stack,n}function c(e){return Array.isArray(e)?e.map(e=>(0,s.Vx)(e)?e:(0,o.Kn)(e)?h(e):null):(0,o.Kn)(e)?h(e):(0,s.Vx)(e)?e:null}function h(e){return Object.getOwnPropertyNames(e).reduce((t,i)=>{let n=e[i];return(0,s.Vx)(n)&&(t[i]=n),t},{})}var g=i(77847),p=i.n(g),f=class extends Error{constructor(e,t,i){var n=(...e)=>{super(...e)};if(!Number.isInteger(e))throw Error('"code" must be an integer.');if(!t||"string"!=typeof t)throw Error('"message" must be a non-empty string.');!function(e){return(0,o.Kn)(e)&&(0,o.l$)(e,"cause")&&(0,o.Kn)(e.cause)}(i)?n(t):(n(t,{cause:i.cause}),(0,o.l$)(this,"cause")||Object.assign(this,{cause:i.cause})),void 0!==i&&(this.data=i),this.code=e}serialize(){let e={code:this.code,message:this.message};return void 0!==this.data&&(e.data=this.data,(0,o.PO)(this.data)&&(e.data.cause=c(this.data.cause))),this.stack&&(e.stack=this.stack),e}toString(){return p()(this.serialize(),v,2)}},m=class extends f{constructor(e,t,i){if(!function(e){return Number.isInteger(e)&&e>=1e3&&e<=4999}(e))throw Error('"code" must be an integer such that: 1000 <= code <= 4999');super(e,t,i)}};function v(e,t){if("[Circular]"!==t)return t}var b={parse:e=>_(n.rpc.parse,e),invalidRequest:e=>_(n.rpc.invalidRequest,e),invalidParams:e=>_(n.rpc.invalidParams,e),methodNotFound:e=>_(n.rpc.methodNotFound,e),internal:e=>_(n.rpc.internal,e),server:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum RPC Server errors must provide single object argument.");let{code:t}=e;if(!Number.isInteger(t)||t>-32005||t<-32099)throw Error('"code" must be an integer such that: -32099 <= code <= -32005');return _(t,e)},invalidInput:e=>_(n.rpc.invalidInput,e),resourceNotFound:e=>_(n.rpc.resourceNotFound,e),resourceUnavailable:e=>_(n.rpc.resourceUnavailable,e),transactionRejected:e=>_(n.rpc.transactionRejected,e),methodNotSupported:e=>_(n.rpc.methodNotSupported,e),limitExceeded:e=>_(n.rpc.limitExceeded,e)},y={userRejectedRequest:e=>w(n.provider.userRejectedRequest,e),unauthorized:e=>w(n.provider.unauthorized,e),unsupportedMethod:e=>w(n.provider.unsupportedMethod,e),disconnected:e=>w(n.provider.disconnected,e),chainDisconnected:e=>w(n.provider.chainDisconnected,e),custom:e=>{if(!e||"object"!=typeof e||Array.isArray(e))throw Error("Ethereum Provider custom errors must provide single object argument.");let{code:t,message:i,data:n}=e;if(!i||"string"!=typeof i)throw Error('"message" must be a nonempty string');return new m(t,i,n)}};function _(e,t){let[i,n]=C(t);return new f(e,i??u(e),n)}function w(e,t){let[i,n]=C(t);return new m(e,i??u(e),n)}function C(e){if(e){if("string"==typeof e)return[e];if("object"==typeof e&&!Array.isArray(e)){let{message:t,data:i}=e;if(t&&"string"!=typeof t)throw Error("Must specify string message.");return[t??void 0,i]}}return[]}},99307:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n=i(22699);function r(e,t,i){try{Reflect.apply(e,t,i)}catch(e){setTimeout(()=>{throw e})}}class o extends n.EventEmitter{emit(e,...t){let i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;let i=Error(`Unhandled error.${e?` (${e.message})`:""}`);throw i.context=e,i}let o=n[e];if(void 0===o)return!1;if("function"==typeof o)r(o,this,t);else{let e=o.length,i=function(e){let t=e.length,i=Array(t);for(let n=0;n{"use strict";i.d(t,{Z:()=>o});var n=i(22699);function r(e,t,i){try{Reflect.apply(e,t,i)}catch(e){setTimeout(()=>{throw e})}}class o extends n.EventEmitter{emit(e,...t){let i="error"===e,n=this._events;if(void 0!==n)i=i&&void 0===n.error;else if(!i)return!1;if(i){let e;if(t.length>0&&([e]=t),e instanceof Error)throw e;let i=Error(`Unhandled error.${e?` (${e.message})`:""}`);throw i.context=e,i}let o=n[e];if(void 0===o)return!1;if("function"==typeof o)r(o,this,t);else{let e=o.length,i=function(e){let t=e.length,i=Array(t);for(let n=0;n{"use strict";t.OI=t.oy=void 0;/*! scure-bip39 - MIT License (c) 2022 Patricio Palladino, Paul Miller (paulmillr.com) */let n=i(1162),r=i(99969),o=i(70806),s=i(4123),a=(i(39473),i(36237));function l(e){if("string"!=typeof e)throw TypeError(`Invalid mnemonic type: ${typeof e}`);return e.normalize("NFKD")}function u(e){let t=l(e),i=t.split(" ");if(![12,15,18,21,24].includes(i.length))throw Error("Invalid mnemonic");return{nfkd:t,words:i}}let d=e=>{let t=8-e.length/4;return new Uint8Array([(0,o.sha256)(e)[0]>>t<{if("string"!=typeof e)throw Error(`Wordlist: non-string element: ${e}`)}),a.utils.chain(a.utils.checksum(1,d),a.utils.radix2(11,!0),a.utils.alphabet(e))}t.oy=function(e,t){var i;let r;if("string"==typeof e){let{words:i}=u(e);r=c(t).decode(i)}else r=c(t).decode(Array.from(new Uint16Array(e.buffer)).map(e=>t[e]));return i=r,n.default.bytes(i,16,20,24,28,32),r};let h=e=>l(`mnemonic${e}`);t.OI=function(e,t,i=""){let n="string"==typeof e?new TextEncoder().encode(u(e).nfkd):new TextEncoder().encode(Array.from(new Uint16Array(e.buffer)).map(e=>t[e]).join(" "));return(0,r.pbkdf2Async)(s.sha512,n,h(i),{c:2048,dkLen:64})}},63610:(e,t)=>{"use strict";t.U=void 0,t.U=`abandon ability able about @@ -2349,12 +2349,12 @@ youth zebra zero zone -zoo`.split("\n")},1162:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`Expected boolean, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;let n=i(1162),r=i(39473);class o extends r.Hash{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,n.exists)(this);let{view:t,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let n=0;no-a&&(this.process(i,0),a=0);for(let e=a;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,o-8,BigInt(8*this.length),s),this.process(i,0);let l=(0,r.createView)(e),u=this.outputLen;if(u%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=u/4,c=this.get();if(d>c.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=s;let a=(e,t,i)=>e>>>i;t.shrSH=a;let l=(e,t,i)=>e<<32-i|t>>>i;t.shrSL=l;let u=(e,t,i)=>e>>>i|t<<32-i;t.rotrSH=u;let d=(e,t,i)=>e<<32-i|t>>>i;t.rotrSL=d;let c=(e,t,i)=>e<<64-i|t>>>i-32;t.rotrBH=c;let h=(e,t,i)=>e>>>i-32|t<<64-i;t.rotrBL=h;let g=(e,t)=>t;t.rotr32H=g;let p=(e,t)=>e;t.rotr32L=p;let f=(e,t,i)=>e<>>32-i;t.rotlSH=f;let m=(e,t,i)=>t<>>32-i;t.rotlSL=m;let v=(e,t,i)=>t<>>64-i;t.rotlBH=v;let b=(e,t,i)=>e<>>64-i;function y(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.rotlBL=b,t.add=y;let _=(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0);t.add3L=_;let w=(e,t,i,n)=>t+i+n+(e/4294967296|0)|0;t.add3H=w;let C=(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0);t.add4L=C;let S=(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0;t.add4H=S;let x=(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0);t.add5L=x;let k=(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0;t.add5H=k,t.default={fromBig:r,split:o,toBig:s,shrSH:a,shrSL:l,rotrSH:u,rotrSL:d,rotrBH:c,rotrBL:h,rotr32H:g,rotr32L:p,rotlSH:f,rotlSL:m,rotlBH:v,rotlBL:b,add:y,add3L:_,add3H:w,add4L:C,add4H:S,add5H:k,add5L:x}},7692:(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},72475:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;let n=i(1162),r=i(39473);class o extends r.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);let i=(0,r.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;enew o(e,t).update(i).digest(),t.hmac.create=(e,t)=>new o(e,t)},99969:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;let n=i(1162),r=i(72475),o=i(39473);function s(e,t,i,s){(0,n.hash)(e);let{c:a,dkLen:l,asyncTick:u}=(0,o.checkOpts)({dkLen:32,asyncTick:10},s);if((0,n.number)(a),(0,n.number)(l),(0,n.number)(u),a<1)throw Error("PBKDF2: iterations (c) should be >= 1");let d=(0,o.toBytes)(t),c=(0,o.toBytes)(i),h=new Uint8Array(l),g=r.hmac.create(e,d),p=g._cloneInto().update(c);return{c:a,dkLen:l,asyncTick:u,DK:h,PRF:g,PRFSalt:p}}function a(e,t,i,n,r){return e.destroy(),t.destroy(),n&&n.destroy(),r.fill(0),i}async function l(e,t,i,n){let r;let{c:l,dkLen:u,asyncTick:d,DK:c,PRF:h,PRFSalt:g}=s(e,t,i,n),p=new Uint8Array(4),f=(0,o.createView)(p),m=new Uint8Array(h.outputLen);for(let e=1,t=0;t{h._cloneInto(r).update(m).digestInto(m);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;let n=i(90156),r=i(39473),o=(e,t,i)=>e&t^~e&i,s=(e,t,i)=>e&t^e&i^t&i,a=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]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class d extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|l[0],this.B=0|l[1],this.C=0|l[2],this.D=0|l[3],this.E=0|l[4],this.F=0|l[5],this.G=0|l[6],this.H=0|l[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)u[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],i=u[e-2],n=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,o=(0,r.rotr)(i,17)^(0,r.rotr)(i,19)^i>>>10;u[e]=o+u[e-7]+n+u[e-16]|0}let{A:i,B:n,C:l,D:d,E:c,F:h,G:g,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,r.rotr)(c,6)^(0,r.rotr)(c,11)^(0,r.rotr)(c,25))+o(c,h,g)+a[e]+u[e]|0,f=((0,r.rotr)(i,2)^(0,r.rotr)(i,13)^(0,r.rotr)(i,22))+s(i,n,l)|0;p=g,g=h,h=c,c=d+t|0,d=l,l=n,n=i,i=t+f|0}i=i+this.A|0,n=n+this.B|0,l=l+this.C|0,d=d+this.D|0,c=c+this.E|0,h=h+this.F|0,g=g+this.G|0,p=p+this.H|0,this.set(i,n,l,d,c,h,g,p)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends d{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,r.wrapConstructor)(()=>new d),t.sha224=(0,r.wrapConstructor)(()=>new c)},4123:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512_224=t.sha512=t.SHA512=void 0;let n=i(90156),r=i(49140),o=i(39473),[s,a]=r.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))),l=new Uint32Array(80),u=new Uint32Array(80);class d extends n.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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)l[i]=e.getUint32(t),u[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|l[e-15],i=0|u[e-15],n=r.default.rotrSH(t,i,1)^r.default.rotrSH(t,i,8)^r.default.shrSH(t,i,7),o=r.default.rotrSL(t,i,1)^r.default.rotrSL(t,i,8)^r.default.shrSL(t,i,7),s=0|l[e-2],a=0|u[e-2],d=r.default.rotrSH(s,a,19)^r.default.rotrBH(s,a,61)^r.default.shrSH(s,a,6),c=r.default.rotrSL(s,a,19)^r.default.rotrBL(s,a,61)^r.default.shrSL(s,a,6),h=r.default.add4L(o,c,u[e-7],u[e-16]),g=r.default.add4H(h,n,d,l[e-7],l[e-16]);l[e]=0|g,u[e]=0|h}let{Ah:i,Al:n,Bh:o,Bl:d,Ch:c,Cl:h,Dh:g,Dl:p,Eh:f,El:m,Fh:v,Fl:b,Gh:y,Gl:_,Hh:w,Hl:C}=this;for(let e=0;e<80;e++){let t=r.default.rotrSH(f,m,14)^r.default.rotrSH(f,m,18)^r.default.rotrBH(f,m,41),S=r.default.rotrSL(f,m,14)^r.default.rotrSL(f,m,18)^r.default.rotrBL(f,m,41),x=f&v^~f&y,k=m&b^~m&_,E=r.default.add5L(C,S,k,a[e],u[e]),L=r.default.add5H(E,w,t,x,s[e],l[e]),D=0|E,N=r.default.rotrSH(i,n,28)^r.default.rotrBH(i,n,34)^r.default.rotrBH(i,n,39),A=r.default.rotrSL(i,n,28)^r.default.rotrBL(i,n,34)^r.default.rotrBL(i,n,39),T=i&o^i&c^o&c,I=n&d^n&h^d&h;w=0|y,C=0|_,y=0|v,_=0|b,v=0|f,b=0|m,({h:f,l:m}=r.default.add(0|g,0|p,0|L,0|D)),g=0|c,p=0|h,c=0|o,h=0|d,o=0|i,d=0|n;let M=r.default.add3L(D,A,I);i=r.default.add3H(M,L,N,T),n=0|M}({h:i,l:n}=r.default.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:o,l:d}=r.default.add(0|this.Bh,0|this.Bl,0|o,0|d)),({h:c,l:h}=r.default.add(0|this.Ch,0|this.Cl,0|c,0|h)),({h:g,l:p}=r.default.add(0|this.Dh,0|this.Dl,0|g,0|p)),({h:f,l:m}=r.default.add(0|this.Eh,0|this.El,0|f,0|m)),({h:v,l:b}=r.default.add(0|this.Fh,0|this.Fl,0|v,0|b)),({h:y,l:_}=r.default.add(0|this.Gh,0|this.Gl,0|y,0|_)),({h:w,l:C}=r.default.add(0|this.Hh,0|this.Hl,0|w,0|C)),this.set(i,n,o,d,c,h,g,p,f,m,v,b,y,_,w,C)}roundClean(){l.fill(0),u.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=d;class c extends d{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class h extends d{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 g extends d{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,o.wrapConstructor)(()=>new d),t.sha512_224=(0,o.wrapConstructor)(()=>new c),t.sha512_256=(0,o.wrapConstructor)(()=>new h),t.sha384=(0,o.wrapConstructor)(()=>new g)},39473:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=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;let n=i(7692),r=e=>e instanceof Uint8Array;if(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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw Error("Non little-endian hardware is not supported");let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));t.bytesToHex=function(e){if(!r(e))throw Error("Uint8Array expected");let t="";for(let i=0;i{};async function a(e,i,n){let r=Date.now();for(let o=0;o=0&&ee+t.length,0)),i=0;return e.forEach(e=>{if(!r(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t},t.Hash=class{clone(){return this._cloneInto()}};let d={}.toString;t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==d.call(t))throw Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){let t=t=>e().update(u(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},68792:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=(function(e){return e&&e.__esModule?e:{default:e}})(i(25130)).default.call(void 0,"metamask");t.createProjectLogger=function(e){return n.extend(e)},t.createModuleLogger=function(e,t){return e.extend(t)}},60668:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)};t.__privateGet=(e,t,n)=>(i(e,t,"read from private field"),n?n.call(e):t.get(e)),t.__privateAdd=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},t.__privateSet=(e,t,n,r)=>(i(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n)},27665:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14966),r=i(97699),o=i(37715),s=o.refine.call(void 0,o.string.call(void 0),"Version",e=>null!==r.valid.call(void 0,e)||`Expected SemVer version, got "${e}"`),a=o.refine.call(void 0,o.string.call(void 0),"Version range",e=>null!==r.validRange.call(void 0,e)||`Expected SemVer range, got "${e}"`);t.VersionStruct=s,t.VersionRangeStruct=a,t.isValidSemVerVersion=function(e){return o.is.call(void 0,e,s)},t.isValidSemVerRange=function(e){return o.is.call(void 0,e,a)},t.assertIsSemVerVersion=function(e){n.assertStruct.call(void 0,e,s)},t.assertIsSemVerRange=function(e){n.assertStruct.call(void 0,e,a)},t.gtVersion=function(e,t){return r.gt.call(void 0,e,t)},t.gtRange=function(e,t){return r.gtr.call(void 0,e,t)},t.satisfiesVersionRange=function(e,t){return r.satisfies.call(void 0,e,t,{includePrerelease:!0})}},95709:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,n=((i=n||{})[i.Millisecond=1]="Millisecond",i[i.Second=1e3]="Second",i[i.Minute=6e4]="Minute",i[i.Hour=36e5]="Hour",i[i.Day=864e5]="Day",i[i.Week=6048e5]="Week",i[i.Year=31536e6]="Year",i),r=e=>Number.isInteger(e)&&e>=0,o=(e,t)=>{if(!r(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};t.Duration=n,t.inMilliseconds=function(e,t){return o(e,"count"),e*t},t.timeSince=function(e){return o(e,"timestamp"),Date.now()-e}},82694:()=>{},79009:(e,t,i)=>{"use strict";i.d(t,{AB:()=>f,Aj:()=>P,CR:()=>N,DW:()=>S,Fd:()=>k,Ij:()=>V,LQ:()=>w,M9:()=>u,MC:()=>m,MH:()=>d,Qj:()=>C,Qq:()=>x,Rn:()=>O,Ry:()=>s,SR:()=>E,Vx:()=>c,W3:()=>g,XO:()=>p,Z3:()=>R,a5:()=>B,hI:()=>_,if:()=>y,jU:()=>A,je:()=>v,jg:()=>F,lW:()=>D,m0:()=>l,nR:()=>b,om:()=>M,p7:()=>L,u:()=>T,vQ:()=>I,vp:()=>h});var n=i(80045),r=i(56710),o=i(37715),s=e=>(0,o.object)(e);function a({path:e,branch:t}){let i=e[e.length-1];return(0,r.l$)(t[t.length-2],i)}function l(e){return new o.Struct({...e,type:`optional ${e.type}`,validator:(t,i)=>!a(i)||e.validator(t,i),refiner:(t,i)=>!a(i)||e.refiner(t,i)})}var u=(0,o.union)([(0,o.literal)(null),(0,o.boolean)(),(0,o.define)("finite number",e=>(0,o.is)(e,(0,o.number)())&&Number.isFinite(e)),(0,o.string)(),(0,o.array)((0,o.lazy)(()=>u)),(0,o.record)((0,o.string)(),(0,o.lazy)(()=>u))]),d=(0,o.coerce)(u,(0,o.any)(),e=>((0,n.bH)(e,u),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t}))));function c(e){try{return h(e),!0}catch{return!1}}function h(e){return(0,o.create)(e,d)}function g(e){(0,n.bH)(e,d,"Invalid JSON value");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength}var p="2.0",f=(0,o.literal)(p),m=(0,o.nullable)((0,o.union)([(0,o.number)(),(0,o.string)()])),v=s({code:(0,o.integer)(),message:(0,o.string)(),data:l(d),stack:l((0,o.string)())}),b=(0,o.union)([(0,o.record)((0,o.string)(),d),(0,o.array)(d)]),y=s({id:m,jsonrpc:f,method:(0,o.string)(),params:l(b)}),_=s({jsonrpc:f,method:(0,o.string)(),params:l(b)});function w(e){return(0,o.is)(e,_)}function C(e,t){(0,n.bH)(e,_,"Invalid JSON-RPC notification",t)}function S(e){return(0,o.is)(e,y)}function x(e,t){(0,n.bH)(e,y,"Invalid JSON-RPC request",t)}var k=(0,o.object)({id:m,jsonrpc:f,result:(0,o.optional)((0,o.unknown)()),error:(0,o.optional)(v)}),E=s({id:m,jsonrpc:f,result:d}),L=s({id:m,jsonrpc:f,error:v}),D=(0,o.union)([E,L]);function N(e){return(0,o.is)(e,k)}function A(e,t){(0,n.bH)(e,k,"Invalid pending JSON-RPC response",t)}function T(e){return(0,o.is)(e,D)}function I(e,t){(0,n.bH)(e,D,"Invalid JSON-RPC response",t)}function M(e){return(0,o.is)(e,E)}function R(e,t){(0,n.bH)(e,E,"Invalid JSON-RPC success response",t)}function P(e){return(0,o.is)(e,L)}function O(e,t){(0,n.bH)(e,L,"Invalid JSON-RPC failure response",t)}function F(e){return(0,o.is)(e,v)}function B(e,t){(0,n.bH)(e,v,"Invalid JSON-RPC error",t)}function V(e){let{permitEmptyString:t,permitFractions:i,permitNull:n}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(i||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||n&&null===e)}},18826:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14966),r=i(37715);t.base64=(e,t={})=>{let i,o;let s=function(e,t){return null!=e?e:t()}(t.paddingRequired,()=>!1),a=function(e,t){return null!=e?e:t()}(t.characterSet,()=>"base64");return"base64"===a?i=String.raw`[A-Za-z0-9+\/]`:(n.assert.call(void 0,"base64url"===a),i=String.raw`[-_A-Za-z0-9]`),o=s?RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),r.pattern.call(void 0,e,o)}},14966:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(66472),r=i(37715);function o(e,t){return"string"==typeof function(e){let t;let i=e[0],n=1;for(;ni.call(t,...e)),t=void 0)}return i}([e,"optionalAccess",e=>e.prototype,"optionalAccess",e=>e.constructor,"optionalAccess",e=>e.name])?new e({message:t}):e({message:t})}var s=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};t.AssertionError=s,t.assert=function(e,t="Assertion failed.",i=s){if(!e){if(t instanceof Error)throw t;throw o(i,t)}},t.assertStruct=function(e,t,i="Assertion failed",a=s){try{r.assert.call(void 0,e,t)}catch(e){throw o(a,`${i}: ${n.getErrorMessage.call(void 0,e).replace(/\.$/u,"")}.`)}},t.assertExhaustive=function(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},80045:(e,t,i)=>{"use strict";i.d(t,{bH:()=>l,hu:()=>a,nt:()=>u,ps:()=>s});var n=i(18247),r=i(37715);function o(e,t){return"string"==typeof e?.prototype?.constructor?.name?new e({message:t}):e({message:t})}var s=class extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}};function a(e,t="Assertion failed.",i=s){if(!e){if(t instanceof Error)throw t;throw o(i,t)}}function l(e,t,i="Assertion failed",a=s){try{(0,r.assert)(e,t)}catch(e){throw o(a,`${i}: ${(0,n.e$)(e).replace(/\.$/u,"")}.`)}}function u(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},31715:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createDeferredPromise=function({suppressUnhandledRejection:e=!1}={}){let t,i;let n=new Promise((e,n)=>{t=e,i=n});return e&&n.catch(e=>{}),{promise:n,resolve:t,reject:i}}},41715:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17580),r=i(14966),o=i(37715),s=o.union.call(void 0,[o.number.call(void 0),o.bigint.call(void 0),o.string.call(void 0),n.StrictHexStruct]),a=o.coerce.call(void 0,o.number.call(void 0),s,Number),l=o.coerce.call(void 0,o.bigint.call(void 0),s,BigInt);o.union.call(void 0,[n.StrictHexStruct,o.instance.call(void 0,Uint8Array)]);var u=o.coerce.call(void 0,o.instance.call(void 0,Uint8Array),o.union.call(void 0,[n.StrictHexStruct]),n.hexToBytes),d=o.coerce.call(void 0,n.StrictHexStruct,o.instance.call(void 0,Uint8Array),n.bytesToHex);t.createNumber=function(e){try{let t=o.create.call(void 0,e,a);return r.assert.call(void 0,Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof o.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}},t.createBigInt=function(e){try{return o.create.call(void 0,e,l)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}},t.createBytes=function(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return o.create.call(void 0,e,u)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}},t.createHex=function(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return o.create.call(void 0,e,d)}catch(e){if(e instanceof o.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}},50631:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(18826),r=i(37715),o=r.size.call(void 0,n.base64.call(void 0,r.string.call(void 0),{paddingRequired:!0}),44,44);t.ChecksumStruct=o},17121:()=>{},56710:(e,t,i)=>{"use strict";function n(e){return Array.isArray(e)&&e.length>0}function r(e){return null==e}function o(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}i.d(t,{FQ:()=>h,Kn:()=>o,Of:()=>n,PO:()=>c,hK:()=>l,iP:()=>p,l$:()=>a,l6:()=>d,le:()=>r,qy:()=>g,sw:()=>u});var s,a=(e,t)=>Object.hasOwnProperty.call(e,t);function l(e){return Object.getOwnPropertyNames(e)}var u=((s=u||{})[s.Null=4]="Null",s[s.Comma=1]="Comma",s[s.Wrapper=1]="Wrapper",s[s.True=4]="True",s[s.False=5]="False",s[s.Quote=1]="Quote",s[s.Colon=1]="Colon",s[s.Date=24]="Date",s),d=/"|\\|\n|\r|\t/gu;function c(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}}function h(e){return 127>=e.charCodeAt(0)}function g(e){return e.split("").reduce((e,t)=>h(t)?e+1:e+2,0)+(e.match(d)??[]).length}function p(e){return e.toString().length}},66472:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(5064),r=i(89498);function o(e){return"object"==typeof e&&null!==e&&"code"in e}function s(e){return"object"==typeof e&&null!==e&&"message"in e}t.isErrorWithCode=o,t.isErrorWithMessage=s,t.isErrorWithStack=function(e){return"object"==typeof e&&null!==e&&"stack"in e},t.getErrorMessage=function(e){return s(e)&&"string"==typeof e.message?e.message:n.isNullOrUndefined.call(void 0,e)?"":String(e)},t.wrapError=function(e,t){if(e instanceof Error||n.isObject.call(void 0,e)&&"Error"===e.constructor.name){let i;return i=2===Error.length?Error(t,{cause:e}):new r.ErrorWithCause(t,{cause:e}),o(e)&&(i.code=e.code),i}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},38823:()=>{},13775:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(14966),r=i(5064),o=i(37715),s=e=>o.object.call(void 0,e);function a({path:e,branch:t}){let i=e[e.length-1];return r.hasProperty.call(void 0,t[t.length-2],i)}function l(e){return new o.Struct({...e,type:`optional ${e.type}`,validator:(t,i)=>!a(i)||e.validator(t,i),refiner:(t,i)=>!a(i)||e.refiner(t,i)})}var u=o.union.call(void 0,[o.literal.call(void 0,null),o.boolean.call(void 0),o.define.call(void 0,"finite number",e=>o.is.call(void 0,e,o.number.call(void 0))&&Number.isFinite(e)),o.string.call(void 0),o.array.call(void 0,o.lazy.call(void 0,()=>u)),o.record.call(void 0,o.string.call(void 0),o.lazy.call(void 0,()=>u))]),d=o.coerce.call(void 0,u,o.any.call(void 0),e=>(n.assertStruct.call(void 0,e,u),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t}))));function c(e){return o.create.call(void 0,e,d)}var h=o.literal.call(void 0,"2.0"),g=o.nullable.call(void 0,o.union.call(void 0,[o.number.call(void 0),o.string.call(void 0)])),p=s({code:o.integer.call(void 0),message:o.string.call(void 0),data:l(d),stack:l(o.string.call(void 0))}),f=o.union.call(void 0,[o.record.call(void 0,o.string.call(void 0),d),o.array.call(void 0,d)]),m=s({id:g,jsonrpc:h,method:o.string.call(void 0),params:l(f)}),v=s({jsonrpc:h,method:o.string.call(void 0),params:l(f)}),b=o.object.call(void 0,{id:g,jsonrpc:h,result:o.optional.call(void 0,o.unknown.call(void 0)),error:o.optional.call(void 0,p)}),y=s({id:g,jsonrpc:h,result:d}),_=s({id:g,jsonrpc:h,error:p}),w=o.union.call(void 0,[y,_]);t.object=s,t.exactOptional=l,t.UnsafeJsonStruct=u,t.JsonStruct=d,t.isValidJson=function(e){try{return c(e),!0}catch(e){return!1}},t.getSafeJson=c,t.getJsonSize=function(e){n.assertStruct.call(void 0,e,d,"Invalid JSON value");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength},t.jsonrpc2="2.0",t.JsonRpcVersionStruct=h,t.JsonRpcIdStruct=g,t.JsonRpcErrorStruct=p,t.JsonRpcParamsStruct=f,t.JsonRpcRequestStruct=m,t.JsonRpcNotificationStruct=v,t.isJsonRpcNotification=function(e){return o.is.call(void 0,e,v)},t.assertIsJsonRpcNotification=function(e,t){n.assertStruct.call(void 0,e,v,"Invalid JSON-RPC notification",t)},t.isJsonRpcRequest=function(e){return o.is.call(void 0,e,m)},t.assertIsJsonRpcRequest=function(e,t){n.assertStruct.call(void 0,e,m,"Invalid JSON-RPC request",t)},t.PendingJsonRpcResponseStruct=b,t.JsonRpcSuccessStruct=y,t.JsonRpcFailureStruct=_,t.JsonRpcResponseStruct=w,t.isPendingJsonRpcResponse=function(e){return o.is.call(void 0,e,b)},t.assertIsPendingJsonRpcResponse=function(e,t){n.assertStruct.call(void 0,e,b,"Invalid pending JSON-RPC response",t)},t.isJsonRpcResponse=function(e){return o.is.call(void 0,e,w)},t.assertIsJsonRpcResponse=function(e,t){n.assertStruct.call(void 0,e,w,"Invalid JSON-RPC response",t)},t.isJsonRpcSuccess=function(e){return o.is.call(void 0,e,y)},t.assertIsJsonRpcSuccess=function(e,t){n.assertStruct.call(void 0,e,y,"Invalid JSON-RPC success response",t)},t.isJsonRpcFailure=function(e){return o.is.call(void 0,e,_)},t.assertIsJsonRpcFailure=function(e,t){n.assertStruct.call(void 0,e,_,"Invalid JSON-RPC failure response",t)},t.isJsonRpcError=function(e){return o.is.call(void 0,e,p)},t.assertIsJsonRpcError=function(e,t){n.assertStruct.call(void 0,e,p,"Invalid JSON-RPC error",t)},t.getJsonRpcIdValidator=function(e){let{permitEmptyString:t,permitFractions:i,permitNull:n}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(i||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||n&&null===e)}},17580:(e,t,i)=>{"use strict";var n=i(48834).Buffer;Object.defineProperty(t,"__esModule",{value:!0});var r=i(14966),o=i(80125),s=i(37715),a=i(36237),l=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function u(e){return e instanceof Uint8Array}function d(e){r.assert.call(void 0,u(e),"Value must be a Uint8Array.")}function c(e){if(d(e),0===e.length)return"0x";let t=l(),i=Array(e.length);for(let n=0;ni.call(t,...e)),t=void 0)}return i}([e,"optionalAccess",e=>e.toLowerCase,"optionalCall",e=>e()]))return new Uint8Array;x(e);let t=D(e).toLowerCase(),i=t.length%2==0?t:`0${t}`,n=new Uint8Array(i.length/2);for(let e=0;e=BigInt(0),"Value must be a non-negative bigint."),g(e.toString(16))}function f(e){return r.assert.call(void 0,"number"==typeof e,"Value must be a number."),r.assert.call(void 0,e>=0,"Value must be a non-negative number."),r.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead."),g(e.toString(16))}function m(e){return r.assert.call(void 0,"string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function v(e){if("bigint"==typeof e)return p(e);if("number"==typeof e)return f(e);if("string"==typeof e)return e.startsWith("0x")?g(e):m(e);if(u(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}var b=s.pattern.call(void 0,s.string.call(void 0),/^(?:0x)?[0-9a-f]+$/iu),y=s.pattern.call(void 0,s.string.call(void 0),/^0x[0-9a-f]+$/iu),_=s.pattern.call(void 0,s.string.call(void 0),/^0x[0-9a-f]{40}$/u),w=s.pattern.call(void 0,s.string.call(void 0),/^0x[0-9a-fA-F]{40}$/u);function C(e){return s.is.call(void 0,e,b)}function S(e){return s.is.call(void 0,e,y)}function x(e){r.assert.call(void 0,C(e),"Value must be a hexadecimal string.")}function k(e){r.assert.call(void 0,s.is.call(void 0,e,w),"Invalid hex address.");let t=D(e.toLowerCase()),i=D(c(o.keccak_256.call(void 0,t)));return`0x${t.split("").map((e,t)=>{let n=i[t];return r.assert.call(void 0,s.is.call(void 0,n,s.string.call(void 0)),"Hash shorter than address."),parseInt(n,16)>7?e.toUpperCase():e}).join("")}`}function E(e){return!!s.is.call(void 0,e,w)&&k(e)===e}function L(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`}function D(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}t.HexStruct=b,t.StrictHexStruct=y,t.HexAddressStruct=_,t.HexChecksumAddressStruct=w,t.isHexString=C,t.isStrictHexString=S,t.assertIsHexString=x,t.assertIsStrictHexString=function(e){r.assert.call(void 0,S(e),'Value must be a hexadecimal string, starting with "0x".')},t.isValidHexAddress=function(e){return s.is.call(void 0,e,_)||E(e)},t.getChecksumAddress=k,t.isValidChecksumAddress=E,t.add0x=L,t.remove0x=D,t.isBytes=u,t.assertIsBytes=d,t.bytesToHex=c,t.bytesToBigInt=h,t.bytesToSignedBigInt=function(e){d(e);let t=BigInt(0);for(let i of e)t=(t<0,"Byte length must be greater than 0."),r.assert.call(void 0,(r.assert.call(void 0,t>0),i=e>>BigInt(31),!((~e&i)+(e&~i)>>BigInt(8*t+-1))),"Byte length is too small to represent the given value.");let n=e,o=new Uint8Array(t);for(let e=0;e>=BigInt(8);return o.reverse()},t.numberToBytes=f,t.stringToBytes=m,t.base64ToBytes=function(e){return r.assert.call(void 0,"string"==typeof e,"Value must be a string."),a.base64.decode(e)},t.valueToBytes=v,t.concatBytes=function(e){let t=Array(e.length),i=0;for(let n=0;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var i,n=((i=n||{})[i.Null=4]="Null",i[i.Comma=1]="Comma",i[i.Wrapper=1]="Wrapper",i[i.True=4]="True",i[i.False=5]="False",i[i.Quote=1]="Quote",i[i.Colon=1]="Colon",i[i.Date=24]="Date",i),r=/"|\\|\n|\r|\t/gu;function o(e){return 127>=e.charCodeAt(0)}t.isNonEmptyArray=function(e){return Array.isArray(e)&&e.length>0},t.isNullOrUndefined=function(e){return null==e},t.isObject=function(e){return!!e&&"object"==typeof e&&!Array.isArray(e)},t.hasProperty=(e,t)=>Object.hasOwnProperty.call(e,t),t.getKnownPropertyNames=function(e){return Object.getOwnPropertyNames(e)},t.JsonSize=n,t.ESCAPE_CHARACTERS_REGEXP=r,t.isPlainObject=function(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}},t.isASCII=o,t.calculateStringSize=function(e){var t;return e.split("").reduce((e,t)=>o(t)?e+1:e+2,0)+(null!=(t=e.match(r))?t:[]).length},t.calculateNumberSize=function(e){return e.toString().length}},47473:()=>{},94663:(e,t,i)=>{"use strict";i.d(t,{Z4:()=>s,eC:()=>o,ly:()=>a,y_:()=>l});var n=i(83618),r=i(80045),o=e=>((0,r.hu)("number"==typeof e,"Value must be a number."),(0,r.hu)(e>=0,"Value must be a non-negative number."),(0,r.hu)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,n.Xn)(e.toString(16))),s=e=>((0,r.hu)("bigint"==typeof e,"Value must be a bigint."),(0,r.hu)(e>=0,"Value must be a non-negative bigint."),(0,n.Xn)(e.toString(16))),a=e=>{(0,n.EZ)(e);let t=parseInt(e,16);return(0,r.hu)(Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},l=e=>((0,n.EZ)(e),BigInt((0,n.Xn)(e)))},11817:()=>{},83618:(e,t,i)=>{"use strict";i.d(t,{A7:()=>A,BG:()=>B,DY:()=>P,EZ:()=>I,Fm:()=>S,J2:()=>m,JV:()=>N,K9:()=>C,Nb:()=>L,Pv:()=>R,Vp:()=>k,XK:()=>g,Xn:()=>F,Yc:()=>y,_t:()=>u,aX:()=>D,be:()=>d,cM:()=>T,ci:()=>c,d3:()=>f,eV:()=>x,hL:()=>_,jF:()=>E,jk:()=>b,nr:()=>v,oM:()=>M,qX:()=>w,tm:()=>p,v3:()=>h,yG:()=>O});var n=i(80045),r=i(91374),o=i(37715),s=i(25814),a=i(48834).Buffer,l=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function u(e){return e instanceof Uint8Array}function d(e){(0,n.hu)(u(e),"Value must be a Uint8Array.")}function c(e){if(d(e),0===e.length)return"0x";let t=l(),i=Array(e.length);for(let n=0;n=BigInt(0),"Value must be a non-negative bigint."),v(e.toString(16))}function y(e,t){let i;(0,n.hu)("bigint"==typeof e,"Value must be a bigint."),(0,n.hu)("number"==typeof t,"Byte length must be a number."),(0,n.hu)(t>0,"Byte length must be greater than 0."),(0,n.hu)(((0,n.hu)(t>0),i=e>>BigInt(31),!((~e&i)+(e&~i)>>BigInt(8*t+-1))),"Byte length is too small to represent the given value.");let r=e,o=new Uint8Array(t);for(let e=0;e>=BigInt(8);return o.reverse()}function _(e){return(0,n.hu)("number"==typeof e,"Value must be a number."),(0,n.hu)(e>=0,"Value must be a non-negative number."),(0,n.hu)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead."),v(e.toString(16))}function w(e){return(0,n.hu)("string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function C(e){return(0,n.hu)("string"==typeof e,"Value must be a string."),s.US.decode(e)}function S(e){if("bigint"==typeof e)return b(e);if("number"==typeof e)return _(e);if("string"==typeof e)return e.startsWith("0x")?v(e):w(e);if(u(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}function x(e){let t=Array(e.length),i=0;for(let n=0;n{let r=i[t];return(0,n.hu)((0,o.is)(r,(0,o.string)()),"Hash shorter than address."),parseInt(r,16)>7?e.toUpperCase():e}).join("")}`}function O(e){return!!(0,o.is)(e,N)&&P(e)===e}function F(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`}function B(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}},32025:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(17580),r=i(14966);t.numberToHex=e=>(r.assert.call(void 0,"number"==typeof e,"Value must be a number."),r.assert.call(void 0,e>=0,"Value must be a non-negative number."),r.assert.call(void 0,Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),n.add0x.call(void 0,e.toString(16))),t.bigIntToHex=e=>(r.assert.call(void 0,"bigint"==typeof e,"Value must be a bigint."),r.assert.call(void 0,e>=0,"Value must be a non-negative bigint."),n.add0x.call(void 0,e.toString(16))),t.hexToNumber=e=>{n.assertIsHexString.call(void 0,e);let t=parseInt(e,16);return r.assert.call(void 0,Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},t.hexToBigInt=e=>(n.assertIsHexString.call(void 0,e),BigInt(n.add0x.call(void 0,e)))},18247:(e,t,i)=>{"use strict";i.d(t,{e$:()=>l,lP:()=>o,Mk:()=>s,Uh:()=>a,Jn:()=>u});var n=i(56710);class r extends Error{constructor(e,{cause:t}={}){super(e),this.name=r.name,t&&(this.cause=t),this.message=e}}function o(e){return"object"==typeof e&&null!==e&&"code"in e}function s(e){return"object"==typeof e&&null!==e&&"message"in e}function a(e){return"object"==typeof e&&null!==e&&"stack"in e}function l(e){return s(e)&&"string"==typeof e.message?e.message:(0,n.le)(e)?"":String(e)}function u(e,t){if(e instanceof Error||(0,n.Kn)(e)&&"Error"===e.constructor.name){let i;return i=2===Error.length?Error(t,{cause:e}):new r(t,{cause:e}),o(e)&&(i.code=e.code),i}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},27863:(e,t,i)=>{"use strict";function n(e){let t;let i=e[0],n=1;for(;ni.call(t,...e)),t=void 0)}return i}Object.defineProperty(t,"__esModule",{value:!0});var r,o=i(37715),s=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,a=/^[-a-z0-9]{3,8}$/u,l=/^[-_a-zA-Z0-9]{1,32}$/u,u=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,d=/^[-.%a-zA-Z0-9]{1,128}$/u,c=o.pattern.call(void 0,o.string.call(void 0),s),h=o.pattern.call(void 0,o.string.call(void 0),a),g=o.pattern.call(void 0,o.string.call(void 0),l),p=o.pattern.call(void 0,o.string.call(void 0),u),f=o.pattern.call(void 0,o.string.call(void 0),d),m=((r=m||{}).Eip155="eip155",r);function v(e){return o.is.call(void 0,e,h)}function b(e){return o.is.call(void 0,e,g)}t.CAIP_CHAIN_ID_REGEX=s,t.CAIP_NAMESPACE_REGEX=a,t.CAIP_REFERENCE_REGEX=l,t.CAIP_ACCOUNT_ID_REGEX=u,t.CAIP_ACCOUNT_ADDRESS_REGEX=d,t.CaipChainIdStruct=c,t.CaipNamespaceStruct=h,t.CaipReferenceStruct=g,t.CaipAccountIdStruct=p,t.CaipAccountAddressStruct=f,t.KnownCaipNamespace=m,t.isCaipChainId=function(e){return o.is.call(void 0,e,c)},t.isCaipNamespace=v,t.isCaipReference=b,t.isCaipAccountId=function(e){return o.is.call(void 0,e,p)},t.isCaipAccountAddress=function(e){return o.is.call(void 0,e,f)},t.parseCaipChainId=function(e){let t=s.exec(e);if(!n([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP chain ID.");return{namespace:t.groups.namespace,reference:t.groups.reference}},t.parseCaipAccountId=function(e){let t=u.exec(e);if(!n([t,"optionalAccess",e=>e.groups]))throw Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}},t.toCaipChainId=function(e,t){if(!v(e))throw Error(`Invalid "namespace", must match: ${a.toString()}`);if(!b(t))throw Error(`Invalid "reference", must match: ${l.toString()}`);return`${e}:${t}`}},35760:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n,r,o=i(60668),s=class{constructor(e){o.__privateAdd.call(void 0,this,n,void 0),o.__privateSet.call(void 0,this,n,new Map(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,n).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,n)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,n).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,n).forEach((i,n,r)=>e.call(t,i,n,this))}get(e){return o.__privateGet.call(void 0,this,n).get(e)}has(e){return o.__privateGet.call(void 0,this,n).has(e)}keys(){return o.__privateGet.call(void 0,this,n).keys()}values(){return o.__privateGet.call(void 0,this,n).values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}};n=new WeakMap;var a=class{constructor(e){o.__privateAdd.call(void 0,this,r,void 0),o.__privateSet.call(void 0,this,r,new Set(e)),Object.freeze(this)}get size(){return o.__privateGet.call(void 0,this,r).size}[Symbol.iterator](){return o.__privateGet.call(void 0,this,r)[Symbol.iterator]()}entries(){return o.__privateGet.call(void 0,this,r).entries()}forEach(e,t){return o.__privateGet.call(void 0,this,r).forEach((i,n,r)=>e.call(t,i,n,this))}has(e){return o.__privateGet.call(void 0,this,r).has(e)}keys(){return o.__privateGet.call(void 0,this,r).keys()}values(){return o.__privateGet.call(void 0,this,r).values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};r=new WeakMap,Object.freeze(s),Object.freeze(s.prototype),Object.freeze(a),Object.freeze(a.prototype),t.FrozenMap=s,t.FrozenSet=a},45554:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),i(82694);var n=i(32025);i(38823);var r=i(31715),o=i(95709);i(11817);var s=i(27665),a=i(13775);i(47473);var l=i(68792),u=i(27863),d=i(50631),c=i(18826),h=i(41715),g=i(17580),p=i(14966),f=i(66472),m=i(5064),v=i(35760);i(60668),i(17121),t.AssertionError=p.AssertionError,t.CAIP_ACCOUNT_ADDRESS_REGEX=u.CAIP_ACCOUNT_ADDRESS_REGEX,t.CAIP_ACCOUNT_ID_REGEX=u.CAIP_ACCOUNT_ID_REGEX,t.CAIP_CHAIN_ID_REGEX=u.CAIP_CHAIN_ID_REGEX,t.CAIP_NAMESPACE_REGEX=u.CAIP_NAMESPACE_REGEX,t.CAIP_REFERENCE_REGEX=u.CAIP_REFERENCE_REGEX,t.CaipAccountAddressStruct=u.CaipAccountAddressStruct,t.CaipAccountIdStruct=u.CaipAccountIdStruct,t.CaipChainIdStruct=u.CaipChainIdStruct,t.CaipNamespaceStruct=u.CaipNamespaceStruct,t.CaipReferenceStruct=u.CaipReferenceStruct,t.ChecksumStruct=d.ChecksumStruct,t.Duration=o.Duration,t.ESCAPE_CHARACTERS_REGEXP=m.ESCAPE_CHARACTERS_REGEXP,t.FrozenMap=v.FrozenMap,t.FrozenSet=v.FrozenSet,t.HexAddressStruct=g.HexAddressStruct,t.HexChecksumAddressStruct=g.HexChecksumAddressStruct,t.HexStruct=g.HexStruct,t.JsonRpcErrorStruct=a.JsonRpcErrorStruct,t.JsonRpcFailureStruct=a.JsonRpcFailureStruct,t.JsonRpcIdStruct=a.JsonRpcIdStruct,t.JsonRpcNotificationStruct=a.JsonRpcNotificationStruct,t.JsonRpcParamsStruct=a.JsonRpcParamsStruct,t.JsonRpcRequestStruct=a.JsonRpcRequestStruct,t.JsonRpcResponseStruct=a.JsonRpcResponseStruct,t.JsonRpcSuccessStruct=a.JsonRpcSuccessStruct,t.JsonRpcVersionStruct=a.JsonRpcVersionStruct,t.JsonSize=m.JsonSize,t.JsonStruct=a.JsonStruct,t.KnownCaipNamespace=u.KnownCaipNamespace,t.PendingJsonRpcResponseStruct=a.PendingJsonRpcResponseStruct,t.StrictHexStruct=g.StrictHexStruct,t.UnsafeJsonStruct=a.UnsafeJsonStruct,t.VersionRangeStruct=s.VersionRangeStruct,t.VersionStruct=s.VersionStruct,t.add0x=g.add0x,t.assert=p.assert,t.assertExhaustive=p.assertExhaustive,t.assertIsBytes=g.assertIsBytes,t.assertIsHexString=g.assertIsHexString,t.assertIsJsonRpcError=a.assertIsJsonRpcError,t.assertIsJsonRpcFailure=a.assertIsJsonRpcFailure,t.assertIsJsonRpcNotification=a.assertIsJsonRpcNotification,t.assertIsJsonRpcRequest=a.assertIsJsonRpcRequest,t.assertIsJsonRpcResponse=a.assertIsJsonRpcResponse,t.assertIsJsonRpcSuccess=a.assertIsJsonRpcSuccess,t.assertIsPendingJsonRpcResponse=a.assertIsPendingJsonRpcResponse,t.assertIsSemVerRange=s.assertIsSemVerRange,t.assertIsSemVerVersion=s.assertIsSemVerVersion,t.assertIsStrictHexString=g.assertIsStrictHexString,t.assertStruct=p.assertStruct,t.base64=c.base64,t.base64ToBytes=g.base64ToBytes,t.bigIntToBytes=g.bigIntToBytes,t.bigIntToHex=n.bigIntToHex,t.bytesToBase64=g.bytesToBase64,t.bytesToBigInt=g.bytesToBigInt,t.bytesToHex=g.bytesToHex,t.bytesToNumber=g.bytesToNumber,t.bytesToSignedBigInt=g.bytesToSignedBigInt,t.bytesToString=g.bytesToString,t.calculateNumberSize=m.calculateNumberSize,t.calculateStringSize=m.calculateStringSize,t.concatBytes=g.concatBytes,t.createBigInt=h.createBigInt,t.createBytes=h.createBytes,t.createDataView=g.createDataView,t.createDeferredPromise=r.createDeferredPromise,t.createHex=h.createHex,t.createModuleLogger=l.createModuleLogger,t.createNumber=h.createNumber,t.createProjectLogger=l.createProjectLogger,t.exactOptional=a.exactOptional,t.getChecksumAddress=g.getChecksumAddress,t.getErrorMessage=f.getErrorMessage,t.getJsonRpcIdValidator=a.getJsonRpcIdValidator,t.getJsonSize=a.getJsonSize,t.getKnownPropertyNames=m.getKnownPropertyNames,t.getSafeJson=a.getSafeJson,t.gtRange=s.gtRange,t.gtVersion=s.gtVersion,t.hasProperty=m.hasProperty,t.hexToBigInt=n.hexToBigInt,t.hexToBytes=g.hexToBytes,t.hexToNumber=n.hexToNumber,t.inMilliseconds=o.inMilliseconds,t.isASCII=m.isASCII,t.isBytes=g.isBytes,t.isCaipAccountAddress=u.isCaipAccountAddress,t.isCaipAccountId=u.isCaipAccountId,t.isCaipChainId=u.isCaipChainId,t.isCaipNamespace=u.isCaipNamespace,t.isCaipReference=u.isCaipReference,t.isErrorWithCode=f.isErrorWithCode,t.isErrorWithMessage=f.isErrorWithMessage,t.isErrorWithStack=f.isErrorWithStack,t.isHexString=g.isHexString,t.isJsonRpcError=a.isJsonRpcError,t.isJsonRpcFailure=a.isJsonRpcFailure,t.isJsonRpcNotification=a.isJsonRpcNotification,t.isJsonRpcRequest=a.isJsonRpcRequest,t.isJsonRpcResponse=a.isJsonRpcResponse,t.isJsonRpcSuccess=a.isJsonRpcSuccess,t.isNonEmptyArray=m.isNonEmptyArray,t.isNullOrUndefined=m.isNullOrUndefined,t.isObject=m.isObject,t.isPendingJsonRpcResponse=a.isPendingJsonRpcResponse,t.isPlainObject=m.isPlainObject,t.isStrictHexString=g.isStrictHexString,t.isValidChecksumAddress=g.isValidChecksumAddress,t.isValidHexAddress=g.isValidHexAddress,t.isValidJson=a.isValidJson,t.isValidSemVerRange=s.isValidSemVerRange,t.isValidSemVerVersion=s.isValidSemVerVersion,t.jsonrpc2=a.jsonrpc2,t.numberToBytes=g.numberToBytes,t.numberToHex=n.numberToHex,t.object=a.object,t.parseCaipAccountId=u.parseCaipAccountId,t.parseCaipChainId=u.parseCaipChainId,t.remove0x=g.remove0x,t.satisfiesVersionRange=s.satisfiesVersionRange,t.signedBigIntToBytes=g.signedBigIntToBytes,t.stringToBytes=g.stringToBytes,t.timeSince=o.timeSince,t.toCaipChainId=u.toCaipChainId,t.valueToBytes=g.valueToBytes,t.wrapError=f.wrapError},11131:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AssertionError:()=>p.ps,CAIP_ACCOUNT_ADDRESS_REGEX:()=>P,CAIP_ACCOUNT_ID_REGEX:()=>R,CAIP_CHAIN_ID_REGEX:()=>T,CAIP_NAMESPACE_REGEX:()=>I,CAIP_REFERENCE_REGEX:()=>M,CaipAccountAddressStruct:()=>H,CaipAccountIdStruct:()=>V,CaipChainIdStruct:()=>O,CaipNamespaceStruct:()=>F,CaipReferenceStruct:()=>B,ChecksumStruct:()=>Q,Duration:()=>u,ESCAPE_CHARACTERS_REGEXP:()=>eu.l6,FrozenMap:()=>ep,FrozenSet:()=>ef,HexAddressStruct:()=>J.aX,HexChecksumAddressStruct:()=>J.JV,HexStruct:()=>J.jF,JsonRpcErrorStruct:()=>E.je,JsonRpcFailureStruct:()=>E.p7,JsonRpcIdStruct:()=>E.MC,JsonRpcNotificationStruct:()=>E.hI,JsonRpcParamsStruct:()=>E.nR,JsonRpcRequestStruct:()=>E.if,JsonRpcResponseStruct:()=>E.lW,JsonRpcSuccessStruct:()=>E.SR,JsonRpcVersionStruct:()=>E.AB,JsonSize:()=>eu.sw,JsonStruct:()=>E.MH,KnownCaipNamespace:()=>W,PendingJsonRpcResponseStruct:()=>E.Fd,StrictHexStruct:()=>J.Nb,UnsafeJsonStruct:()=>E.M9,VersionRangeStruct:()=>b,VersionStruct:()=>v,add0x:()=>J.Xn,assert:()=>p.hu,assertExhaustive:()=>p.nt,assertIsBytes:()=>J.be,assertIsHexString:()=>J.EZ,assertIsJsonRpcError:()=>E.a5,assertIsJsonRpcFailure:()=>E.Rn,assertIsJsonRpcNotification:()=>E.Qj,assertIsJsonRpcRequest:()=>E.Qq,assertIsJsonRpcResponse:()=>E.vQ,assertIsJsonRpcSuccess:()=>E.Z3,assertIsPendingJsonRpcResponse:()=>E.jU,assertIsSemVerRange:()=>C,assertIsSemVerVersion:()=>w,assertIsStrictHexString:()=>J.oM,assertStruct:()=>p.bH,base64:()=>Y,base64ToBytes:()=>J.K9,bigIntToBytes:()=>J.jk,bigIntToHex:()=>a.Z4,bytesToBase64:()=>J.J2,bytesToBigInt:()=>J.v3,bytesToHex:()=>J.ci,bytesToNumber:()=>J.tm,bytesToSignedBigInt:()=>J.XK,bytesToString:()=>J.d3,calculateNumberSize:()=>eu.iP,calculateStringSize:()=>eu.qy,concatBytes:()=>J.eV,createBigInt:()=>eo,createBytes:()=>es,createDataView:()=>J.Vp,createDeferredPromise:()=>l,createHex:()=>ea,createModuleLogger:()=>A,createNumber:()=>er,createProjectLogger:()=>N,exactOptional:()=>E.m0,getChecksumAddress:()=>J.DY,getErrorMessage:()=>el.e$,getJsonRpcIdValidator:()=>E.Ij,getJsonSize:()=>E.W3,getKnownPropertyNames:()=>eu.hK,getSafeJson:()=>E.vp,gtRange:()=>x,gtVersion:()=>S,hasProperty:()=>eu.l$,hexToBigInt:()=>a.y_,hexToBytes:()=>J.nr,hexToNumber:()=>a.ly,inMilliseconds:()=>h,isASCII:()=>eu.FQ,isBytes:()=>J._t,isCaipAccountAddress:()=>q,isCaipAccountId:()=>$,isCaipChainId:()=>j,isCaipNamespace:()=>z,isCaipReference:()=>U,isErrorWithCode:()=>el.lP,isErrorWithMessage:()=>el.Mk,isErrorWithStack:()=>el.Uh,isHexString:()=>J.A7,isJsonRpcError:()=>E.jg,isJsonRpcFailure:()=>E.Aj,isJsonRpcNotification:()=>E.LQ,isJsonRpcRequest:()=>E.DW,isJsonRpcResponse:()=>E.u,isJsonRpcSuccess:()=>E.om,isNonEmptyArray:()=>eu.Of,isNullOrUndefined:()=>eu.le,isObject:()=>eu.Kn,isPendingJsonRpcResponse:()=>E.CR,isPlainObject:()=>eu.PO,isStrictHexString:()=>J.cM,isValidChecksumAddress:()=>J.yG,isValidHexAddress:()=>J.Pv,isValidJson:()=>E.Vx,isValidSemVerRange:()=>_,isValidSemVerVersion:()=>y,jsonrpc2:()=>E.XO,numberToBytes:()=>J.hL,numberToHex:()=>a.eC,object:()=>E.Ry,parseCaipAccountId:()=>G,parseCaipChainId:()=>K,remove0x:()=>J.BG,satisfiesVersionRange:()=>k,signedBigIntToBytes:()=>J.Yc,stringToBytes:()=>J.qX,timeSince:()=>g,toCaipChainId:()=>Z,valueToBytes:()=>J.Fm,wrapError:()=>el.Jn});var n,r,o,s,a=i(94663);function l({suppressUnhandledRejection:e=!1}={}){let t,i;let n=new Promise((e,n)=>{t=e,i=n});return e&&n.catch(e=>{}),{promise:n,resolve:t,reject:i}}var u=((n=u||{})[n.Millisecond=1]="Millisecond",n[n.Second=1e3]="Second",n[n.Minute=6e4]="Minute",n[n.Hour=36e5]="Hour",n[n.Day=864e5]="Day",n[n.Week=6048e5]="Week",n[n.Year=31536e6]="Year",n),d=e=>Number.isInteger(e)&&e>=0,c=(e,t)=>{if(!d(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};function h(e,t){return c(e,"count"),e*t}function g(e){return c(e,"timestamp"),Date.now()-e}var p=i(80045),f=i(97699),m=i(37715),v=(0,m.refine)((0,m.string)(),"Version",e=>null!==(0,f.valid)(e)||`Expected SemVer version, got "${e}"`),b=(0,m.refine)((0,m.string)(),"Version range",e=>null!==(0,f.validRange)(e)||`Expected SemVer range, got "${e}"`);function y(e){return(0,m.is)(e,v)}function _(e){return(0,m.is)(e,b)}function w(e){(0,p.bH)(e,v)}function C(e){(0,p.bH)(e,b)}function S(e,t){return(0,f.gt)(e,t)}function x(e,t){return(0,f.gtr)(e,t)}function k(e,t){return(0,f.satisfies)(e,t,{includePrerelease:!0})}var E=i(79009),L=i(25130),D=i.n(L)()("metamask");function N(e){return D.extend(e)}function A(e,t){return e.extend(t)}var T=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,I=/^[-a-z0-9]{3,8}$/u,M=/^[-_a-zA-Z0-9]{1,32}$/u,R=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,P=/^[-.%a-zA-Z0-9]{1,128}$/u,O=(0,m.pattern)((0,m.string)(),T),F=(0,m.pattern)((0,m.string)(),I),B=(0,m.pattern)((0,m.string)(),M),V=(0,m.pattern)((0,m.string)(),R),H=(0,m.pattern)((0,m.string)(),P),W=((r=W||{}).Eip155="eip155",r);function j(e){return(0,m.is)(e,O)}function z(e){return(0,m.is)(e,F)}function U(e){return(0,m.is)(e,B)}function $(e){return(0,m.is)(e,V)}function q(e){return(0,m.is)(e,H)}function K(e){let t=T.exec(e);if(!t?.groups)throw Error("Invalid CAIP chain ID.");return{namespace:t.groups.namespace,reference:t.groups.reference}}function G(e){let t=R.exec(e);if(!t?.groups)throw Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function Z(e,t){if(!z(e))throw Error(`Invalid "namespace", must match: ${I.toString()}`);if(!U(t))throw Error(`Invalid "reference", must match: ${M.toString()}`);return`${e}:${t}`}var Y=(e,t={})=>{let i,n;let r=t.paddingRequired??!1,o=t.characterSet??"base64";return"base64"===o?i=String.raw`[A-Za-z0-9+\/]`:((0,p.hu)("base64url"===o),i=String.raw`[-_A-Za-z0-9]`),n=r?RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),(0,m.pattern)(e,n)},Q=(0,m.size)(Y((0,m.string)(),{paddingRequired:!0}),44,44),J=i(83618),X=(0,m.union)([(0,m.number)(),(0,m.bigint)(),(0,m.string)(),J.Nb]),ee=(0,m.coerce)((0,m.number)(),X,Number),et=(0,m.coerce)((0,m.bigint)(),X,BigInt);(0,m.union)([J.Nb,(0,m.instance)(Uint8Array)]);var ei=(0,m.coerce)((0,m.instance)(Uint8Array),(0,m.union)([J.Nb]),J.nr),en=(0,m.coerce)(J.Nb,(0,m.instance)(Uint8Array),J.ci);function er(e){try{let t=(0,m.create)(e,ee);return(0,p.hu)(Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof m.StructError)throw Error(`Expected a number-like value, got "${e}".`);throw t}}function eo(e){try{return(0,m.create)(e,et)}catch(e){if(e instanceof m.StructError)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}}function es(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return(0,m.create)(e,ei)}catch(e){if(e instanceof m.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}function ea(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return(0,m.create)(e,en)}catch(e){if(e instanceof m.StructError)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}var el=i(18247),eu=i(56710),ed=(e,t,i)=>{if(!t.has(e))throw TypeError("Cannot "+i)},ec=(e,t,i)=>(ed(e,t,"read from private field"),i?i.call(e):t.get(e)),eh=(e,t,i)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,i)},eg=(e,t,i,n)=>(ed(e,t,"write to private field"),n?n.call(e,i):t.set(e,i),i),ep=class{constructor(e){eh(this,o,void 0),eg(this,o,new Map(e)),Object.freeze(this)}get size(){return ec(this,o).size}[Symbol.iterator](){return ec(this,o)[Symbol.iterator]()}entries(){return ec(this,o).entries()}forEach(e,t){return ec(this,o).forEach((i,n,r)=>e.call(t,i,n,this))}get(e){return ec(this,o).get(e)}has(e){return ec(this,o).has(e)}keys(){return ec(this,o).keys()}values(){return ec(this,o).values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}};o=new WeakMap;var ef=class{constructor(e){eh(this,s,void 0),eg(this,s,new Set(e)),Object.freeze(this)}get size(){return ec(this,s).size}[Symbol.iterator](){return ec(this,s)[Symbol.iterator]()}entries(){return ec(this,s).entries()}forEach(e,t){return ec(this,s).forEach((i,n,r)=>e.call(t,i,n,this))}has(e){return ec(this,s).has(e)}keys(){return ec(this,s).keys()}values(){return ec(this,s).values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}};s=new WeakMap,Object.freeze(ep),Object.freeze(ep.prototype),Object.freeze(ef),Object.freeze(ef.prototype)},41014:(e,t,i)=>{"use strict";let n;i.r(t),i.d(t,{Container:()=>aj,DndProvider:()=>s_.W,DragLayer:()=>a$,ItemTypes:()=>aE,MultiBackend:()=>sq,Node:()=>aH,Tree:()=>aq,compareItems:()=>s4,getBackendOptions:()=>ap,getDescendants:()=>ah,getDestIndex:()=>an,getDropTarget:()=>ac,getModifiedIndex:()=>ar,getParents:()=>ag,getTreeItem:()=>s9,hasChildNodes:()=>af,isAncestor:()=>s7,isDroppable:()=>at,isNodeModel:()=>ae,mutateTree:()=>ai,mutateTreeWithIndex:()=>as,useContainerClassName:()=>aB,useDragControl:()=>ak,useDragHandle:()=>aV,useDragNode:()=>aT,useDragOver:()=>aI,useDropNode:()=>aR,useDropRoot:()=>aM,useOpenIdsHelper:()=>aP,useTreeContext:()=>aF,useTreeDragLayer:()=>aO});var r,o,s,a,l,u={};i.r(u),i.d(u,{FILE:()=>p,HTML:()=>v,TEXT:()=>m,URL:()=>f});var d=i(2784);function c(e){let t=null;return()=>(null==t&&(t=e()),t)}class h{enter(e){var t,i;let n,r,o,s=this.entered.length;return this.entered=(t=this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),i=[e],n=new Set,r=e=>n.add(e),t.forEach(r),i.forEach(r),o=[],n.forEach(e=>o.push(e)),o),0===s&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=this.entered.filter(this.isNodeInDocument).filter(t=>t!==e),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class g{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(i=>{let n=this.config.exposeProperties[i];null!=n&&(t[i]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let p="__NATIVE_FILE__",f="__NATIVE_URL__",m="__NATIVE_TEXT__",v="__NATIVE_HTML__";function b(e,t,i){let n=t.reduce((t,i)=>t||e.getData(i),"");return null!=n?n:i}let y={[p]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[v]:{exposeProperties:{html:(e,t)=>b(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[f]:{exposeProperties:{urls:(e,t)=>b(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[m]:{exposeProperties:{text:(e,t)=>b(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function _(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(y).filter(e=>{let i=y[e];return null!=i&&!!i.matchesTypes&&i.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let w=c(()=>/firefox/i.test(navigator.userAgent)),C=c(()=>!!window.safari);class S{interpolate(e){let t;let{xs:i,ys:n,c1s:r,c2s:o,c3s:s}=this,a=i.length-1;if(e===i[a])return n[a];let l=0,u=s.length-1;for(;l<=u;){let r=i[t=Math.floor(.5*(l+u))];if(re))return n[t];u=t-1}}let d=e-i[a=Math.max(0,u)],c=d*d;return n[a]+r[a]*d+o[a]*c+s[a]*d*c}constructor(e,t){let i,n,r;let{length:o}=e,s=[];for(let e=0;ee[t]{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,i){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,i);let n=t=>this.handleDragStart(t,e),r=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",r),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",r),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let i=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),r=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",i),t.addEventListener("dragover",n),t.addEventListener("drop",r),()=>{t.removeEventListener("dragenter",i),t.removeEventListener("dragover",n),t.removeEventListener("drop",r)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return L({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return L({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(u).some(t=>u[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let i=y[e];if(!i)throw Error(`native type ${e} has no configuration`);let n=new g(i);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&x(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let i=k(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});let{dataTransfer:n}=e,r=_(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),r=this.sourcePreviewNodes.get(e)||t;if(r){let{anchorX:e,anchorY:o,offsetX:s,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),l=function(e,t,i,n,r){var o;let s,a,l;let u="IMG"===t.nodeName&&(w()||!(null===(o=document.documentElement)||void 0===o?void 0:o.contains(t))),d=x(u?e:t),c={x:i.x-d.x,y:i.y-d.y},{offsetWidth:h,offsetHeight:g}=e,{anchorX:p,anchorY:f}=n,{dragPreviewWidth:m,dragPreviewHeight:v}=(s=u?t.width:h,a=u?t.height:g,C()&&u&&(a/=window.devicePixelRatio,s/=window.devicePixelRatio),{dragPreviewWidth:s,dragPreviewHeight:a}),{offsetX:b,offsetY:y}=r;return{x:0===b||b?b:new S([0,.5,1],[c.x,c.x/h*m,c.x+m-h]).interpolate(p),y:0===y||y?y:(l=new S([0,.5,1],[c.y,c.y/g*v,c.y+v-g]).interpolate(f),C()&&u&&(l+=(window.devicePixelRatio-1)*v),l)}}(t,r,i,{anchorX:e,anchorY:o},{offsetX:s,offsetY:a});n.setDragImage(r,l.x,l.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(r)this.beginDragNativeItem(r);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:i}=e,n=_(i);n&&this.beginDragNativeItem(n,i)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:k(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=k(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}else _(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:k(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"!=typeof t.dragDrop||"INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop())},this.options=new E(t,i),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new h(this.isNodeInDocument)}}let N=function(e,t,i){return new D(e,t,i)};var A=[],T="ResizeObserver loop completed with undelivered notifications.",I=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:T}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=T),window.dispatchEvent(e)};!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var M=function(e){return Object.freeze(e)},R=function(e,t){this.inlineSize=e,this.blockSize=t,M(this)},P=function(){function e(e,t,i,n){return this.x=e,this.y=t,this.width=i,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,M(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),O=function(e){return e instanceof SVGElement&&"getBBox"in e},F=function(e){if(O(e)){var t=e.getBBox(),i=t.width,n=t.height;return!i&&!n}var r=e.offsetWidth,o=e.offsetHeight;return!(r||o||e.getClientRects().length)},B=function(e){if(e instanceof Element)return!0;var t,i=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(i&&e instanceof i.Element)},V=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},H="undefined"!=typeof window?window:{},W=new WeakMap,j=/auto|scroll/,z=/^tb|vertical/,U=/msie|trident/i.test(H.navigator&&H.navigator.userAgent),$=function(e){return parseFloat(e||"0")},q=function(e,t,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=!1),new R((i?t:e)||0,(i?e:t)||0)},K=M({devicePixelContentBoxSize:q(),borderBoxSize:q(),contentBoxSize:q(),contentRect:new P(0,0,0,0)}),G=function(e,t){if(void 0===t&&(t=!1),W.has(e)&&!t)return W.get(e);if(F(e))return W.set(e,K),K;var i=getComputedStyle(e),n=O(e)&&e.ownerSVGElement&&e.getBBox(),r=!U&&"border-box"===i.boxSizing,o=z.test(i.writingMode||""),s=!n&&j.test(i.overflowY||""),a=!n&&j.test(i.overflowX||""),l=n?0:$(i.paddingTop),u=n?0:$(i.paddingRight),d=n?0:$(i.paddingBottom),c=n?0:$(i.paddingLeft),h=n?0:$(i.borderTopWidth),g=n?0:$(i.borderRightWidth),p=n?0:$(i.borderBottomWidth),f=n?0:$(i.borderLeftWidth),m=c+u,v=l+d,b=f+g,y=h+p,_=a?e.offsetHeight-y-e.clientHeight:0,w=s?e.offsetWidth-b-e.clientWidth:0,C=n?n.width:$(i.width)-(r?m+b:0)-w,S=n?n.height:$(i.height)-(r?v+y:0)-_,x=C+m+w+b,k=S+v+_+y,E=M({devicePixelContentBoxSize:q(Math.round(C*devicePixelRatio),Math.round(S*devicePixelRatio),o),borderBoxSize:q(x,k,o),contentBoxSize:q(C,S,o),contentRect:new P(c,l,C,S)});return W.set(e,E),E},Z=function(e,t,i){var n=G(e,i),o=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},Y=function(e){var t=G(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=M([t.borderBoxSize]),this.contentBoxSize=M([t.contentBoxSize]),this.devicePixelContentBoxSize=M([t.devicePixelContentBoxSize])},Q=function(e){if(F(e))return 1/0;for(var t=0,i=e.parentNode;i;)t+=1,i=i.parentNode;return t},J=function(){var e=1/0,t=[];A.forEach(function(i){if(0!==i.activeTargets.length){var n=[];i.activeTargets.forEach(function(t){var i=new Y(t.target),r=Q(t.target);n.push(i),t.lastReportedSize=Z(t.target,t.observedBox),re?t.activeTargets.push(i):t.skippedTargets.push(i))})})},ee=function(){var e=0;for(X(0);A.some(function(e){return e.activeTargets.length>0});)X(e=J());return A.some(function(e){return e.skippedTargets.length>0})&&I(),e>0},et=[],ei=function(e){if(!o){var t=0,i=document.createTextNode("");new MutationObserver(function(){return et.splice(0).forEach(function(e){return e()})}).observe(i,{characterData:!0}),o=function(){i.textContent="".concat(t?t--:t++)}}et.push(e),o()},en=function(e){ei(function(){requestAnimationFrame(e)})},er=0,eo={attributes:!0,characterData:!0,childList:!0,subtree:!0},es=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ea=function(e){return void 0===e&&(e=0),Date.now()+e},el=!1,eu=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!el){el=!0;var i=ea(e);en(function(){var n=!1;try{n=ee()}finally{if(el=!1,e=i-ea(),!er)return;n?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,eo)};document.body?t():H.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),es.forEach(function(t){return H.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),es.forEach(function(t){return H.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),ed=function(e){!er&&e>0&&eu.start(),(er+=e)||eu.stop()},ec=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Z(this.target,this.observedBox,!0);return O(e=this.target)||V(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),eh=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},eg=new WeakMap,ep=function(e,t){for(var i=0;iep(n.observationTargets,t)&&(r&&A.push(n),n.observationTargets.push(new ec(t,i&&i.box)),ed(1),eu.schedule())},e.unobserve=function(e,t){var i=eg.get(e),n=ep(i.observationTargets,t),r=1===i.observationTargets.length;n>=0&&(r&&A.splice(A.indexOf(i),1),i.observationTargets.splice(n,1),ed(-1))},e.disconnect=function(e){var t=this,i=eg.get(e);i.observationTargets.slice().forEach(function(i){return t.unobserve(e,i.target)}),i.activeTargets.splice(0,i.activeTargets.length)},e}(),em=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ef.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!B(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ef.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!B(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ef.unobserve(this,e)},e.prototype.disconnect=function(){ef.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),ev=i(5163),eb=i(34406),ey=(void 0===eb||eb.env,"production"),e_=function(e){return{isEnabled:function(t){return e.some(function(e){return!!t[e]})}}},ew={measureLayout:e_(["layout","layoutId","drag"]),animation:e_(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:e_(["exit"]),drag:e_(["drag","dragControls"]),focus:e_(["whileFocus"]),hover:e_(["whileHover","onHoverStart","onHoverEnd"]),tap:e_(["whileTap","onTap","onTapStart","onTapCancel"]),pan:e_(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:e_(["whileInView","onViewportEnter","onViewportLeave"])},eC=function(){},eS=function(){},ex=(0,d.createContext)({strict:!1}),ek=Object.keys(ew),eE=ek.length,eL=(0,d.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),eD=(0,d.createContext)({}),eN=(0,d.createContext)(null),eA="undefined"!=typeof document,eT=eA?d.useLayoutEffect:d.useEffect,eI={current:null},eM=!1;function eR(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function eP(e){return Array.isArray(e)}function eO(e){return"string"==typeof e||eP(e)}function eF(e,t,i,n,r){var o;return void 0===n&&(n={}),void 0===r&&(r={}),"function"==typeof t&&(t=t(null!=i?i:e.custom,n,r)),"string"==typeof t&&(t=null===(o=e.variants)||void 0===o?void 0:o[t]),"function"==typeof t&&(t=t(null!=i?i:e.custom,n,r)),t}function eB(e,t,i){var n,r,o=e.getProps();return eF(o,t,null!=i?i:o.custom,(n={},e.forEachValue(function(e,t){return n[t]=e.get()}),n),(r={},e.forEachValue(function(e,t){return r[t]=e.getVelocity()}),r))}function eV(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||eO(e.initial)||eO(e.animate)||eO(e.whileHover)||eO(e.whileDrag)||eO(e.whileTap)||eO(e.whileFocus)||eO(e.exit)}function eH(e){return!!(eV(e)||e.variants)}function eW(e){return Array.isArray(e)?e.join(" "):e}function ej(e){var t=(0,d.useRef)(null);return null===t.current&&(t.current=e()),t.current}var ez={hasAnimatedSinceResize:!0,hasEverUpdated:!1},eU=1,e$=(0,d.createContext)({}),eq=(0,d.createContext)({}),eK=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,ev.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,i=e.props;t&&t.setProps(i)},t.prototype.render=function(){return this.props.children},t}(d.Component),eG=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function eZ(e){if("string"!=typeof e||e.includes("-"));else if(eG.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}var eY={},eQ=["","X","Y","Z"],eJ=["transformPerspective","x","y","z"];function eX(e,t){return eJ.indexOf(e)-eJ.indexOf(t)}["translate","scale","rotate","skew"].forEach(function(e){return eQ.forEach(function(t){return eJ.push(e+t)})});var e0=new Set(eJ);function e1(e){return e0.has(e)}var e2=new Set(["originX","originY","originZ"]);function e6(e,t){var i=t.layout,n=t.layoutId;return e1(e)||e2.has(e)||(i||void 0!==n)&&(!!eY[e]||"opacity"===e)}var e3=function(e){return!!(null!==e&&"object"==typeof e&&e.getVelocity)},e8={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function e5(e){return e.startsWith("--")}let e4=(e,t)=>i=>Math.max(Math.min(i,t),e),e9=e=>e%1?Number(e.toFixed(5)):e,e7=/(-)?([\d]*\.?[\d])+/g,te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ti(e){return"string"==typeof e}let tn=e=>({test:t=>ti(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tr=tn("deg"),to=tn("%"),ts=tn("px"),ta=tn("vh"),tl=tn("vw"),tu=Object.assign(Object.assign({},to),{parse:e=>to.parse(e)/100,transform:e=>to.transform(100*e)}),td={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},tc=Object.assign(Object.assign({},td),{transform:e4(0,1)}),th=Object.assign(Object.assign({},td),{default:1});var tg=(0,ev.pi)((0,ev.pi)({},td),{transform:Math.round}),tp={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,size:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:th,scaleX:th,scaleY:th,scaleZ:th,skew:tr,skewX:tr,skewY:tr,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:tc,originX:tu,originY:tu,originZ:ts,zIndex:tg,fillOpacity:tc,strokeOpacity:tc,numOctaves:tg};function tf(e,t,i,n){var r,o,s,a,l,u,d=e.style,c=e.vars,h=e.transform,g=e.transformKeys,p=e.transformOrigin;g.length=0;var f=!1,m=!1,v=!0;for(var b in t){var y=t[b];if(e5(b)){c[b]=y;continue}var _=tp[b],w=_&&"number"==typeof y?_.transform(y):y;if(e1(b)){if(f=!0,h[b]=w,g.push(b),!v)continue;y!==(null!==(u=_.default)&&void 0!==u?u:0)&&(v=!1)}else e2.has(b)?(p[b]=w,m=!0):d[b]=w}f?d.transform=function(e,t,i,n){var r=e.transform,o=e.transformKeys,s=t.enableHardwareAcceleration,a=t.allowTransformNone,l="";o.sort(eX);for(var u=!1,d=o.length,c=0;ci=>t(e(i)),t4=(...e)=>e.reduce(t5);var t9=new Set,t7=new WeakMap,ie=new WeakMap,it=function(e){var t;null===(t=t7.get(e.target))||void 0===t||t(e)},ii=function(e){e.forEach(it)},ir={some:0,all:1},io=function(e){return function(t){return e(t),null}},is={inView:io(function(e){var t=e.visualElement,i=e.whileInView,n=e.onViewportEnter,r=e.onViewportLeave,o=e.viewport,a=void 0===o?{}:o,l=(0,d.useRef)({hasEnteredView:!1,isInView:!1}),u=!!(i||n||r);a.once&&l.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?function(e,t,i,n){var r=n.fallback,o=void 0===r||r;(0,d.useEffect)(function(){if(e&&o){if("production"!==ey){var n,r;n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",t9.has(n)||(console.warn(n),r&&console.warn(r),t9.add(n))}requestAnimationFrame(function(){t.hasEnteredView=!0;var e,n=i.getProps().onViewportEnter;null==n||n(null),null===(e=i.animationState)||void 0===e||e.setActive(s.InView,!0)})}},[e])}:function(e,t,i,n){var r=n.root,o=n.margin,a=n.amount,l=void 0===a?"some":a,u=n.once;(0,d.useEffect)(function(){if(e){var n,a,d,c,h,g,p,f={root:null==r?void 0:r.current,rootMargin:o,threshold:"number"==typeof l?l:ir[l]};return n=i.getInstance(),a=f.root,d=(0,ev._T)(f,["root"]),c=a||document,ie.has(c)||ie.set(c,{}),(h=ie.get(c))[g=JSON.stringify(d)]||(h[g]=new IntersectionObserver(ii,(0,ev.pi)({root:a},d))),p=h[g],t7.set(n,function(e){var n,r=e.isIntersecting;if(t.isInView!==r){if(t.isInView=r,u&&!r&&t.hasEnteredView)return;r&&(t.hasEnteredView=!0),null===(n=i.animationState)||void 0===n||n.setActive(s.InView,r);var o=i.getProps(),a=r?o.onViewportEnter:o.onViewportLeave;null==a||a(e)}}),p.observe(n),function(){t7.delete(n),p.unobserve(n)}}},[e,r,o,l])})(u,l.current,t,a)}),tap:io(function(e){var t=e.onTap,i=e.onTapStart,n=e.onTapCancel,r=e.whileTap,o=e.visualElement,a=t||i||n||r,l=(0,d.useRef)(!1),u=(0,d.useRef)(null),c={passive:!(i||t||n||m)};function h(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function g(){var e;return h(),l.current=!1,null===(e=o.animationState)||void 0===e||e.setActive(s.Tap,!1),!t2()}function p(e,i){g()&&(t3(o.getInstance(),e.target)?null==t||t(e,i):null==n||n(e,i))}function f(e,t){g()&&(null==n||n(e,t))}function m(e,t){var n;h(),l.current||(l.current=!0,u.current=t4(tY(window,"pointerup",p,c),tY(window,"pointercancel",f,c)),null===(n=o.animationState)||void 0===n||n.setActive(s.Tap,!0),null==i||i(e,t))}tQ(o,"pointerdown",a?m:void 0,c),t8(h)}),focus:io(function(e){var t=e.whileFocus,i=e.visualElement;tj(i,"focus",t?function(){var e;null===(e=i.animationState)||void 0===e||e.setActive(s.Focus,!0)}:void 0),tj(i,"blur",t?function(){var e;null===(e=i.animationState)||void 0===e||e.setActive(s.Focus,!1)}:void 0)}),hover:io(function(e){var t=e.onHoverStart,i=e.onHoverEnd,n=e.whileHover,r=e.visualElement;tQ(r,"pointerenter",t||n?t6(r,!0,t):void 0,{passive:!t}),tQ(r,"pointerleave",i||n?t6(r,!1,i):void 0,{passive:!i})})},ia=0,il=function(){return ia++};function iu(){var e=(0,d.useContext)(eN);if(null===e)return[!0,null];var t=e.isPresent,i=e.onExitComplete,n=e.register,r=ej(il);return(0,d.useEffect)(function(){return n(r)},[]),!t&&i?[!1,function(){return null==i?void 0:i(r)}]:[!0]}function id(e,t){if(!Array.isArray(t))return!1;var i=t.length;if(i!==e.length)return!1;for(var n=0;nMath.min(Math.max(i,e),t);function ih(e,t){return e*Math.sqrt(1-t*t)}let ig=["duration","bounce"],ip=["stiffness","damping","mass"];function im(e,t){return t.some(t=>void 0!==e[t])}function iv(e){var{from:t=0,to:i=1,restSpeed:n=2,restDelta:r}=e,o=(0,ev._T)(e,["from","to","restSpeed","restDelta"]);let s={done:!1,value:t},{stiffness:a,damping:l,mass:u,velocity:d,duration:c,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!im(e,ip)&&im(e,ig)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let r,o;eC(e<=1e4,"Spring duration must be 10 seconds or less");let s=1-t;s=ic(.05,1,s),e=ic(.01,10,e/1e3),s<1?(r=t=>{let n=t*s,r=n*e;return .001-(n-i)/ih(t,s)*Math.exp(-r)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=ih(Math.pow(t,2),s);return(-r(t)+.001>0?-1:1)*((n*i+i-o)*Math.exp(-n))/a}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),o=t=>Math.exp(-t*e)*((i-t)*(e*e)));let a=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,o,5/e);if(e*=1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),i),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),g=ib,p=ib;function f(){let e=d?-(d/1e3):0,n=i-t,o=l/(2*Math.sqrt(a*u)),s=Math.sqrt(a/u)/1e3;if(void 0===r&&(r=Math.min(Math.abs(i-t)/100,.4)),o<1){let t=ih(s,o);g=r=>i-Math.exp(-o*s*r)*((e+o*s*n)/t*Math.sin(t*r)+n*Math.cos(t*r)),p=i=>{let r=Math.exp(-o*s*i);return o*s*r*(Math.sin(t*i)*(e+o*s*n)/t+n*Math.cos(t*i))-r*(Math.cos(t*i)*(e+o*s*n)-t*n*Math.sin(t*i))}}else if(1===o)g=t=>i-Math.exp(-s*t)*(n+(e+s*n)*t);else{let t=s*Math.sqrt(o*o-1);g=r=>{let a=Math.exp(-o*s*r),l=Math.min(t*r,300);return i-a*((e+o*s*n)*Math.sinh(l)+t*n*Math.cosh(l))/t}}}return f(),{next:e=>{let t=g(e);if(h)s.done=e>=c;else{let o=1e3*p(e),a=Math.abs(i-t)<=r;s.done=Math.abs(o)<=n&&a}return s.value=s.done?i:t,s},flipTarget:()=>{d=-d,[t,i]=[i,t],f()}}}iv.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let ib=e=>0,iy=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n},i_=(e,t,i)=>-i*e+i*t+e,iw=(e,t)=>i=>!!(ti(i)&&tt.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),iC=(e,t,i)=>n=>{if(!ti(n))return n;let[r,o,s,a]=n.match(e7);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},iS=e4(0,255),ix=Object.assign(Object.assign({},td),{transform:e=>Math.round(iS(e))}),ik={test:iw("rgb","red"),parse:iC("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+ix.transform(e)+", "+ix.transform(t)+", "+ix.transform(i)+", "+e9(tc.transform(n))+")"},iE={test:iw("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substr(1,2),i=e.substr(3,2),n=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),i=e.substr(2,1),n=e.substr(3,1),r=e.substr(4,1),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:ik.transform},iL={test:iw("hsl","hue"),parse:iC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+to.transform(e9(t))+", "+to.transform(e9(i))+", "+e9(tc.transform(n))+")"};function iD(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iN({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=iD(a,n,e+1/3),o=iD(a,n,e),s=iD(a,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}let iA=(e,t,i)=>{let n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},iT=[iE,ik,iL],iI=e=>iT.find(t=>t.test(e)),iM=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,iR=(e,t)=>{let i=iI(e),n=iI(t);eS(!!i,iM(e)),eS(!!n,iM(t));let r=i.parse(e),o=n.parse(t);i===iL&&(r=iN(r),i=ik),n===iL&&(o=iN(o),n=ik);let s=Object.assign({},r);return e=>{for(let t in s)"alpha"!==t&&(s[t]=iA(r[t],o[t],e));return s.alpha=i_(r.alpha,o.alpha,e),i.transform(s)}},iP={test:e=>ik.test(e)||iE.test(e)||iL.test(e),parse:e=>ik.test(e)?ik.parse(e):iL.test(e)?iL.parse(e):iE.parse(e),transform:e=>ti(e)?e:e.hasOwnProperty("red")?ik.transform(e):iL.transform(e)},iO="${c}",iF="${n}";function iB(e){"number"==typeof e&&(e=`${e}`);let t=[],i=0,n=e.match(te);n&&(i=n.length,e=e.replace(te,iO),t.push(...n.map(iP.parse)));let r=e.match(e7);return r&&(e=e.replace(e7,iF),t.push(...r.map(td.parse))),{values:t,numColors:i,tokenised:e}}function iV(e){return iB(e).values}function iH(e){let{values:t,numColors:i,tokenised:n}=iB(e),r=t.length;return e=>{let t=n;for(let n=0;n"number"==typeof e?0:e,ij={test:function(e){var t,i,n,r;return isNaN(e)&&ti(e)&&(null!==(i=null===(t=e.match(e7))||void 0===t?void 0:t.length)&&void 0!==i?i:0)+(null!==(r=null===(n=e.match(te))||void 0===n?void 0:n.length)&&void 0!==r?r:0)>0},parse:iV,createTransformer:iH,getAnimatableNone:function(e){let t=iV(e);return iH(e)(t.map(iW))}},iz=e=>"number"==typeof e;function iU(e,t){return iz(e)?i=>i_(e,t,i):iP.test(e)?iR(e,t):iG(e,t)}let i$=(e,t)=>{let i=[...e],n=i.length,r=e.map((e,i)=>iU(e,t[i]));return e=>{for(let t=0;t{let i=Object.assign(Object.assign({},e),t),n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=iU(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}};function iK(e){let t=ij.parse(e),i=t.length,n=0,r=0,o=0;for(let e=0;e{let i=ij.createTransformer(t),n=iK(e),r=iK(t);return n.numHSL===r.numHSL&&n.numRGB===r.numRGB&&n.numNumbers>=r.numNumbers?t4(i$(n.parsed,r.parsed),i):(eC(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?t:e}`)},iZ=(e,t)=>i=>i_(e,t,i);function iY(e,t,{clamp:i=!0,ease:n,mixer:r}={}){var o;let s,a,l=e.length;eS(l===t.length,"Both input and output ranges must be the same length"),eS(!n||!Array.isArray(n)||n.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let u=function(e,t,i){var n;let r=[],o=i||("number"==typeof(n=e[0])?iZ:"string"==typeof n?iP.test(n)?iR:iG:Array.isArray(n)?i$:"object"==typeof n?iq:void 0),s=e.length-1;for(let i=0;ii(iy(e,t,n))}(e,u):(a=(s=(o=e).length)-1,e=>{let t=0,i=!1;if(e<=o[0]?i=!0:e>=o[a]&&(t=a-1,i=!0),!i){let i=1;for(;ie)&&i!==a;i++);t=i-1}let n=iy(o[t],o[t+1],e);return u[t](n)});return i?t=>d(ic(e[0],e[l-1],t)):d}let iQ=e=>t=>1-e(1-t),iJ=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,iX=e=>t=>t*t*((e+1)*t-e),i0=4/11,i1=8/11,i2=e=>e,i6=e=>Math.pow(e,2),i3=iQ(i6),i8=iJ(i6),i5=e=>1-Math.sin(Math.acos(e)),i4=iQ(i5),i9=iJ(i4),i7=iX(1.525),ne=iQ(i7),nt=iJ(i7),ni=(e=>{let t=iX(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(0),nn=4356/361,nr=35442/1805,no=16061/1805,ns=e=>{if(1===e||0===e)return e;let t=e*e;return e0!==t?t/(o-1):0))).map(e=>e*r);function u(){return iY(l,a,{ease:Array.isArray(i)?i:a.map(()=>i||i8).splice(0,a.length-1)})}let d=u();return{next:e=>(s.value=d(e),s.done=e>=r,s),flipTarget:()=>{a.reverse(),d=u()}}}let nu={keyframes:nl,spring:iv,decay:function({velocity:e=0,from:t=0,power:i=.8,timeConstant:n=350,restDelta:r=.5,modifyTarget:o}){let s={done:!1,value:t},a=i*e,l=t+a,u=void 0===o?l:o(l);return u!==l&&(a=u-t),{next:e=>{let t=-a*Math.exp(-e/n);return s.done=!(t>r||t<-r),s.value=s.done?u:u+t,s},flipTarget:()=>{}}}},nd=1/60*1e3,nc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nh="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(nc()),nd),ng=!0,np=!1,nf=!1,nm={delta:0,timestamp:0},nv=["read","update","preRender","render","postRender"],nb=nv.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;inp=!0),e),{}),ny=nv.reduce((e,t)=>{let i=nb[t];return e[t]=(e,t=!1,n=!1)=>(np||nS(),i.schedule(e,t,n)),e},{}),n_=nv.reduce((e,t)=>(e[t]=nb[t].cancel,e),{});nv.reduce((e,t)=>(e[t]=()=>nb[t].process(nm),e),{});let nw=e=>nb[e].process(nm),nC=e=>{np=!1,nm.delta=ng?nd:Math.max(Math.min(e-nm.timestamp,40),1),nm.timestamp=e,nf=!0,nv.forEach(nw),nf=!1,np&&(ng=!1,nh(nC))},nS=()=>{np=!0,ng=!0,nf||nh(nC)},nx=()=>nm;function nk(e,t,i=0){return e-t-i}let nE=e=>{let t=({delta:t})=>e(t);return{start:()=>ny.update(t,!0),stop:()=>n_.update(t)}};function nL(e){let t,i,n;var r,{from:o,autoplay:s=!0,driver:a=nE,elapsed:l=0,repeat:u=0,repeatType:d="loop",repeatDelay:c=0,onPlay:h,onStop:g,onComplete:p,onRepeat:f,onUpdate:m}=e,v=(0,ev._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=v,y=0,_=v.duration,w=!1,C=!0,S=function(e){if(Array.isArray(e.to))return nl;if(nu[e.type])return nu[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return iv;return nl}(v);(null===(r=S.needsInterpolation)||void 0===r?void 0:r.call(S,o,b))&&(n=iY([0,100],[o,b],{clamp:!1}),o=0,b=100);let x=S(Object.assign(Object.assign({},v),{from:o,to:b}));return s&&(null==h||h(),(t=a(function(e){if(C||(e=-e),l+=e,!w){let e=x.next(Math.max(0,l));i=e.value,n&&(i=n(i)),w=C?e.done:l<=0}if(null==m||m(i),w){if(0===y&&(null!=_||(_=l)),y=o+c:r<=-c)&&(y++,"reverse"===d?l=function(e,t,i=0,n=!0){return n?nk(t+-e,t,i):t-(e-t)+i}(l,_,c,C=y%2==0):(l=nk(l,_,c),"mirror"===d&&x.flipTarget()),w=!1,f&&f())}else t.stop(),p&&p()}})).start()),{stop:()=>{null==g||g(),t.stop()}}}var nD=function(e){return 1e3*e};let nN=(e,t)=>1-3*t+3*e,nA=(e,t)=>3*t-6*e,nT=e=>3*e,nI=(e,t,i)=>((nN(t,i)*e+nA(t,i))*e+nT(t))*e,nM=(e,t,i)=>3*nN(t,i)*e*e+2*nA(t,i)*e+nT(t);var nR={linear:i2,easeIn:i6,easeInOut:i8,easeOut:i3,circIn:i5,circInOut:i9,circOut:i4,backIn:i7,backInOut:nt,backOut:ne,anticipate:ni,bounceIn:na,bounceInOut:e=>e<.5?.5*(1-ns(1-2*e)):.5*ns(2*e-1)+.5,bounceOut:ns},nP=function(e){if(Array.isArray(e)){eS(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=(0,ev.CR)(e,4);return function(e,t,i,n){if(e===t&&i===n)return i2;let r=new Float32Array(11);for(let t=0;t<11;++t)r[t]=nI(.1*t,e,i);return o=>0===o||1===o?o:nI(function(t){let n=0,o=1;for(;10!==o&&r[o]<=t;++o)n+=.1;let s=n+.1*((t-r[--o])/(r[o+1]-r[o])),a=nM(s,e,i);return a>=.001?function(e,t,i,n){for(let r=0;r<8;++r){let r=nM(t,i,n);if(0===r)break;let o=nI(t,i,n)-e;t-=o/r}return t}(t,s,e,i):0===a?s:function(e,t,i,n,r){let o,s;let a=0;do(o=nI(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(o)>1e-7&&++a<10)return s}(t,n,n+.1,e,i)}(o),t,n)}(t[0],t[1],t[2],t[3])}return"string"==typeof e?(eS(void 0!==nR[e],"Invalid easing type '".concat(e,"'")),nR[e]):e},nO=function(e,t){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&ij.test(t)&&!t.startsWith("url("))},nF=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},nB=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},nV=function(){return{type:"keyframes",ease:"linear",duration:.3}},nH=function(e){return{type:"keyframes",duration:.8,values:e}},nW={x:nF,y:nF,z:nF,rotate:nF,rotateX:nF,rotateY:nF,rotateZ:nF,scaleX:nB,scaleY:nB,scale:nB,opacity:nV,backgroundColor:nV,color:nV,default:nB},nj=function(e,t){var i;return i=tR(t)?nH:nW[e]||nW.default,(0,ev.pi)({to:t},i(t))};let nz=new Set(["brightness","contrast","saturate","opacity"]);function nU(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(e7)||[];if(!n)return e;let r=i.replace(n,""),o=nz.has(t)?1:0;return n!==i&&(o*=100),t+"("+o+r+")"}let n$=/([a-z-]*)\(.*?\)/g,nq=Object.assign(Object.assign({},ij),{getAnimatableNone:e=>{let t=e.match(n$);return t?t.map(nU).join(" "):e}});var nK=(0,ev.pi)((0,ev.pi)({},tp),{color:iP,backgroundColor:iP,outlineColor:iP,fill:iP,stroke:iP,borderColor:iP,borderTopColor:iP,borderRightColor:iP,borderBottomColor:iP,borderLeftColor:iP,filter:nq,WebkitFilter:nq}),nG=function(e){return nK[e]};function nZ(e,t){var i,n=nG(e);return n!==nq&&(n=ij),null===(i=n.getAnimatableNone)||void 0===i?void 0:i.call(n,t)}var nY={current:!1},nQ=!1;function nJ(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function nX(e){return"number"==typeof e?0:nZ("",e)}function n0(e,t){return e[t]||e.default||e}function n1(e,t,i,n){return void 0===n&&(n={}),nY.current&&(n={type:!1}),t.start(function(r){var o,s,a,l,u,d,c,h,g,p,f,m=(l=i,c=null!==(u=(d=n0(n,e)).from)&&void 0!==u?u:t.get(),h=nO(e,l),"none"===c&&h&&"string"==typeof l?c=nZ(e,l):nJ(c)&&"string"==typeof l?c=nX(l):!Array.isArray(l)&&nJ(l)&&"string"==typeof c&&(l=nX(c)),eC((g=nO(e,c))===h,"You are trying to animate ".concat(e,' from "').concat(c,'" to "').concat(l,'". ').concat(c," is not an animatable value - to enable this animation set ").concat(c," to a value animatable to ").concat(l," via the `style` property.")),g&&h&&!1!==d.type?function(){var i,n,o,s,a,u,h,g,p,f,m,v={from:c,to:l,velocity:t.getVelocity(),onComplete:r,onUpdate:function(e){return t.set(e)}};return"inertia"===d.type||"decay"===d.type?function({from:e=0,velocity:t=0,min:i,max:n,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:c,onComplete:h,onStop:g}){let p;function f(e){return void 0!==i&&en}function m(e){return void 0===i?n:void 0===n?i:Math.abs(i-e){var i;null==c||c(t),null===(i=e.onUpdate)||void 0===i||i.call(e,t)},onComplete:h,onStop:g}))}function b(e){v(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},e))}if(f(e))b({from:e,velocity:t,to:m(e)});else{let n,s,a=r*t+e;void 0!==u&&(a=u(a));let d=m(a),c=d===i?-1:1;v({type:"decay",from:e,velocity:t,timeConstant:o,power:r,restDelta:l,modifyTarget:u,onUpdate:f(a)?e=>{var i;n=s,s=e,t=(i=nx().delta)?(e-n)*(1e3/i):0,(1===c&&e>d||-1===c&&enull==p?void 0:p.stop()}}((0,ev.pi)((0,ev.pi)({},v),d)):nL((0,ev.pi)((0,ev.pi)({},(i=d,Array.isArray(v.to)&&(null!==(n=i.duration)&&void 0!==n||(i.duration=.8)),Array.isArray(v.to)&&null===v.to[0]&&(v.to=(0,ev.ev)([],(0,ev.CR)(v.to),!1),v.to[0]=v.from),(o=i).when,o.delay,o.delayChildren,o.staggerChildren,o.staggerDirection,o.repeat,o.repeatType,o.repeatDelay,o.from,Object.keys((0,ev._T)(o,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(i=(0,ev.pi)((0,ev.pi)({},i),nj(e,v.to))),(0,ev.pi)((0,ev.pi)({},v),(a=(s=i).ease,u=s.times,h=s.yoyo,g=s.flip,p=s.loop,f=(0,ev._T)(s,["ease","times","yoyo","flip","loop"]),m=(0,ev.pi)({},f),u&&(m.offset=u),f.duration&&(m.duration=nD(f.duration)),f.repeatDelay&&(m.repeatDelay=nD(f.repeatDelay)),a&&(m.ease=Array.isArray(a)&&"number"!=typeof a[0]?a.map(nP):nP(a)),"tween"===f.type&&(m.type="keyframes"),(h||p||g)&&(eC(!nQ,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nQ=!0,h?m.repeatType="reverse":p?m.repeatType="loop":g&&(m.repeatType="mirror"),m.repeat=p||h||g||f.repeat),"spring"!==f.type&&(m.type="keyframes"),m)))),{onUpdate:function(e){var t;v.onUpdate(e),null===(t=d.onUpdate)||void 0===t||t.call(d,e)},onComplete:function(){var e;v.onComplete(),null===(e=d.onComplete)||void 0===e||e.call(d)}}))}:function(){var e,i,n=tP(l);return t.set(n),r(),null===(e=null==d?void 0:d.onUpdate)||void 0===e||e.call(d,n),null===(i=null==d?void 0:d.onComplete)||void 0===i||i.call(d),{stop:function(){}}}),v=null!==(a=null!==(s=(n0(o=n,e)||{}).delay)&&void 0!==s?s:o.delay)&&void 0!==a?a:0,b=function(){return f=m()};return v?p=window.setTimeout(b,nD(v)):b(),function(){clearTimeout(p),null==f||f.stop()}})}let n2=1/60*1e3,n6="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),n3="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(n6()),n2),n8=!0,n5=!1,n4=!1,n9={delta:0,timestamp:0},n7=["read","update","preRender","render","postRender"],re=n7.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;in5=!0),e),{}),rt=n7.reduce((e,t)=>{let i=re[t];return e[t]=(e,t=!1,n=!1)=>(n5||rs(),i.schedule(e,t,n)),e},{}),ri=n7.reduce((e,t)=>(e[t]=re[t].cancel,e),{}),rn=n7.reduce((e,t)=>(e[t]=()=>re[t].process(n9),e),{}),rr=e=>re[e].process(n9),ro=e=>{n5=!1,n9.delta=n8?n2:Math.max(Math.min(e-n9.timestamp,40),1),n9.timestamp=e,n4=!0,n7.forEach(rr),n4=!1,n5&&(n8=!1,n3(ro))},rs=()=>{n5=!0,n8=!0,n4||n3(ro)},ra=()=>n9;function rl(e,t){-1===e.indexOf(t)&&e.push(t)}function ru(e,t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}var rd=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return rl(this.subscriptions,e),function(){return ru(t.subscriptions,e)}},e.prototype.notify=function(e,t,i){var n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(var r=0;rp&&b,S=Array.isArray(v)?v:[v],x=S.reduce(a,{});!1===y&&(x={});var k=m.prevResolvedValues,E=void 0===k?{}:k,L=(0,ev.pi)((0,ev.pi)({},E),x),D=function(e){C=!0,h.delete(e),m.needsAnimating[e]=!0};for(var N in L){var A=x[N],T=E[N];g.hasOwnProperty(N)||(A!==T?tR(A)&&tR(T)?!id(A,T)||w?D(N):m.protectedKeys[N]=!0:void 0!==A?D(N):h.add(N):void 0!==A&&h.has(N)?D(N):m.protectedKeys[N]=!0)}m.prevProp=v,m.prevResolvedValues=x,m.isActive&&(g=(0,ev.pi)((0,ev.pi)({},g),x)),o&&e.blockInitialAnimation&&(C=!1),C&&!_&&c.push.apply(c,(0,ev.ev)([],(0,ev.CR)(S.map(function(e){return{animation:e,options:(0,ev.pi)({type:f},t)}})),!1))}}(f);if(r=(0,ev.pi)({},g),h.size){var m={};h.forEach(function(t){var i=e.getBaseTarget(t);void 0!==i&&(m[t]=i)}),c.push({animation:m})}var v=!!c.length;return o&&!1===u.initial&&!e.manuallyAnimateOnMount&&(v=!1),o=!1,v?i(c):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:l,setActive:function(t,i,r){if(n[t].isActive===i)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;var o,s=l(r,t);for(var a in n)n[a].protectedKeys={};return s},setAnimateFunction:function(t){i=t(e)},getState:function(){return n}}}(t)),tM(i)&&(0,d.useEffect)(function(){return i.subscribe(t)},[i])}),exit:io(function(e){var t=e.custom,i=e.visualElement,n=(0,ev.CR)(iu(),2),r=n[0],o=n[1],a=(0,d.useContext)(eN);(0,d.useEffect)(function(){i.isPresent=r;var e,n,l=null===(e=i.animationState)||void 0===e?void 0:e.setActive(s.Exit,!r,{custom:null!==(n=null==a?void 0:a.custom)&&void 0!==n?n:t});r||null==l||l.then(o)},[r])})};let rk=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),rE=e=>rk(e)&&e.hasOwnProperty("z"),rL=(e,t)=>Math.abs(e-t);function rD(e,t){return iz(e)&&iz(t)?rL(e,t):rk(e)&&rk(t)?Math.sqrt(Math.pow(rL(e.x,t.x),2)+Math.pow(rL(e.y,t.y),2)+Math.pow(rE(e)&&rE(t)?rL(e.z,t.z):0,2)):void 0}var rN=function(){function e(e,t,i){var n=this,r=(void 0===i?{}:i).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=rI(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,i=rD(e.offset,{x:0,y:0})>=3;if(t||i){var r=e.point,o=ra().timestamp;n.history.push((0,ev.pi)((0,ev.pi)({},r),{timestamp:o}));var s=n.handlers,a=s.onStart,l=s.onMove;t||(a&&a(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){if(n.lastMoveEvent=e,n.lastMoveEventInfo=rA(t,n.transformPagePoint),tz(e)&&0===e.buttons){n.handlePointerUp(e,t);return}rt.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var i=n.handlers,r=i.onEnd,o=i.onSessionEnd,s=rI(rA(t,n.transformPagePoint),n.history);n.startEvent&&r&&r(e,s),o&&o(e,s)},!e.touches||!(e.touches.length>1)){this.handlers=t,this.transformPagePoint=r;var o=rA(t$(e),this.transformPagePoint),s=o.point,a=ra().timestamp;this.history=[(0,ev.pi)((0,ev.pi)({},s),{timestamp:a})];var l=t.onSessionStart;l&&l(e,rI(o,this.history)),this.removeListeners=t4(tY(window,"pointermove",this.handlePointerMove),tY(window,"pointerup",this.handlePointerUp),tY(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ri.update(this.updatePoint)},e}();function rA(e,t){return t?{point:t(e.point)}:e}function rT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rI(e,t){var i=e.point;return{point:i,delta:rT(i,rM(t)),offset:rT(i,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};for(var i=e.length-1,n=null,r=rM(e);i>=0&&(n=e[i],!(r.timestamp-n.timestamp>nD(.1)));)i--;if(!n)return{x:0,y:0};var o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function rM(e){return e[e.length-1]}function rR(e){return e.max-e.min}function rP(e,t,i){return void 0===t&&(t=0),void 0===i&&(i=.01),rD(e,t)l?u="y":Math.abs(d.x)>l&&(u="x"),u),null!==i.currentDirection&&(null==s||s(i.currentDirection));return}i.updateAxis("x",t.point,d),i.updateAxis("y",t.point,d),i.visualElement.syncRender(),null==a||a(e,t)}},onSessionEnd:function(e,t){return i.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var i=this.isDragging;if(this.cancel(),i){var n=t.velocity;this.startAnimation(n);var r=this.getProps().onDragEnd;null==r||r(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(s.Drag,!1)},e.prototype.updateAxis=function(e,t,i){var n=this.getProps().drag;if(i&&ot(e,n,this.currentDirection)){var r,o,s,a,l,u=this.getAxisMotionValue(e),d=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(r=d,o=this.constraints[e],s=this.elastic[e],a=o.min,l=o.max,void 0!==a&&rl&&(r=s?i_(l,r,s.max):Math.min(r,l)),d=r),u.set(d)}},e.prototype.resolveConstraints=function(){var e,t,i,n,r,o,s=this,a=this.getProps(),l=a.dragConstraints,u=a.dragElastic,d=(this.visualElement.projection||{}).layout,c=this.constraints;l&&eR(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&d?this.constraints=(e=d.actual,t=l.top,i=l.left,n=l.bottom,r=l.right,{x:rW(e.x,i,r),y:rW(e.y,t,n)}):this.constraints=!1,this.elastic=(void 0===(o=u)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:rz(o,"left","right"),y:rz(o,"top","bottom")}),c!==this.constraints&&d&&this.constraints&&!this.hasMutatedConstraints&&rZ(function(e){if(s.getAxisMotionValue(e)){var t,i,n;s.constraints[e]=(t=d.actual[e],i=s.constraints[e],n={},void 0!==i.min&&(n.min=i.min-t.min),void 0!==i.max&&(n.max=i.max-t.min),n)}})},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,i=e.onMeasureDragConstraints;if(!t||!eR(t))return!1;var n=t.current;eS(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var r=this.visualElement.projection;if(!r||!r.layout)return!1;var o=(a=r.root,l=r9(n,this.visualElement.getTransformPagePoint()),(u=a.scroll)&&(r6(l.x,u.x),r6(l.y,u.y)),l),s={x:rj((d=r.layout.actual).x,o.x),y:rj(d.y,o.y)};if(i){var a,l,u,d,c,h,g,p=i((h=(c=s).x,{top:(g=c.y).min,right:h.max,bottom:g.max,left:h.min}));this.hasMutatedConstraints=!!p,p&&(s=rY(p))}return s},e.prototype.startAnimation=function(e){var t=this,i=this.getProps(),n=i.drag,r=i.dragMomentum,o=i.dragElastic,s=i.dragTransition,a=i.dragSnapToOrigin,l=i.onDragTransitionEnd,u=this.constraints||{};return Promise.all(rZ(function(i){if(ot(i,n,t.currentDirection)){var l,d=null!==(l=null==u?void 0:u[i])&&void 0!==l?l:{};a&&(d={min:0,max:0});var c=(0,ev.pi)((0,ev.pi)({type:"inertia",velocity:r?e[i]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},s),d);return t.startAxisValueAnimation(i,c)}})).then(l)},e.prototype.startAxisValueAnimation=function(e,t){var i=this.getAxisMotionValue(e);return n1(e,i,0,t)},e.prototype.stopAnimation=function(){var e=this;rZ(function(t){return e.getAxisMotionValue(t).stop()})},e.prototype.getAxisMotionValue=function(e){var t,i,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(i=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==i?i:0)},e.prototype.snapToCursor=function(e){var t=this;rZ(function(i){if(ot(i,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,r=t.getAxisMotionValue(i);if(n&&n.layout){var o=n.layout.actual[i],s=o.min,a=o.max;r.set(e[i]-i_(s,a,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,i=this.getProps(),n=i.drag,r=i.dragConstraints,o=this.visualElement.projection;if(eR(r)&&o&&this.constraints){this.stopAnimation();var s={x:0,y:0};rZ(function(e){var i=t.getAxisMotionValue(e);if(i){var n,r,o,a,l,u=i.get();s[e]=(n={min:u,max:u},r=t.constraints[e],o=.5,a=rR(n),(l=rR(r))>a?o=iy(r.min,r.max-a,n.min):a>l&&(o=iy(n.min,n.max-l,r.min)),ic(0,1,o))}});var a=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=a?a({},""):"none",null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout(),this.resolveConstraints(),rZ(function(e){if(ot(e,n,null)){var i=t.getAxisMotionValue(e),r=t.constraints[e],o=r.min,a=r.max;i.set(i_(o,a,s[e]))}})}},e.prototype.addListeners=function(){var e,t=this;r7.set(this.visualElement,this);var i=tY(this.visualElement.getInstance(),"pointerdown",function(e){var i=t.getProps(),n=i.drag,r=i.dragListener;n&&(void 0===r||r)&&t.start(e)}),n=function(){eR(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},r=this.visualElement.projection,o=r.addEventListener("measure",n);r&&!r.layout&&(null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout()),n();var s=tW(window,"resize",function(){return t.scalePositionWithinConstraints()});return r.addEventListener("didUpdate",function(e){var i=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(rZ(function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=i[e].translate,n.set(n.get()+i[e].translate))}),t.visualElement.syncRender())}),function(){s(),i(),o()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,i=e.dragDirectionLock,n=e.dragPropagation,r=e.dragConstraints,o=e.dragElastic,s=e.dragMomentum;return(0,ev.pi)((0,ev.pi)({},e),{drag:void 0!==t&&t,dragDirectionLock:void 0!==i&&i,dragPropagation:void 0!==n&&n,dragConstraints:void 0!==r&&r,dragElastic:void 0===o?.35:o,dragMomentum:void 0===s||s})},e}();function ot(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}var oi={pan:io(function(e){var t=e.onPan,i=e.onPanStart,n=e.onPanEnd,r=e.onPanSessionStart,o=e.visualElement,s=t||i||n||r,a=(0,d.useRef)(null),l=(0,d.useContext)(eL).transformPagePoint,u={onSessionStart:r,onStart:i,onMove:t,onEnd:function(e,t){a.current=null,n&&n(e,t)}};(0,d.useEffect)(function(){null!==a.current&&a.current.updateHandlers(u)}),tQ(o,"pointerdown",s&&function(e){a.current=new rN(e,u,{transformPagePoint:l})}),t8(function(){return a.current&&a.current.end()})}),drag:io(function(e){var t=e.dragControls,i=e.visualElement,n=ej(function(){return new oe(i)});(0,d.useEffect)(function(){return t&&t.subscribe(n)},[n,t]),(0,d.useEffect)(function(){return n.addListeners()},[n])})},on=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],or=function(e){var t=e.treeType,i=void 0===t?"":t,n=e.build,r=e.getBaseTarget,o=e.makeTargetAnimatable,s=e.measureViewportBox,a=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,d=e.sortNodePosition,c=e.scrapeMotionValuesFromProps;return function(e,t){var h,g,p,f,m,v=e.parent,b=e.props,y=e.presenceId,_=e.blockInitialAnimation,w=e.visualState,C=e.shouldReduceMotion;void 0===t&&(t={});var S=!1,x=w.latestValues,k=w.renderState,E=(h=on.map(function(){return new rd}),g={},p={clearAllListeners:function(){return h.forEach(function(e){return e.clear()})},updatePropListeners:function(e){on.forEach(function(t){var i,n="on"+t,r=e[n];null===(i=g[t])||void 0===i||i.call(g),r&&(g[t]=p[n](r))})}},h.forEach(function(e,t){p["on"+on[t]]=function(t){return e.add(t)},p["notify"+on[t]]=function(){for(var t=[],i=0;i=0?window.pageYOffset:null,u=oy(t,e,a);return o.length&&o.forEach(function(t){var i=(0,ev.CR)(t,2),n=i[0],r=i[1];e.getValue(n).set(r)}),e.syncRender(),null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:n}},ow=function(e,t,i,n){var r,o,s=function(e,t,i){var n,r=(0,ev._T)(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:r,transitionEnd:i};for(var s in i&&(i=(0,ev.pi)({},i)),e.forEachValue(function(e){var t=e.get();if(oa(t)){var i=ou(t,o);i&&e.set(i)}}),r){var a=r[s];if(oa(a)){var l=ou(a,o);l&&(r[s]=l,i&&(null!==(n=i[s])&&void 0!==n||(i[s]=a)))}}return{target:r,transitionEnd:i}}(e,t,n);return r=t=s.target,o=n=s.transitionEnd,Object.keys(r).some(oc)?o_(e,r,i,o):{target:r,transitionEnd:o}},oC={treeType:"dom",readValueFromInstance:function(e,t){if(e1(t)){var i=nG(t);return i&&i.default||0}var n=window.getComputedStyle(e);return(e5(t)?n.getPropertyValue(t):n[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var i;return null===(i=e.style)||void 0===i?void 0:i[t]},measureViewportBox:function(e,t){return r9(e,t.transformPagePoint)},resetTransform:function(e,t,i){var n=i.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){delete t.vars[e],delete t.style[e]},makeTargetAnimatable:function(e,t,i,n){var r=i.transformValues;void 0===n&&(n=!0);var o=t.transition,s=t.transitionEnd,a=(0,ev._T)(t,["transition","transitionEnd"]),l=function(e,t,i){var n,r,o={};for(var s in e)o[s]=null!==(n=function(e,t){if(t)return(t[e]||t.default||t).from}(s,t))&&void 0!==n?n:null===(r=i.getValue(s))||void 0===r?void 0:r.get();return o}(a,o||{},e);if(r&&(s&&(s=r(s)),a&&(a=r(a)),l&&(l=r(l))),n){!function(e,t,i){var n,r,o,s=Object.keys(t).filter(function(t){return!e.hasValue(t)}),a=s.length;if(a)for(var l=0;l5)return r;var l=ij.createTransformer(e),u="number"!=typeof a[0]?1:0,d=n.x.scale*i.x,c=n.y.scale*i.y;a[0+u]/=d,a[1+u]/=c;var h=i_(d,c,.5);"number"==typeof a[2+u]&&(a[2+u]/=h),"number"==typeof a[3+u]&&(a[3+u]/=h);var g=l(a);if(o){var p=0;g=g.replace(oD,function(){var e=s[p];return p++,e})}return g}}},oT=["TopLeft","TopRight","BottomLeft","BottomRight"],oI=oT.length,oM=function(e){return"string"==typeof e?parseFloat(e):e},oR=function(e){return"number"==typeof e||ts.test(e)};function oP(e,t){var i;return null!==(i=e[t])&&void 0!==i?i:e.borderRadius}var oO=oB(0,.5,i4),oF=oB(.5,.95,i2);function oB(e,t,i){return function(n){return nt?1:i(iy(e,t,n))}}function oV(e,t){e.min=t.min,e.max=t.max}function oH(e,t){oV(e.x,t.x),oV(e.y,t.y)}function oW(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function oj(e,t,i,n,r){var o=(0,ev.CR)(i,3),s=o[0],a=o[1],l=o[2];!function(e,t,i,n,r,o,s){if(void 0===t&&(t=0),void 0===i&&(i=1),void 0===n&&(n=.5),void 0===o&&(o=e),void 0===s&&(s=e),to.test(t)&&(t=parseFloat(t),t=i_(s.min,s.max,t/100)-s.min),"number"==typeof t){var a=i_(o.min,o.max,n);e===o&&(a-=t),e.min=oW(e.min,t,i,a,r),e.max=oW(e.max,t,i,a,r)}}(e,t[s],t[a],t[l],t.scale,n,r)}var oz=["x","scaleX","originX"],oU=["y","scaleY","originY"];function o$(e,t,i,n){oj(e.x,t,oz,null==i?void 0:i.x,null==n?void 0:n.x),oj(e.y,t,oU,null==i?void 0:i.y,null==n?void 0:n.y)}function oq(e){return 0===e.translate&&1===e.scale}function oK(e){return oq(e.x)&&oq(e.y)}function oG(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var oZ=function(){function e(){this.members=[]}return e.prototype.add=function(e){rl(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(ru(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,i=this.members.findIndex(function(t){return e===t});if(0===i)return!1;for(var n=i;n>=0;n--){var r=this.members[n];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var i,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(i=e.root)||void 0===i?void 0:i.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var t,i,n,r,o;null===(i=(t=e.options).onExitComplete)||void 0===i||i.call(t),null===(o=null===(n=e.resumingFrom)||void 0===n?void 0:(r=n.options).onExitComplete)||void 0===o||o.call(r)})},e.prototype.scheduleRender=function(){this.members.forEach(function(e){e.instance&&e.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function oY(e,t,i){var n=e.x.translate/t.x,r=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(r,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),i){var s=i.rotate,a=i.rotateX,l=i.rotateY;s&&(o+="rotate(".concat(s,"deg) ")),a&&(o+="rotateX(".concat(a,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,d=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(u,", ").concat(d,")"))?"none":o}var oQ=function(e,t){return e.depth-t.depth},oJ=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){rl(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){ru(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(oQ),this.isDirty=!1,this.children.forEach(e)},e}();function oX(e){var t=e.attachResizeListener,i=e.defaultParent,n=e.measureScroll,r=e.checkIsScrollRoot,o=e.resetTransform;return function(){function e(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=null==i?void 0:i()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){r.isUpdating&&(r.isUpdating=!1,r.clearAllSnapshots())},this.updateProjection=function(){r.nodes.forEach(o5),r.nodes.forEach(o4)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?(0,ev.ev)((0,ev.ev)([],(0,ev.CR)(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var o=0;o=((null===(i=this.getStack())||void 0===i?void 0:i.members.length)||0),c=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(si));this.animationProgress=0,this.mixTargetDelta=function(t){var i,r,h,g=t/1e3;se(a.x,e.x,g),se(a.y,e.y,g),n.setTargetDelta(a),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(h=n.relativeParent)||void 0===h?void 0:h.layout)&&(rH(l,n.layout.actual,n.relativeParent.layout.actual),i=n.relativeTarget,r=n.relativeTargetOrigin,st(i.x,r.x,l.x,g),st(i.y,r.y,l.y,g)),u&&(n.animationValues=s,function(e,t,i,n,r,o){var s,a,l,u;r?(e.opacity=i_(0,null!==(s=i.opacity)&&void 0!==s?s:1,oO(n)),e.opacityExit=i_(null!==(a=t.opacity)&&void 0!==a?a:1,0,oF(n))):o&&(e.opacity=i_(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=i.opacity)&&void 0!==u?u:1,n));for(var d=0;d=0;n--)if(e.path[n].instance){i=e.path[n];break}var r=(i&&i!==e.root?i.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));r&&e.mount(r,!0)}function so(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ss(e){so(e.x),so(e.y)}var sa=oX({attachResizeListener:function(e,t){return tW(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),sl={current:void 0},su=oX({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!sl.current){var e=new sa(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),sl.current=e}return sl.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return"fixed"===window.getComputedStyle(e).position}}),sd=(0,ev.pi)((0,ev.pi)((0,ev.pi)((0,ev.pi)({},rx),is),oi),{measureLayout:function(e){var t=(0,ev.CR)(iu(),2),i=t[0],n=t[1],r=(0,d.useContext)(e$);return d.createElement(oN,(0,ev.pi)({},e,{layoutGroup:r,switchLayoutGroup:(0,d.useContext)(eq),isPresent:i,safeToRemove:n}))}}),sc=function(e){function t(t,i){var n,r,o,s,a,l,u;return void 0===i&&(i={}),r=(n=e(t,i)).preloadedFeatures,o=n.createVisualElement,s=n.projectionNodeConstructor,a=n.useRender,l=n.useVisualState,u=n.Component,r&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?ew.projectionNodeConstructor=e[t]:ew[t].Component=e[t])}(r),(0,d.forwardRef)(function(e,t){var i,n,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A,T,I,M,R,P,O=(_=e.layoutId,(w=null===(y=(0,d.useContext)(e$))||void 0===y?void 0:y.id)&&void 0!==_?w+"-"+_:_);e=(0,ev.pi)((0,ev.pi)({},e),{layoutId:O});var F=(0,d.useContext)(eL),B=null,V=(S=(C=function(e,t){if(eV(e)){var i=e.initial,n=e.animate;return{initial:!1===i||eO(i)?i:void 0,animate:eO(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,d.useContext)(eD))).initial,x=C.animate,(0,d.useMemo)(function(){return{initial:S,animate:x}},[eW(S),eW(x)])),H=F.isStatic?void 0:ej(function(){if(ez.hasEverUpdated)return eU++}),W=l(e,F.isStatic);return!F.isStatic&&eA&&(V.visualElement=(k=(0,ev.pi)((0,ev.pi)({},F),e),E=o,L=(0,d.useContext)(ex),D=(0,d.useContext)(eD).visualElement,N=(0,d.useContext)(eN),eM||function(){if(eM=!0,eA){if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return eI.current=e.matches};e.addListener(t),t()}else eI.current=!1}}(),A=(0,ev.CR)((0,d.useState)(eI.current),1)[0],I="never"!==(T=(0,d.useContext)(eL).reducedMotion)&&("always"===T||A),M=(0,d.useRef)(void 0),E||(E=L.renderer),!M.current&&E&&(M.current=E(u,{visualState:W,parent:D,props:k,presenceId:null==N?void 0:N.id,blockInitialAnimation:(null==N?void 0:N.initial)===!1,shouldReduceMotion:I})),R=M.current,eT(function(){null==R||R.syncRender()}),(0,d.useEffect)(function(){var e;null===(e=null==R?void 0:R.animationState)||void 0===e||e.animateChanges()}),eT(function(){return function(){return null==R?void 0:R.notifyUnmount()}},[]),R),i=e,n=V.visualElement,c=s||ew.projectionNodeConstructor,g=i.layoutId,p=i.layout,f=i.drag,m=i.dragConstraints,v=i.layoutScroll,b=(0,d.useContext)(eq),!c||!n||(null==n?void 0:n.projection)||(n.projection=new c(H,n.getLatestValues(),null===(h=n.parent)||void 0===h?void 0:h.projection),n.projection.setOptions({layoutId:g,layout:p,alwaysMeasureLayout:!!f||m&&eR(m),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof p?p:"both",initialPromotionConfig:b,layoutScroll:v})),B=function(e,t,i){var n=[],r=(0,d.useContext)(ex);if(!t)return null;"production"!==ey&&i&&r.strict&&eS(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;osp.every(i=>e[i]===t[i]);var sm=i(95453),sv=i(49573),sb=i(22902),sy=i(26591),s_=i(29856);let sw=(e,t)=>({event:e,check:t}),sC=sw("touchstart",e=>null!==e.touches&&void 0!==e.touches);sw("dragstart",e=>-1!==e.type.indexOf("drag")||-1!==e.type.indexOf("drop")),sw("mousedown",e=>-1===e.type.indexOf("touch")&&-1!==e.type.indexOf("mouse"));let sS=sw("pointerdown",e=>"mouse"==e.pointerType);function sx(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function sk(e,t){var i=sE(e,t,"get");return i.get?i.get.call(e):i.value}function sE(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var sL=new WeakMap;class sD{constructor(){!function(e,t,i){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}(this,sL,{writable:!0,value:void 0}),sx(this,"register",e=>{sk(this,sL).push(e)}),sx(this,"unregister",e=>{let t;for(;-1!==(t=sk(this,sL).indexOf(e));)sk(this,sL).splice(t,1)}),sx(this,"backendChanged",e=>{for(let t of sk(this,sL))t.backendChanged(e)}),function(e,t,i){var n=sE(e,t,"set");(function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}})(e,n,i)}(this,sL,[])}}function sN(e,t,i){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function sA(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function sT(e,t){var i=sM(e,t,"get");return i.get?i.get.call(e):i.value}function sI(e,t,i){var n=sM(e,t,"set");return function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}}(e,n,i),i}function sM(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var sR=new WeakMap,sP=new WeakMap,sO=new WeakMap,sF=new WeakMap,sB=new WeakMap,sV=new WeakMap,sH=new WeakMap,sW=new WeakMap,sj=new WeakMap,sz=new WeakMap,sU=new WeakMap;class s${constructor(e,t,i){if(sN(this,sR,{writable:!0,value:void 0}),sN(this,sP,{writable:!0,value:void 0}),sN(this,sO,{writable:!0,value:void 0}),sN(this,sF,{writable:!0,value:void 0}),sN(this,sB,{writable:!0,value:void 0}),sN(this,sV,{writable:!0,value:(e,t,i)=>{var n,r;if(!i.backend)throw Error("You must specify a 'backend' property in your Backend entry: ".concat(JSON.stringify(i)));let o=i.backend(e,t,i.options),s=i.id,a=!i.id&&o&&o.constructor;if(a&&(s=o.constructor.name),s)a&&console.warn("Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.\n This might be unsupported in the future, please specify 'id' explicitely for every backend.");else throw Error("You must specify an 'id' property in your Backend entry: ".concat(JSON.stringify(i),"\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx"));if(sT(this,sO)[s])throw Error("You must specify a unique 'id' property in your Backend entry:\n ".concat(JSON.stringify(i)," (conflicts with: ").concat(JSON.stringify(sT(this,sO)[s]),")"));return{id:s,instance:o,preview:null!==(n=i.preview)&&void 0!==n&&n,transition:i.transition,skipDispatchOnTransition:null!==(r=i.skipDispatchOnTransition)&&void 0!==r&&r}}}),sA(this,"setup",()=>{if("undefined"!=typeof window){if(s$.isSetUp)throw Error("Cannot have two MultiBackends at the same time.");s$.isSetUp=!0,sT(this,sH).call(this,window),sT(this,sO)[sT(this,sR)].instance.setup()}}),sA(this,"teardown",()=>{"undefined"!=typeof window&&(s$.isSetUp=!1,sT(this,sW).call(this,window),sT(this,sO)[sT(this,sR)].instance.teardown())}),sA(this,"connectDragSource",(e,t,i)=>sT(this,sU).call(this,"connectDragSource",e,t,i)),sA(this,"connectDragPreview",(e,t,i)=>sT(this,sU).call(this,"connectDragPreview",e,t,i)),sA(this,"connectDropTarget",(e,t,i)=>sT(this,sU).call(this,"connectDropTarget",e,t,i)),sA(this,"profile",()=>sT(this,sO)[sT(this,sR)].instance.profile()),sA(this,"previewEnabled",()=>sT(this,sO)[sT(this,sR)].preview),sA(this,"previewsList",()=>sT(this,sP)),sA(this,"backendsList",()=>sT(this,sF)),sN(this,sH,{writable:!0,value:e=>{sT(this,sF).forEach(t=>{t.transition&&e.addEventListener(t.transition.event,sT(this,sj))})}}),sN(this,sW,{writable:!0,value:e=>{sT(this,sF).forEach(t=>{t.transition&&e.removeEventListener(t.transition.event,sT(this,sj))})}}),sN(this,sj,{writable:!0,value:e=>{let t=sT(this,sR);if(sT(this,sF).some(t=>!!(t.id!==sT(this,sR)&&t.transition&&t.transition.check(e))&&(sI(this,sR,t.id),!0)),sT(this,sR)!==t){var i;sT(this,sO)[t].instance.teardown(),Object.keys(sT(this,sB)).forEach(e=>{let t=sT(this,sB)[e];t.unsubscribe(),t.unsubscribe=sT(this,sz).call(this,t.func,...t.args)}),sT(this,sP).backendChanged(this);let n=sT(this,sO)[sT(this,sR)];if(n.instance.setup(),n.skipDispatchOnTransition)return;let r=new e.constructor(e.type,e);null===(i=e.target)||void 0===i||i.dispatchEvent(r)}}}),sN(this,sz,{writable:!0,value:(e,t,i,n)=>sT(this,sO)[sT(this,sR)].instance[e](t,i,n)}),sN(this,sU,{writable:!0,value:(e,t,i,n)=>{let r="".concat(e,"_").concat(t),o=sT(this,sz).call(this,e,t,i,n);return sT(this,sB)[r]={func:e,args:[t,i,n],unsubscribe:o},()=>{sT(this,sB)[r].unsubscribe(),delete sT(this,sB)[r]}}}),!i||!i.backends||i.backends.length<1)throw Error("You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx");sI(this,sP,new sD),sI(this,sO,{}),sI(this,sF,[]),i.backends.forEach(i=>{let n=sT(this,sV).call(this,e,t,i);sT(this,sO)[n.id]=n,sT(this,sF).push(n)}),sI(this,sR,sT(this,sF)[0].id),sI(this,sB,{})}}sA(s$,"isSetUp",!1);let sq=(e,t,i)=>new s$(e,t,i);var sK=i(56536);!function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(l||(l={}));class sG{get delay(){var e;return null!==(e=this.args.delay)&&void 0!==e?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return null!==(e=this.args.ignoreContextMenu)&&void 0!==e&&e}get enableHoverOutsideTarget(){var e;return null!==(e=this.args.enableHoverOutsideTarget)&&void 0!==e&&e}get enableKeyboardEvents(){var e;return null!==(e=this.args.enableKeyboardEvents)&&void 0!==e&&e}get enableMouseEvents(){var e;return null!==(e=this.args.enableMouseEvents)&&void 0!==e&&e}get enableTouchEvents(){var e;return null===(e=this.args.enableTouchEvents)||void 0===e||e}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,t,i,n;return null!==(n=null!==(i=null===(e=this.args)||void 0===e?void 0:e.delayTouchStart)&&void 0!==i?i:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get delayMouseStart(){var e,t,i,n;return null!==(n=null!==(i=null===(e=this.args)||void 0===e?void 0:e.delayMouseStart)&&void 0!==i?i:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.context)||void 0===e?void 0:e.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.args)||void 0===e?void 0:e.rootElement)||this.document}constructor(e,t){this.args=e,this.context=t}}let sZ={Left:1},sY={Left:0};function sQ(e){return void 0===e.button||e.button===sY.Left}function sJ(e){return!!e.targetTouches}function sX(e,t){return sJ(e)?1===e.targetTouches.length?sX(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?sX(e.touches[0]):void 0:{x:e.clientX,y:e.clientY}}let s0=(()=>{let e=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(e=!0,!0)}))}catch(e){}return e})(),s1={[l.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[l.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[l.keyboard]:{keydown:"keydown"}};class s2{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}get document(){return this.options.document}setup(){let e=this.options.rootElement;e&&((0,sK.k)(!s2.isSetUp,"Cannot have two Touch backends at the same time."),s2.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){let e=this.options.rootElement;e&&(s2.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,t,i,n=!1){let r=s0?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(n){let o=s1[n][t];o&&e.addEventListener(o,i,r)})}removeEventListener(e,t,i,n=!1){let r=s0?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(n){let o=s1[n][t];o&&e.removeEventListener(o,i,r)})}connectDragSource(e,t){let i=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",i),()=>{this.sourceNodes.delete(e),this.removeEventListener(t,"start",i)}}connectDragPreview(e,t,i){return this.sourcePreviewNodeOptions.set(e,i),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,t){let i=this.options.rootElement;if(!this.document||!i)return()=>{};let n=n=>{let r;if(!this.document||!i||!this.monitor.isDragging())return;switch(n.type){case s1.mouse.move:r={x:n.clientX,y:n.clientY};break;case s1.touch.move:var o,s;r={x:(null===(o=n.touches[0])||void 0===o?void 0:o.clientX)||0,y:(null===(s=n.touches[0])||void 0===s?void 0:s.clientY)||0}}let a=null!=r?this.document.elementFromPoint(r.x,r.y):void 0,l=a&&t.contains(a);if(a===t||l)return this.handleMove(n,e)};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(e,t),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,t,i){this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&function(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return;let{top:i,left:n}=t.getBoundingClientRect();return{x:n,y:i}}(t)},this.handleTopMoveStartCapture=e=>{sQ(e)&&(this.moveStartSourceIds=[])},this.handleMoveStart=e=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(e)},this.handleTopMoveStart=e=>{if(!sQ(e))return;let t=sX(e);t&&(sJ(e)&&(this.lastTargetTouchFallback=e.targetTouches[0]),this._mouseClientOffset=t),this.waitingForDelay=!1},this.handleTopMoveStartDelay=e=>{if(!sQ(e))return;let t=e.type===s1.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,e),t),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(e,t)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(t)},this.handleTopMove=e=>{var t,i;if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;let{moveStartSourceIds:n,dragOverTargetIds:r}=this,o=this.options.enableHoverOutsideTarget,s=sX(e,this.lastTargetTouchFallback);if(!s)return;if(this._isScrolling||!this.monitor.isDragging()&&function(e,t,i,n,r){if(!r)return!1;let o=180*Math.atan2(n-t,i-e)/Math.PI+180;for(let e=0;e=t.start)&&(null==t.end||o<=t.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,s.x,s.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&n&&(t=this._mouseClientOffset.x||0,i=this._mouseClientOffset.y||0,Math.sqrt(Math.pow(Math.abs(s.x-t),2)+Math.pow(Math.abs(s.y-i),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(n,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;let a=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(a),this.actions.publishDragSource(),e.cancelable&&e.preventDefault();let l=(r||[]).map(e=>this.targetNodes.get(e)).filter(e=>!!e),u=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(s.x,s.y,l):this.document.elementsFromPoint(s.x,s.y),d=[];for(let e in u){if(!u.hasOwnProperty(e))continue;let t=u[e];for(null!=t&&d.push(t);t;)(t=t.parentElement)&&-1===d.indexOf(t)&&d.push(t)}let c=d.filter(e=>l.indexOf(e)>-1).map(e=>this._getDropTargetId(e)).filter(e=>!!e).filter((e,t,i)=>i.indexOf(e)===t);if(o)for(let e in this.targetNodes){let t=this.targetNodes.get(e);if(a&&t&&t.contains(a)&&-1===c.indexOf(e)){c.unshift(e);break}}c.reverse(),this.actions.hover(c,{clientOffset:s})},this._getDropTargetId=e=>{let t=this.targetNodes.keys(),i=t.next();for(;!1===i.done;){let n=i.value;if(e===this.targetNodes.get(n))return n;i=t.next()}},this.handleTopMoveEndCapture=e=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(e){return void 0===e.buttons||(e.buttons&sZ.Left)==0}(e)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}e.cancelable&&e.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=e=>{"Escape"===e.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new sG(i,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(l.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(l.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(l.keyboard)}}let s6=function(e,t={},i={}){return new s2(e,t,i)};var s3=function(){return(s3=Object.assign||function(e){for(var t,i=1,n=arguments.length;i(g.current=!0,()=>void(g.current=!1)));let[p,f,m]=(0,d.useMemo)(()=>{let e=()=>{if(!u.current.element)return;let{left:e,top:t,width:i,height:n,bottom:r,right:s,x:a,y:d}=u.current.element.getBoundingClientRect(),c={left:e,top:t,width:i,height:n,bottom:r,right:s,x:a,y:d};u.current.element instanceof HTMLElement&&o&&(c.height=u.current.element.offsetHeight,c.width=u.current.element.offsetWidth),Object.freeze(c),g.current&&!sf(u.current.lastBounds,c)&&l(u.current.lastBounds=c)};return[e,h?sg()(e,h):e,c?sg()(e,c):e]},[l,o,c,h]);function v(){u.current.scrollContainers&&(u.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",m,!0)),u.current.scrollContainers=null),u.current.resizeObserver&&(u.current.resizeObserver.disconnect(),u.current.resizeObserver=null)}function b(){u.current.element&&(u.current.resizeObserver=new s(m),u.current.resizeObserver.observe(u.current.element),n&&u.current.scrollContainers&&u.current.scrollContainers.forEach(e=>e.addEventListener("scroll",m,{capture:!0,passive:!0})))}return t=!!n,(0,d.useEffect)(()=>{if(t)return window.addEventListener("scroll",m,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",m,!0)},[m,t]),(0,d.useEffect)(()=>(window.addEventListener("resize",f),()=>void window.removeEventListener("resize",f)),[f]),(0,d.useEffect)(()=>{v(),b()},[n,m,f]),(0,d.useEffect)(()=>v,[]),[e=>{e&&e!==u.current.element&&(v(),u.current.element=e,u.current.scrollContainers=function e(t){let i=[];if(!t||t===document.body)return i;let{overflow:n,overflowX:r,overflowY:o}=window.getComputedStyle(t);return[n,r,o].some(e=>"auto"===e||"scroll"===e)&&i.push(t),[...i,...e(t.parentElement)]}(e),b())},a,p]}({polyfill:em}),a=s[0],l=s[1].height,u=(0,d.useState)(t),c=u[0],h=u[1],g=(0,d.useState)(t),p=g[0],f=g[1],m=(0,d.useState)(!1),v=m[0],b=m[1];return(0,d.useEffect)(function(){b(!0),t?h(!0):f(!1)},[t]),(0,d.useEffect)(function(){c&&f(!0)},[l]),d.createElement(sc.div,{style:v?{overflow:"hidden"}:void 0,onAnimationComplete:function(){b(!1),t||h(!1)},initial:p?"open":"close",animate:p?"open":"close",inherit:!1,variants:void 0===r?{open:{opacity:1,height:"auto"},close:{opacity:0,height:0}}:r,transition:{ease:void 0===i?"easeIn":i,duration:function(e,t){if(t)return t;if(!e)return 0;var i=e/36;return Math.round((4+10*Math.pow(i,.25)+i/5)*10)/1500}(l,n)}},d.createElement("div",{ref:a},c&&o))}var s4=function(e,t){return e.text>t.text?1:e.textr?o-1:o,[r,o]},ao=function(e,t,i){var n=t<0?e.length+t:t;if(n>=0&&ni.top+i.height/2?"down":"up"},al=function(e,t){var i="",n=0;return e.forEach(function(r,o){var s,a=aa(r,(null===(s=t.getClientOffset())||void 0===s?void 0:s.y)||0);""===i?i=a:i!==a&&(i=a,n=o),o===e.length-1&&"down"===a&&(n=o+1)}),n},au=function(e,t,i){var n=t.closest('[role="list"]'),r=null==n?void 0:n.querySelectorAll(':scope > [role="listitem"]');return r?al(r,i):null},ad=function(e,t,i){var n=e.getBoundingClientRect(),r=i.dropTargetOffset,o=n.top+r;return t>n.bottom-r?"lower":t [role="listitem"]');return{id:n.rootId,index:al(o,i)}}var s=i.getItem(),a=t.querySelector('[role="list"]'),l=ad(t,(null===(r=i.getClientOffset())||void 0===r?void 0:r.y)||0,n);if(a){if("upper"===l){if(!at(s,e.parent,n))return{id:e.id,index:0};var u=au(e,t,i);return null===u?null:{id:e.parent,index:u}}var o=a.querySelectorAll(':scope > [role="listitem"]');return{id:e.id,index:al(o,i)}}if("middle"===l)return{id:e.id,index:0};if(at(s,e.parent,n)){var u=au(e,t,i);return null===u?null:{id:e.parent,index:u}}return null},ah=function(e,t){var i=[],n=function(e,t){var r=e.filter(function(e){return t.includes(e.parent)});r.length>0&&(i=s8(s8([],i,!0),r,!0),n(e,r.map(function(e){return e.id})))};return n(e,[t]),i};function ag(e,t){for(var i=[],n=e.find(function(e){return e.id===t});n;)(n=e.find(function(e){return e.id===n.parent}))&&i.push(n);return i}var ap=function(e){return void 0===e&&(e={}),{backends:[{id:"html5",backend:N,options:e.html5,transition:sS},{id:"touch",backend:s6,options:e.touch||{enableMouseEvents:!0},preview:!0,transition:sC}]}},af=function(e,t){return e.some(function(e){return e.parent===t})},am=(0,d.createContext)({}),av=function(e){var t=aP(e.tree,e.initialOpen),i=t[0],n=t[1],r=n.handleToggle,o=n.handleCloseAll,s=n.handleOpenAll,a=n.handleOpen,l=n.handleClose;(0,d.useImperativeHandle)(e.treeRef,function(){return{open:function(t){return a(t,e.onChangeOpen)},close:function(t){return l(t,e.onChangeOpen)},openAll:function(){return s(e.onChangeOpen)},closeAll:function(){return o(e.onChangeOpen)}}});var u=(0,sm.N)().getMonitor(),c=e.canDrop,h=e.canDrag,g=s3(s3({extraAcceptTypes:[],listComponent:"ul",listItemComponent:"li",placeholderComponent:"li",sort:!0,insertDroppableFirst:!0,enableAnimateExpand:!1,dropTargetOffset:0,initialOpen:!1},e),{openIds:i,onDrop:function(t,i,n){if(t){var r={dragSourceId:t.id,dropTargetId:i,dragSource:t,dropTarget:s9(e.tree,i),monitor:u},o=e.tree;if(s9(o,t.id)||(o=s8(s8([],o,!0),[t],!1)),!1===e.sort){var s=ar(o,t.id,i,n)[1];r.destinationIndex=s,r.relativeIndex=n,e.onDrop(as(o,t.id,i,n),r);return}e.onDrop(ai(o,t.id,i),r)}else{var r={dropTargetId:i,dropTarget:s9(e.tree,i),monitor:u};!1===e.sort&&(r.destinationIndex=an(e.tree,i,n),r.relativeIndex=n),e.onDrop(e.tree,r)}},canDrop:c?function(t,i){return c(e.tree,{dragSourceId:null!=t?t:void 0,dropTargetId:i,dragSource:u.getItem(),dropTarget:s9(e.tree,i),monitor:u})}:void 0,canDrag:h?function(t){return h(s9(e.tree,t))}:void 0,onToggle:function(t){return r(t,e.onChangeOpen)}});return d.createElement(am.Provider,{value:g},e.children)},ab=(0,d.createContext)({}),ay={isLock:!1},a_=function(e){var t=(0,d.useState)(ay.isLock),i=t[0],n=t[1];return d.createElement(ab.Provider,{value:{isLock:i,lock:function(){return n(!0)},unlock:function(){return n(!1)}}},e.children)},aw=(0,d.createContext)({}),aC={dropTargetId:void 0,index:void 0},aS=function(e){var t=(0,d.useState)(aC.dropTargetId),i=t[0],n=t[1],r=(0,d.useState)(aC.index),o=r[0],s=r[1];return d.createElement(aw.Provider,{value:{dropTargetId:i,index:o,showPlaceholder:function(e,t){n(e),s(t)},hidePlaceholder:function(){n(aC.dropTargetId),s(aC.index)}}},e.children)},ax=function(e){return d.createElement(av,s3({},e),d.createElement(a_,null,d.createElement(aS,null,e.children)))},ak=function(e){var t=(0,d.useContext)(ab);(0,d.useEffect)(function(){if(e.current){var i=e.current,n=function(e){var i=e.target;(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)&&t.lock()},r=function(e){var i=e.target;(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)&&t.unlock()},o=function(e){return n(e)},s=function(e){return r(e)},a=function(e){return n(e)},l=function(e){return r(e)},u=new MutationObserver(function(){document.activeElement===document.body&&t.unlock()});return u.observe(i,{subtree:!0,childList:!0}),i.addEventListener("mouseover",o),i.addEventListener("mouseout",s),i.addEventListener("focusin",a),i.addEventListener("focusout",l),function(){u.disconnect(),i.removeEventListener("mouseover",o),i.removeEventListener("mouseout",s),i.removeEventListener("focusin",a),i.removeEventListener("focusout",l)}}},[e,t]),(0,d.useEffect)(function(){var i;null===(i=e.current)||void 0===i||i.setAttribute("draggable",t.isLock?"false":"true")},[e,t.isLock])},aE={TREE_ITEM:Symbol()},aL=null,aD=function(e){var t=e.target;if(t instanceof HTMLElement){var i=t.closest('[role="listitem"]');e.currentTarget===i&&(aL=i)}},aN=function(e){return aD(e)},aA=function(e){return aD(e)},aT=function(e,t){var i=aF();(0,d.useEffect)(function(){var e=t.current;return null==e||e.addEventListener("dragstart",aN),null==e||e.addEventListener("touchstart",aA,{passive:!0}),function(){null==e||e.removeEventListener("dragstart",aN),null==e||e.removeEventListener("touchstart",aA)}},[t]);var n=(0,sv.c)({type:aE.TREE_ITEM,item:function(n){var r=s3({ref:t},e);return i.onDragStart&&i.onDragStart(r,n),r},end:function(e,t){i.onDragEnd&&i.onDragEnd(e,t)},canDrag:function(){var n=i.canDrag;return aL===t.current&&(!n||n(e.id))},collect:function(e){return{isDragging:e.isDragging()}}});return[n[0].isDragging,n[1],n[2]]},aI=function(e,t,i){var n=(0,d.useRef)(0),r=(0,d.useRef)(0);return{onDragEnter:function(){n.current+=1,1!==n.current||t||(r.current=window.setTimeout(function(){return i(e)},500))},onDragLeave:function(){n.current-=1,0===n.current&&window.clearTimeout(r.current)},onDrop:function(){r.current>0&&window.clearTimeout(r.current),n.current=0,r.current=0}}},aM=function(e){var t=aF(),i=(0,d.useContext)(aw),n=(0,sb.L)({accept:s8([aE.TREE_ITEM],t.extraAcceptTypes,!0),drop:function(e,n){var r=t.rootId,o=t.onDrop,s=i.dropTargetId,a=i.index;n.isOver({shallow:!0})&&void 0!==s&&void 0!==a&&o(ae(e)?e:null,r,a),i.hidePlaceholder()},canDrop:function(e,i){var n=t.rootId;return!!i.isOver({shallow:!0})&&void 0!==e&&at(e,n,t)},hover:function(n,r){if(r.isOver({shallow:!0})){var o=t.rootId,s=i.dropTargetId,a=i.index,l=i.showPlaceholder,u=i.hidePlaceholder,d=ac(null,e.current,r,t);if(null===d||!at(n,o,t)){u();return}(d.id!==s||d.index!==a)&&l(d.id,d.index)}},collect:function(e){var t=e.getItem();return{isOver:e.isOver({shallow:!0})&&e.canDrop(),dragSource:t}}}),r=n[0];return[r.isOver,r.dragSource,n[1]]},aR=function(e,t){var i=aF(),n=(0,d.useContext)(aw),r=(0,sb.L)({accept:s8([aE.TREE_ITEM],i.extraAcceptTypes,!0),drop:function(e,t){var r=n.dropTargetId,o=n.index;t.isOver({shallow:!0})&&void 0!==r&&void 0!==o&&i.onDrop(ae(e)?e:null,r,o),n.hidePlaceholder()},canDrop:function(n,r){if(r.isOver({shallow:!0})){var o=ac(e,t.current,r,i);return null!==o&&at(n,o.id,i)}return!1},hover:function(r,o){if(o.isOver({shallow:!0})){var s=n.dropTargetId,a=n.index,l=n.showPlaceholder,u=n.hidePlaceholder,d=ac(e,t.current,o,i);if(null===d||!at(r,d.id,i)){u();return}(d.id!==s||d.index!==a)&&l(d.id,d.index)}},collect:function(e){var t=e.getItem();return{isOver:e.isOver({shallow:!0})&&e.canDrop(),dragSource:t}}}),o=r[0];return[o.isOver,o.dragSource,r[1]]},aP=function(e,t){var i=(0,d.useMemo)(function(){return!0===t?e.filter(function(t){return af(e,t.id)}).map(function(e){return e.id}):Array.isArray(t)?t:[]},[t]),n=(0,d.useState)(i),r=n[0],o=n[1];return(0,d.useEffect)(function(){return o(i)},[t]),[r,{handleToggle:function(e,t){var i=r.includes(e)?r.filter(function(t){return t!==e}):s8(s8([],r,!0),[e],!1);o(i),t&&t(i)},handleCloseAll:function(e){o([]),e&&e([])},handleOpenAll:function(t){var i=e.filter(function(t){return af(e,t.id)}).map(function(e){return e.id});o(i),t&&t(i)},handleOpen:function(t,i){var n=[];if(Array.isArray(t)){var s=e.filter(function(i){return t.includes(i.id)&&af(e,i.id)});n=s8(s8([],r,!0),s.map(function(e){return e.id}),!0).filter(function(e,t,i){return i.indexOf(e)===t})}else n=r.includes(t)?r:s8(s8([],r,!0),[t],!1);o(n),i&&i(n)},handleClose:function(e,t){var i=r.filter(function(t){return Array.isArray(e)?!e.includes(t):t!==e});o(i),t&&t(i)}}]},aO=function(){return(0,sy.f)(function(e){var t=e.getItemType();return{item:e.getItem(),clientOffset:e.getClientOffset(),isDragging:e.isDragging()&&t===aE.TREE_ITEM}})},aF=function(){var e=(0,d.useContext)(am);if(!e)throw Error("useTreeContext must be used under TreeProvider");return e},aB=function(e,t){var i=aF(),n=i.rootId,r=i.rootProps,o=i.classes,s=(null==o?void 0:o.container)||"";return t&&(null==o?void 0:o.dropTarget)&&(s="".concat(s," ").concat(o.dropTarget)),e===n&&(null==o?void 0:o.root)&&(s="".concat(s," ").concat(o.root)),e===n&&(null==r?void 0:r.className)&&(s="".concat(s," ").concat(r.className)),s=s.trim()},aV=function(e,t,i){t.current?i(t):i(e),(0,d.useEffect)(function(){t.current?i(t):i(e)},[t.current])},aH=function(e){var t=aF(),i=(0,d.useContext)(aw),r=(0,d.useRef)(null),o=(0,d.useRef)(null),s=t.tree.find(function(t){return t.id===e.id}),a=t.openIds,l=t.classes,u=t.enableAnimateExpand,c=a.includes(e.id),h=aT(s,r),g=h[0],p=h[1],f=h[2],m=aR(s,r),v=m[0],b=m[1],y=m[2];aV(r,o,p),at(b,e.id,t)&&y(r),(0,d.useEffect)(function(){t.dragPreviewRender?f((n||((n=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n),{captureDraggingState:!0}):o.current&&f(r)},[f,t.dragPreviewRender]),ak(r);var _=t.listItemComponent,w=(null==l?void 0:l.listItem)||"";v&&(null==l?void 0:l.dropTarget)&&(w="".concat(w," ").concat(l.dropTarget)),g&&(null==l?void 0:l.draggingSource)&&(w="".concat(w," ").concat(l.draggingSource));var C=!t.canDrag||t.canDrag(e.id),S=i.dropTargetId===e.id,x={depth:e.depth,isOpen:c,isDragging:g,isDropTarget:S,draggable:C,hasChild:af(t.tree,e.id),containerRef:r,handleRef:o,onToggle:function(){return t.onToggle(s.id)}};return d.createElement(_,{ref:r,className:w,role:"listitem"},t.render(s,x),u&&x.hasChild&&d.createElement(s5,{isVisible:c},d.createElement(aj,{parentId:e.id,depth:e.depth+1})),!u&&x.hasChild&&c&&d.createElement(aj,{parentId:e.id,depth:e.depth+1}))},aW=function(e){var t=aF(),i=t.placeholderRender,n=t.placeholderComponent,r=t.classes,o=(0,d.useContext)(aw),s=(0,sm.N)().getMonitor().getItem();return i&&s&&e.dropTargetId===o.dropTargetId&&(e.index===o.index||void 0===e.index&&e.listCount===o.index)?d.createElement(n,{className:(null==r?void 0:r.placeholder)||""},i(s,{depth:e.depth})):null},aj=function(e){var t=aF(),i=(0,d.useRef)(null),n=t.tree.filter(function(t){return t.parent===e.parentId}),r=n,o="function"==typeof t.sort?t.sort:s4;if(t.insertDroppableFirst){var s=n.filter(function(e){return e.droppable}),a=n.filter(function(e){return!e.droppable});!1===t.sort||(s=s.sort(o),a=a.sort(o)),r=s8(s8([],s,!0),a,!0)}else!1!==t.sort&&(r=n.sort(o));var l=aM(i),u=l[0],c=l[1],h=l[2];e.parentId===t.rootId&&at(c,t.rootId,t)&&h(i);var g=aB(e.parentId,u),p=t.rootProps||{},f=t.listComponent;return d.createElement(f,s3({ref:i,role:"list"},p,{className:g}),r.map(function(t,i){return d.createElement(d.Fragment,{key:t.id},d.createElement(aW,{depth:e.depth,listCount:r.length,dropTargetId:e.parentId,index:i}),d.createElement(aH,{id:t.id,depth:e.depth}))}),d.createElement(aW,{depth:e.depth,listCount:r.length,dropTargetId:e.parentId}))},az={height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:100},aU=function(e){var t=e.clientOffset;if(!t)return{};var i=t.x,n=t.y;return{pointerEvents:"none",transform:"translate(".concat(i,"px, ").concat(n,"px)")}},a$=function(){var e=aF(),t=aO(),i=t.isDragging,n=t.clientOffset;return i&&n?d.createElement("div",{style:az},d.createElement("div",{style:aU(t)},e.dragPreviewRender&&e.dragPreviewRender(t))):null},aq=(0,d.forwardRef)(function(e,t){return d.createElement(ax,s3({},e,{treeRef:t}),e.dragPreviewRender&&d.createElement(a$,null),d.createElement(aj,{parentId:e.rootId,depth:0}))})},53525:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`boolean expected, not ${e}`)}function r(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function o(e,...t){if(!r(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function s(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function l(e,t){o(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=s;let a=(e,t,i)=>e>>>i;t.shrSH=a;let l=(e,t,i)=>e<<32-i|t>>>i;t.shrSL=l;let u=(e,t,i)=>e>>>i|t<<32-i;t.rotrSH=u;let d=(e,t,i)=>e<<32-i|t>>>i;t.rotrSL=d;let c=(e,t,i)=>e<<64-i|t>>>i-32;t.rotrBH=c;let h=(e,t,i)=>e>>>i-32|t<<64-i;t.rotrBL=h;let g=(e,t)=>t;t.rotr32H=g;let p=(e,t)=>e;t.rotr32L=p;let f=(e,t,i)=>e<>>32-i;t.rotlSH=f;let m=(e,t,i)=>t<>>32-i;t.rotlSL=m;let v=(e,t,i)=>t<>>64-i;t.rotlBH=v;let b=(e,t,i)=>e<>>64-i;function y(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.rotlBL=b,t.add=y;let _=(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0);t.add3L=_;let w=(e,t,i,n)=>t+i+n+(e/4294967296|0)|0;t.add3H=w;let C=(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0);t.add4L=C;let S=(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0;t.add4H=S;let x=(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0);t.add5L=x;let k=(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0;t.add5H=k,t.default={fromBig:r,split:o,toBig:s,shrSH:a,shrSL:l,rotrSH:u,rotrSL:d,rotrBH:c,rotrBL:h,rotr32H:g,rotr32L:p,rotlSH:f,rotlSL:m,rotlBH:v,rotlBL:b,add:y,add3L:_,add3H:w,add4L:C,add4H:S,add5H:k,add5L:x}},70825:(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},1840:(e,t,i)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.lengths,J8:()=>a,Rx:()=>n,aI:()=>r,vp:()=>o})},4307:(e,t,i)=>{"use strict";i.d(t,{EP:()=>a,SD:()=>u,Vl:()=>s,ZP:()=>c,gm:()=>l,mk:()=>d});let n=BigInt(4294967295),r=BigInt(32);function o(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function s(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let r=0;re<>>32-i,l=(e,t,i)=>t<>>32-i,u=(e,t,i)=>t<>>64-i,d=(e,t,i)=>e<>>64-i,c={fromBig:o,split:s,toBig:(e,t)=>BigInt(e>>>0)<>>0),shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:a,rotlSL:l,rotlBH:u,rotlBL:d,add:function(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}},add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)}},30006:(e,t,i)=>{"use strict";throw i.r(t),Error("noble-hashes have no entry-point: consult README for usage")},91374:(e,t,i)=>{"use strict";i.d(t,{fr:()=>_});var n=i(1840),r=i(4307),o=i(79225);let s=[],a=[],l=[],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?(0,r.SD)(e,t,i):(0,r.EP)(e,t,i),b=(e,t,i)=>i>32?(0,r.mk)(e,t,i):(0,r.gm)(e,t,i);class y extends o.kb{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.Rx)(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.Jq)(this.state)}keccak(){o.iA||(0,o.l1)(this.state32),function(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}(this.state32,this.rounds),o.iA||(0,o.l1)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.Gg)(this);let{blockLen:t,state:i}=this,r=(e=(0,o.O0)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.Rx)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.J8)(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new y(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}let _=(0,o.hE)(()=>new y(136,1,32))},79225:(e,t,i)=>{"use strict";i.d(t,{GL:()=>o,Jq:()=>r,O0:()=>c,U5:()=>p,XG:()=>a,hE:()=>f,iA:()=>l,kb:()=>h,l1:()=>d,np:()=>s});var n=i(1840);let r=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),o=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),s=(e,t)=>e<<32-t|e>>>t,a=(e,t)=>e<>>32-t>>>0,l=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],u=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function d(e){for(let t=0;te().update(c(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t}},80125:(e,t,i)=>{"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;let n=i(53525),r=i(11655),o=i(70064),s=[],a=[],l=[],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?(0,r.rotlBH)(e,t,i):(0,r.rotlSH)(e,t,i),b=(e,t,i)=>i>32?(0,r.rotlBL)(e,t,i):(0,r.rotlSL)(e,t,i);function y(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}t.keccakP=y;class _ extends o.Hash{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),y(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);let{blockLen:t,state:i}=this,r=(e=(0,o.toBytes)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new _(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;let w=(e,t,i)=>(0,o.wrapConstructor)(()=>new _(t,e,i));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);let C=(e,t,i)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new _(t,e,void 0===n.dkLen?i:n.dkLen,!0));t.shake128=C(31,168,16),t.shake256=C(31,136,32)},70064:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;let n=i(70825),r=i(53525);t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name},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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.rotl=(e,t)=>e<>>32-t>>>0,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,t.byteSwapIfBE=t.isLE?e=>e:e=>(0,t.byteSwap)(e),t.byteSwap32=function(e){for(let i=0;it.toString(16).padStart(2,"0"));t.bytesToHex=function(e){(0,r.bytes)(e);let t="";for(let i=0;i=s._0&&e<=s._9?e-s._0:e>=s._A&&e<=s._F?e-(s._A-10):e>=s._a&&e<=s._f?e-(s._a-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,i=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(i);for(let t=0,r=0;t{};async function u(e,i,n){let r=Date.now();for(let o=0;o=0&&ee().update(c(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(c(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(c(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},56536:(e,t,i)=>{"use strict";i.d(t,{k:()=>r});var n=i(34406);function r(e,t,...i){if(void 0!==n&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;(e=Error(t.replace(/%s/g,function(){return i[n++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}},77066:(e,t,i)=>{"use strict";function n(e,t,i,n){let r=i?i.call(n,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;let a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;sn})},69566:(e,t,i)=>{"use strict";i.r(t),i.d(t,{EnhancerArray:()=>D,MiddlewareArray:()=>L,SHOULD_AUTOBATCH:()=>eF,TaskAbortError:()=>e_,__DO_NOT_USE__ActionTypes:()=>o.__DO_NOT_USE__ActionTypes,addListener:()=>eI,applyMiddleware:()=>o.applyMiddleware,autoBatchEnhancer:()=>ej,bindActionCreators:()=>o.bindActionCreators,clearAllListeners:()=>eM,combineReducers:()=>o.combineReducers,compose:()=>o.compose,configureStore:()=>P,createAction:()=>O,createAsyncThunk:()=>ee,createDraftSafeSelector:()=>x,createEntityAdapter:()=>G,createImmutableStateInvariantMiddleware:()=>T,createListenerMiddleware:()=>eO,createNextState:()=>r.ZP,createReducer:()=>j,createSelector:()=>l,createSerializableStateInvariantMiddleware:()=>M,createSlice:()=>z,createStore:()=>o.createStore,current:()=>r.Vk,findNonSerializableValue:()=>function e(t,i,n,r,o,s){if(void 0===i&&(i=""),void 0===n&&(n=I),void 0===o&&(o=[]),!n(t))return{keyPath:i||"",value:t};if("object"!=typeof t||null===t||(null==s?void 0:s.has(t)))return!1;for(var a,l=null!=r?r(t):Object.entries(t),u=o.length>0,d=0;dr.vV,getDefaultMiddleware:()=>R,getType:()=>H,isAction:()=>F,isAllOf:()=>er,isAnyOf:()=>en,isAsyncThunkAction:()=>function e(){for(var t=[],i=0;ir.mv,isFluxStandardAction:()=>B,isFulfilled:()=>function e(){for(var t=[],i=0;iA,isPending:()=>function e(){for(var t=[],i=0;iI,isPlainObject:()=>E,isRejected:()=>ea,isRejectedWithValue:()=>function e(){for(var t=[],i=0;io.legacy_createStore,miniSerializeError:()=>X,nanoid:()=>Z,original:()=>r.Js,prepareAutoBatched:()=>eB,removeListener:()=>eR,unwrapResult:()=>et});var n,r=i(3873),o=i(64195),s="NOT_FOUND",a=function(e,t){return e===t},l=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n-1){var r=i[n];return n>0&&(i.splice(n,1),i.unshift(r)),r.value}return s}return{get:n,put:function(t,r){n(t)===s&&(i.unshift({key:t,value:r}),i.length>e&&i.pop())},getEntries:function(){return i},clear:function(){i=[]}}}(u,c);function g(){var t=h.get(arguments);if(t===s){if(t=e.apply(null,arguments),d){var i=h.getEntries().find(function(e){return d(e.value,t)});i&&(t=i.value)}h.put(arguments,t)}return t}return g.clearCache=function(){return h.clear()},g});function u(e){return function(t){var i=t.dispatch,n=t.getState;return function(t){return function(r){return"function"==typeof r?r(i,n,e):t(r)}}}}var d=u();d.withExtraArgument=u,i(34406);var c=function(){var e=function(t,i){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(t,i)};return function(t,i){if("function"!=typeof i&&null!==i)throw TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=function(e,t){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]-1}function H(e){return""+e}function W(e){var t,i={},n=[],r={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(n in i)throw Error("addCase cannot be called with two reducers for the same action type");return i[n]=t,r},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),r},addDefaultCase:function(e){return t=e,r}};return e(r),[i,n,t]}function j(e,t,i,n){void 0===i&&(i=[]);var o,s="function"==typeof t?W(t):[t,i,n],a=s[0],l=s[1],u=s[2];if("function"==typeof e)o=function(){return N(e())};else{var d=N(e);o=function(){return d}}function c(e,t){void 0===e&&(e=o());var i=g([a[t.type]],l.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===i.filter(function(e){return!!e}).length&&(i=[u]),i.reduce(function(e,i){if(i){if((0,r.mv)(e)){var n=i(e,t);return void 0===n?e:n}if((0,r.o$)(e))return(0,r.ZP)(e,function(e){return i(e,t)});var n=i(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e},e)}return c.getInitialState=o,c}function z(e){var t,i=e.name;if(!i)throw Error("`name` is a required option for createSlice");var n="function"==typeof e.initialState?e.initialState:N(e.initialState),r=e.reducers||{},o=Object.keys(r),s={},a={},l={};function u(){var t="function"==typeof e.extraReducers?W(e.extraReducers):[e.extraReducers],i=t[0],r=t[1],o=void 0===r?[]:r,s=t[2],l=void 0===s?void 0:s,u=w(w({},void 0===i?{}:i),a);return j(n,function(e){for(var t in u)e.addCase(t,u[t]);for(var i=0;i0&&t.filter(function(t){var r,o,s;return(s=(o=e(r=Object.assign({},i.entities[t.id],t.changes)))!==t.id)&&(n[t.id]=o,delete i.entities[t.id]),i.entities[o]=r,s}).length>0&&(i.ids=Object.keys(i.entities))}function l(t,i){var n=q(t,e,i),o=n[0];a(n[1],i),r(o,i)}return{removeAll:(t=function(e){Object.assign(e,{ids:[],entities:{}})},i=U(function(e,i){return t(i)}),function(e){return i(e,void 0)}),addOne:U(n),addMany:U(r),setOne:U(o),setMany:U(function(e,t){e=$(e);for(var i=0,n=e;i-1;return i&&n}function es(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function ea(){for(var e=[],t=0;t0)for(var h=e.getState(),g=Array.from(i.values()),p=0;p{"use strict";function n(...e){let t=(e,t)=>i=>e(t(i));return{encode:Array.from(e).reverse().reduce((e,i)=>e?t(e,i.encode):i.encode,void 0),decode:e.reduce((e,i)=>e?t(e,i.decode):i.decode,void 0)}}function r(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let i=e.indexOf(t);if(-1===i)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return i})}}}function o(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function s(e,t,i){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(i<2)throw Error(`convertRadix: wrong to=${i}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,r=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,s=!0;for(let r=n;rh,US:()=>d});let a=(e,t)=>t?a(t,e%t):e,l=(e,t)=>e+(t-a(e,t));function u(e,t,i,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(i<=0||i>32)throw Error(`convertRadix2: wrong to=${i}`);if(l(t,i)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${i} carryBits=${l(t,i)}`);let r=0,o=0,s=2**i-1,a=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(r=r<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=i;o-=i)a.push((r>>o-i&s)>>>0);r&=2**o-1}if(r=r<=t)throw Error("Excess padding");if(!n&&r)throw Error(`Non-zero padding: ${r}`);return n&&o>0&&a.push(r>>>0),a}let d=n(function(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(l(8,e)>32||l(e,8)>32)throw Error("radix2: carry overflow");return{encode:i=>{if(!(i instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return u(Array.from(i),8,e,!t)},decode:i=>{if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(u(i,e,8,t))}}}(6),r("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),function(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;i.length*e%8;)i.push(t);return i},decode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=i.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&i[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return i.slice(0,n)}}}(6),o("")),c=n(function(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return s(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(s(t,e,256))}}}(58),r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),o("")),h=e=>n(function(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(i){if(!(i instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(i).slice(0,e),r=new Uint8Array(i.length+e);return r.set(i),r.set(n,i.length),r},decode(i){if(!(i instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=i.slice(0,-e),r=t(n).slice(0,e),o=i.slice(-e);for(let t=0;te(e(t))),c)},36237:(e,t)=>{"use strict";function i(...e){let t=(e,t)=>i=>e(t(i));return{encode:Array.from(e).reverse().reduce((e,i)=>e?t(e,i.encode):i.encode,void 0),decode:e.reduce((e,i)=>e?t(e,i.decode):i.decode,void 0)}}function n(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let i=e.indexOf(t);if(-1===i)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return i})}}}function r(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;i.length*e%8;)i.push(t);return i},decode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=i.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&i[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return i.slice(0,n)}}}function s(e){if("function"!=typeof e)throw Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function a(e,t,i){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(i<2)throw Error(`convertRadix: wrong to=${i}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,r=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,s=!0;for(let r=n;rt?l(t,e%t):e,u=(e,t)=>e+(t-l(e,t));function d(e,t,i,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(i<=0||i>32)throw Error(`convertRadix2: wrong to=${i}`);if(u(t,i)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${i} carryBits=${u(t,i)}`);let r=0,o=0,s=2**i-1,a=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(r=r<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=i;o-=i)a.push((r>>o-i&s)>>>0);r&=2**o-1}if(r=r<=t)throw Error("Excess padding");if(!n&&r)throw Error(`Non-zero padding: ${r}`);return n&&o>0&&a.push(r>>>0),a}function c(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return a(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(a(t,e,256))}}}function h(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw Error("radix2: carry overflow");return{encode:i=>{if(!(i instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return d(Array.from(i),8,e,!t)},decode:i=>{if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(d(i,e,8,t))}}}function g(e){if("function"!=typeof e)throw Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function p(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(i){if(!(i instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(i).slice(0,e),r=new Uint8Array(i.length+e);return r.set(i),r.set(n,i.length),r},decode(i){if(!(i instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=i.slice(0,-e),r=t(n).slice(0,e),o=i.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),t.base64=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),r("")),t.base64url=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),r("")),t.base64urlnopad=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),r(""));let f=e=>i(c(58),n(e),r(""));t.base58=f("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=f("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=f("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");let m=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let i="";for(let n=0;ni(p(4,t=>e(e(t))),t.base58);let v=i(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),r("")),b=[996825010,642813549,513874426,1027748829,705979059];function y(e){let t=e>>25,i=(33554431&e)<<5;for(let e=0;e>e&1)==1&&(i^=b[e]);return i}function _(e,t,i=1){let n=e.length,r=1;for(let t=0;t126)throw Error(`Invalid prefix (${e})`);r=y(r)^i>>5}r=y(r);for(let t=0;ti)throw TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${i})`);let n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw Error("String must be lowercase or uppercase");let r=(e=n).lastIndexOf("1");if(0===r||-1===r)throw Error('Letter "1" must be present between prefix and data only');let o=e.slice(0,r),s=e.slice(r+1);if(s.length<6)throw Error("Data must be at least 6 characters long");let a=v.decode(s).slice(0,-6),l=_(o,a,t);if(!s.endsWith(l))throw Error(`Invalid checksum in ${e}: expected "${l}"`);return{prefix:o,words:a}}let a=g(s);return{encode:function(e,i,n=90){if("string"!=typeof e)throw Error(`bech32.encode prefix should be string, not ${typeof e}`);if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error(`bech32.encode words should be array of numbers, not ${typeof i}`);let r=e.length+7+i.length;if(!1!==n&&r>n)throw TypeError(`Length ${r} exceeds limit ${n}`);let o=e.toLowerCase();return`${o}1${v.encode(i)}${_(o,i,t)}`},decode:s,decodeToBytes:function(e){let{prefix:t,words:i}=s(e,!1);return{prefix:t,words:i,bytes:n(i)}},decodeUnsafe:a,fromWords:n,fromWordsUnsafe:o,toWords:r}}t.bech32=w("bech32"),t.bech32m=w("bech32m"),t.utf8={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},t.hex=i(h(4),n("0123456789abcdef"),r(""),s(e=>{if("string"!=typeof e||e.length%2)throw TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));let C={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";t.bytesToString=(e,t)=>{if("string"!=typeof e||!C.hasOwnProperty(e))throw TypeError(S);if(!(t instanceof Uint8Array))throw TypeError("bytesToString() expects Uint8Array");return C[e].encode(t)},t.str=t.bytesToString,t.stringToBytes=(e,t)=>{if(!C.hasOwnProperty(e))throw TypeError(S);if("string"!=typeof t)throw TypeError("stringToBytes() expects string");return C[e].decode(t)},t.bytes=t.stringToBytes},10711:(e,t,i)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?i.g:globalThis;e.exports=function(){for(var e=[],t=0;t{"use strict";t.byteLength=function(e){var t=l(e),i=t[0],n=t[1];return(i+n)*3/4-n},t.toByteArray=function(e){var t,i,o=l(e),s=o[0],a=o[1],u=new r((s+a)*3/4-a),d=0,c=a>0?s-4:s;for(i=0;i>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===a&&(t=n[e.charCodeAt(i)]<<2|n[e.charCodeAt(i+1)]>>4,u[d++]=255&t),1===a&&(t=n[e.charCodeAt(i)]<<10|n[e.charCodeAt(i+1)]<<4|n[e.charCodeAt(i+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],s=0,a=n-r;s>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===r?o.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&o.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),o.join("")};for(var i=[],n=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var n=i===t?0:4-i%4;return[i,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},62197:function(e,t,i){!function(e,t){"use strict";function n(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function o(e,t,i){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(i=t,t=10),this._init(e||0,t||10,i||"be"))}"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:i(33196).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:void n(!1,"Invalid character in "+e)}function a(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,r){for(var o=0,s=0,a=Math.min(e.length,i),l=t;l=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},o.min=function(e,t){return 0>e.cmp(t)?e:t},o.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)o=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);return this._strip()},o.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=a(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=67108863;r*=t)n++;n--,r=r/t|0;for(var o=e.length-i,s=o%n,a=Math.min(o,o-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?""}var c,h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],o=0|t.words[0],s=r*o,a=67108863&s,l=s/67108864|0;i.words[0]=a;for(var u=1;u>>26,c=67108863&l,h=Math.min(u,t.length-1),g=Math.max(0,u-e.length+1);g<=h;g++){var p=u-g|0;d+=(s=(r=0|e.words[p])*(o=0|t.words[g])+c)/67108864|0,c=67108863&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i._strip()}o.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var i,r=0,o=0,s=0;s>>24-r&16777215,(r+=2)>=26&&(r-=26,s--),i=0!==o||s!==this.length-1?h[6-l.length]+l+i:l+i}for(0!==o&&(i=o.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=g[e],d=p[e];i="";var c=this.clone();for(c.negative=0;!c.isZero();){var f=c.modrn(d).toString(e);i=(c=c.idivn(d)).isZero()?f+i:h[u-f.length]+f+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},c&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(c,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,i){this._strip();var r=this.byteLength(),o=i||Math.max(1,r);n(r<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=e.allocUnsafe?e.allocUnsafe(o):new e(o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,r),s},o.prototype._toArrayLikeLE=function(e,t){for(var i=0,n=0,r=0,o=0;r>8&255),i>16&255),6===o?(i>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(i=0&&(e[i--]=s>>8&255),i>=0&&(e[i--]=s>>16&255),6===o?(i>=0&&(e[i--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(i>=0)for(e[i--]=n;i>=0;)e[i--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,o=0;o>>26;for(;0!==r&&o>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var o=0,s=0;s>26,this.words[s]=67108863&n;for(;0!==o&&s>26,this.words[s]=67108863&n;if(0===o&&s>>13,g=0|s[1],p=8191&g,f=g>>>13,m=0|s[2],v=8191&m,b=m>>>13,y=0|s[3],_=8191&y,w=y>>>13,C=0|s[4],S=8191&C,x=C>>>13,k=0|s[5],E=8191&k,L=k>>>13,D=0|s[6],N=8191&D,A=D>>>13,T=0|s[7],I=8191&T,M=T>>>13,R=0|s[8],P=8191&R,O=R>>>13,F=0|s[9],B=8191&F,V=F>>>13,H=0|a[0],W=8191&H,j=H>>>13,z=0|a[1],U=8191&z,$=z>>>13,q=0|a[2],K=8191&q,G=q>>>13,Z=0|a[3],Y=8191&Z,Q=Z>>>13,J=0|a[4],X=8191&J,ee=J>>>13,et=0|a[5],ei=8191&et,en=et>>>13,er=0|a[6],eo=8191&er,es=er>>>13,ea=0|a[7],el=8191&ea,eu=ea>>>13,ed=0|a[8],ec=8191&ed,eh=ed>>>13,eg=0|a[9],ep=8191&eg,ef=eg>>>13;i.negative=e.negative^t.negative,i.length=19;var em=(u+(n=Math.imul(c,W))|0)+((8191&(r=(r=Math.imul(c,j))+Math.imul(h,W)|0))<<13)|0;u=((o=Math.imul(h,j))+(r>>>13)|0)+(em>>>26)|0,em&=67108863,n=Math.imul(p,W),r=(r=Math.imul(p,j))+Math.imul(f,W)|0,o=Math.imul(f,j);var ev=(u+(n=n+Math.imul(c,U)|0)|0)+((8191&(r=(r=r+Math.imul(c,$)|0)+Math.imul(h,U)|0))<<13)|0;u=((o=o+Math.imul(h,$)|0)+(r>>>13)|0)+(ev>>>26)|0,ev&=67108863,n=Math.imul(v,W),r=(r=Math.imul(v,j))+Math.imul(b,W)|0,o=Math.imul(b,j),n=n+Math.imul(p,U)|0,r=(r=r+Math.imul(p,$)|0)+Math.imul(f,U)|0,o=o+Math.imul(f,$)|0;var eb=(u+(n=n+Math.imul(c,K)|0)|0)+((8191&(r=(r=r+Math.imul(c,G)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(r>>>13)|0)+(eb>>>26)|0,eb&=67108863,n=Math.imul(_,W),r=(r=Math.imul(_,j))+Math.imul(w,W)|0,o=Math.imul(w,j),n=n+Math.imul(v,U)|0,r=(r=r+Math.imul(v,$)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,$)|0,n=n+Math.imul(p,K)|0,r=(r=r+Math.imul(p,G)|0)+Math.imul(f,K)|0,o=o+Math.imul(f,G)|0;var ey=(u+(n=n+Math.imul(c,Y)|0)|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=67108863,n=Math.imul(S,W),r=(r=Math.imul(S,j))+Math.imul(x,W)|0,o=Math.imul(x,j),n=n+Math.imul(_,U)|0,r=(r=r+Math.imul(_,$)|0)+Math.imul(w,U)|0,o=o+Math.imul(w,$)|0,n=n+Math.imul(v,K)|0,r=(r=r+Math.imul(v,G)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,Y)|0,r=(r=r+Math.imul(p,Q)|0)+Math.imul(f,Y)|0,o=o+Math.imul(f,Q)|0;var e_=(u+(n=n+Math.imul(c,X)|0)|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(r>>>13)|0)+(e_>>>26)|0,e_&=67108863,n=Math.imul(E,W),r=(r=Math.imul(E,j))+Math.imul(L,W)|0,o=Math.imul(L,j),n=n+Math.imul(S,U)|0,r=(r=r+Math.imul(S,$)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,$)|0,n=n+Math.imul(_,K)|0,r=(r=r+Math.imul(_,G)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,n=n+Math.imul(v,Y)|0,r=(r=r+Math.imul(v,Q)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,X)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(f,X)|0,o=o+Math.imul(f,ee)|0;var ew=(u+(n=n+Math.imul(c,ei)|0)|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((o=o+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=67108863,n=Math.imul(N,W),r=(r=Math.imul(N,j))+Math.imul(A,W)|0,o=Math.imul(A,j),n=n+Math.imul(E,U)|0,r=(r=r+Math.imul(E,$)|0)+Math.imul(L,U)|0,o=o+Math.imul(L,$)|0,n=n+Math.imul(S,K)|0,r=(r=r+Math.imul(S,G)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,n=n+Math.imul(v,X)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,ei)|0,r=(r=r+Math.imul(p,en)|0)+Math.imul(f,ei)|0,o=o+Math.imul(f,en)|0;var eC=(u+(n=n+Math.imul(c,eo)|0)|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,eo)|0))<<13)|0;u=((o=o+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=67108863,n=Math.imul(I,W),r=(r=Math.imul(I,j))+Math.imul(M,W)|0,o=Math.imul(M,j),n=n+Math.imul(N,U)|0,r=(r=r+Math.imul(N,$)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,$)|0,n=n+Math.imul(E,K)|0,r=(r=r+Math.imul(E,G)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,G)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,n=n+Math.imul(_,X)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(v,ei)|0,r=(r=r+Math.imul(v,en)|0)+Math.imul(b,ei)|0,o=o+Math.imul(b,en)|0,n=n+Math.imul(p,eo)|0,r=(r=r+Math.imul(p,es)|0)+Math.imul(f,eo)|0,o=o+Math.imul(f,es)|0;var eS=(u+(n=n+Math.imul(c,el)|0)|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((o=o+Math.imul(h,eu)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=67108863,n=Math.imul(P,W),r=(r=Math.imul(P,j))+Math.imul(O,W)|0,o=Math.imul(O,j),n=n+Math.imul(I,U)|0,r=(r=r+Math.imul(I,$)|0)+Math.imul(M,U)|0,o=o+Math.imul(M,$)|0,n=n+Math.imul(N,K)|0,r=(r=r+Math.imul(N,G)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(E,Y)|0,r=(r=r+Math.imul(E,Q)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,Q)|0,n=n+Math.imul(S,X)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(w,ei)|0,o=o+Math.imul(w,en)|0,n=n+Math.imul(v,eo)|0,r=(r=r+Math.imul(v,es)|0)+Math.imul(b,eo)|0,o=o+Math.imul(b,es)|0,n=n+Math.imul(p,el)|0,r=(r=r+Math.imul(p,eu)|0)+Math.imul(f,el)|0,o=o+Math.imul(f,eu)|0;var ex=(u+(n=n+Math.imul(c,ec)|0)|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((o=o+Math.imul(h,eh)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=67108863,n=Math.imul(B,W),r=(r=Math.imul(B,j))+Math.imul(V,W)|0,o=Math.imul(V,j),n=n+Math.imul(P,U)|0,r=(r=r+Math.imul(P,$)|0)+Math.imul(O,U)|0,o=o+Math.imul(O,$)|0,n=n+Math.imul(I,K)|0,r=(r=r+Math.imul(I,G)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,n=n+Math.imul(N,Y)|0,r=(r=r+Math.imul(N,Q)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(E,X)|0,r=(r=r+Math.imul(E,ee)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,o=o+Math.imul(x,en)|0,n=n+Math.imul(_,eo)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(w,eo)|0,o=o+Math.imul(w,es)|0,n=n+Math.imul(v,el)|0,r=(r=r+Math.imul(v,eu)|0)+Math.imul(b,el)|0,o=o+Math.imul(b,eu)|0,n=n+Math.imul(p,ec)|0,r=(r=r+Math.imul(p,eh)|0)+Math.imul(f,ec)|0,o=o+Math.imul(f,eh)|0;var ek=(u+(n=n+Math.imul(c,ep)|0)|0)+((8191&(r=(r=r+Math.imul(c,ef)|0)+Math.imul(h,ep)|0))<<13)|0;u=((o=o+Math.imul(h,ef)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=67108863,n=Math.imul(B,U),r=(r=Math.imul(B,$))+Math.imul(V,U)|0,o=Math.imul(V,$),n=n+Math.imul(P,K)|0,r=(r=r+Math.imul(P,G)|0)+Math.imul(O,K)|0,o=o+Math.imul(O,G)|0,n=n+Math.imul(I,Y)|0,r=(r=r+Math.imul(I,Q)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,n=n+Math.imul(N,X)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(E,ei)|0,r=(r=r+Math.imul(E,en)|0)+Math.imul(L,ei)|0,o=o+Math.imul(L,en)|0,n=n+Math.imul(S,eo)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,eo)|0,o=o+Math.imul(x,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(w,el)|0,o=o+Math.imul(w,eu)|0,n=n+Math.imul(v,ec)|0,r=(r=r+Math.imul(v,eh)|0)+Math.imul(b,ec)|0,o=o+Math.imul(b,eh)|0;var eE=(u+(n=n+Math.imul(p,ep)|0)|0)+((8191&(r=(r=r+Math.imul(p,ef)|0)+Math.imul(f,ep)|0))<<13)|0;u=((o=o+Math.imul(f,ef)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=67108863,n=Math.imul(B,K),r=(r=Math.imul(B,G))+Math.imul(V,K)|0,o=Math.imul(V,G),n=n+Math.imul(P,Y)|0,r=(r=r+Math.imul(P,Q)|0)+Math.imul(O,Y)|0,o=o+Math.imul(O,Q)|0,n=n+Math.imul(I,X)|0,r=(r=r+Math.imul(I,ee)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,ee)|0,n=n+Math.imul(N,ei)|0,r=(r=r+Math.imul(N,en)|0)+Math.imul(A,ei)|0,o=o+Math.imul(A,en)|0,n=n+Math.imul(E,eo)|0,r=(r=r+Math.imul(E,es)|0)+Math.imul(L,eo)|0,o=o+Math.imul(L,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,o=o+Math.imul(x,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(w,ec)|0,o=o+Math.imul(w,eh)|0;var eL=(u+(n=n+Math.imul(v,ep)|0)|0)+((8191&(r=(r=r+Math.imul(v,ef)|0)+Math.imul(b,ep)|0))<<13)|0;u=((o=o+Math.imul(b,ef)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=67108863,n=Math.imul(B,Y),r=(r=Math.imul(B,Q))+Math.imul(V,Y)|0,o=Math.imul(V,Q),n=n+Math.imul(P,X)|0,r=(r=r+Math.imul(P,ee)|0)+Math.imul(O,X)|0,o=o+Math.imul(O,ee)|0,n=n+Math.imul(I,ei)|0,r=(r=r+Math.imul(I,en)|0)+Math.imul(M,ei)|0,o=o+Math.imul(M,en)|0,n=n+Math.imul(N,eo)|0,r=(r=r+Math.imul(N,es)|0)+Math.imul(A,eo)|0,o=o+Math.imul(A,es)|0,n=n+Math.imul(E,el)|0,r=(r=r+Math.imul(E,eu)|0)+Math.imul(L,el)|0,o=o+Math.imul(L,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,o=o+Math.imul(x,eh)|0;var eD=(u+(n=n+Math.imul(_,ep)|0)|0)+((8191&(r=(r=r+Math.imul(_,ef)|0)+Math.imul(w,ep)|0))<<13)|0;u=((o=o+Math.imul(w,ef)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=67108863,n=Math.imul(B,X),r=(r=Math.imul(B,ee))+Math.imul(V,X)|0,o=Math.imul(V,ee),n=n+Math.imul(P,ei)|0,r=(r=r+Math.imul(P,en)|0)+Math.imul(O,ei)|0,o=o+Math.imul(O,en)|0,n=n+Math.imul(I,eo)|0,r=(r=r+Math.imul(I,es)|0)+Math.imul(M,eo)|0,o=o+Math.imul(M,es)|0,n=n+Math.imul(N,el)|0,r=(r=r+Math.imul(N,eu)|0)+Math.imul(A,el)|0,o=o+Math.imul(A,eu)|0,n=n+Math.imul(E,ec)|0,r=(r=r+Math.imul(E,eh)|0)+Math.imul(L,ec)|0,o=o+Math.imul(L,eh)|0;var eN=(u+(n=n+Math.imul(S,ep)|0)|0)+((8191&(r=(r=r+Math.imul(S,ef)|0)+Math.imul(x,ep)|0))<<13)|0;u=((o=o+Math.imul(x,ef)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=67108863,n=Math.imul(B,ei),r=(r=Math.imul(B,en))+Math.imul(V,ei)|0,o=Math.imul(V,en),n=n+Math.imul(P,eo)|0,r=(r=r+Math.imul(P,es)|0)+Math.imul(O,eo)|0,o=o+Math.imul(O,es)|0,n=n+Math.imul(I,el)|0,r=(r=r+Math.imul(I,eu)|0)+Math.imul(M,el)|0,o=o+Math.imul(M,eu)|0,n=n+Math.imul(N,ec)|0,r=(r=r+Math.imul(N,eh)|0)+Math.imul(A,ec)|0,o=o+Math.imul(A,eh)|0;var eA=(u+(n=n+Math.imul(E,ep)|0)|0)+((8191&(r=(r=r+Math.imul(E,ef)|0)+Math.imul(L,ep)|0))<<13)|0;u=((o=o+Math.imul(L,ef)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=67108863,n=Math.imul(B,eo),r=(r=Math.imul(B,es))+Math.imul(V,eo)|0,o=Math.imul(V,es),n=n+Math.imul(P,el)|0,r=(r=r+Math.imul(P,eu)|0)+Math.imul(O,el)|0,o=o+Math.imul(O,eu)|0,n=n+Math.imul(I,ec)|0,r=(r=r+Math.imul(I,eh)|0)+Math.imul(M,ec)|0,o=o+Math.imul(M,eh)|0;var eT=(u+(n=n+Math.imul(N,ep)|0)|0)+((8191&(r=(r=r+Math.imul(N,ef)|0)+Math.imul(A,ep)|0))<<13)|0;u=((o=o+Math.imul(A,ef)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=67108863,n=Math.imul(B,el),r=(r=Math.imul(B,eu))+Math.imul(V,el)|0,o=Math.imul(V,eu),n=n+Math.imul(P,ec)|0,r=(r=r+Math.imul(P,eh)|0)+Math.imul(O,ec)|0,o=o+Math.imul(O,eh)|0;var eI=(u+(n=n+Math.imul(I,ep)|0)|0)+((8191&(r=(r=r+Math.imul(I,ef)|0)+Math.imul(M,ep)|0))<<13)|0;u=((o=o+Math.imul(M,ef)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=67108863,n=Math.imul(B,ec),r=(r=Math.imul(B,eh))+Math.imul(V,ec)|0,o=Math.imul(V,eh);var eM=(u+(n=n+Math.imul(P,ep)|0)|0)+((8191&(r=(r=r+Math.imul(P,ef)|0)+Math.imul(O,ep)|0))<<13)|0;u=((o=o+Math.imul(O,ef)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=67108863;var eR=(u+(n=Math.imul(B,ep))|0)+((8191&(r=(r=Math.imul(B,ef))+Math.imul(V,ep)|0))<<13)|0;return u=((o=Math.imul(V,ef))+(r>>>13)|0)+(eR>>>26)|0,eR&=67108863,l[0]=em,l[1]=ev,l[2]=eb,l[3]=ey,l[4]=e_,l[5]=ew,l[6]=eC,l[7]=eS,l[8]=ex,l[9]=ek,l[10]=eE,l[11]=eL,l[12]=eD,l[13]=eN,l[14]=eA,l[15]=eT,l[16]=eI,l[17]=eM,l[18]=eR,0!==u&&(l[19]=u,i.length++),i};function v(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,o=0;o>>26)|0)>>>26,s&=67108863}i.words[o]=a,n=s,s=r}return 0!==n?i.words[o]=n:i.length--,i._strip()}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):i<63?f(this,e,t):v(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=o.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,o){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,i+=(o/67108864|0)+(s>>>26),this.words[r]=67108863&s}return 0!==i&&(this.words[r]=i,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=Array(e.bitLength()),i=0;i>>r&1}return t}(e);if(0===t.length)return new o(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,o=67108863>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var r,o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==u||l>=r);l--){var d=0|this.words[l];this.words[l]=u<<26-o|d>>>o,u=d&a}return i&&0!==u&&(i.words[i.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26;return!(this.length<=i)&&!!(this.words[i]&1<=0);var t=e%26,i=(e-t)/26;return(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)?this:(0!==t&&i++,this.length=Math.min(i,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[r+i]=67108863&o}for(;r>26,this.words[r+i]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,r=0;r>26,this.words[r]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,a=0|s.words[s.length-1];0!=(n=26-this._countBits(a))&&(s=s.ushln(n),r.iushln(n),a=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new o(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*67108864+(0|r.words[s.length+c-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},o.prototype.divmod=function(e,t,i){var r,s,a;return(n(!e.isZero()),this.isZero())?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(s=a.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):(this.negative&e.negative)!=0?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),o=i.cmp(n);return o<0||1===r&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var i=67108864%e,r=0,o=this.length-1;o>=0;o--)r=(i*r+(0|this.words[o]))%e;return t?-r:r},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*i;this.words[r]=o/e|0,i=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new o(1),s=new o(0),a=new o(0),l=new o(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,g=1;(t.words[0]&g)==0&&h<26;++h,g<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var p=0,f=1;(i.words[0]&f)==0&&p<26;++p,f<<=1);if(p>0)for(i.iushrn(p);p-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(d),l.isub(c)),a.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),s.isub(l)):(i.isub(t),a.isub(r),l.isub(s))}return{a:a,b:l,gcd:i.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new o(1),a=new o(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(a)):(r.isub(i),a.isub(s))}return 0>(t=0===i.cmpn(1)?s:a).cmpn(0)&&t.iadd(e),t},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var o=t;t=i,i=o}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return(1&this.words[0])==0},o.prototype.isOdd=function(){return(1&this.words[0])==1},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return -1===this.cmpn(e)},o.prototype.lt=function(e){return -1===this.cmp(e)},o.prototype.lten=function(e){return 0>=this.cmpn(e)},o.prototype.lte=function(e){return 0>=this.cmp(e)},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n)var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},r(w,_),w.prototype.split=function(e,t){for(var i=Math.min(e.length,9),n=0;n>>22,r=o}r>>>=22,e.words[n-10]=r,0===r&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new w;else if("p224"===e)t=new C;else if("p192"===e)t=new S;else if("p25519"===e)t=new x;else throw Error("Unknown prime "+e);return y[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},k.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new o(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var a=new o(1).toRed(this),l=a.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new o(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),g=this.pow(e,r),p=s;0!==g.cmp(a);){for(var f=g,m=0;0!==f.cmp(a);m++)f=f.redSqr();n(m=0;n--){for(var u=t.words[n],d=l-1;d>=0;d--){var c=u>>d&1;if(r!==i[0]&&(r=this.sqr(r)),0===c&&0===s){a=0;continue}s<<=1,s|=c,(4==++a||0===n&&0===d)&&(r=this.mul(r,i[s]),a=0,s=0)}l=26}return r},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},r(E,k),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):0>r.cmpn(0)&&(o=r.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},48834:(e,t,i)=>{"use strict";/*! +zoo`.split("\n")},1162:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`Expected boolean, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;let n=i(1162),r=i(39473);class o extends r.Hash{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){(0,n.exists)(this);let{view:t,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let n=0;no-a&&(this.process(i,0),a=0);for(let e=a;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,o-8,BigInt(8*this.length),s),this.process(i,0);let l=(0,r.createView)(e),u=this.outputLen;if(u%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=u/4,c=this.get();if(d>c.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=s;let a=(e,t,i)=>e>>>i;t.shrSH=a;let l=(e,t,i)=>e<<32-i|t>>>i;t.shrSL=l;let u=(e,t,i)=>e>>>i|t<<32-i;t.rotrSH=u;let d=(e,t,i)=>e<<32-i|t>>>i;t.rotrSL=d;let c=(e,t,i)=>e<<64-i|t>>>i-32;t.rotrBH=c;let h=(e,t,i)=>e>>>i-32|t<<64-i;t.rotrBL=h;let g=(e,t)=>t;t.rotr32H=g;let p=(e,t)=>e;t.rotr32L=p;let f=(e,t,i)=>e<>>32-i;t.rotlSH=f;let m=(e,t,i)=>t<>>32-i;t.rotlSL=m;let v=(e,t,i)=>t<>>64-i;t.rotlBH=v;let b=(e,t,i)=>e<>>64-i;function y(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.rotlBL=b,t.add=y;let _=(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0);t.add3L=_;let w=(e,t,i,n)=>t+i+n+(e/4294967296|0)|0;t.add3H=w;let C=(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0);t.add4L=C;let S=(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0;t.add4H=S;let x=(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0);t.add5L=x;let k=(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0;t.add5H=k,t.default={fromBig:r,split:o,toBig:s,shrSH:a,shrSL:l,rotrSH:u,rotrSL:d,rotrBH:c,rotrBL:h,rotr32H:g,rotr32L:p,rotlSH:f,rotlSL:m,rotlBH:v,rotlBL:b,add:y,add3L:_,add3H:w,add4L:C,add4H:S,add5H:k,add5L:x}},7692:(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},72475:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;let n=i(1162),r=i(39473);class o extends r.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,(0,n.hash)(e);let i=(0,r.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;enew o(e,t).update(i).digest(),t.hmac.create=(e,t)=>new o(e,t)},99969:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.pbkdf2Async=t.pbkdf2=void 0;let n=i(1162),r=i(72475),o=i(39473);function s(e,t,i,s){(0,n.hash)(e);let{c:a,dkLen:l,asyncTick:u}=(0,o.checkOpts)({dkLen:32,asyncTick:10},s);if((0,n.number)(a),(0,n.number)(l),(0,n.number)(u),a<1)throw Error("PBKDF2: iterations (c) should be >= 1");let d=(0,o.toBytes)(t),c=(0,o.toBytes)(i),h=new Uint8Array(l),g=r.hmac.create(e,d),p=g._cloneInto().update(c);return{c:a,dkLen:l,asyncTick:u,DK:h,PRF:g,PRFSalt:p}}function a(e,t,i,n,r){return e.destroy(),t.destroy(),n&&n.destroy(),r.fill(0),i}async function l(e,t,i,n){let r;let{c:l,dkLen:u,asyncTick:d,DK:c,PRF:h,PRFSalt:g}=s(e,t,i,n),p=new Uint8Array(4),f=(0,o.createView)(p),m=new Uint8Array(h.outputLen);for(let e=1,t=0;t{h._cloneInto(r).update(m).digestInto(m);for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;let n=i(90156),r=i(39473),o=(e,t,i)=>e&t^~e&i,s=(e,t,i)=>e&t^e&i^t&i,a=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]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class d extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|l[0],this.B=0|l[1],this.C=0|l[2],this.D=0|l[3],this.E=0|l[4],this.F=0|l[5],this.G=0|l[6],this.H=0|l[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)u[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],i=u[e-2],n=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,o=(0,r.rotr)(i,17)^(0,r.rotr)(i,19)^i>>>10;u[e]=o+u[e-7]+n+u[e-16]|0}let{A:i,B:n,C:l,D:d,E:c,F:h,G:g,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,r.rotr)(c,6)^(0,r.rotr)(c,11)^(0,r.rotr)(c,25))+o(c,h,g)+a[e]+u[e]|0,f=((0,r.rotr)(i,2)^(0,r.rotr)(i,13)^(0,r.rotr)(i,22))+s(i,n,l)|0;p=g,g=h,h=c,c=d+t|0,d=l,l=n,n=i,i=t+f|0}i=i+this.A|0,n=n+this.B|0,l=l+this.C|0,d=d+this.D|0,c=c+this.E|0,h=h+this.F|0,g=g+this.G|0,p=p+this.H|0,this.set(i,n,l,d,c,h,g,p)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends d{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,r.wrapConstructor)(()=>new d),t.sha224=(0,r.wrapConstructor)(()=>new c)},4123:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha384=t.sha512_256=t.sha512_224=t.sha512=t.SHA512=void 0;let n=i(90156),r=i(49140),o=i(39473),[s,a]=r.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))),l=new Uint32Array(80),u=new Uint32Array(80);class d extends n.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(){let{Ah:e,Al:t,Bh:i,Bl:n,Ch:r,Cl:o,Dh:s,Dl:a,Eh:l,El:u,Fh:d,Fl:c,Gh:h,Gl:g,Hh:p,Hl:f}=this;return[e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f]}set(e,t,i,n,r,o,s,a,l,u,d,c,h,g,p,f){this.Ah=0|e,this.Al=0|t,this.Bh=0|i,this.Bl=0|n,this.Ch=0|r,this.Cl=0|o,this.Dh=0|s,this.Dl=0|a,this.Eh=0|l,this.El=0|u,this.Fh=0|d,this.Fl=0|c,this.Gh=0|h,this.Gl=0|g,this.Hh=0|p,this.Hl=0|f}process(e,t){for(let i=0;i<16;i++,t+=4)l[i]=e.getUint32(t),u[i]=e.getUint32(t+=4);for(let e=16;e<80;e++){let t=0|l[e-15],i=0|u[e-15],n=r.default.rotrSH(t,i,1)^r.default.rotrSH(t,i,8)^r.default.shrSH(t,i,7),o=r.default.rotrSL(t,i,1)^r.default.rotrSL(t,i,8)^r.default.shrSL(t,i,7),s=0|l[e-2],a=0|u[e-2],d=r.default.rotrSH(s,a,19)^r.default.rotrBH(s,a,61)^r.default.shrSH(s,a,6),c=r.default.rotrSL(s,a,19)^r.default.rotrBL(s,a,61)^r.default.shrSL(s,a,6),h=r.default.add4L(o,c,u[e-7],u[e-16]),g=r.default.add4H(h,n,d,l[e-7],l[e-16]);l[e]=0|g,u[e]=0|h}let{Ah:i,Al:n,Bh:o,Bl:d,Ch:c,Cl:h,Dh:g,Dl:p,Eh:f,El:m,Fh:v,Fl:b,Gh:y,Gl:_,Hh:w,Hl:C}=this;for(let e=0;e<80;e++){let t=r.default.rotrSH(f,m,14)^r.default.rotrSH(f,m,18)^r.default.rotrBH(f,m,41),S=r.default.rotrSL(f,m,14)^r.default.rotrSL(f,m,18)^r.default.rotrBL(f,m,41),x=f&v^~f&y,k=m&b^~m&_,E=r.default.add5L(C,S,k,a[e],u[e]),L=r.default.add5H(E,w,t,x,s[e],l[e]),D=0|E,N=r.default.rotrSH(i,n,28)^r.default.rotrBH(i,n,34)^r.default.rotrBH(i,n,39),A=r.default.rotrSL(i,n,28)^r.default.rotrBL(i,n,34)^r.default.rotrBL(i,n,39),T=i&o^i&c^o&c,I=n&d^n&h^d&h;w=0|y,C=0|_,y=0|v,_=0|b,v=0|f,b=0|m,({h:f,l:m}=r.default.add(0|g,0|p,0|L,0|D)),g=0|c,p=0|h,c=0|o,h=0|d,o=0|i,d=0|n;let M=r.default.add3L(D,A,I);i=r.default.add3H(M,L,N,T),n=0|M}({h:i,l:n}=r.default.add(0|this.Ah,0|this.Al,0|i,0|n)),({h:o,l:d}=r.default.add(0|this.Bh,0|this.Bl,0|o,0|d)),({h:c,l:h}=r.default.add(0|this.Ch,0|this.Cl,0|c,0|h)),({h:g,l:p}=r.default.add(0|this.Dh,0|this.Dl,0|g,0|p)),({h:f,l:m}=r.default.add(0|this.Eh,0|this.El,0|f,0|m)),({h:v,l:b}=r.default.add(0|this.Fh,0|this.Fl,0|v,0|b)),({h:y,l:_}=r.default.add(0|this.Gh,0|this.Gl,0|y,0|_)),({h:w,l:C}=r.default.add(0|this.Hh,0|this.Hl,0|w,0|C)),this.set(i,n,o,d,c,h,g,p,f,m,v,b,y,_,w,C)}roundClean(){l.fill(0),u.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=d;class c extends d{constructor(){super(),this.Ah=-1942145080,this.Al=424955298,this.Bh=1944164710,this.Bl=-1982016298,this.Ch=502970286,this.Cl=855612546,this.Dh=1738396948,this.Dl=1479516111,this.Eh=258812777,this.El=2077511080,this.Fh=2011393907,this.Fl=79989058,this.Gh=1067287976,this.Gl=1780299464,this.Hh=286451373,this.Hl=-1848208735,this.outputLen=28}}class h extends d{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 g extends d{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,o.wrapConstructor)(()=>new d),t.sha512_224=(0,o.wrapConstructor)(()=>new c),t.sha512_256=(0,o.wrapConstructor)(()=>new h),t.sha384=(0,o.wrapConstructor)(()=>new g)},39473:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=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;let n=i(7692),r=e=>e instanceof Uint8Array;if(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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw Error("Non little-endian hardware is not supported");let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));t.bytesToHex=function(e){if(!r(e))throw Error("Uint8Array expected");let t="";for(let i=0;i{};async function a(e,i,n){let r=Date.now();for(let o=0;o=0&&ee+t.length,0)),i=0;return e.forEach(e=>{if(!r(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t},t.Hash=class{clone(){return this._cloneInto()}};let d={}.toString;t.checkOpts=function(e,t){if(void 0!==t&&"[object Object]"!==d.call(t))throw Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){let t=t=>e().update(u(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},50654:(e,t,i)=>{"use strict";i.d(t,{D:()=>n});class n extends TypeError{constructor(e,t){let i;let{message:n,explanation:r,...o}=e,{path:s}=e,a=0===s.length?n:`At path: ${s.join(".")} -- ${n}`;super(r??a),null!=r&&(this.cause=a),Object.assign(this,o),this.name=this.constructor.name,this.failures=()=>i??(i=[e,...t()])}}},25475:(e,t,i)=>{"use strict";i.r(t),i.d(t,{Struct:()=>r.AU,StructError:()=>n.D,any:()=>a.Yj,array:()=>a.IX,assert:()=>r.hu,assign:()=>l.f0,bigint:()=>a.Kv,boolean:()=>a.O7,coerce:()=>o.oQ,create:()=>r.Ue,date:()=>a.hT,defaulted:()=>o.uT,define:()=>l.Ou,deprecated:()=>l.x9,dynamic:()=>l.D8,empty:()=>s.cS,enums:()=>a.kE,func:()=>a.Yl,instance:()=>a.eE,integer:()=>a._L,intersection:()=>a.jV,is:()=>r.is,lazy:()=>l.Vo,literal:()=>a.i0,map:()=>a.UI,mask:()=>r.sS,max:()=>s.Fp,min:()=>s.VV,never:()=>a.Fi,nonempty:()=>s.PV,nullable:()=>a.AG,number:()=>a.Rx,object:()=>a.Ry,omit:()=>l.CE,optional:()=>a.jt,partial:()=>l.r$,pattern:()=>s.uj,pick:()=>l.ei,record:()=>a.IM,refine:()=>s.lF,regexp:()=>a.kd,set:()=>a.t8,size:()=>s.dp,string:()=>a.Z_,trimmed:()=>o.De,tuple:()=>a.bc,type:()=>a.dt,union:()=>a.G0,unknown:()=>a._4,validate:()=>r.Gu});var n=i(50654),r=i(15357),o=i(18237),s=i(24060),a=i(54310),l=i(72940)},15357:(e,t,i)=>{"use strict";i.d(t,{AU:()=>o,Gu:()=>d,Ue:()=>a,hu:()=>s,is:()=>u,sS:()=>l});var n=i(50654),r=i(89846);class o{constructor(e){let{type:t,schema:i,validator:n,refiner:o,coercer:s=e=>e,entries:a=function*(){}}=e;this.type=t,this.schema=i,this.entries=a,this.coercer=s,n?this.validator=(e,t)=>{let i=n(e,t);return(0,r.fm)(i,t,this,e)}:this.validator=()=>[],o?this.refiner=(e,t)=>{let i=o(e,t);return(0,r.fm)(i,t,this,e)}:this.refiner=()=>[]}assert(e,t){return s(e,this,t)}create(e,t){return a(e,this,t)}is(e){return u(e,this)}mask(e,t){return l(e,this,t)}validate(e,t={}){return d(e,this,t)}}function s(e,t,i){let n=d(e,t,{message:i});if(n[0])throw n[0]}function a(e,t,i){let n=d(e,t,{coerce:!0,message:i});if(!n[0])return n[1];throw n[0]}function l(e,t,i){let n=d(e,t,{coerce:!0,mask:!0,message:i});if(!n[0])return n[1];throw n[0]}function u(e,t){return!d(e,t)[0]}function d(e,t,i={}){let o=(0,r.KH)(e,t,i),s=(0,r.QA)(o);return s[0]?[new n.D(s[0],function*(){for(let e of o)e[0]&&(yield e[0])}),void 0]:[void 0,s[1]]}},18237:(e,t,i)=>{"use strict";i.d(t,{De:()=>l,oQ:()=>s,uT:()=>a});var n=i(15357),r=i(89846),o=i(54310);function s(e,t,i){return new n.AU({...e,coercer:(r,o)=>(0,n.is)(r,t)?e.coercer(i(r,o),o):e.coercer(r,o)})}function a(e,t,i={}){return s(e,(0,o._4)(),e=>{let n="function"==typeof t?t():t;if(void 0===e)return n;if(!i.strict&&(0,r.PO)(e)&&(0,r.PO)(n)){let t={...e},i=!1;for(let e in n)void 0===t[e]&&(t[e]=n[e],i=!0);if(i)return t}return e})}function l(e){return s(e,(0,o.Z_)(),e=>e.trim())}},24060:(e,t,i)=>{"use strict";i.d(t,{Fp:()=>a,PV:()=>u,VV:()=>l,cS:()=>o,dp:()=>c,lF:()=>h,uj:()=>d});var n=i(15357),r=i(89846);function o(e){return h(e,"empty",t=>{let i=s(t);return 0===i||`Expected an empty ${e.type} but received one with a size of \`${i}\``})}function s(e){return e instanceof Map||e instanceof Set?e.size:e.length}function a(e,t,i={}){let{exclusive:n}=i;return h(e,"max",i=>n?in?i>t:i>=t||`Expected a ${e.type} greater than ${n?"":"or equal to "}${t} but received \`${i}\``)}function u(e){return h(e,"nonempty",t=>s(t)>0||`Expected a nonempty ${e.type} but received an empty one`)}function d(e,t){return h(e,"pattern",i=>t.test(i)||`Expected a ${e.type} matching \`/${t.source}/\` but received "${i}"`)}function c(e,t,i=t){let n=`Expected a ${e.type}`,r=t===i?`of \`${t}\``:`between \`${t}\` and \`${i}\``;return h(e,"size",e=>{if("number"==typeof e||e instanceof Date)return t<=e&&e<=i||`${n} ${r} but received \`${e}\``;if(e instanceof Map||e instanceof Set){let{size:o}=e;return t<=o&&o<=i||`${n} with a size ${r} but received one with a size of \`${o}\``}let{length:o}=e;return t<=o&&o<=i||`${n} with a length ${r} but received one with a length of \`${o}\``})}function h(e,t,i){return new n.AU({...e,*refiner(n,o){yield*e.refiner(n,o);let s=i(n,o);for(let i of(0,r.fm)(s,o,e,n))yield{...i,refinement:t}}})}},54310:(e,t,i)=>{"use strict";i.d(t,{AG:()=>y,Fi:()=>b,G0:()=>N,IM:()=>S,IX:()=>a,Kv:()=>l,O7:()=>u,Rx:()=>_,Ry:()=>w,UI:()=>v,Yj:()=>s,Yl:()=>h,Z_:()=>E,_4:()=>A,_L:()=>p,bc:()=>L,dt:()=>D,eE:()=>g,hT:()=>d,i0:()=>m,jV:()=>f,jt:()=>C,kE:()=>c,kd:()=>x,t8:()=>k});var n=i(15357),r=i(89846),o=i(72940);function s(){return(0,o.Ou)("any",()=>!0)}function a(e){return new n.AU({type:"array",schema:e,*entries(t){if(e&&Array.isArray(t))for(let[i,n]of t.entries())yield[i,n,e]},coercer:e=>Array.isArray(e)?e.slice():e,validator:e=>Array.isArray(e)||`Expected an array value, but received: ${(0,r.S0)(e)}`})}function l(){return(0,o.Ou)("bigint",e=>"bigint"==typeof e)}function u(){return(0,o.Ou)("boolean",e=>"boolean"==typeof e)}function d(){return(0,o.Ou)("date",e=>e instanceof Date&&!isNaN(e.getTime())||`Expected a valid \`Date\` object, but received: ${(0,r.S0)(e)}`)}function c(e){let t={},i=e.map(e=>(0,r.S0)(e)).join();for(let i of e)t[i]=i;return new n.AU({type:"enums",schema:t,validator:t=>e.includes(t)||`Expected one of \`${i}\`, but received: ${(0,r.S0)(t)}`})}function h(){return(0,o.Ou)("func",e=>"function"==typeof e||`Expected a function, but received: ${(0,r.S0)(e)}`)}function g(e){return(0,o.Ou)("instance",t=>t instanceof e||`Expected a \`${e.name}\` instance, but received: ${(0,r.S0)(t)}`)}function p(){return(0,o.Ou)("integer",e=>"number"==typeof e&&!isNaN(e)&&Number.isInteger(e)||`Expected an integer, but received: ${(0,r.S0)(e)}`)}function f(e){return new n.AU({type:"intersection",schema:null,*entries(t,i){for(let{entries:n}of e)yield*n(t,i)},*validator(t,i){for(let{validator:n}of e)yield*n(t,i)},*refiner(t,i){for(let{refiner:n}of e)yield*n(t,i)}})}function m(e){let t=(0,r.S0)(e),i=typeof e;return new n.AU({type:"literal",schema:"string"===i||"number"===i||"boolean"===i?e:null,validator:i=>i===e||`Expected the literal \`${t}\`, but received: ${(0,r.S0)(i)}`})}function v(e,t){return new n.AU({type:"map",schema:null,*entries(i){if(e&&t&&i instanceof Map)for(let[n,r]of i.entries())yield[n,n,e],yield[n,r,t]},coercer:e=>e instanceof Map?new Map(e):e,validator:e=>e instanceof Map||`Expected a \`Map\` object, but received: ${(0,r.S0)(e)}`})}function b(){return(0,o.Ou)("never",()=>!1)}function y(e){return new n.AU({...e,validator:(t,i)=>null===t||e.validator(t,i),refiner:(t,i)=>null===t||e.refiner(t,i)})}function _(){return(0,o.Ou)("number",e=>"number"==typeof e&&!isNaN(e)||`Expected a number, but received: ${(0,r.S0)(e)}`)}function w(e){let t=e?Object.keys(e):[],i=b();return new n.AU({type:"object",schema:e??null,*entries(n){if(e&&(0,r.Kn)(n)){let r=new Set(Object.keys(n));for(let i of t)r.delete(i),yield[i,n[i],e[i]];for(let e of r)yield[e,n[e],i]}},validator:e=>(0,r.Kn)(e)||`Expected an object, but received: ${(0,r.S0)(e)}`,coercer:e=>(0,r.Kn)(e)?{...e}:e})}function C(e){return new n.AU({...e,validator:(t,i)=>void 0===t||e.validator(t,i),refiner:(t,i)=>void 0===t||e.refiner(t,i)})}function S(e,t){return new n.AU({type:"record",schema:null,*entries(i){if((0,r.Kn)(i))for(let n in i){let r=i[n];yield[n,n,e],yield[n,r,t]}},validator:e=>(0,r.Kn)(e)||`Expected an object, but received: ${(0,r.S0)(e)}`})}function x(){return(0,o.Ou)("regexp",e=>e instanceof RegExp)}function k(e){return new n.AU({type:"set",schema:null,*entries(t){if(e&&t instanceof Set)for(let i of t)yield[i,i,e]},coercer:e=>e instanceof Set?new Set(e):e,validator:e=>e instanceof Set||`Expected a \`Set\` object, but received: ${(0,r.S0)(e)}`})}function E(){return(0,o.Ou)("string",e=>"string"==typeof e||`Expected a string, but received: ${(0,r.S0)(e)}`)}function L(e){let t=b();return new n.AU({type:"tuple",schema:null,*entries(i){if(Array.isArray(i)){let n=Math.max(e.length,i.length);for(let r=0;rArray.isArray(e)||`Expected an array, but received: ${(0,r.S0)(e)}`})}function D(e){let t=Object.keys(e);return new n.AU({type:"type",schema:e,*entries(i){if((0,r.Kn)(i))for(let n of t)yield[n,i[n],e[n]]},validator:e=>(0,r.Kn)(e)||`Expected an object, but received: ${(0,r.S0)(e)}`,coercer:e=>(0,r.Kn)(e)?{...e}:e})}function N(e){let t=e.map(e=>e.type).join(" | ");return new n.AU({type:"union",schema:null,coercer(t){for(let i of e){let[e,n]=i.validate(t,{coerce:!0});if(!e)return n}return t},validator(i,n){let o=[];for(let t of e){let[...e]=(0,r.KH)(i,t,n),[s]=e;if(!s?.[0])return[];for(let[t]of e)t&&o.push(t)}return[`Expected the value to satisfy a union of \`${t}\`, but received: ${(0,r.S0)(i)}`,...o]}})}function A(){return(0,o.Ou)("unknown",()=>!0)}},72940:(e,t,i)=>{"use strict";i.d(t,{CE:()=>d,D8:()=>l,Ou:()=>s,Vo:()=>u,ei:()=>h,f0:()=>o,r$:()=>c,x9:()=>a});var n=i(15357),r=i(54310);function o(...e){let t=e[0]?.type==="type",i=Object.assign({},...e.map(({schema:e})=>e));return t?(0,r.dt)(i):(0,r.Ry)(i)}function s(e,t){return new n.AU({type:e,schema:null,validator:t})}function a(e,t){return new n.AU({...e,refiner:(t,i)=>void 0===t||e.refiner(t,i),validator:(i,n)=>void 0===i||(t(i,n),e.validator(i,n))})}function l(e){return new n.AU({type:"dynamic",schema:null,*entries(t,i){let n=e(t,i);yield*n.entries(t,i)},validator:(t,i)=>e(t,i).validator(t,i),coercer:(t,i)=>e(t,i).coercer(t,i),refiner:(t,i)=>e(t,i).refiner(t,i)})}function u(e){let t;return new n.AU({type:"lazy",schema:null,*entries(i,n){t??(t=e()),yield*t.entries(i,n)},validator:(i,n)=>(t??(t=e()),t.validator(i,n)),coercer:(i,n)=>(t??(t=e()),t.coercer(i,n)),refiner:(i,n)=>(t??(t=e()),t.refiner(i,n))})}function d(e,t){let{schema:i}=e,n={...i};for(let e of t)delete n[e];return"type"===e.type?(0,r.dt)(n):(0,r.Ry)(n)}function c(e){let t=e instanceof n.AU,i=t?{...e.schema}:{...e};for(let e in i)i[e]=(0,r.jt)(i[e]);return t&&"type"===e.type?(0,r.dt)(i):(0,r.Ry)(i)}function h(e,t){let{schema:i}=e,n={};for(let e of t)n[e]=i[e];return"type"===e.type?(0,r.dt)(n):(0,r.Ry)(n)}},89846:(e,t,i)=>{"use strict";function n(e){return"object"==typeof e&&null!==e}function r(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function o(e){return"symbol"==typeof e?e.toString():"string"==typeof e?JSON.stringify(e):`${e}`}function s(e){let{done:t,value:i}=e.next();return t?void 0:i}function*a(e,t,i,r){var s;for(let a of(n(s=e)&&"function"==typeof s[Symbol.iterator]||(e=[e]),e)){let e=function(e,t,i,n){if(!0===e)return;!1===e?e={}:"string"==typeof e&&(e={message:e});let{path:r,branch:s}=t,{type:a}=i,{refinement:l,message:u=`Expected a value of type \`${a}\`${l?` with refinement \`${l}\``:""}, but received: \`${o(n)}\``}=e;return{value:n,type:a,refinement:l,key:r[r.length-1],path:r,branch:s,...e,message:u}}(a,t,i,r);e&&(yield e)}}i.d(t,{KH:()=>function* e(t,i,r={}){let{path:o=[],branch:s=[t],coerce:a=!1,mask:l=!1}=r,u={path:o,branch:s};if(a&&(t=i.coercer(t,u),l&&"type"!==i.type&&n(i.schema)&&n(t)&&!Array.isArray(t)))for(let e in t)void 0===i.schema[e]&&delete t[e];let d="valid";for(let e of i.validator(t,u))e.explanation=r.message,d="not_valid",yield[e,void 0];for(let[c,h,g]of i.entries(t,u))for(let i of e(h,g,{path:void 0===c?o:[...o,c],branch:void 0===c?s:[...s,h],coerce:a,mask:l,message:r.message}))i[0]?(d=null===i[0].refinement||void 0===i[0].refinement?"not_valid":"not_refined",yield[i[0],void 0]):a&&(h=i[1],void 0===c?t=h:t instanceof Map?t.set(c,h):t instanceof Set?t.add(h):n(t)&&(void 0!==h||c in t)&&(t[c]=h));if("not_valid"!==d)for(let e of i.refiner(t,u))e.explanation=r.message,d="not_refined",yield[e,void 0];"valid"===d&&(yield[void 0,t])},Kn:()=>n,PO:()=>r,QA:()=>s,S0:()=>o,fm:()=>a})},12343:(e,t,i)=>{"use strict";i.d(t,{bH:()=>l,hu:()=>a,nt:()=>u,ps:()=>s});var n=i(15357),r=i(11816);function o(e,t){return"string"==typeof e?.prototype?.constructor?.name?new e({message:t}):e({message:t})}class s extends Error{constructor(e){super(e.message),this.code="ERR_ASSERTION"}}function a(e,t="Assertion failed.",i=s){if(!e){if(t instanceof Error)throw t;throw o(i,t)}}function l(e,t,i="Assertion failed",a=s){try{(0,n.hu)(e,t)}catch(e){throw o(a,`${i}: ${(0,r.e$)(e).replace(/\.$/u,"")}.`)}}function u(e){throw Error("Invalid branch reached. Should be detected during compilation.")}},30376:(e,t,i)=>{"use strict";i.d(t,{Fm:()=>C,J2:()=>f,K9:()=>w,Vp:()=>x,XK:()=>h,Yc:()=>b,_t:()=>l,be:()=>u,ci:()=>d,d3:()=>p,eV:()=>S,hL:()=>y,jk:()=>v,nr:()=>m,qX:()=>_,tm:()=>g,v3:()=>c});var n=i(25814),r=i(12343),o=i(90476),s=i(48834).Buffer;let a=function(){let e=[];return()=>{if(0===e.length)for(let t=0;t<256;t++)e.push(t.toString(16).padStart(2,"0"));return e}}();function l(e){return e instanceof Uint8Array}function u(e){(0,r.hu)(l(e),"Value must be a Uint8Array.")}function d(e){if(u(e),0===e.length)return"0x";let t=a(),i=Array(e.length);for(let n=0;n=BigInt(0),"Value must be a non-negative bigint."),m(e.toString(16))}function b(e,t){let i;(0,r.hu)("bigint"==typeof e,"Value must be a bigint."),(0,r.hu)("number"==typeof t,"Byte length must be a number."),(0,r.hu)(t>0,"Byte length must be greater than 0."),(0,r.hu)(((0,r.hu)(t>0),i=e>>BigInt(31),!((~e&i)+(e&~i)>>BigInt(8*t+-1))),"Byte length is too small to represent the given value.");let n=e,o=new Uint8Array(t);for(let e=0;e>=BigInt(8);return o.reverse()}function y(e){return(0,r.hu)("number"==typeof e,"Value must be a number."),(0,r.hu)(e>=0,"Value must be a non-negative number."),(0,r.hu)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToBytes` instead."),m(e.toString(16))}function _(e){return(0,r.hu)("string"==typeof e,"Value must be a string."),new TextEncoder().encode(e)}function w(e){return(0,r.hu)("string"==typeof e,"Value must be a string."),n.US.decode(e)}function C(e){if("bigint"==typeof e)return v(e);if("number"==typeof e)return y(e);if("string"==typeof e)return e.startsWith("0x")?m(e):_(e);if(l(e))return e;throw TypeError(`Unsupported value type: "${typeof e}".`)}function S(e){let t=Array(e.length),i=0;for(let n=0;n{"use strict";i.d(t,{e$:()=>l,lP:()=>o,Mk:()=>s,Uh:()=>a,Jn:()=>u});class n extends Error{constructor(e,{cause:t}={}){super(e),this.name=n.name,t&&(this.cause=t),this.message=e}}var r=i(2503);function o(e){return"object"==typeof e&&null!==e&&"code"in e}function s(e){return"object"==typeof e&&null!==e&&"message"in e}function a(e){return"object"==typeof e&&null!==e&&"stack"in e}function l(e){return s(e)&&"string"==typeof e.message?e.message:(0,r.le)(e)?"":String(e)}function u(e,t){if(e instanceof Error||(0,r.Kn)(e)&&"Error"===e.constructor.name){let i;return i=2===Error.length?Error(t,{cause:e}):new n(t,{cause:e}),o(e)&&(i.code=e.code),i}return t.length>0?Error(`${String(e)}: ${t}`):Error(String(e))}},90476:(e,t,i)=>{"use strict";i.d(t,{A7:()=>g,BG:()=>w,DY:()=>b,EZ:()=>f,JV:()=>h,Nb:()=>d,Pv:()=>v,Xn:()=>_,aX:()=>c,cM:()=>p,jF:()=>u,oM:()=>m,yG:()=>y});var n=i(24060),r=i(54310),o=i(15357),s=i(91374),a=i(12343),l=i(30376);let u=(0,n.uj)((0,r.Z_)(),/^(?:0x)?[0-9a-f]+$/iu),d=(0,n.uj)((0,r.Z_)(),/^0x[0-9a-f]+$/iu),c=(0,n.uj)((0,r.Z_)(),/^0x[0-9a-f]{40}$/u),h=(0,n.uj)((0,r.Z_)(),/^0x[0-9a-fA-F]{40}$/u);function g(e){return(0,o.is)(e,u)}function p(e){return(0,o.is)(e,d)}function f(e){(0,a.hu)(g(e),"Value must be a hexadecimal string.")}function m(e){(0,a.hu)(p(e),'Value must be a hexadecimal string, starting with "0x".')}function v(e){return(0,o.is)(e,c)||y(e)}function b(e){(0,a.hu)((0,o.is)(e,h),"Invalid hex address.");let t=w(e.toLowerCase()),i=w((0,l.ci)((0,s.fr)(t)));return`0x${t.split("").map((e,t)=>{let n=i[t];return(0,a.hu)((0,o.is)(n,(0,r.Z_)()),"Hash shorter than address."),parseInt(n,16)>7?e.toUpperCase():e}).join("")}`}function y(e){return!!(0,o.is)(e,h)&&b(e)===e}function _(e){return e.startsWith("0x")?e:e.startsWith("0X")?`0x${e.substring(2)}`:`0x${e}`}function w(e){return e.startsWith("0x")||e.startsWith("0X")?e.substring(2):e}},12338:(e,t,i)=>{"use strict";i.r(t),i.d(t,{AssertionError:()=>a.ps,CAIP_ACCOUNT_ADDRESS_REGEX:()=>v,CAIP_ACCOUNT_ID_REGEX:()=>m,CAIP_CHAIN_ID_REGEX:()=>g,CAIP_NAMESPACE_REGEX:()=>p,CAIP_REFERENCE_REGEX:()=>f,CaipAccountAddressStruct:()=>C,CaipAccountIdStruct:()=>w,CaipChainIdStruct:()=>b,CaipNamespaceStruct:()=>y,CaipReferenceStruct:()=>_,ChecksumStruct:()=>T,Duration:()=>s,ESCAPE_CHARACTERS_REGEXP:()=>ee.l6,FrozenMap:()=>q,FrozenSet:()=>K,HexAddressStruct:()=>O.aX,HexChecksumAddressStruct:()=>O.JV,HexStruct:()=>O.jF,JsonRpcErrorStruct:()=>Z.je,JsonRpcFailureStruct:()=>Z.p7,JsonRpcIdStruct:()=>Z.MC,JsonRpcNotificationStruct:()=>Z.hI,JsonRpcParamsStruct:()=>Z.nR,JsonRpcRequestStruct:()=>Z.if,JsonRpcResponseStruct:()=>Z.lW,JsonRpcSuccessStruct:()=>Z.SR,JsonRpcVersionStruct:()=>Z.AB,JsonSize:()=>ee.sw,JsonStruct:()=>Z.MH,KnownCaipNamespace:()=>n,PendingJsonRpcResponseStruct:()=>Z.Fd,StrictHexStruct:()=>O.Nb,UnsafeJsonStruct:()=>Z.M9,VersionRangeStruct:()=>ep,VersionStruct:()=>eg,add0x:()=>O.Xn,assert:()=>a.hu,assertExhaustive:()=>a.nt,assertIsBytes:()=>d.be,assertIsHexString:()=>O.EZ,assertIsJsonRpcError:()=>Z.a5,assertIsJsonRpcFailure:()=>Z.Rn,assertIsJsonRpcNotification:()=>Z.Qj,assertIsJsonRpcRequest:()=>Z.Qq,assertIsJsonRpcResponse:()=>Z.vQ,assertIsJsonRpcSuccess:()=>Z.Z3,assertIsPendingJsonRpcResponse:()=>Z.jU,assertIsSemVerRange:()=>eb,assertIsSemVerVersion:()=>ev,assertIsStrictHexString:()=>O.oM,assertStruct:()=>a.bH,base64:()=>u,base64ToBytes:()=>d.K9,bigIntToBytes:()=>d.jk,bigIntToHex:()=>et.Z4,bytesToBase64:()=>d.J2,bytesToBigInt:()=>d.v3,bytesToHex:()=>d.ci,bytesToNumber:()=>d.tm,bytesToSignedBigInt:()=>d.XK,bytesToString:()=>d.d3,calculateNumberSize:()=>ee.iP,calculateStringSize:()=>ee.qy,concatBytes:()=>d.eV,createBigInt:()=>j,createBytes:()=>W,createDataView:()=>d.Vp,createDeferredPromise:()=>ei,createHex:()=>z,createModuleLogger:()=>X,createNumber:()=>H,createProjectLogger:()=>J,exactOptional:()=>Z.m0,getChecksumAddress:()=>O.DY,getErrorMessage:()=>G.e$,getJsonRpcIdValidator:()=>Z.Ij,getJsonSize:()=>Z.W3,getKnownPropertyNames:()=>ee.hK,getSafeJson:()=>Z.vp,gtRange:()=>e_,gtVersion:()=>ey,hasProperty:()=>ee.l$,hexToBigInt:()=>et.y_,hexToBytes:()=>d.nr,hexToNumber:()=>et.ly,inMilliseconds:()=>eo,isASCII:()=>ee.FQ,isBytes:()=>d._t,isCaipAccountAddress:()=>L,isCaipAccountId:()=>E,isCaipChainId:()=>S,isCaipNamespace:()=>x,isCaipReference:()=>k,isErrorWithCode:()=>G.lP,isErrorWithMessage:()=>G.Mk,isErrorWithStack:()=>G.Uh,isHexString:()=>O.A7,isJsonRpcError:()=>Z.jg,isJsonRpcFailure:()=>Z.Aj,isJsonRpcNotification:()=>Z.LQ,isJsonRpcRequest:()=>Z.DW,isJsonRpcResponse:()=>Z.u,isJsonRpcSuccess:()=>Z.om,isNonEmptyArray:()=>ee.Of,isNullOrUndefined:()=>ee.le,isObject:()=>ee.Kn,isPendingJsonRpcResponse:()=>Z.CR,isPlainObject:()=>ee.PO,isStrictHexString:()=>O.cM,isValidChecksumAddress:()=>O.yG,isValidHexAddress:()=>O.Pv,isValidJson:()=>Z.Vx,isValidSemVerRange:()=>em,isValidSemVerVersion:()=>ef,jsonrpc2:()=>Z.XO,numberToBytes:()=>d.hL,numberToHex:()=>et.eC,object:()=>Z.Ry,parseCaipAccountId:()=>N,parseCaipChainId:()=>D,remove0x:()=>O.BG,satisfiesVersionRange:()=>ew,signedBigIntToBytes:()=>d.Yc,stringToBytes:()=>d.qX,timeSince:()=>es,toCaipChainId:()=>A,valueToBytes:()=>d.Fm,wrapError:()=>G.Jn});var n,r,o,s,a=i(12343),l=i(24060);let u=(e,t={})=>{let i,n;let r=t.paddingRequired??!1,o=t.characterSet??"base64";return"base64"===o?i=String.raw`[A-Za-z0-9+\/]`:((0,a.hu)("base64url"===o),i=String.raw`[-_A-Za-z0-9]`),n=r?RegExp(`^(?:${i}{4})*(?:${i}{3}=|${i}{2}==)?$`,"u"):RegExp(`^(?:${i}{4})*(?:${i}{2,3}|${i}{3}=|${i}{2}==)?$`,"u"),(0,l.uj)(e,n)};var d=i(30376),c=i(54310),h=i(15357);let g=/^(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})$/u,p=/^[-a-z0-9]{3,8}$/u,f=/^[-_a-zA-Z0-9]{1,32}$/u,m=/^(?(?[-a-z0-9]{3,8}):(?[-_a-zA-Z0-9]{1,32})):(?[-.%a-zA-Z0-9]{1,128})$/u,v=/^[-.%a-zA-Z0-9]{1,128}$/u,b=(0,l.uj)((0,c.Z_)(),g),y=(0,l.uj)((0,c.Z_)(),p),_=(0,l.uj)((0,c.Z_)(),f),w=(0,l.uj)((0,c.Z_)(),m),C=(0,l.uj)((0,c.Z_)(),v);function S(e){return(0,h.is)(e,b)}function x(e){return(0,h.is)(e,y)}function k(e){return(0,h.is)(e,_)}function E(e){return(0,h.is)(e,w)}function L(e){return(0,h.is)(e,C)}function D(e){let t=g.exec(e);if(!t?.groups)throw Error("Invalid CAIP chain ID.");return{namespace:t.groups.namespace,reference:t.groups.reference}}function N(e){let t=m.exec(e);if(!t?.groups)throw Error("Invalid CAIP account ID.");return{address:t.groups.accountAddress,chainId:t.groups.chainId,chain:{namespace:t.groups.namespace,reference:t.groups.reference}}}function A(e,t){if(!x(e))throw Error(`Invalid "namespace", must match: ${p.toString()}`);if(!k(t))throw Error(`Invalid "reference", must match: ${f.toString()}`);return`${e}:${t}`}(n=n||(n={})).Eip155="eip155";let T=(0,l.dp)(u((0,c.Z_)(),{paddingRequired:!0}),44,44);var I=i(18237),M=i(50654),O=i(90476);let P=(0,c.G0)([(0,c.Rx)(),(0,c.Kv)(),(0,c.Z_)(),O.Nb]),R=(0,I.oQ)((0,c.Rx)(),P,Number),F=(0,I.oQ)((0,c.Kv)(),P,BigInt);(0,c.G0)([O.Nb,(0,c.eE)(Uint8Array)]);let B=(0,I.oQ)((0,c.eE)(Uint8Array),(0,c.G0)([O.Nb]),d.nr),V=(0,I.oQ)(O.Nb,(0,c.eE)(Uint8Array),d.ci);function H(e){try{let t=(0,h.Ue)(e,R);return(0,a.hu)(Number.isFinite(t),`Expected a number-like value, got "${e}".`),t}catch(t){if(t instanceof M.D)throw Error(`Expected a number-like value, got "${e}".`);throw t}}function j(e){try{return(0,h.Ue)(e,F)}catch(e){if(e instanceof M.D)throw Error(`Expected a number-like value, got "${String(e.value)}".`);throw e}}function W(e){if("string"==typeof e&&"0x"===e.toLowerCase())return new Uint8Array;try{return(0,h.Ue)(e,B)}catch(e){if(e instanceof M.D)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}function z(e){if(e instanceof Uint8Array&&0===e.length||"string"==typeof e&&"0x"===e.toLowerCase())return"0x";try{return(0,h.Ue)(e,V)}catch(e){if(e instanceof M.D)throw Error(`Expected a bytes-like value, got "${String(e.value)}".`);throw e}}var U=function(e,t,i,n){if("a"===i&&!n)throw TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)},$=function(e,t,i,n,r){if("m"===n)throw TypeError("Private method is not writable");if("a"===n&&!r)throw TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!r:!t.has(e))throw TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?r.call(e,i):r?r.value=i:t.set(e,i),i};class q{get size(){return U(this,r,"f").size}[(r=new WeakMap,Symbol.iterator)](){return U(this,r,"f")[Symbol.iterator]()}constructor(e){r.set(this,void 0),$(this,r,new Map(e),"f"),Object.freeze(this)}entries(){return U(this,r,"f").entries()}forEach(e,t){return U(this,r,"f").forEach((i,n,r)=>e.call(t,i,n,this))}get(e){return U(this,r,"f").get(e)}has(e){return U(this,r,"f").has(e)}keys(){return U(this,r,"f").keys()}values(){return U(this,r,"f").values()}toString(){return`FrozenMap(${this.size}) {${this.size>0?` ${[...this.entries()].map(([e,t])=>`${String(e)} => ${String(t)}`).join(", ")} `:""}}`}}class K{get size(){return U(this,o,"f").size}[(o=new WeakMap,Symbol.iterator)](){return U(this,o,"f")[Symbol.iterator]()}constructor(e){o.set(this,void 0),$(this,o,new Set(e),"f"),Object.freeze(this)}entries(){return U(this,o,"f").entries()}forEach(e,t){return U(this,o,"f").forEach((i,n,r)=>e.call(t,i,n,this))}has(e){return U(this,o,"f").has(e)}keys(){return U(this,o,"f").keys()}values(){return U(this,o,"f").values()}toString(){return`FrozenSet(${this.size}) {${this.size>0?` ${[...this.values()].map(e=>String(e)).join(", ")} `:""}}`}}Object.freeze(q),Object.freeze(q.prototype),Object.freeze(K),Object.freeze(K.prototype);var G=i(11816),Z=i(16572),Y=i(25130);let Q=i.n(Y)()("metamask");function J(e){return Q.extend(e)}function X(e,t){return e.extend(t)}var ee=i(2503),et=i(35532);function ei({suppressUnhandledRejection:e=!1}={}){let t,i;let n=new Promise((e,n)=>{t=e,i=n});return e&&n.catch(e=>{}),{promise:n,resolve:t,reject:i}}!function(e){e[e.Millisecond=1]="Millisecond",e[e.Second=1e3]="Second",e[e.Minute=6e4]="Minute",e[e.Hour=36e5]="Hour",e[e.Day=864e5]="Day",e[e.Week=6048e5]="Week",e[e.Year=31536e6]="Year"}(s=s||(s={}));let en=e=>Number.isInteger(e)&&e>=0,er=(e,t)=>{if(!en(e))throw Error(`"${t}" must be a non-negative integer. Received: "${e}".`)};function eo(e,t){return er(e,"count"),e*t}function es(e){return er(e,"timestamp"),Date.now()-e}var ea=i(97699);let{gt:el,gtr:eu,satisfies:ed,valid:ec,validRange:eh}=i.n(ea)(),eg=(0,l.lF)((0,c.Z_)(),"Version",e=>null!==ec(e)||`Expected SemVer version, got "${e}"`),ep=(0,l.lF)((0,c.Z_)(),"Version range",e=>null!==eh(e)||`Expected SemVer range, got "${e}"`);function ef(e){return(0,h.is)(e,eg)}function em(e){return(0,h.is)(e,ep)}function ev(e){(0,a.bH)(e,eg)}function eb(e){(0,a.bH)(e,ep)}function ey(e,t){return el(e,t)}function e_(e,t){return eu(e,t)}function ew(e,t){return ed(e,t,{includePrerelease:!0})}},16572:(e,t,i)=>{"use strict";i.d(t,{AB:()=>b,Aj:()=>B,CR:()=>I,DW:()=>E,Fd:()=>D,Ij:()=>W,LQ:()=>x,M9:()=>h,MC:()=>y,MH:()=>g,Qj:()=>k,Qq:()=>L,Rn:()=>V,Ry:()=>u,SR:()=>N,Vx:()=>p,W3:()=>m,XO:()=>v,Z3:()=>F,a5:()=>j,hI:()=>S,if:()=>C,jU:()=>M,je:()=>_,jg:()=>H,lW:()=>T,m0:()=>c,nR:()=>w,om:()=>R,p7:()=>A,u:()=>O,vQ:()=>P,vp:()=>f});var n=i(54310),r=i(15357),o=i(72940),s=i(18237),a=i(12343),l=i(2503);let u=e=>(0,n.Ry)(e);function d({path:e,branch:t}){let i=e[e.length-1];return(0,l.l$)(t[t.length-2],i)}function c(e){return new r.AU({...e,type:`optional ${e.type}`,validator:(t,i)=>!d(i)||e.validator(t,i),refiner:(t,i)=>!d(i)||e.refiner(t,i)})}let h=(0,n.G0)([(0,n.i0)(null),(0,n.O7)(),(0,o.Ou)("finite number",e=>(0,r.is)(e,(0,n.Rx)())&&Number.isFinite(e)),(0,n.Z_)(),(0,n.IX)((0,o.Vo)(()=>h)),(0,n.IM)((0,n.Z_)(),(0,o.Vo)(()=>h))]),g=(0,s.oQ)(h,(0,n.Yj)(),e=>((0,a.bH)(e,h),JSON.parse(JSON.stringify(e,(e,t)=>{if("__proto__"!==e&&"constructor"!==e)return t}))));function p(e){try{return f(e),!0}catch{return!1}}function f(e){return(0,r.Ue)(e,g)}function m(e){(0,a.bH)(e,g,"Invalid JSON value");let t=JSON.stringify(e);return new TextEncoder().encode(t).byteLength}let v="2.0",b=(0,n.i0)(v),y=(0,n.AG)((0,n.G0)([(0,n.Rx)(),(0,n.Z_)()])),_=u({code:(0,n._L)(),message:(0,n.Z_)(),data:c(g),stack:c((0,n.Z_)())}),w=(0,n.G0)([(0,n.IM)((0,n.Z_)(),g),(0,n.IX)(g)]),C=u({id:y,jsonrpc:b,method:(0,n.Z_)(),params:c(w)}),S=u({jsonrpc:b,method:(0,n.Z_)(),params:c(w)});function x(e){return(0,r.is)(e,S)}function k(e,t){(0,a.bH)(e,S,"Invalid JSON-RPC notification",t)}function E(e){return(0,r.is)(e,C)}function L(e,t){(0,a.bH)(e,C,"Invalid JSON-RPC request",t)}let D=(0,n.Ry)({id:y,jsonrpc:b,result:(0,n.jt)((0,n._4)()),error:(0,n.jt)(_)}),N=u({id:y,jsonrpc:b,result:g}),A=u({id:y,jsonrpc:b,error:_}),T=(0,n.G0)([N,A]);function I(e){return(0,r.is)(e,D)}function M(e,t){(0,a.bH)(e,D,"Invalid pending JSON-RPC response",t)}function O(e){return(0,r.is)(e,T)}function P(e,t){(0,a.bH)(e,T,"Invalid JSON-RPC response",t)}function R(e){return(0,r.is)(e,N)}function F(e,t){(0,a.bH)(e,N,"Invalid JSON-RPC success response",t)}function B(e){return(0,r.is)(e,A)}function V(e,t){(0,a.bH)(e,A,"Invalid JSON-RPC failure response",t)}function H(e){return(0,r.is)(e,_)}function j(e,t){(0,a.bH)(e,_,"Invalid JSON-RPC error",t)}function W(e){let{permitEmptyString:t,permitFractions:i,permitNull:n}={permitEmptyString:!0,permitFractions:!1,permitNull:!0,...e};return e=>!!("number"==typeof e&&(i||Number.isInteger(e))||"string"==typeof e&&(t||e.length>0)||n&&null===e)}},2503:(e,t,i)=>{"use strict";var n;function r(e){return Array.isArray(e)&&e.length>0}function o(e){return null==e}function s(e){return!!e&&"object"==typeof e&&!Array.isArray(e)}i.d(t,{FQ:()=>c,Kn:()=>s,Of:()=>r,PO:()=>d,hK:()=>l,iP:()=>g,l$:()=>a,l6:()=>u,le:()=>o,qy:()=>h,sw:()=>n});let a=(e,t)=>Object.hasOwnProperty.call(e,t);function l(e){return Object.getOwnPropertyNames(e)}!function(e){e[e.Null=4]="Null",e[e.Comma=1]="Comma",e[e.Wrapper=1]="Wrapper",e[e.True=4]="True",e[e.False=5]="False",e[e.Quote=1]="Quote",e[e.Colon=1]="Colon",e[e.Date=24]="Date"}(n=n||(n={}));let u=/"|\\|\n|\r|\t/gu;function d(e){if("object"!=typeof e||null===e)return!1;try{let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}catch(e){return!1}}function c(e){return 127>=e.charCodeAt(0)}function h(e){return e.split("").reduce((e,t)=>c(t)?e+1:e+2,0)+(e.match(u)??[]).length}function g(e){return e.toString().length}},35532:(e,t,i)=>{"use strict";i.d(t,{Z4:()=>s,eC:()=>o,ly:()=>a,y_:()=>l});var n=i(12343),r=i(90476);let o=e=>((0,n.hu)("number"==typeof e,"Value must be a number."),(0,n.hu)(e>=0,"Value must be a non-negative number."),(0,n.hu)(Number.isSafeInteger(e),"Value is not a safe integer. Use `bigIntToHex` instead."),(0,r.Xn)(e.toString(16))),s=e=>((0,n.hu)("bigint"==typeof e,"Value must be a bigint."),(0,n.hu)(e>=0,"Value must be a non-negative bigint."),(0,r.Xn)(e.toString(16))),a=e=>{(0,r.EZ)(e);let t=parseInt(e,16);return(0,n.hu)(Number.isSafeInteger(t),"Value is not a safe integer. Use `hexToBigInt` instead."),t},l=e=>((0,r.EZ)(e),BigInt((0,r.Xn)(e)))},41014:(e,t,i)=>{"use strict";let n;i.r(t),i.d(t,{Container:()=>aW,DndProvider:()=>s_.W,DragLayer:()=>a$,ItemTypes:()=>aE,MultiBackend:()=>sq,Node:()=>aH,Tree:()=>aq,compareItems:()=>s4,getBackendOptions:()=>ap,getDescendants:()=>ah,getDestIndex:()=>an,getDropTarget:()=>ac,getModifiedIndex:()=>ar,getParents:()=>ag,getTreeItem:()=>s9,hasChildNodes:()=>af,isAncestor:()=>s7,isDroppable:()=>at,isNodeModel:()=>ae,mutateTree:()=>ai,mutateTreeWithIndex:()=>as,useContainerClassName:()=>aB,useDragControl:()=>ak,useDragHandle:()=>aV,useDragNode:()=>aT,useDragOver:()=>aI,useDropNode:()=>aO,useDropRoot:()=>aM,useOpenIdsHelper:()=>aP,useTreeContext:()=>aF,useTreeDragLayer:()=>aR});var r,o,s,a,l,u={};i.r(u),i.d(u,{FILE:()=>p,HTML:()=>v,TEXT:()=>m,URL:()=>f});var d=i(2784);function c(e){let t=null;return()=>(null==t&&(t=e()),t)}class h{enter(e){var t,i;let n,r,o,s=this.entered.length;return this.entered=(t=this.entered.filter(t=>this.isNodeInDocument(t)&&(!t.contains||t.contains(e))),i=[e],n=new Set,r=e=>n.add(e),t.forEach(r),i.forEach(r),o=[],n.forEach(e=>o.push(e)),o),0===s&&this.entered.length>0}leave(e){let t=this.entered.length;return this.entered=this.entered.filter(this.isNodeInDocument).filter(t=>t!==e),t>0&&0===this.entered.length}reset(){this.entered=[]}constructor(e){this.entered=[],this.isNodeInDocument=e}}class g{initializeExposedProperties(){Object.keys(this.config.exposeProperties).forEach(e=>{Object.defineProperty(this.item,e,{configurable:!0,enumerable:!0,get:()=>(console.warn(`Browser doesn't allow reading "${e}" until the drop event.`),null)})})}loadDataTransfer(e){if(e){let t={};Object.keys(this.config.exposeProperties).forEach(i=>{let n=this.config.exposeProperties[i];null!=n&&(t[i]={value:n(e,this.config.matchesTypes),configurable:!0,enumerable:!0})}),Object.defineProperties(this.item,t)}}canDrag(){return!0}beginDrag(){return this.item}isDragging(e,t){return t===e.getSourceId()}endDrag(){}constructor(e){this.config=e,this.item={},this.initializeExposedProperties()}}let p="__NATIVE_FILE__",f="__NATIVE_URL__",m="__NATIVE_TEXT__",v="__NATIVE_HTML__";function b(e,t,i){let n=t.reduce((t,i)=>t||e.getData(i),"");return null!=n?n:i}let y={[p]:{exposeProperties:{files:e=>Array.prototype.slice.call(e.files),items:e=>e.items,dataTransfer:e=>e},matchesTypes:["Files"]},[v]:{exposeProperties:{html:(e,t)=>b(e,t,""),dataTransfer:e=>e},matchesTypes:["Html","text/html"]},[f]:{exposeProperties:{urls:(e,t)=>b(e,t,"").split("\n"),dataTransfer:e=>e},matchesTypes:["Url","text/uri-list"]},[m]:{exposeProperties:{text:(e,t)=>b(e,t,""),dataTransfer:e=>e},matchesTypes:["Text","text/plain"]}};function _(e){if(!e)return null;let t=Array.prototype.slice.call(e.types||[]);return Object.keys(y).filter(e=>{let i=y[e];return null!=i&&!!i.matchesTypes&&i.matchesTypes.some(e=>t.indexOf(e)>-1)})[0]||null}let w=c(()=>/firefox/i.test(navigator.userAgent)),C=c(()=>!!window.safari);class S{interpolate(e){let t;let{xs:i,ys:n,c1s:r,c2s:o,c3s:s}=this,a=i.length-1;if(e===i[a])return n[a];let l=0,u=s.length-1;for(;l<=u;){let r=i[t=Math.floor(.5*(l+u))];if(re))return n[t];u=t-1}}let d=e-i[a=Math.max(0,u)],c=d*d;return n[a]+r[a]*d+o[a]*c+s[a]*d*c}constructor(e,t){let i,n,r;let{length:o}=e,s=[];for(let e=0;ee[t]{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDragSource(e,t,i){this.sourceNodes.set(e,t),this.sourceNodeOptions.set(e,i);let n=t=>this.handleDragStart(t,e),r=e=>this.handleSelectStart(e);return t.setAttribute("draggable","true"),t.addEventListener("dragstart",n),t.addEventListener("selectstart",r),()=>{this.sourceNodes.delete(e),this.sourceNodeOptions.delete(e),t.removeEventListener("dragstart",n),t.removeEventListener("selectstart",r),t.setAttribute("draggable","false")}}connectDropTarget(e,t){let i=t=>this.handleDragEnter(t,e),n=t=>this.handleDragOver(t,e),r=t=>this.handleDrop(t,e);return t.addEventListener("dragenter",i),t.addEventListener("dragover",n),t.addEventListener("drop",r),()=>{t.removeEventListener("dragenter",i),t.removeEventListener("dragover",n),t.removeEventListener("drop",r)}}addEventListeners(e){e.addEventListener&&(e.addEventListener("dragstart",this.handleTopDragStart),e.addEventListener("dragstart",this.handleTopDragStartCapture,!0),e.addEventListener("dragend",this.handleTopDragEndCapture,!0),e.addEventListener("dragenter",this.handleTopDragEnter),e.addEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.addEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.addEventListener("dragover",this.handleTopDragOver),e.addEventListener("dragover",this.handleTopDragOverCapture,!0),e.addEventListener("drop",this.handleTopDrop),e.addEventListener("drop",this.handleTopDropCapture,!0))}removeEventListeners(e){e.removeEventListener&&(e.removeEventListener("dragstart",this.handleTopDragStart),e.removeEventListener("dragstart",this.handleTopDragStartCapture,!0),e.removeEventListener("dragend",this.handleTopDragEndCapture,!0),e.removeEventListener("dragenter",this.handleTopDragEnter),e.removeEventListener("dragenter",this.handleTopDragEnterCapture,!0),e.removeEventListener("dragleave",this.handleTopDragLeaveCapture,!0),e.removeEventListener("dragover",this.handleTopDragOver),e.removeEventListener("dragover",this.handleTopDragOverCapture,!0),e.removeEventListener("drop",this.handleTopDrop),e.removeEventListener("drop",this.handleTopDropCapture,!0))}getCurrentSourceNodeOptions(){let e=this.monitor.getSourceId(),t=this.sourceNodeOptions.get(e);return L({dropEffect:this.altKeyPressed?"copy":"move"},t||{})}getCurrentDropEffect(){return this.isDraggingNativeItem()?"copy":this.getCurrentSourceNodeOptions().dropEffect}getCurrentSourcePreviewNodeOptions(){let e=this.monitor.getSourceId();return L({anchorX:.5,anchorY:.5,captureDraggingState:!1},this.sourcePreviewNodeOptions.get(e)||{})}isDraggingNativeItem(){let e=this.monitor.getItemType();return Object.keys(u).some(t=>u[t]===e)}beginDragNativeItem(e,t){this.clearCurrentDragSourceNode(),this.currentNativeSource=function(e,t){let i=y[e];if(!i)throw Error(`native type ${e} has no configuration`);let n=new g(i);return n.loadDataTransfer(t),n}(e,t),this.currentNativeHandle=this.registry.addSource(e,this.currentNativeSource),this.actions.beginDrag([this.currentNativeHandle])}setCurrentDragSourceNode(e){this.clearCurrentDragSourceNode(),this.currentDragSourceNode=e,this.mouseMoveTimeoutTimer=setTimeout(()=>{var e;return null===(e=this.rootElement)||void 0===e?void 0:e.addEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)},1e3)}clearCurrentDragSourceNode(){if(this.currentDragSourceNode){if(this.currentDragSourceNode=null,this.rootElement){var e;null===(e=this.window)||void 0===e||e.clearTimeout(this.mouseMoveTimeoutTimer||void 0),this.rootElement.removeEventListener("mousemove",this.endDragIfSourceWasRemovedFromDOM,!0)}return this.mouseMoveTimeoutTimer=null,!0}return!1}handleDragStart(e,t){e.defaultPrevented||(this.dragStartSourceIds||(this.dragStartSourceIds=[]),this.dragStartSourceIds.unshift(t))}handleDragEnter(e,t){this.dragEnterTargetIds.unshift(t)}handleDragOver(e,t){null===this.dragOverTargetIds&&(this.dragOverTargetIds=[]),this.dragOverTargetIds.unshift(t)}handleDrop(e,t){this.dropTargetIds.unshift(t)}constructor(e,t,i){this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.sourceNodes=new Map,this.sourceNodeOptions=new Map,this.dragStartSourceIds=null,this.dropTargetIds=[],this.dragEnterTargetIds=[],this.currentNativeSource=null,this.currentNativeHandle=null,this.currentDragSourceNode=null,this.altKeyPressed=!1,this.mouseMoveTimeoutTimer=null,this.asyncEndDragFrameId=null,this.dragOverTargetIds=null,this.lastClientOffset=null,this.hoverRafId=null,this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&x(t)||null},this.endDragNativeItem=()=>{this.isDraggingNativeItem()&&(this.actions.endDrag(),this.currentNativeHandle&&this.registry.removeSource(this.currentNativeHandle),this.currentNativeHandle=null,this.currentNativeSource=null)},this.isNodeInDocument=e=>!!(e&&this.document&&this.document.body&&this.document.body.contains(e)),this.endDragIfSourceWasRemovedFromDOM=()=>{let e=this.currentDragSourceNode;null==e||this.isNodeInDocument(e)||(this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover())},this.scheduleHover=e=>{null===this.hoverRafId&&"undefined"!=typeof requestAnimationFrame&&(this.hoverRafId=requestAnimationFrame(()=>{this.monitor.isDragging()&&this.actions.hover(e||[],{clientOffset:this.lastClientOffset}),this.hoverRafId=null}))},this.cancelHover=()=>{null!==this.hoverRafId&&"undefined"!=typeof cancelAnimationFrame&&(cancelAnimationFrame(this.hoverRafId),this.hoverRafId=null)},this.handleTopDragStartCapture=()=>{this.clearCurrentDragSourceNode(),this.dragStartSourceIds=[]},this.handleTopDragStart=e=>{if(e.defaultPrevented)return;let{dragStartSourceIds:t}=this;this.dragStartSourceIds=null;let i=k(e);this.monitor.isDragging()&&(this.actions.endDrag(),this.cancelHover()),this.actions.beginDrag(t||[],{publishSource:!1,getSourceClientOffset:this.getSourceClientOffset,clientOffset:i});let{dataTransfer:n}=e,r=_(n);if(this.monitor.isDragging()){if(n&&"function"==typeof n.setDragImage){let e=this.monitor.getSourceId(),t=this.sourceNodes.get(e),r=this.sourcePreviewNodes.get(e)||t;if(r){let{anchorX:e,anchorY:o,offsetX:s,offsetY:a}=this.getCurrentSourcePreviewNodeOptions(),l=function(e,t,i,n,r){var o;let s,a,l;let u="IMG"===t.nodeName&&(w()||!(null===(o=document.documentElement)||void 0===o?void 0:o.contains(t))),d=x(u?e:t),c={x:i.x-d.x,y:i.y-d.y},{offsetWidth:h,offsetHeight:g}=e,{anchorX:p,anchorY:f}=n,{dragPreviewWidth:m,dragPreviewHeight:v}=(s=u?t.width:h,a=u?t.height:g,C()&&u&&(a/=window.devicePixelRatio,s/=window.devicePixelRatio),{dragPreviewWidth:s,dragPreviewHeight:a}),{offsetX:b,offsetY:y}=r;return{x:0===b||b?b:new S([0,.5,1],[c.x,c.x/h*m,c.x+m-h]).interpolate(p),y:0===y||y?y:(l=new S([0,.5,1],[c.y,c.y/g*v,c.y+v-g]).interpolate(f),C()&&u&&(l+=(window.devicePixelRatio-1)*v),l)}}(t,r,i,{anchorX:e,anchorY:o},{offsetX:s,offsetY:a});n.setDragImage(r,l.x,l.y)}}try{null==n||n.setData("application/json",{})}catch(e){}this.setCurrentDragSourceNode(e.target);let{captureDraggingState:t}=this.getCurrentSourcePreviewNodeOptions();t?this.actions.publishDragSource():setTimeout(()=>this.actions.publishDragSource(),0)}else if(r)this.beginDragNativeItem(r);else{if(n&&!n.types&&(e.target&&!e.target.hasAttribute||!e.target.hasAttribute("draggable")))return;e.preventDefault()}},this.handleTopDragEndCapture=()=>{this.clearCurrentDragSourceNode()&&this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleTopDragEnterCapture=e=>{if(this.dragEnterTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}if(!this.enterLeaveCounter.enter(e.target)||this.monitor.isDragging())return;let{dataTransfer:i}=e,n=_(i);n&&this.beginDragNativeItem(n,i)},this.handleTopDragEnter=e=>{let{dragEnterTargetIds:t}=this;this.dragEnterTargetIds=[],this.monitor.isDragging()&&(this.altKeyPressed=e.altKey,t.length>0&&this.actions.hover(t,{clientOffset:k(e)}),t.some(e=>this.monitor.canDropOnTarget(e))&&(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())))},this.handleTopDragOverCapture=e=>{if(this.dragOverTargetIds=[],this.isDraggingNativeItem()){var t;null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}},this.handleTopDragOver=e=>{let{dragOverTargetIds:t}=this;if(this.dragOverTargetIds=[],!this.monitor.isDragging()){e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none");return}this.altKeyPressed=e.altKey,this.lastClientOffset=k(e),this.scheduleHover(t),(t||[]).some(e=>this.monitor.canDropOnTarget(e))?(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect=this.getCurrentDropEffect())):this.isDraggingNativeItem()?e.preventDefault():(e.preventDefault(),e.dataTransfer&&(e.dataTransfer.dropEffect="none"))},this.handleTopDragLeaveCapture=e=>{this.isDraggingNativeItem()&&e.preventDefault(),this.enterLeaveCounter.leave(e.target)&&(this.isDraggingNativeItem()&&setTimeout(()=>this.endDragNativeItem(),0),this.cancelHover())},this.handleTopDropCapture=e=>{if(this.dropTargetIds=[],this.isDraggingNativeItem()){var t;e.preventDefault(),null===(t=this.currentNativeSource)||void 0===t||t.loadDataTransfer(e.dataTransfer)}else _(e.dataTransfer)&&e.preventDefault();this.enterLeaveCounter.reset()},this.handleTopDrop=e=>{let{dropTargetIds:t}=this;this.dropTargetIds=[],this.actions.hover(t,{clientOffset:k(e)}),this.actions.drop({dropEffect:this.getCurrentDropEffect()}),this.isDraggingNativeItem()?this.endDragNativeItem():this.monitor.isDragging()&&this.actions.endDrag(),this.cancelHover()},this.handleSelectStart=e=>{let t=e.target;"function"!=typeof t.dragDrop||"INPUT"===t.tagName||"SELECT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable||(e.preventDefault(),t.dragDrop())},this.options=new E(t,i),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.registry=e.getRegistry(),this.enterLeaveCounter=new h(this.isNodeInDocument)}}let N=function(e,t,i){return new D(e,t,i)};var A=[],T="ResizeObserver loop completed with undelivered notifications.",I=function(){var e;"function"==typeof ErrorEvent?e=new ErrorEvent("error",{message:T}):((e=document.createEvent("Event")).initEvent("error",!1,!1),e.message=T),window.dispatchEvent(e)};!function(e){e.BORDER_BOX="border-box",e.CONTENT_BOX="content-box",e.DEVICE_PIXEL_CONTENT_BOX="device-pixel-content-box"}(r||(r={}));var M=function(e){return Object.freeze(e)},O=function(e,t){this.inlineSize=e,this.blockSize=t,M(this)},P=function(){function e(e,t,i,n){return this.x=e,this.y=t,this.width=i,this.height=n,this.top=this.y,this.left=this.x,this.bottom=this.top+this.height,this.right=this.left+this.width,M(this)}return e.prototype.toJSON=function(){return{x:this.x,y:this.y,top:this.top,right:this.right,bottom:this.bottom,left:this.left,width:this.width,height:this.height}},e.fromRect=function(t){return new e(t.x,t.y,t.width,t.height)},e}(),R=function(e){return e instanceof SVGElement&&"getBBox"in e},F=function(e){if(R(e)){var t=e.getBBox(),i=t.width,n=t.height;return!i&&!n}var r=e.offsetWidth,o=e.offsetHeight;return!(r||o||e.getClientRects().length)},B=function(e){if(e instanceof Element)return!0;var t,i=null===(t=null==e?void 0:e.ownerDocument)||void 0===t?void 0:t.defaultView;return!!(i&&e instanceof i.Element)},V=function(e){switch(e.tagName){case"INPUT":if("image"!==e.type)break;case"VIDEO":case"AUDIO":case"EMBED":case"OBJECT":case"CANVAS":case"IFRAME":case"IMG":return!0}return!1},H="undefined"!=typeof window?window:{},j=new WeakMap,W=/auto|scroll/,z=/^tb|vertical/,U=/msie|trident/i.test(H.navigator&&H.navigator.userAgent),$=function(e){return parseFloat(e||"0")},q=function(e,t,i){return void 0===e&&(e=0),void 0===t&&(t=0),void 0===i&&(i=!1),new O((i?t:e)||0,(i?e:t)||0)},K=M({devicePixelContentBoxSize:q(),borderBoxSize:q(),contentBoxSize:q(),contentRect:new P(0,0,0,0)}),G=function(e,t){if(void 0===t&&(t=!1),j.has(e)&&!t)return j.get(e);if(F(e))return j.set(e,K),K;var i=getComputedStyle(e),n=R(e)&&e.ownerSVGElement&&e.getBBox(),r=!U&&"border-box"===i.boxSizing,o=z.test(i.writingMode||""),s=!n&&W.test(i.overflowY||""),a=!n&&W.test(i.overflowX||""),l=n?0:$(i.paddingTop),u=n?0:$(i.paddingRight),d=n?0:$(i.paddingBottom),c=n?0:$(i.paddingLeft),h=n?0:$(i.borderTopWidth),g=n?0:$(i.borderRightWidth),p=n?0:$(i.borderBottomWidth),f=n?0:$(i.borderLeftWidth),m=c+u,v=l+d,b=f+g,y=h+p,_=a?e.offsetHeight-y-e.clientHeight:0,w=s?e.offsetWidth-b-e.clientWidth:0,C=n?n.width:$(i.width)-(r?m+b:0)-w,S=n?n.height:$(i.height)-(r?v+y:0)-_,x=C+m+w+b,k=S+v+_+y,E=M({devicePixelContentBoxSize:q(Math.round(C*devicePixelRatio),Math.round(S*devicePixelRatio),o),borderBoxSize:q(x,k,o),contentBoxSize:q(C,S,o),contentRect:new P(c,l,C,S)});return j.set(e,E),E},Z=function(e,t,i){var n=G(e,i),o=n.borderBoxSize,s=n.contentBoxSize,a=n.devicePixelContentBoxSize;switch(t){case r.DEVICE_PIXEL_CONTENT_BOX:return a;case r.BORDER_BOX:return o;default:return s}},Y=function(e){var t=G(e);this.target=e,this.contentRect=t.contentRect,this.borderBoxSize=M([t.borderBoxSize]),this.contentBoxSize=M([t.contentBoxSize]),this.devicePixelContentBoxSize=M([t.devicePixelContentBoxSize])},Q=function(e){if(F(e))return 1/0;for(var t=0,i=e.parentNode;i;)t+=1,i=i.parentNode;return t},J=function(){var e=1/0,t=[];A.forEach(function(i){if(0!==i.activeTargets.length){var n=[];i.activeTargets.forEach(function(t){var i=new Y(t.target),r=Q(t.target);n.push(i),t.lastReportedSize=Z(t.target,t.observedBox),re?t.activeTargets.push(i):t.skippedTargets.push(i))})})},ee=function(){var e=0;for(X(0);A.some(function(e){return e.activeTargets.length>0});)X(e=J());return A.some(function(e){return e.skippedTargets.length>0})&&I(),e>0},et=[],ei=function(e){if(!o){var t=0,i=document.createTextNode("");new MutationObserver(function(){return et.splice(0).forEach(function(e){return e()})}).observe(i,{characterData:!0}),o=function(){i.textContent="".concat(t?t--:t++)}}et.push(e),o()},en=function(e){ei(function(){requestAnimationFrame(e)})},er=0,eo={attributes:!0,characterData:!0,childList:!0,subtree:!0},es=["resize","load","transitionend","animationend","animationstart","animationiteration","keyup","keydown","mouseup","mousedown","mouseover","mouseout","blur","focus"],ea=function(e){return void 0===e&&(e=0),Date.now()+e},el=!1,eu=new(function(){function e(){var e=this;this.stopped=!0,this.listener=function(){return e.schedule()}}return e.prototype.run=function(e){var t=this;if(void 0===e&&(e=250),!el){el=!0;var i=ea(e);en(function(){var n=!1;try{n=ee()}finally{if(el=!1,e=i-ea(),!er)return;n?t.run(1e3):e>0?t.run(e):t.start()}})}},e.prototype.schedule=function(){this.stop(),this.run()},e.prototype.observe=function(){var e=this,t=function(){return e.observer&&e.observer.observe(document.body,eo)};document.body?t():H.addEventListener("DOMContentLoaded",t)},e.prototype.start=function(){var e=this;this.stopped&&(this.stopped=!1,this.observer=new MutationObserver(this.listener),this.observe(),es.forEach(function(t){return H.addEventListener(t,e.listener,!0)}))},e.prototype.stop=function(){var e=this;this.stopped||(this.observer&&this.observer.disconnect(),es.forEach(function(t){return H.removeEventListener(t,e.listener,!0)}),this.stopped=!0)},e}()),ed=function(e){!er&&e>0&&eu.start(),(er+=e)||eu.stop()},ec=function(){function e(e,t){this.target=e,this.observedBox=t||r.CONTENT_BOX,this.lastReportedSize={inlineSize:0,blockSize:0}}return e.prototype.isActive=function(){var e,t=Z(this.target,this.observedBox,!0);return R(e=this.target)||V(e)||"inline"!==getComputedStyle(e).display||(this.lastReportedSize=t),this.lastReportedSize.inlineSize!==t.inlineSize||this.lastReportedSize.blockSize!==t.blockSize},e}(),eh=function(e,t){this.activeTargets=[],this.skippedTargets=[],this.observationTargets=[],this.observer=e,this.callback=t},eg=new WeakMap,ep=function(e,t){for(var i=0;iep(n.observationTargets,t)&&(r&&A.push(n),n.observationTargets.push(new ec(t,i&&i.box)),ed(1),eu.schedule())},e.unobserve=function(e,t){var i=eg.get(e),n=ep(i.observationTargets,t),r=1===i.observationTargets.length;n>=0&&(r&&A.splice(A.indexOf(i),1),i.observationTargets.splice(n,1),ed(-1))},e.disconnect=function(e){var t=this,i=eg.get(e);i.observationTargets.slice().forEach(function(i){return t.unobserve(e,i.target)}),i.activeTargets.splice(0,i.activeTargets.length)},e}(),em=function(){function e(e){if(0==arguments.length)throw TypeError("Failed to construct 'ResizeObserver': 1 argument required, but only 0 present.");if("function"!=typeof e)throw TypeError("Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.");ef.connect(this,e)}return e.prototype.observe=function(e,t){if(0==arguments.length)throw TypeError("Failed to execute 'observe' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!B(e))throw TypeError("Failed to execute 'observe' on 'ResizeObserver': parameter 1 is not of type 'Element");ef.observe(this,e,t)},e.prototype.unobserve=function(e){if(0==arguments.length)throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': 1 argument required, but only 0 present.");if(!B(e))throw TypeError("Failed to execute 'unobserve' on 'ResizeObserver': parameter 1 is not of type 'Element");ef.unobserve(this,e)},e.prototype.disconnect=function(){ef.disconnect(this)},e.toString=function(){return"function ResizeObserver () { [polyfill code] }"},e}(),ev=i(5163),eb=i(34406),ey=(void 0===eb||eb.env,"production"),e_=function(e){return{isEnabled:function(t){return e.some(function(e){return!!t[e]})}}},ew={measureLayout:e_(["layout","layoutId","drag"]),animation:e_(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:e_(["exit"]),drag:e_(["drag","dragControls"]),focus:e_(["whileFocus"]),hover:e_(["whileHover","onHoverStart","onHoverEnd"]),tap:e_(["whileTap","onTap","onTapStart","onTapCancel"]),pan:e_(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:e_(["whileInView","onViewportEnter","onViewportLeave"])},eC=function(){},eS=function(){},ex=(0,d.createContext)({strict:!1}),ek=Object.keys(ew),eE=ek.length,eL=(0,d.createContext)({transformPagePoint:function(e){return e},isStatic:!1,reducedMotion:"never"}),eD=(0,d.createContext)({}),eN=(0,d.createContext)(null),eA="undefined"!=typeof document,eT=eA?d.useLayoutEffect:d.useEffect,eI={current:null},eM=!1;function eO(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function eP(e){return Array.isArray(e)}function eR(e){return"string"==typeof e||eP(e)}function eF(e,t,i,n,r){var o;return void 0===n&&(n={}),void 0===r&&(r={}),"function"==typeof t&&(t=t(null!=i?i:e.custom,n,r)),"string"==typeof t&&(t=null===(o=e.variants)||void 0===o?void 0:o[t]),"function"==typeof t&&(t=t(null!=i?i:e.custom,n,r)),t}function eB(e,t,i){var n,r,o=e.getProps();return eF(o,t,null!=i?i:o.custom,(n={},e.forEachValue(function(e,t){return n[t]=e.get()}),n),(r={},e.forEachValue(function(e,t){return r[t]=e.getVelocity()}),r))}function eV(e){var t;return"function"==typeof(null===(t=e.animate)||void 0===t?void 0:t.start)||eR(e.initial)||eR(e.animate)||eR(e.whileHover)||eR(e.whileDrag)||eR(e.whileTap)||eR(e.whileFocus)||eR(e.exit)}function eH(e){return!!(eV(e)||e.variants)}function ej(e){return Array.isArray(e)?e.join(" "):e}function eW(e){var t=(0,d.useRef)(null);return null===t.current&&(t.current=e()),t.current}var ez={hasAnimatedSinceResize:!0,hasEverUpdated:!1},eU=1,e$=(0,d.createContext)({}),eq=(0,d.createContext)({}),eK=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,ev.ZT)(t,e),t.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},t.prototype.componentDidUpdate=function(){},t.prototype.updateProps=function(){var e=this.props,t=e.visualElement,i=e.props;t&&t.setProps(i)},t.prototype.render=function(){return this.props.children},t}(d.Component),eG=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function eZ(e){if("string"!=typeof e||e.includes("-"));else if(eG.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}var eY={},eQ=["","X","Y","Z"],eJ=["transformPerspective","x","y","z"];function eX(e,t){return eJ.indexOf(e)-eJ.indexOf(t)}["translate","scale","rotate","skew"].forEach(function(e){return eQ.forEach(function(t){return eJ.push(e+t)})});var e0=new Set(eJ);function e1(e){return e0.has(e)}var e2=new Set(["originX","originY","originZ"]);function e6(e,t){var i=t.layout,n=t.layoutId;return e1(e)||e2.has(e)||(i||void 0!==n)&&(!!eY[e]||"opacity"===e)}var e3=function(e){return!!(null!==e&&"object"==typeof e&&e.getVelocity)},e8={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function e5(e){return e.startsWith("--")}let e4=(e,t)=>i=>Math.max(Math.min(i,t),e),e9=e=>e%1?Number(e.toFixed(5)):e,e7=/(-)?([\d]*\.?[\d])+/g,te=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,tt=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function ti(e){return"string"==typeof e}let tn=e=>({test:t=>ti(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),tr=tn("deg"),to=tn("%"),ts=tn("px"),ta=tn("vh"),tl=tn("vw"),tu=Object.assign(Object.assign({},to),{parse:e=>to.parse(e)/100,transform:e=>to.transform(100*e)}),td={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},tc=Object.assign(Object.assign({},td),{transform:e4(0,1)}),th=Object.assign(Object.assign({},td),{default:1});var tg=(0,ev.pi)((0,ev.pi)({},td),{transform:Math.round}),tp={borderWidth:ts,borderTopWidth:ts,borderRightWidth:ts,borderBottomWidth:ts,borderLeftWidth:ts,borderRadius:ts,radius:ts,borderTopLeftRadius:ts,borderTopRightRadius:ts,borderBottomRightRadius:ts,borderBottomLeftRadius:ts,width:ts,maxWidth:ts,height:ts,maxHeight:ts,size:ts,top:ts,right:ts,bottom:ts,left:ts,padding:ts,paddingTop:ts,paddingRight:ts,paddingBottom:ts,paddingLeft:ts,margin:ts,marginTop:ts,marginRight:ts,marginBottom:ts,marginLeft:ts,rotate:tr,rotateX:tr,rotateY:tr,rotateZ:tr,scale:th,scaleX:th,scaleY:th,scaleZ:th,skew:tr,skewX:tr,skewY:tr,distance:ts,translateX:ts,translateY:ts,translateZ:ts,x:ts,y:ts,z:ts,perspective:ts,transformPerspective:ts,opacity:tc,originX:tu,originY:tu,originZ:ts,zIndex:tg,fillOpacity:tc,strokeOpacity:tc,numOctaves:tg};function tf(e,t,i,n){var r,o,s,a,l,u,d=e.style,c=e.vars,h=e.transform,g=e.transformKeys,p=e.transformOrigin;g.length=0;var f=!1,m=!1,v=!0;for(var b in t){var y=t[b];if(e5(b)){c[b]=y;continue}var _=tp[b],w=_&&"number"==typeof y?_.transform(y):y;if(e1(b)){if(f=!0,h[b]=w,g.push(b),!v)continue;y!==(null!==(u=_.default)&&void 0!==u?u:0)&&(v=!1)}else e2.has(b)?(p[b]=w,m=!0):d[b]=w}f?d.transform=function(e,t,i,n){var r=e.transform,o=e.transformKeys,s=t.enableHardwareAcceleration,a=t.allowTransformNone,l="";o.sort(eX);for(var u=!1,d=o.length,c=0;ci=>t(e(i)),t4=(...e)=>e.reduce(t5);var t9=new Set,t7=new WeakMap,ie=new WeakMap,it=function(e){var t;null===(t=t7.get(e.target))||void 0===t||t(e)},ii=function(e){e.forEach(it)},ir={some:0,all:1},io=function(e){return function(t){return e(t),null}},is={inView:io(function(e){var t=e.visualElement,i=e.whileInView,n=e.onViewportEnter,r=e.onViewportLeave,o=e.viewport,a=void 0===o?{}:o,l=(0,d.useRef)({hasEnteredView:!1,isInView:!1}),u=!!(i||n||r);a.once&&l.current.hasEnteredView&&(u=!1),("undefined"==typeof IntersectionObserver?function(e,t,i,n){var r=n.fallback,o=void 0===r||r;(0,d.useEffect)(function(){if(e&&o){if("production"!==ey){var n,r;n="IntersectionObserver not available on this device. whileInView animations will trigger on mount.",t9.has(n)||(console.warn(n),r&&console.warn(r),t9.add(n))}requestAnimationFrame(function(){t.hasEnteredView=!0;var e,n=i.getProps().onViewportEnter;null==n||n(null),null===(e=i.animationState)||void 0===e||e.setActive(s.InView,!0)})}},[e])}:function(e,t,i,n){var r=n.root,o=n.margin,a=n.amount,l=void 0===a?"some":a,u=n.once;(0,d.useEffect)(function(){if(e){var n,a,d,c,h,g,p,f={root:null==r?void 0:r.current,rootMargin:o,threshold:"number"==typeof l?l:ir[l]};return n=i.getInstance(),a=f.root,d=(0,ev._T)(f,["root"]),c=a||document,ie.has(c)||ie.set(c,{}),(h=ie.get(c))[g=JSON.stringify(d)]||(h[g]=new IntersectionObserver(ii,(0,ev.pi)({root:a},d))),p=h[g],t7.set(n,function(e){var n,r=e.isIntersecting;if(t.isInView!==r){if(t.isInView=r,u&&!r&&t.hasEnteredView)return;r&&(t.hasEnteredView=!0),null===(n=i.animationState)||void 0===n||n.setActive(s.InView,r);var o=i.getProps(),a=r?o.onViewportEnter:o.onViewportLeave;null==a||a(e)}}),p.observe(n),function(){t7.delete(n),p.unobserve(n)}}},[e,r,o,l])})(u,l.current,t,a)}),tap:io(function(e){var t=e.onTap,i=e.onTapStart,n=e.onTapCancel,r=e.whileTap,o=e.visualElement,a=t||i||n||r,l=(0,d.useRef)(!1),u=(0,d.useRef)(null),c={passive:!(i||t||n||m)};function h(){var e;null===(e=u.current)||void 0===e||e.call(u),u.current=null}function g(){var e;return h(),l.current=!1,null===(e=o.animationState)||void 0===e||e.setActive(s.Tap,!1),!t2()}function p(e,i){g()&&(t3(o.getInstance(),e.target)?null==t||t(e,i):null==n||n(e,i))}function f(e,t){g()&&(null==n||n(e,t))}function m(e,t){var n;h(),l.current||(l.current=!0,u.current=t4(tY(window,"pointerup",p,c),tY(window,"pointercancel",f,c)),null===(n=o.animationState)||void 0===n||n.setActive(s.Tap,!0),null==i||i(e,t))}tQ(o,"pointerdown",a?m:void 0,c),t8(h)}),focus:io(function(e){var t=e.whileFocus,i=e.visualElement;tW(i,"focus",t?function(){var e;null===(e=i.animationState)||void 0===e||e.setActive(s.Focus,!0)}:void 0),tW(i,"blur",t?function(){var e;null===(e=i.animationState)||void 0===e||e.setActive(s.Focus,!1)}:void 0)}),hover:io(function(e){var t=e.onHoverStart,i=e.onHoverEnd,n=e.whileHover,r=e.visualElement;tQ(r,"pointerenter",t||n?t6(r,!0,t):void 0,{passive:!t}),tQ(r,"pointerleave",i||n?t6(r,!1,i):void 0,{passive:!i})})},ia=0,il=function(){return ia++};function iu(){var e=(0,d.useContext)(eN);if(null===e)return[!0,null];var t=e.isPresent,i=e.onExitComplete,n=e.register,r=eW(il);return(0,d.useEffect)(function(){return n(r)},[]),!t&&i?[!1,function(){return null==i?void 0:i(r)}]:[!0]}function id(e,t){if(!Array.isArray(t))return!1;var i=t.length;if(i!==e.length)return!1;for(var n=0;nMath.min(Math.max(i,e),t);function ih(e,t){return e*Math.sqrt(1-t*t)}let ig=["duration","bounce"],ip=["stiffness","damping","mass"];function im(e,t){return t.some(t=>void 0!==e[t])}function iv(e){var{from:t=0,to:i=1,restSpeed:n=2,restDelta:r}=e,o=(0,ev._T)(e,["from","to","restSpeed","restDelta"]);let s={done:!1,value:t},{stiffness:a,damping:l,mass:u,velocity:d,duration:c,isResolvedFromDuration:h}=function(e){let t=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},e);if(!im(e,ip)&&im(e,ig)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:n=1}){let r,o;eC(e<=1e4,"Spring duration must be 10 seconds or less");let s=1-t;s=ic(.05,1,s),e=ic(.01,10,e/1e3),s<1?(r=t=>{let n=t*s,r=n*e;return .001-(n-i)/ih(t,s)*Math.exp(-r)},o=t=>{let n=t*s*e,o=Math.pow(s,2)*Math.pow(t,2)*e,a=ih(Math.pow(t,2),s);return(-r(t)+.001>0?-1:1)*((n*i+i-o)*Math.exp(-n))/a}):(r=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),o=t=>Math.exp(-t*e)*((i-t)*(e*e)));let a=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(r,o,5/e);if(e*=1e3,isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*n;return{stiffness:t,damping:2*s*Math.sqrt(n*t),duration:e}}}(e);(t=Object.assign(Object.assign(Object.assign({},t),i),{velocity:0,mass:1})).isResolvedFromDuration=!0}return t}(o),g=ib,p=ib;function f(){let e=d?-(d/1e3):0,n=i-t,o=l/(2*Math.sqrt(a*u)),s=Math.sqrt(a/u)/1e3;if(void 0===r&&(r=Math.min(Math.abs(i-t)/100,.4)),o<1){let t=ih(s,o);g=r=>i-Math.exp(-o*s*r)*((e+o*s*n)/t*Math.sin(t*r)+n*Math.cos(t*r)),p=i=>{let r=Math.exp(-o*s*i);return o*s*r*(Math.sin(t*i)*(e+o*s*n)/t+n*Math.cos(t*i))-r*(Math.cos(t*i)*(e+o*s*n)-t*n*Math.sin(t*i))}}else if(1===o)g=t=>i-Math.exp(-s*t)*(n+(e+s*n)*t);else{let t=s*Math.sqrt(o*o-1);g=r=>{let a=Math.exp(-o*s*r),l=Math.min(t*r,300);return i-a*((e+o*s*n)*Math.sinh(l)+t*n*Math.cosh(l))/t}}}return f(),{next:e=>{let t=g(e);if(h)s.done=e>=c;else{let o=1e3*p(e),a=Math.abs(i-t)<=r;s.done=Math.abs(o)<=n&&a}return s.value=s.done?i:t,s},flipTarget:()=>{d=-d,[t,i]=[i,t],f()}}}iv.needsInterpolation=(e,t)=>"string"==typeof e||"string"==typeof t;let ib=e=>0,iy=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n},i_=(e,t,i)=>-i*e+i*t+e,iw=(e,t)=>i=>!!(ti(i)&&tt.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),iC=(e,t,i)=>n=>{if(!ti(n))return n;let[r,o,s,a]=n.match(e7);return{[e]:parseFloat(r),[t]:parseFloat(o),[i]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},iS=e4(0,255),ix=Object.assign(Object.assign({},td),{transform:e=>Math.round(iS(e))}),ik={test:iw("rgb","red"),parse:iC("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+ix.transform(e)+", "+ix.transform(t)+", "+ix.transform(i)+", "+e9(tc.transform(n))+")"},iE={test:iw("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substr(1,2),i=e.substr(3,2),n=e.substr(5,2),r=e.substr(7,2)):(t=e.substr(1,1),i=e.substr(2,1),n=e.substr(3,1),r=e.substr(4,1),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:ik.transform},iL={test:iw("hsl","hue"),parse:iC("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:n=1})=>"hsla("+Math.round(e)+", "+to.transform(e9(t))+", "+to.transform(e9(i))+", "+e9(tc.transform(n))+")"};function iD(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}function iN({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,a=2*i-n;r=iD(a,n,e+1/3),o=iD(a,n,e),s=iD(a,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}let iA=(e,t,i)=>{let n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},iT=[iE,ik,iL],iI=e=>iT.find(t=>t.test(e)),iM=e=>`'${e}' is not an animatable color. Use the equivalent color code instead.`,iO=(e,t)=>{let i=iI(e),n=iI(t);eS(!!i,iM(e)),eS(!!n,iM(t));let r=i.parse(e),o=n.parse(t);i===iL&&(r=iN(r),i=ik),n===iL&&(o=iN(o),n=ik);let s=Object.assign({},r);return e=>{for(let t in s)"alpha"!==t&&(s[t]=iA(r[t],o[t],e));return s.alpha=i_(r.alpha,o.alpha,e),i.transform(s)}},iP={test:e=>ik.test(e)||iE.test(e)||iL.test(e),parse:e=>ik.test(e)?ik.parse(e):iL.test(e)?iL.parse(e):iE.parse(e),transform:e=>ti(e)?e:e.hasOwnProperty("red")?ik.transform(e):iL.transform(e)},iR="${c}",iF="${n}";function iB(e){"number"==typeof e&&(e=`${e}`);let t=[],i=0,n=e.match(te);n&&(i=n.length,e=e.replace(te,iR),t.push(...n.map(iP.parse)));let r=e.match(e7);return r&&(e=e.replace(e7,iF),t.push(...r.map(td.parse))),{values:t,numColors:i,tokenised:e}}function iV(e){return iB(e).values}function iH(e){let{values:t,numColors:i,tokenised:n}=iB(e),r=t.length;return e=>{let t=n;for(let n=0;n"number"==typeof e?0:e,iW={test:function(e){var t,i,n,r;return isNaN(e)&&ti(e)&&(null!==(i=null===(t=e.match(e7))||void 0===t?void 0:t.length)&&void 0!==i?i:0)+(null!==(r=null===(n=e.match(te))||void 0===n?void 0:n.length)&&void 0!==r?r:0)>0},parse:iV,createTransformer:iH,getAnimatableNone:function(e){let t=iV(e);return iH(e)(t.map(ij))}},iz=e=>"number"==typeof e;function iU(e,t){return iz(e)?i=>i_(e,t,i):iP.test(e)?iO(e,t):iG(e,t)}let i$=(e,t)=>{let i=[...e],n=i.length,r=e.map((e,i)=>iU(e,t[i]));return e=>{for(let t=0;t{let i=Object.assign(Object.assign({},e),t),n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=iU(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}};function iK(e){let t=iW.parse(e),i=t.length,n=0,r=0,o=0;for(let e=0;e{let i=iW.createTransformer(t),n=iK(e),r=iK(t);return n.numHSL===r.numHSL&&n.numRGB===r.numRGB&&n.numNumbers>=r.numNumbers?t4(i$(n.parsed,r.parsed),i):(eC(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),i=>`${i>0?t:e}`)},iZ=(e,t)=>i=>i_(e,t,i);function iY(e,t,{clamp:i=!0,ease:n,mixer:r}={}){var o;let s,a,l=e.length;eS(l===t.length,"Both input and output ranges must be the same length"),eS(!n||!Array.isArray(n)||n.length===l-1,"Array of easing functions must be of length `input.length - 1`, as it applies to the transitions **between** the defined values."),e[0]>e[l-1]&&(e=[].concat(e),t=[].concat(t),e.reverse(),t.reverse());let u=function(e,t,i){var n;let r=[],o=i||("number"==typeof(n=e[0])?iZ:"string"==typeof n?iP.test(n)?iO:iG:Array.isArray(n)?i$:"object"==typeof n?iq:void 0),s=e.length-1;for(let i=0;ii(iy(e,t,n))}(e,u):(a=(s=(o=e).length)-1,e=>{let t=0,i=!1;if(e<=o[0]?i=!0:e>=o[a]&&(t=a-1,i=!0),!i){let i=1;for(;ie)&&i!==a;i++);t=i-1}let n=iy(o[t],o[t+1],e);return u[t](n)});return i?t=>d(ic(e[0],e[l-1],t)):d}let iQ=e=>t=>1-e(1-t),iJ=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,iX=e=>t=>t*t*((e+1)*t-e),i0=4/11,i1=8/11,i2=e=>e,i6=e=>Math.pow(e,2),i3=iQ(i6),i8=iJ(i6),i5=e=>1-Math.sin(Math.acos(e)),i4=iQ(i5),i9=iJ(i4),i7=iX(1.525),ne=iQ(i7),nt=iJ(i7),ni=(e=>{let t=iX(1.525);return e=>(e*=2)<1?.5*t(e):.5*(2-Math.pow(2,-10*(e-1)))})(0),nn=4356/361,nr=35442/1805,no=16061/1805,ns=e=>{if(1===e||0===e)return e;let t=e*e;return e0!==t?t/(o-1):0))).map(e=>e*r);function u(){return iY(l,a,{ease:Array.isArray(i)?i:a.map(()=>i||i8).splice(0,a.length-1)})}let d=u();return{next:e=>(s.value=d(e),s.done=e>=r,s),flipTarget:()=>{a.reverse(),d=u()}}}let nu={keyframes:nl,spring:iv,decay:function({velocity:e=0,from:t=0,power:i=.8,timeConstant:n=350,restDelta:r=.5,modifyTarget:o}){let s={done:!1,value:t},a=i*e,l=t+a,u=void 0===o?l:o(l);return u!==l&&(a=u-t),{next:e=>{let t=-a*Math.exp(-e/n);return s.done=!(t>r||t<-r),s.value=s.done?u:u+t,s},flipTarget:()=>{}}}},nd=1/60*1e3,nc="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),nh="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(nc()),nd),ng=!0,np=!1,nf=!1,nm={delta:0,timestamp:0},nv=["read","update","preRender","render","postRender"],nb=nv.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;inp=!0),e),{}),ny=nv.reduce((e,t)=>{let i=nb[t];return e[t]=(e,t=!1,n=!1)=>(np||nS(),i.schedule(e,t,n)),e},{}),n_=nv.reduce((e,t)=>(e[t]=nb[t].cancel,e),{});nv.reduce((e,t)=>(e[t]=()=>nb[t].process(nm),e),{});let nw=e=>nb[e].process(nm),nC=e=>{np=!1,nm.delta=ng?nd:Math.max(Math.min(e-nm.timestamp,40),1),nm.timestamp=e,nf=!0,nv.forEach(nw),nf=!1,np&&(ng=!1,nh(nC))},nS=()=>{np=!0,ng=!0,nf||nh(nC)},nx=()=>nm;function nk(e,t,i=0){return e-t-i}let nE=e=>{let t=({delta:t})=>e(t);return{start:()=>ny.update(t,!0),stop:()=>n_.update(t)}};function nL(e){let t,i,n;var r,{from:o,autoplay:s=!0,driver:a=nE,elapsed:l=0,repeat:u=0,repeatType:d="loop",repeatDelay:c=0,onPlay:h,onStop:g,onComplete:p,onRepeat:f,onUpdate:m}=e,v=(0,ev._T)(e,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let{to:b}=v,y=0,_=v.duration,w=!1,C=!0,S=function(e){if(Array.isArray(e.to))return nl;if(nu[e.type])return nu[e.type];let t=new Set(Object.keys(e));if(t.has("ease")||t.has("duration")&&!t.has("dampingRatio"));else if(t.has("dampingRatio")||t.has("stiffness")||t.has("mass")||t.has("damping")||t.has("restSpeed")||t.has("restDelta"))return iv;return nl}(v);(null===(r=S.needsInterpolation)||void 0===r?void 0:r.call(S,o,b))&&(n=iY([0,100],[o,b],{clamp:!1}),o=0,b=100);let x=S(Object.assign(Object.assign({},v),{from:o,to:b}));return s&&(null==h||h(),(t=a(function(e){if(C||(e=-e),l+=e,!w){let e=x.next(Math.max(0,l));i=e.value,n&&(i=n(i)),w=C?e.done:l<=0}if(null==m||m(i),w){if(0===y&&(null!=_||(_=l)),y=o+c:r<=-c)&&(y++,"reverse"===d?l=function(e,t,i=0,n=!0){return n?nk(t+-e,t,i):t-(e-t)+i}(l,_,c,C=y%2==0):(l=nk(l,_,c),"mirror"===d&&x.flipTarget()),w=!1,f&&f())}else t.stop(),p&&p()}})).start()),{stop:()=>{null==g||g(),t.stop()}}}var nD=function(e){return 1e3*e};let nN=(e,t)=>1-3*t+3*e,nA=(e,t)=>3*t-6*e,nT=e=>3*e,nI=(e,t,i)=>((nN(t,i)*e+nA(t,i))*e+nT(t))*e,nM=(e,t,i)=>3*nN(t,i)*e*e+2*nA(t,i)*e+nT(t);var nO={linear:i2,easeIn:i6,easeInOut:i8,easeOut:i3,circIn:i5,circInOut:i9,circOut:i4,backIn:i7,backInOut:nt,backOut:ne,anticipate:ni,bounceIn:na,bounceInOut:e=>e<.5?.5*(1-ns(1-2*e)):.5*ns(2*e-1)+.5,bounceOut:ns},nP=function(e){if(Array.isArray(e)){eS(4===e.length,"Cubic bezier arrays must contain four numerical values.");var t=(0,ev.CR)(e,4);return function(e,t,i,n){if(e===t&&i===n)return i2;let r=new Float32Array(11);for(let t=0;t<11;++t)r[t]=nI(.1*t,e,i);return o=>0===o||1===o?o:nI(function(t){let n=0,o=1;for(;10!==o&&r[o]<=t;++o)n+=.1;let s=n+.1*((t-r[--o])/(r[o+1]-r[o])),a=nM(s,e,i);return a>=.001?function(e,t,i,n){for(let r=0;r<8;++r){let r=nM(t,i,n);if(0===r)break;let o=nI(t,i,n)-e;t-=o/r}return t}(t,s,e,i):0===a?s:function(e,t,i,n,r){let o,s;let a=0;do(o=nI(s=t+(i-t)/2,n,r)-e)>0?i=s:t=s;while(Math.abs(o)>1e-7&&++a<10)return s}(t,n,n+.1,e,i)}(o),t,n)}(t[0],t[1],t[2],t[3])}return"string"==typeof e?(eS(void 0!==nO[e],"Invalid easing type '".concat(e,"'")),nO[e]):e},nR=function(e,t){return"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&iW.test(t)&&!t.startsWith("url("))},nF=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},nB=function(e){return{type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}},nV=function(){return{type:"keyframes",ease:"linear",duration:.3}},nH=function(e){return{type:"keyframes",duration:.8,values:e}},nj={x:nF,y:nF,z:nF,rotate:nF,rotateX:nF,rotateY:nF,rotateZ:nF,scaleX:nB,scaleY:nB,scale:nB,opacity:nV,backgroundColor:nV,color:nV,default:nB},nW=function(e,t){var i;return i=tO(t)?nH:nj[e]||nj.default,(0,ev.pi)({to:t},i(t))};let nz=new Set(["brightness","contrast","saturate","opacity"]);function nU(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(e7)||[];if(!n)return e;let r=i.replace(n,""),o=nz.has(t)?1:0;return n!==i&&(o*=100),t+"("+o+r+")"}let n$=/([a-z-]*)\(.*?\)/g,nq=Object.assign(Object.assign({},iW),{getAnimatableNone:e=>{let t=e.match(n$);return t?t.map(nU).join(" "):e}});var nK=(0,ev.pi)((0,ev.pi)({},tp),{color:iP,backgroundColor:iP,outlineColor:iP,fill:iP,stroke:iP,borderColor:iP,borderTopColor:iP,borderRightColor:iP,borderBottomColor:iP,borderLeftColor:iP,filter:nq,WebkitFilter:nq}),nG=function(e){return nK[e]};function nZ(e,t){var i,n=nG(e);return n!==nq&&(n=iW),null===(i=n.getAnimatableNone)||void 0===i?void 0:i.call(n,t)}var nY={current:!1},nQ=!1;function nJ(e){return 0===e||"string"==typeof e&&0===parseFloat(e)&&-1===e.indexOf(" ")}function nX(e){return"number"==typeof e?0:nZ("",e)}function n0(e,t){return e[t]||e.default||e}function n1(e,t,i,n){return void 0===n&&(n={}),nY.current&&(n={type:!1}),t.start(function(r){var o,s,a,l,u,d,c,h,g,p,f,m=(l=i,c=null!==(u=(d=n0(n,e)).from)&&void 0!==u?u:t.get(),h=nR(e,l),"none"===c&&h&&"string"==typeof l?c=nZ(e,l):nJ(c)&&"string"==typeof l?c=nX(l):!Array.isArray(l)&&nJ(l)&&"string"==typeof c&&(l=nX(c)),eC((g=nR(e,c))===h,"You are trying to animate ".concat(e,' from "').concat(c,'" to "').concat(l,'". ').concat(c," is not an animatable value - to enable this animation set ").concat(c," to a value animatable to ").concat(l," via the `style` property.")),g&&h&&!1!==d.type?function(){var i,n,o,s,a,u,h,g,p,f,m,v={from:c,to:l,velocity:t.getVelocity(),onComplete:r,onUpdate:function(e){return t.set(e)}};return"inertia"===d.type||"decay"===d.type?function({from:e=0,velocity:t=0,min:i,max:n,power:r=.8,timeConstant:o=750,bounceStiffness:s=500,bounceDamping:a=10,restDelta:l=1,modifyTarget:u,driver:d,onUpdate:c,onComplete:h,onStop:g}){let p;function f(e){return void 0!==i&&en}function m(e){return void 0===i?n:void 0===n?i:Math.abs(i-e){var i;null==c||c(t),null===(i=e.onUpdate)||void 0===i||i.call(e,t)},onComplete:h,onStop:g}))}function b(e){v(Object.assign({type:"spring",stiffness:s,damping:a,restDelta:l},e))}if(f(e))b({from:e,velocity:t,to:m(e)});else{let n,s,a=r*t+e;void 0!==u&&(a=u(a));let d=m(a),c=d===i?-1:1;v({type:"decay",from:e,velocity:t,timeConstant:o,power:r,restDelta:l,modifyTarget:u,onUpdate:f(a)?e=>{var i;n=s,s=e,t=(i=nx().delta)?(e-n)*(1e3/i):0,(1===c&&e>d||-1===c&&enull==p?void 0:p.stop()}}((0,ev.pi)((0,ev.pi)({},v),d)):nL((0,ev.pi)((0,ev.pi)({},(i=d,Array.isArray(v.to)&&(null!==(n=i.duration)&&void 0!==n||(i.duration=.8)),Array.isArray(v.to)&&null===v.to[0]&&(v.to=(0,ev.ev)([],(0,ev.CR)(v.to),!1),v.to[0]=v.from),(o=i).when,o.delay,o.delayChildren,o.staggerChildren,o.staggerDirection,o.repeat,o.repeatType,o.repeatDelay,o.from,Object.keys((0,ev._T)(o,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"])).length||(i=(0,ev.pi)((0,ev.pi)({},i),nW(e,v.to))),(0,ev.pi)((0,ev.pi)({},v),(a=(s=i).ease,u=s.times,h=s.yoyo,g=s.flip,p=s.loop,f=(0,ev._T)(s,["ease","times","yoyo","flip","loop"]),m=(0,ev.pi)({},f),u&&(m.offset=u),f.duration&&(m.duration=nD(f.duration)),f.repeatDelay&&(m.repeatDelay=nD(f.repeatDelay)),a&&(m.ease=Array.isArray(a)&&"number"!=typeof a[0]?a.map(nP):nP(a)),"tween"===f.type&&(m.type="keyframes"),(h||p||g)&&(eC(!nQ,"yoyo, loop and flip have been removed from the API. Replace with repeat and repeatType options."),nQ=!0,h?m.repeatType="reverse":p?m.repeatType="loop":g&&(m.repeatType="mirror"),m.repeat=p||h||g||f.repeat),"spring"!==f.type&&(m.type="keyframes"),m)))),{onUpdate:function(e){var t;v.onUpdate(e),null===(t=d.onUpdate)||void 0===t||t.call(d,e)},onComplete:function(){var e;v.onComplete(),null===(e=d.onComplete)||void 0===e||e.call(d)}}))}:function(){var e,i,n=tP(l);return t.set(n),r(),null===(e=null==d?void 0:d.onUpdate)||void 0===e||e.call(d,n),null===(i=null==d?void 0:d.onComplete)||void 0===i||i.call(d),{stop:function(){}}}),v=null!==(a=null!==(s=(n0(o=n,e)||{}).delay)&&void 0!==s?s:o.delay)&&void 0!==a?a:0,b=function(){return f=m()};return v?p=window.setTimeout(b,nD(v)):b(),function(){clearTimeout(p),null==f||f.stop()}})}let n2=1/60*1e3,n6="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),n3="undefined"!=typeof window?e=>window.requestAnimationFrame(e):e=>setTimeout(()=>e(n6()),n2),n8=!0,n5=!1,n4=!1,n9={delta:0,timestamp:0},n7=["read","update","preRender","render","postRender"],re=n7.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;in5=!0),e),{}),rt=n7.reduce((e,t)=>{let i=re[t];return e[t]=(e,t=!1,n=!1)=>(n5||rs(),i.schedule(e,t,n)),e},{}),ri=n7.reduce((e,t)=>(e[t]=re[t].cancel,e),{}),rn=n7.reduce((e,t)=>(e[t]=()=>re[t].process(n9),e),{}),rr=e=>re[e].process(n9),ro=e=>{n5=!1,n9.delta=n8?n2:Math.max(Math.min(e-n9.timestamp,40),1),n9.timestamp=e,n4=!0,n7.forEach(rr),n4=!1,n5&&(n8=!1,n3(ro))},rs=()=>{n5=!0,n8=!0,n4||n3(ro)},ra=()=>n9;function rl(e,t){-1===e.indexOf(t)&&e.push(t)}function ru(e,t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}var rd=function(){function e(){this.subscriptions=[]}return e.prototype.add=function(e){var t=this;return rl(this.subscriptions,e),function(){return ru(t.subscriptions,e)}},e.prototype.notify=function(e,t,i){var n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(var r=0;rp&&b,S=Array.isArray(v)?v:[v],x=S.reduce(a,{});!1===y&&(x={});var k=m.prevResolvedValues,E=void 0===k?{}:k,L=(0,ev.pi)((0,ev.pi)({},E),x),D=function(e){C=!0,h.delete(e),m.needsAnimating[e]=!0};for(var N in L){var A=x[N],T=E[N];g.hasOwnProperty(N)||(A!==T?tO(A)&&tO(T)?!id(A,T)||w?D(N):m.protectedKeys[N]=!0:void 0!==A?D(N):h.add(N):void 0!==A&&h.has(N)?D(N):m.protectedKeys[N]=!0)}m.prevProp=v,m.prevResolvedValues=x,m.isActive&&(g=(0,ev.pi)((0,ev.pi)({},g),x)),o&&e.blockInitialAnimation&&(C=!1),C&&!_&&c.push.apply(c,(0,ev.ev)([],(0,ev.CR)(S.map(function(e){return{animation:e,options:(0,ev.pi)({type:f},t)}})),!1))}}(f);if(r=(0,ev.pi)({},g),h.size){var m={};h.forEach(function(t){var i=e.getBaseTarget(t);void 0!==i&&(m[t]=i)}),c.push({animation:m})}var v=!!c.length;return o&&!1===u.initial&&!e.manuallyAnimateOnMount&&(v=!1),o=!1,v?i(c):Promise.resolve()}return{isAnimated:function(e){return void 0!==r[e]},animateChanges:l,setActive:function(t,i,r){if(n[t].isActive===i)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(function(e){var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;var o,s=l(r,t);for(var a in n)n[a].protectedKeys={};return s},setAnimateFunction:function(t){i=t(e)},getState:function(){return n}}}(t)),tM(i)&&(0,d.useEffect)(function(){return i.subscribe(t)},[i])}),exit:io(function(e){var t=e.custom,i=e.visualElement,n=(0,ev.CR)(iu(),2),r=n[0],o=n[1],a=(0,d.useContext)(eN);(0,d.useEffect)(function(){i.isPresent=r;var e,n,l=null===(e=i.animationState)||void 0===e?void 0:e.setActive(s.Exit,!r,{custom:null!==(n=null==a?void 0:a.custom)&&void 0!==n?n:t});r||null==l||l.then(o)},[r])})};let rk=e=>e.hasOwnProperty("x")&&e.hasOwnProperty("y"),rE=e=>rk(e)&&e.hasOwnProperty("z"),rL=(e,t)=>Math.abs(e-t);function rD(e,t){return iz(e)&&iz(t)?rL(e,t):rk(e)&&rk(t)?Math.sqrt(Math.pow(rL(e.x,t.x),2)+Math.pow(rL(e.y,t.y),2)+Math.pow(rE(e)&&rE(t)?rL(e.z,t.z):0,2)):void 0}var rN=function(){function e(e,t,i){var n=this,r=(void 0===i?{}:i).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(n.lastMoveEvent&&n.lastMoveEventInfo){var e=rI(n.lastMoveEventInfo,n.history),t=null!==n.startEvent,i=rD(e.offset,{x:0,y:0})>=3;if(t||i){var r=e.point,o=ra().timestamp;n.history.push((0,ev.pi)((0,ev.pi)({},r),{timestamp:o}));var s=n.handlers,a=s.onStart,l=s.onMove;t||(a&&a(n.lastMoveEvent,e),n.startEvent=n.lastMoveEvent),l&&l(n.lastMoveEvent,e)}}},this.handlePointerMove=function(e,t){if(n.lastMoveEvent=e,n.lastMoveEventInfo=rA(t,n.transformPagePoint),tz(e)&&0===e.buttons){n.handlePointerUp(e,t);return}rt.update(n.updatePoint,!0)},this.handlePointerUp=function(e,t){n.end();var i=n.handlers,r=i.onEnd,o=i.onSessionEnd,s=rI(rA(t,n.transformPagePoint),n.history);n.startEvent&&r&&r(e,s),o&&o(e,s)},!e.touches||!(e.touches.length>1)){this.handlers=t,this.transformPagePoint=r;var o=rA(t$(e),this.transformPagePoint),s=o.point,a=ra().timestamp;this.history=[(0,ev.pi)((0,ev.pi)({},s),{timestamp:a})];var l=t.onSessionStart;l&&l(e,rI(o,this.history)),this.removeListeners=t4(tY(window,"pointermove",this.handlePointerMove),tY(window,"pointerup",this.handlePointerUp),tY(window,"pointercancel",this.handlePointerUp))}}return e.prototype.updateHandlers=function(e){this.handlers=e},e.prototype.end=function(){this.removeListeners&&this.removeListeners(),ri.update(this.updatePoint)},e}();function rA(e,t){return t?{point:t(e.point)}:e}function rT(e,t){return{x:e.x-t.x,y:e.y-t.y}}function rI(e,t){var i=e.point;return{point:i,delta:rT(i,rM(t)),offset:rT(i,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};for(var i=e.length-1,n=null,r=rM(e);i>=0&&(n=e[i],!(r.timestamp-n.timestamp>nD(.1)));)i--;if(!n)return{x:0,y:0};var o=(r.timestamp-n.timestamp)/1e3;if(0===o)return{x:0,y:0};var s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function rM(e){return e[e.length-1]}function rO(e){return e.max-e.min}function rP(e,t,i){return void 0===t&&(t=0),void 0===i&&(i=.01),rD(e,t)l?u="y":Math.abs(d.x)>l&&(u="x"),u),null!==i.currentDirection&&(null==s||s(i.currentDirection));return}i.updateAxis("x",t.point,d),i.updateAxis("y",t.point,d),i.visualElement.syncRender(),null==a||a(e,t)}},onSessionEnd:function(e,t){return i.stop(e,t)}},{transformPagePoint:this.visualElement.getTransformPagePoint()}))},e.prototype.stop=function(e,t){var i=this.isDragging;if(this.cancel(),i){var n=t.velocity;this.startAnimation(n);var r=this.getProps().onDragEnd;null==r||r(e,t)}},e.prototype.cancel=function(){var e,t;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(e=this.panSession)||void 0===e||e.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(t=this.visualElement.animationState)||void 0===t||t.setActive(s.Drag,!1)},e.prototype.updateAxis=function(e,t,i){var n=this.getProps().drag;if(i&&ot(e,n,this.currentDirection)){var r,o,s,a,l,u=this.getAxisMotionValue(e),d=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(r=d,o=this.constraints[e],s=this.elastic[e],a=o.min,l=o.max,void 0!==a&&rl&&(r=s?i_(l,r,s.max):Math.min(r,l)),d=r),u.set(d)}},e.prototype.resolveConstraints=function(){var e,t,i,n,r,o,s=this,a=this.getProps(),l=a.dragConstraints,u=a.dragElastic,d=(this.visualElement.projection||{}).layout,c=this.constraints;l&&eO(l)?this.constraints||(this.constraints=this.resolveRefConstraints()):l&&d?this.constraints=(e=d.actual,t=l.top,i=l.left,n=l.bottom,r=l.right,{x:rj(e.x,i,r),y:rj(e.y,t,n)}):this.constraints=!1,this.elastic=(void 0===(o=u)&&(o=.35),!1===o?o=0:!0===o&&(o=.35),{x:rz(o,"left","right"),y:rz(o,"top","bottom")}),c!==this.constraints&&d&&this.constraints&&!this.hasMutatedConstraints&&rZ(function(e){if(s.getAxisMotionValue(e)){var t,i,n;s.constraints[e]=(t=d.actual[e],i=s.constraints[e],n={},void 0!==i.min&&(n.min=i.min-t.min),void 0!==i.max&&(n.max=i.max-t.min),n)}})},e.prototype.resolveRefConstraints=function(){var e=this.getProps(),t=e.dragConstraints,i=e.onMeasureDragConstraints;if(!t||!eO(t))return!1;var n=t.current;eS(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");var r=this.visualElement.projection;if(!r||!r.layout)return!1;var o=(a=r.root,l=r9(n,this.visualElement.getTransformPagePoint()),(u=a.scroll)&&(r6(l.x,u.x),r6(l.y,u.y)),l),s={x:rW((d=r.layout.actual).x,o.x),y:rW(d.y,o.y)};if(i){var a,l,u,d,c,h,g,p=i((h=(c=s).x,{top:(g=c.y).min,right:h.max,bottom:g.max,left:h.min}));this.hasMutatedConstraints=!!p,p&&(s=rY(p))}return s},e.prototype.startAnimation=function(e){var t=this,i=this.getProps(),n=i.drag,r=i.dragMomentum,o=i.dragElastic,s=i.dragTransition,a=i.dragSnapToOrigin,l=i.onDragTransitionEnd,u=this.constraints||{};return Promise.all(rZ(function(i){if(ot(i,n,t.currentDirection)){var l,d=null!==(l=null==u?void 0:u[i])&&void 0!==l?l:{};a&&(d={min:0,max:0});var c=(0,ev.pi)((0,ev.pi)({type:"inertia",velocity:r?e[i]:0,bounceStiffness:o?200:1e6,bounceDamping:o?40:1e7,timeConstant:750,restDelta:1,restSpeed:10},s),d);return t.startAxisValueAnimation(i,c)}})).then(l)},e.prototype.startAxisValueAnimation=function(e,t){var i=this.getAxisMotionValue(e);return n1(e,i,0,t)},e.prototype.stopAnimation=function(){var e=this;rZ(function(t){return e.getAxisMotionValue(t).stop()})},e.prototype.getAxisMotionValue=function(e){var t,i,n="_drag"+e.toUpperCase();return this.visualElement.getProps()[n]||this.visualElement.getValue(e,null!==(i=null===(t=this.visualElement.getProps().initial)||void 0===t?void 0:t[e])&&void 0!==i?i:0)},e.prototype.snapToCursor=function(e){var t=this;rZ(function(i){if(ot(i,t.getProps().drag,t.currentDirection)){var n=t.visualElement.projection,r=t.getAxisMotionValue(i);if(n&&n.layout){var o=n.layout.actual[i],s=o.min,a=o.max;r.set(e[i]-i_(s,a,.5))}}})},e.prototype.scalePositionWithinConstraints=function(){var e,t=this,i=this.getProps(),n=i.drag,r=i.dragConstraints,o=this.visualElement.projection;if(eO(r)&&o&&this.constraints){this.stopAnimation();var s={x:0,y:0};rZ(function(e){var i=t.getAxisMotionValue(e);if(i){var n,r,o,a,l,u=i.get();s[e]=(n={min:u,max:u},r=t.constraints[e],o=.5,a=rO(n),(l=rO(r))>a?o=iy(r.min,r.max-a,n.min):a>l&&(o=iy(n.min,n.max-l,r.min)),ic(0,1,o))}});var a=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=a?a({},""):"none",null===(e=o.root)||void 0===e||e.updateScroll(),o.updateLayout(),this.resolveConstraints(),rZ(function(e){if(ot(e,n,null)){var i=t.getAxisMotionValue(e),r=t.constraints[e],o=r.min,a=r.max;i.set(i_(o,a,s[e]))}})}},e.prototype.addListeners=function(){var e,t=this;r7.set(this.visualElement,this);var i=tY(this.visualElement.getInstance(),"pointerdown",function(e){var i=t.getProps(),n=i.drag,r=i.dragListener;n&&(void 0===r||r)&&t.start(e)}),n=function(){eO(t.getProps().dragConstraints)&&(t.constraints=t.resolveRefConstraints())},r=this.visualElement.projection,o=r.addEventListener("measure",n);r&&!r.layout&&(null===(e=r.root)||void 0===e||e.updateScroll(),r.updateLayout()),n();var s=tj(window,"resize",function(){return t.scalePositionWithinConstraints()});return r.addEventListener("didUpdate",function(e){var i=e.delta,n=e.hasLayoutChanged;t.isDragging&&n&&(rZ(function(e){var n=t.getAxisMotionValue(e);n&&(t.originPoint[e]+=i[e].translate,n.set(n.get()+i[e].translate))}),t.visualElement.syncRender())}),function(){s(),i(),o()}},e.prototype.getProps=function(){var e=this.visualElement.getProps(),t=e.drag,i=e.dragDirectionLock,n=e.dragPropagation,r=e.dragConstraints,o=e.dragElastic,s=e.dragMomentum;return(0,ev.pi)((0,ev.pi)({},e),{drag:void 0!==t&&t,dragDirectionLock:void 0!==i&&i,dragPropagation:void 0!==n&&n,dragConstraints:void 0!==r&&r,dragElastic:void 0===o?.35:o,dragMomentum:void 0===s||s})},e}();function ot(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}var oi={pan:io(function(e){var t=e.onPan,i=e.onPanStart,n=e.onPanEnd,r=e.onPanSessionStart,o=e.visualElement,s=t||i||n||r,a=(0,d.useRef)(null),l=(0,d.useContext)(eL).transformPagePoint,u={onSessionStart:r,onStart:i,onMove:t,onEnd:function(e,t){a.current=null,n&&n(e,t)}};(0,d.useEffect)(function(){null!==a.current&&a.current.updateHandlers(u)}),tQ(o,"pointerdown",s&&function(e){a.current=new rN(e,u,{transformPagePoint:l})}),t8(function(){return a.current&&a.current.end()})}),drag:io(function(e){var t=e.dragControls,i=e.visualElement,n=eW(function(){return new oe(i)});(0,d.useEffect)(function(){return t&&t.subscribe(n)},[n,t]),(0,d.useEffect)(function(){return n.addListeners()},[n])})},on=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"],or=function(e){var t=e.treeType,i=void 0===t?"":t,n=e.build,r=e.getBaseTarget,o=e.makeTargetAnimatable,s=e.measureViewportBox,a=e.render,l=e.readValueFromInstance,u=e.removeValueFromRenderState,d=e.sortNodePosition,c=e.scrapeMotionValuesFromProps;return function(e,t){var h,g,p,f,m,v=e.parent,b=e.props,y=e.presenceId,_=e.blockInitialAnimation,w=e.visualState,C=e.shouldReduceMotion;void 0===t&&(t={});var S=!1,x=w.latestValues,k=w.renderState,E=(h=on.map(function(){return new rd}),g={},p={clearAllListeners:function(){return h.forEach(function(e){return e.clear()})},updatePropListeners:function(e){on.forEach(function(t){var i,n="on"+t,r=e[n];null===(i=g[t])||void 0===i||i.call(g),r&&(g[t]=p[n](r))})}},h.forEach(function(e,t){p["on"+on[t]]=function(t){return e.add(t)},p["notify"+on[t]]=function(){for(var t=[],i=0;i=0?window.pageYOffset:null,u=oy(t,e,a);return o.length&&o.forEach(function(t){var i=(0,ev.CR)(t,2),n=i[0],r=i[1];e.getValue(n).set(r)}),e.syncRender(),null!==l&&window.scrollTo({top:l}),{target:u,transitionEnd:n}},ow=function(e,t,i,n){var r,o,s=function(e,t,i){var n,r=(0,ev._T)(t,[]),o=e.getInstance();if(!(o instanceof Element))return{target:r,transitionEnd:i};for(var s in i&&(i=(0,ev.pi)({},i)),e.forEachValue(function(e){var t=e.get();if(oa(t)){var i=ou(t,o);i&&e.set(i)}}),r){var a=r[s];if(oa(a)){var l=ou(a,o);l&&(r[s]=l,i&&(null!==(n=i[s])&&void 0!==n||(i[s]=a)))}}return{target:r,transitionEnd:i}}(e,t,n);return r=t=s.target,o=n=s.transitionEnd,Object.keys(r).some(oc)?o_(e,r,i,o):{target:r,transitionEnd:o}},oC={treeType:"dom",readValueFromInstance:function(e,t){if(e1(t)){var i=nG(t);return i&&i.default||0}var n=window.getComputedStyle(e);return(e5(t)?n.getPropertyValue(t):n[t])||0},sortNodePosition:function(e,t){return 2&e.compareDocumentPosition(t)?1:-1},getBaseTarget:function(e,t){var i;return null===(i=e.style)||void 0===i?void 0:i[t]},measureViewportBox:function(e,t){return r9(e,t.transformPagePoint)},resetTransform:function(e,t,i){var n=i.transformTemplate;t.style.transform=n?n({},""):"none",e.scheduleRender()},restoreTransform:function(e,t){e.style.transform=t.style.transform},removeValueFromRenderState:function(e,t){delete t.vars[e],delete t.style[e]},makeTargetAnimatable:function(e,t,i,n){var r=i.transformValues;void 0===n&&(n=!0);var o=t.transition,s=t.transitionEnd,a=(0,ev._T)(t,["transition","transitionEnd"]),l=function(e,t,i){var n,r,o={};for(var s in e)o[s]=null!==(n=function(e,t){if(t)return(t[e]||t.default||t).from}(s,t))&&void 0!==n?n:null===(r=i.getValue(s))||void 0===r?void 0:r.get();return o}(a,o||{},e);if(r&&(s&&(s=r(s)),a&&(a=r(a)),l&&(l=r(l))),n){!function(e,t,i){var n,r,o,s=Object.keys(t).filter(function(t){return!e.hasValue(t)}),a=s.length;if(a)for(var l=0;l5)return r;var l=iW.createTransformer(e),u="number"!=typeof a[0]?1:0,d=n.x.scale*i.x,c=n.y.scale*i.y;a[0+u]/=d,a[1+u]/=c;var h=i_(d,c,.5);"number"==typeof a[2+u]&&(a[2+u]/=h),"number"==typeof a[3+u]&&(a[3+u]/=h);var g=l(a);if(o){var p=0;g=g.replace(oD,function(){var e=s[p];return p++,e})}return g}}},oT=["TopLeft","TopRight","BottomLeft","BottomRight"],oI=oT.length,oM=function(e){return"string"==typeof e?parseFloat(e):e},oO=function(e){return"number"==typeof e||ts.test(e)};function oP(e,t){var i;return null!==(i=e[t])&&void 0!==i?i:e.borderRadius}var oR=oB(0,.5,i4),oF=oB(.5,.95,i2);function oB(e,t,i){return function(n){return nt?1:i(iy(e,t,n))}}function oV(e,t){e.min=t.min,e.max=t.max}function oH(e,t){oV(e.x,t.x),oV(e.y,t.y)}function oj(e,t,i,n,r){return e-=t,e=n+1/i*(e-n),void 0!==r&&(e=n+1/r*(e-n)),e}function oW(e,t,i,n,r){var o=(0,ev.CR)(i,3),s=o[0],a=o[1],l=o[2];!function(e,t,i,n,r,o,s){if(void 0===t&&(t=0),void 0===i&&(i=1),void 0===n&&(n=.5),void 0===o&&(o=e),void 0===s&&(s=e),to.test(t)&&(t=parseFloat(t),t=i_(s.min,s.max,t/100)-s.min),"number"==typeof t){var a=i_(o.min,o.max,n);e===o&&(a-=t),e.min=oj(e.min,t,i,a,r),e.max=oj(e.max,t,i,a,r)}}(e,t[s],t[a],t[l],t.scale,n,r)}var oz=["x","scaleX","originX"],oU=["y","scaleY","originY"];function o$(e,t,i,n){oW(e.x,t,oz,null==i?void 0:i.x,null==n?void 0:n.x),oW(e.y,t,oU,null==i?void 0:i.y,null==n?void 0:n.y)}function oq(e){return 0===e.translate&&1===e.scale}function oK(e){return oq(e.x)&&oq(e.y)}function oG(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}var oZ=function(){function e(){this.members=[]}return e.prototype.add=function(e){rl(this.members,e),e.scheduleRender()},e.prototype.remove=function(e){if(ru(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){var t=this.members[this.members.length-1];t&&this.promote(t)}},e.prototype.relegate=function(e){var t,i=this.members.findIndex(function(t){return e===t});if(0===i)return!1;for(var n=i;n>=0;n--){var r=this.members[n];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)},e.prototype.promote=function(e,t){var i,n=this.lead;e!==n&&(this.prevLead=n,this.lead=e,e.show(),n&&(n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues,e.snapshot.isShared=!0),(null===(i=e.root)||void 0===i?void 0:i.isUpdating)&&(e.isLayoutDirty=!0),!1===e.options.crossfade&&n.hide()))},e.prototype.exitAnimationComplete=function(){this.members.forEach(function(e){var t,i,n,r,o;null===(i=(t=e.options).onExitComplete)||void 0===i||i.call(t),null===(o=null===(n=e.resumingFrom)||void 0===n?void 0:(r=n.options).onExitComplete)||void 0===o||o.call(r)})},e.prototype.scheduleRender=function(){this.members.forEach(function(e){e.instance&&e.scheduleRender(!1)})},e.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},e}();function oY(e,t,i){var n=e.x.translate/t.x,r=e.y.translate/t.y,o="translate3d(".concat(n,"px, ").concat(r,"px, 0) ");if(o+="scale(".concat(1/t.x,", ").concat(1/t.y,") "),i){var s=i.rotate,a=i.rotateX,l=i.rotateY;s&&(o+="rotate(".concat(s,"deg) ")),a&&(o+="rotateX(".concat(a,"deg) ")),l&&(o+="rotateY(".concat(l,"deg) "))}var u=e.x.scale*t.x,d=e.y.scale*t.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(o+="scale(".concat(u,", ").concat(d,")"))?"none":o}var oQ=function(e,t){return e.depth-t.depth},oJ=function(){function e(){this.children=[],this.isDirty=!1}return e.prototype.add=function(e){rl(this.children,e),this.isDirty=!0},e.prototype.remove=function(e){ru(this.children,e),this.isDirty=!0},e.prototype.forEach=function(e){this.isDirty&&this.children.sort(oQ),this.isDirty=!1,this.children.forEach(e)},e}();function oX(e){var t=e.attachResizeListener,i=e.defaultParent,n=e.measureScroll,r=e.checkIsScrollRoot,o=e.resetTransform;return function(){function e(e,t,n){var r=this;void 0===t&&(t={}),void 0===n&&(n=null==i?void 0:i()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){r.isUpdating&&(r.isUpdating=!1,r.clearAllSnapshots())},this.updateProjection=function(){r.nodes.forEach(o5),r.nodes.forEach(o4)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=e,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?(0,ev.ev)((0,ev.ev)([],(0,ev.CR)(n.path),!1),[n],!1):[],this.parent=n,this.depth=n?n.depth+1:0,e&&this.root.registerPotentialNode(e,this);for(var o=0;o=((null===(i=this.getStack())||void 0===i?void 0:i.members.length)||0),c=!!(u&&!d&&!0===this.options.crossfade&&!this.path.some(si));this.animationProgress=0,this.mixTargetDelta=function(t){var i,r,h,g=t/1e3;se(a.x,e.x,g),se(a.y,e.y,g),n.setTargetDelta(a),n.relativeTarget&&n.relativeTargetOrigin&&n.layout&&(null===(h=n.relativeParent)||void 0===h?void 0:h.layout)&&(rH(l,n.layout.actual,n.relativeParent.layout.actual),i=n.relativeTarget,r=n.relativeTargetOrigin,st(i.x,r.x,l.x,g),st(i.y,r.y,l.y,g)),u&&(n.animationValues=s,function(e,t,i,n,r,o){var s,a,l,u;r?(e.opacity=i_(0,null!==(s=i.opacity)&&void 0!==s?s:1,oR(n)),e.opacityExit=i_(null!==(a=t.opacity)&&void 0!==a?a:1,0,oF(n))):o&&(e.opacity=i_(null!==(l=t.opacity)&&void 0!==l?l:1,null!==(u=i.opacity)&&void 0!==u?u:1,n));for(var d=0;d=0;n--)if(e.path[n].instance){i=e.path[n];break}var r=(i&&i!==e.root?i.instance:document).querySelector('[data-projection-id="'.concat(t,'"]'));r&&e.mount(r,!0)}function so(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function ss(e){so(e.x),so(e.y)}var sa=oX({attachResizeListener:function(e,t){return tj(e,"resize",t)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}},checkIsScrollRoot:function(){return!0}}),sl={current:void 0},su=oX({measureScroll:function(e){return{x:e.scrollLeft,y:e.scrollTop}},defaultParent:function(){if(!sl.current){var e=new sa(0,{});e.mount(window),e.setOptions({layoutScroll:!0}),sl.current=e}return sl.current},resetTransform:function(e,t){e.style.transform=null!=t?t:"none"},checkIsScrollRoot:function(e){return"fixed"===window.getComputedStyle(e).position}}),sd=(0,ev.pi)((0,ev.pi)((0,ev.pi)((0,ev.pi)({},rx),is),oi),{measureLayout:function(e){var t=(0,ev.CR)(iu(),2),i=t[0],n=t[1],r=(0,d.useContext)(e$);return d.createElement(oN,(0,ev.pi)({},e,{layoutGroup:r,switchLayoutGroup:(0,d.useContext)(eq),isPresent:i,safeToRemove:n}))}}),sc=function(e){function t(t,i){var n,r,o,s,a,l,u;return void 0===i&&(i={}),r=(n=e(t,i)).preloadedFeatures,o=n.createVisualElement,s=n.projectionNodeConstructor,a=n.useRender,l=n.useVisualState,u=n.Component,r&&function(e){for(var t in e)null!==e[t]&&("projectionNodeConstructor"===t?ew.projectionNodeConstructor=e[t]:ew[t].Component=e[t])}(r),(0,d.forwardRef)(function(e,t){var i,n,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A,T,I,M,O,P,R=(_=e.layoutId,(w=null===(y=(0,d.useContext)(e$))||void 0===y?void 0:y.id)&&void 0!==_?w+"-"+_:_);e=(0,ev.pi)((0,ev.pi)({},e),{layoutId:R});var F=(0,d.useContext)(eL),B=null,V=(S=(C=function(e,t){if(eV(e)){var i=e.initial,n=e.animate;return{initial:!1===i||eR(i)?i:void 0,animate:eR(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,d.useContext)(eD))).initial,x=C.animate,(0,d.useMemo)(function(){return{initial:S,animate:x}},[ej(S),ej(x)])),H=F.isStatic?void 0:eW(function(){if(ez.hasEverUpdated)return eU++}),j=l(e,F.isStatic);return!F.isStatic&&eA&&(V.visualElement=(k=(0,ev.pi)((0,ev.pi)({},F),e),E=o,L=(0,d.useContext)(ex),D=(0,d.useContext)(eD).visualElement,N=(0,d.useContext)(eN),eM||function(){if(eM=!0,eA){if(window.matchMedia){var e=window.matchMedia("(prefers-reduced-motion)"),t=function(){return eI.current=e.matches};e.addListener(t),t()}else eI.current=!1}}(),A=(0,ev.CR)((0,d.useState)(eI.current),1)[0],I="never"!==(T=(0,d.useContext)(eL).reducedMotion)&&("always"===T||A),M=(0,d.useRef)(void 0),E||(E=L.renderer),!M.current&&E&&(M.current=E(u,{visualState:j,parent:D,props:k,presenceId:null==N?void 0:N.id,blockInitialAnimation:(null==N?void 0:N.initial)===!1,shouldReduceMotion:I})),O=M.current,eT(function(){null==O||O.syncRender()}),(0,d.useEffect)(function(){var e;null===(e=null==O?void 0:O.animationState)||void 0===e||e.animateChanges()}),eT(function(){return function(){return null==O?void 0:O.notifyUnmount()}},[]),O),i=e,n=V.visualElement,c=s||ew.projectionNodeConstructor,g=i.layoutId,p=i.layout,f=i.drag,m=i.dragConstraints,v=i.layoutScroll,b=(0,d.useContext)(eq),!c||!n||(null==n?void 0:n.projection)||(n.projection=new c(H,n.getLatestValues(),null===(h=n.parent)||void 0===h?void 0:h.projection),n.projection.setOptions({layoutId:g,layout:p,alwaysMeasureLayout:!!f||m&&eO(m),visualElement:n,scheduleRender:function(){return n.scheduleRender()},animationType:"string"==typeof p?p:"both",initialPromotionConfig:b,layoutScroll:v})),B=function(e,t,i){var n=[],r=(0,d.useContext)(ex);if(!t)return null;"production"!==ey&&i&&r.strict&&eS(!1,"You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.");for(var o=0;osp.every(i=>e[i]===t[i]);var sm=i(95453),sv=i(49573),sb=i(22902),sy=i(26591),s_=i(29856);let sw=(e,t)=>({event:e,check:t}),sC=sw("touchstart",e=>null!==e.touches&&void 0!==e.touches);sw("dragstart",e=>-1!==e.type.indexOf("drag")||-1!==e.type.indexOf("drop")),sw("mousedown",e=>-1===e.type.indexOf("touch")&&-1!==e.type.indexOf("mouse"));let sS=sw("pointerdown",e=>"mouse"==e.pointerType);function sx(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function sk(e,t){var i=sE(e,t,"get");return i.get?i.get.call(e):i.value}function sE(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var sL=new WeakMap;class sD{constructor(){!function(e,t,i){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}(this,sL,{writable:!0,value:void 0}),sx(this,"register",e=>{sk(this,sL).push(e)}),sx(this,"unregister",e=>{let t;for(;-1!==(t=sk(this,sL).indexOf(e));)sk(this,sL).splice(t,1)}),sx(this,"backendChanged",e=>{for(let t of sk(this,sL))t.backendChanged(e)}),function(e,t,i){var n=sE(e,t,"set");(function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}})(e,n,i)}(this,sL,[])}}function sN(e,t,i){(function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,i)}function sA(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}function sT(e,t){var i=sM(e,t,"get");return i.get?i.get.call(e):i.value}function sI(e,t,i){var n=sM(e,t,"set");return function(e,t,i){if(t.set)t.set.call(e,i);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=i}}(e,n,i),i}function sM(e,t,i){if(!t.has(e))throw TypeError("attempted to "+i+" private field on non-instance");return t.get(e)}var sO=new WeakMap,sP=new WeakMap,sR=new WeakMap,sF=new WeakMap,sB=new WeakMap,sV=new WeakMap,sH=new WeakMap,sj=new WeakMap,sW=new WeakMap,sz=new WeakMap,sU=new WeakMap;class s${constructor(e,t,i){if(sN(this,sO,{writable:!0,value:void 0}),sN(this,sP,{writable:!0,value:void 0}),sN(this,sR,{writable:!0,value:void 0}),sN(this,sF,{writable:!0,value:void 0}),sN(this,sB,{writable:!0,value:void 0}),sN(this,sV,{writable:!0,value:(e,t,i)=>{var n,r;if(!i.backend)throw Error("You must specify a 'backend' property in your Backend entry: ".concat(JSON.stringify(i)));let o=i.backend(e,t,i.options),s=i.id,a=!i.id&&o&&o.constructor;if(a&&(s=o.constructor.name),s)a&&console.warn("Deprecation notice: You are using a pipeline which doesn't include backends' 'id'.\n This might be unsupported in the future, please specify 'id' explicitely for every backend.");else throw Error("You must specify an 'id' property in your Backend entry: ".concat(JSON.stringify(i),"\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-5xx"));if(sT(this,sR)[s])throw Error("You must specify a unique 'id' property in your Backend entry:\n ".concat(JSON.stringify(i)," (conflicts with: ").concat(JSON.stringify(sT(this,sR)[s]),")"));return{id:s,instance:o,preview:null!==(n=i.preview)&&void 0!==n&&n,transition:i.transition,skipDispatchOnTransition:null!==(r=i.skipDispatchOnTransition)&&void 0!==r&&r}}}),sA(this,"setup",()=>{if("undefined"!=typeof window){if(s$.isSetUp)throw Error("Cannot have two MultiBackends at the same time.");s$.isSetUp=!0,sT(this,sH).call(this,window),sT(this,sR)[sT(this,sO)].instance.setup()}}),sA(this,"teardown",()=>{"undefined"!=typeof window&&(s$.isSetUp=!1,sT(this,sj).call(this,window),sT(this,sR)[sT(this,sO)].instance.teardown())}),sA(this,"connectDragSource",(e,t,i)=>sT(this,sU).call(this,"connectDragSource",e,t,i)),sA(this,"connectDragPreview",(e,t,i)=>sT(this,sU).call(this,"connectDragPreview",e,t,i)),sA(this,"connectDropTarget",(e,t,i)=>sT(this,sU).call(this,"connectDropTarget",e,t,i)),sA(this,"profile",()=>sT(this,sR)[sT(this,sO)].instance.profile()),sA(this,"previewEnabled",()=>sT(this,sR)[sT(this,sO)].preview),sA(this,"previewsList",()=>sT(this,sP)),sA(this,"backendsList",()=>sT(this,sF)),sN(this,sH,{writable:!0,value:e=>{sT(this,sF).forEach(t=>{t.transition&&e.addEventListener(t.transition.event,sT(this,sW))})}}),sN(this,sj,{writable:!0,value:e=>{sT(this,sF).forEach(t=>{t.transition&&e.removeEventListener(t.transition.event,sT(this,sW))})}}),sN(this,sW,{writable:!0,value:e=>{let t=sT(this,sO);if(sT(this,sF).some(t=>!!(t.id!==sT(this,sO)&&t.transition&&t.transition.check(e))&&(sI(this,sO,t.id),!0)),sT(this,sO)!==t){var i;sT(this,sR)[t].instance.teardown(),Object.keys(sT(this,sB)).forEach(e=>{let t=sT(this,sB)[e];t.unsubscribe(),t.unsubscribe=sT(this,sz).call(this,t.func,...t.args)}),sT(this,sP).backendChanged(this);let n=sT(this,sR)[sT(this,sO)];if(n.instance.setup(),n.skipDispatchOnTransition)return;let r=new e.constructor(e.type,e);null===(i=e.target)||void 0===i||i.dispatchEvent(r)}}}),sN(this,sz,{writable:!0,value:(e,t,i,n)=>sT(this,sR)[sT(this,sO)].instance[e](t,i,n)}),sN(this,sU,{writable:!0,value:(e,t,i,n)=>{let r="".concat(e,"_").concat(t),o=sT(this,sz).call(this,e,t,i,n);return sT(this,sB)[r]={func:e,args:[t,i,n],unsubscribe:o},()=>{sT(this,sB)[r].unsubscribe(),delete sT(this,sB)[r]}}}),!i||!i.backends||i.backends.length<1)throw Error("You must specify at least one Backend, if you are coming from 2.x.x (or don't understand this error)\n see this guide: https://github.com/louisbrunner/dnd-multi-backend/tree/master/packages/react-dnd-multi-backend#migrating-from-2xx");sI(this,sP,new sD),sI(this,sR,{}),sI(this,sF,[]),i.backends.forEach(i=>{let n=sT(this,sV).call(this,e,t,i);sT(this,sR)[n.id]=n,sT(this,sF).push(n)}),sI(this,sO,sT(this,sF)[0].id),sI(this,sB,{})}}sA(s$,"isSetUp",!1);let sq=(e,t,i)=>new s$(e,t,i);var sK=i(56536);!function(e){e.mouse="mouse",e.touch="touch",e.keyboard="keyboard"}(l||(l={}));class sG{get delay(){var e;return null!==(e=this.args.delay)&&void 0!==e?e:0}get scrollAngleRanges(){return this.args.scrollAngleRanges}get getDropTargetElementsAtPoint(){return this.args.getDropTargetElementsAtPoint}get ignoreContextMenu(){var e;return null!==(e=this.args.ignoreContextMenu)&&void 0!==e&&e}get enableHoverOutsideTarget(){var e;return null!==(e=this.args.enableHoverOutsideTarget)&&void 0!==e&&e}get enableKeyboardEvents(){var e;return null!==(e=this.args.enableKeyboardEvents)&&void 0!==e&&e}get enableMouseEvents(){var e;return null!==(e=this.args.enableMouseEvents)&&void 0!==e&&e}get enableTouchEvents(){var e;return null===(e=this.args.enableTouchEvents)||void 0===e||e}get touchSlop(){return this.args.touchSlop||0}get delayTouchStart(){var e,t,i,n;return null!==(n=null!==(i=null===(e=this.args)||void 0===e?void 0:e.delayTouchStart)&&void 0!==i?i:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get delayMouseStart(){var e,t,i,n;return null!==(n=null!==(i=null===(e=this.args)||void 0===e?void 0:e.delayMouseStart)&&void 0!==i?i:null===(t=this.args)||void 0===t?void 0:t.delay)&&void 0!==n?n:0}get window(){return this.context&&this.context.window?this.context.window:"undefined"!=typeof window?window:void 0}get document(){var e;return(null===(e=this.context)||void 0===e?void 0:e.document)?this.context.document:this.window?this.window.document:void 0}get rootElement(){var e;return(null===(e=this.args)||void 0===e?void 0:e.rootElement)||this.document}constructor(e,t){this.args=e,this.context=t}}let sZ={Left:1},sY={Left:0};function sQ(e){return void 0===e.button||e.button===sY.Left}function sJ(e){return!!e.targetTouches}function sX(e,t){return sJ(e)?1===e.targetTouches.length?sX(e.targetTouches[0]):t&&1===e.touches.length&&e.touches[0].target===t.target?sX(e.touches[0]):void 0:{x:e.clientX,y:e.clientY}}let s0=(()=>{let e=!1;try{addEventListener("test",()=>{},Object.defineProperty({},"passive",{get:()=>(e=!0,!0)}))}catch(e){}return e})(),s1={[l.mouse]:{start:"mousedown",move:"mousemove",end:"mouseup",contextmenu:"contextmenu"},[l.touch]:{start:"touchstart",move:"touchmove",end:"touchend"},[l.keyboard]:{keydown:"keydown"}};class s2{profile(){var e;return{sourceNodes:this.sourceNodes.size,sourcePreviewNodes:this.sourcePreviewNodes.size,sourcePreviewNodeOptions:this.sourcePreviewNodeOptions.size,targetNodes:this.targetNodes.size,dragOverTargetIds:(null===(e=this.dragOverTargetIds)||void 0===e?void 0:e.length)||0}}get document(){return this.options.document}setup(){let e=this.options.rootElement;e&&((0,sK.k)(!s2.isSetUp,"Cannot have two Touch backends at the same time."),s2.isSetUp=!0,this.addEventListener(e,"start",this.getTopMoveStartHandler()),this.addEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.addEventListener(e,"move",this.handleTopMove),this.addEventListener(e,"move",this.handleTopMoveCapture,!0),this.addEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.addEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.addEventListener(e,"keydown",this.handleCancelOnEscape,!0))}teardown(){let e=this.options.rootElement;e&&(s2.isSetUp=!1,this._mouseClientOffset={},this.removeEventListener(e,"start",this.handleTopMoveStartCapture,!0),this.removeEventListener(e,"start",this.handleTopMoveStart),this.removeEventListener(e,"move",this.handleTopMoveCapture,!0),this.removeEventListener(e,"move",this.handleTopMove),this.removeEventListener(e,"end",this.handleTopMoveEndCapture,!0),this.options.enableMouseEvents&&!this.options.ignoreContextMenu&&this.removeEventListener(e,"contextmenu",this.handleTopMoveEndCapture),this.options.enableKeyboardEvents&&this.removeEventListener(e,"keydown",this.handleCancelOnEscape,!0),this.uninstallSourceNodeRemovalObserver())}addEventListener(e,t,i,n=!1){let r=s0?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(n){let o=s1[n][t];o&&e.addEventListener(o,i,r)})}removeEventListener(e,t,i,n=!1){let r=s0?{capture:n,passive:!1}:n;this.listenerTypes.forEach(function(n){let o=s1[n][t];o&&e.removeEventListener(o,i,r)})}connectDragSource(e,t){let i=this.handleMoveStart.bind(this,e);return this.sourceNodes.set(e,t),this.addEventListener(t,"start",i),()=>{this.sourceNodes.delete(e),this.removeEventListener(t,"start",i)}}connectDragPreview(e,t,i){return this.sourcePreviewNodeOptions.set(e,i),this.sourcePreviewNodes.set(e,t),()=>{this.sourcePreviewNodes.delete(e),this.sourcePreviewNodeOptions.delete(e)}}connectDropTarget(e,t){let i=this.options.rootElement;if(!this.document||!i)return()=>{};let n=n=>{let r;if(!this.document||!i||!this.monitor.isDragging())return;switch(n.type){case s1.mouse.move:r={x:n.clientX,y:n.clientY};break;case s1.touch.move:var o,s;r={x:(null===(o=n.touches[0])||void 0===o?void 0:o.clientX)||0,y:(null===(s=n.touches[0])||void 0===s?void 0:s.clientY)||0}}let a=null!=r?this.document.elementFromPoint(r.x,r.y):void 0,l=a&&t.contains(a);if(a===t||l)return this.handleMove(n,e)};return this.addEventListener(this.document.body,"move",n),this.targetNodes.set(e,t),()=>{this.document&&(this.targetNodes.delete(e),this.removeEventListener(this.document.body,"move",n))}}getTopMoveStartHandler(){return this.options.delayTouchStart||this.options.delayMouseStart?this.handleTopMoveStartDelay:this.handleTopMoveStart}installSourceNodeRemovalObserver(e){this.uninstallSourceNodeRemovalObserver(),this.draggedSourceNode=e,this.draggedSourceNodeRemovalObserver=new MutationObserver(()=>{e&&!e.parentElement&&(this.resurrectSourceNode(),this.uninstallSourceNodeRemovalObserver())}),e&&e.parentElement&&this.draggedSourceNodeRemovalObserver.observe(e.parentElement,{childList:!0})}resurrectSourceNode(){this.document&&this.draggedSourceNode&&(this.draggedSourceNode.style.display="none",this.draggedSourceNode.removeAttribute("data-reactid"),this.document.body.appendChild(this.draggedSourceNode))}uninstallSourceNodeRemovalObserver(){this.draggedSourceNodeRemovalObserver&&this.draggedSourceNodeRemovalObserver.disconnect(),this.draggedSourceNodeRemovalObserver=void 0,this.draggedSourceNode=void 0}constructor(e,t,i){this.getSourceClientOffset=e=>{let t=this.sourceNodes.get(e);return t&&function(e){let t=1===e.nodeType?e:e.parentElement;if(!t)return;let{top:i,left:n}=t.getBoundingClientRect();return{x:n,y:i}}(t)},this.handleTopMoveStartCapture=e=>{sQ(e)&&(this.moveStartSourceIds=[])},this.handleMoveStart=e=>{Array.isArray(this.moveStartSourceIds)&&this.moveStartSourceIds.unshift(e)},this.handleTopMoveStart=e=>{if(!sQ(e))return;let t=sX(e);t&&(sJ(e)&&(this.lastTargetTouchFallback=e.targetTouches[0]),this._mouseClientOffset=t),this.waitingForDelay=!1},this.handleTopMoveStartDelay=e=>{if(!sQ(e))return;let t=e.type===s1.touch.start?this.options.delayTouchStart:this.options.delayMouseStart;this.timeout=setTimeout(this.handleTopMoveStart.bind(this,e),t),this.waitingForDelay=!0},this.handleTopMoveCapture=()=>{this.dragOverTargetIds=[]},this.handleMove=(e,t)=>{this.dragOverTargetIds&&this.dragOverTargetIds.unshift(t)},this.handleTopMove=e=>{var t,i;if(this.timeout&&clearTimeout(this.timeout),!this.document||this.waitingForDelay)return;let{moveStartSourceIds:n,dragOverTargetIds:r}=this,o=this.options.enableHoverOutsideTarget,s=sX(e,this.lastTargetTouchFallback);if(!s)return;if(this._isScrolling||!this.monitor.isDragging()&&function(e,t,i,n,r){if(!r)return!1;let o=180*Math.atan2(n-t,i-e)/Math.PI+180;for(let e=0;e=t.start)&&(null==t.end||o<=t.end))return!0}return!1}(this._mouseClientOffset.x||0,this._mouseClientOffset.y||0,s.x,s.y,this.options.scrollAngleRanges)){this._isScrolling=!0;return}if(!this.monitor.isDragging()&&this._mouseClientOffset.hasOwnProperty("x")&&n&&(t=this._mouseClientOffset.x||0,i=this._mouseClientOffset.y||0,Math.sqrt(Math.pow(Math.abs(s.x-t),2)+Math.pow(Math.abs(s.y-i),2))>(this.options.touchSlop?this.options.touchSlop:0))&&(this.moveStartSourceIds=void 0,this.actions.beginDrag(n,{clientOffset:this._mouseClientOffset,getSourceClientOffset:this.getSourceClientOffset,publishSource:!1})),!this.monitor.isDragging())return;let a=this.sourceNodes.get(this.monitor.getSourceId());this.installSourceNodeRemovalObserver(a),this.actions.publishDragSource(),e.cancelable&&e.preventDefault();let l=(r||[]).map(e=>this.targetNodes.get(e)).filter(e=>!!e),u=this.options.getDropTargetElementsAtPoint?this.options.getDropTargetElementsAtPoint(s.x,s.y,l):this.document.elementsFromPoint(s.x,s.y),d=[];for(let e in u){if(!u.hasOwnProperty(e))continue;let t=u[e];for(null!=t&&d.push(t);t;)(t=t.parentElement)&&-1===d.indexOf(t)&&d.push(t)}let c=d.filter(e=>l.indexOf(e)>-1).map(e=>this._getDropTargetId(e)).filter(e=>!!e).filter((e,t,i)=>i.indexOf(e)===t);if(o)for(let e in this.targetNodes){let t=this.targetNodes.get(e);if(a&&t&&t.contains(a)&&-1===c.indexOf(e)){c.unshift(e);break}}c.reverse(),this.actions.hover(c,{clientOffset:s})},this._getDropTargetId=e=>{let t=this.targetNodes.keys(),i=t.next();for(;!1===i.done;){let n=i.value;if(e===this.targetNodes.get(n))return n;i=t.next()}},this.handleTopMoveEndCapture=e=>{if(this._isScrolling=!1,this.lastTargetTouchFallback=void 0,function(e){return void 0===e.buttons||(e.buttons&sZ.Left)==0}(e)){if(!this.monitor.isDragging()||this.monitor.didDrop()){this.moveStartSourceIds=void 0;return}e.cancelable&&e.preventDefault(),this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.drop(),this.actions.endDrag()}},this.handleCancelOnEscape=e=>{"Escape"===e.key&&this.monitor.isDragging()&&(this._mouseClientOffset={},this.uninstallSourceNodeRemovalObserver(),this.actions.endDrag())},this.options=new sG(i,t),this.actions=e.getActions(),this.monitor=e.getMonitor(),this.sourceNodes=new Map,this.sourcePreviewNodes=new Map,this.sourcePreviewNodeOptions=new Map,this.targetNodes=new Map,this.listenerTypes=[],this._mouseClientOffset={},this._isScrolling=!1,this.options.enableMouseEvents&&this.listenerTypes.push(l.mouse),this.options.enableTouchEvents&&this.listenerTypes.push(l.touch),this.options.enableKeyboardEvents&&this.listenerTypes.push(l.keyboard)}}let s6=function(e,t={},i={}){return new s2(e,t,i)};var s3=function(){return(s3=Object.assign||function(e){for(var t,i=1,n=arguments.length;i(g.current=!0,()=>void(g.current=!1)));let[p,f,m]=(0,d.useMemo)(()=>{let e=()=>{if(!u.current.element)return;let{left:e,top:t,width:i,height:n,bottom:r,right:s,x:a,y:d}=u.current.element.getBoundingClientRect(),c={left:e,top:t,width:i,height:n,bottom:r,right:s,x:a,y:d};u.current.element instanceof HTMLElement&&o&&(c.height=u.current.element.offsetHeight,c.width=u.current.element.offsetWidth),Object.freeze(c),g.current&&!sf(u.current.lastBounds,c)&&l(u.current.lastBounds=c)};return[e,h?sg()(e,h):e,c?sg()(e,c):e]},[l,o,c,h]);function v(){u.current.scrollContainers&&(u.current.scrollContainers.forEach(e=>e.removeEventListener("scroll",m,!0)),u.current.scrollContainers=null),u.current.resizeObserver&&(u.current.resizeObserver.disconnect(),u.current.resizeObserver=null)}function b(){u.current.element&&(u.current.resizeObserver=new s(m),u.current.resizeObserver.observe(u.current.element),n&&u.current.scrollContainers&&u.current.scrollContainers.forEach(e=>e.addEventListener("scroll",m,{capture:!0,passive:!0})))}return t=!!n,(0,d.useEffect)(()=>{if(t)return window.addEventListener("scroll",m,{capture:!0,passive:!0}),()=>void window.removeEventListener("scroll",m,!0)},[m,t]),(0,d.useEffect)(()=>(window.addEventListener("resize",f),()=>void window.removeEventListener("resize",f)),[f]),(0,d.useEffect)(()=>{v(),b()},[n,m,f]),(0,d.useEffect)(()=>v,[]),[e=>{e&&e!==u.current.element&&(v(),u.current.element=e,u.current.scrollContainers=function e(t){let i=[];if(!t||t===document.body)return i;let{overflow:n,overflowX:r,overflowY:o}=window.getComputedStyle(t);return[n,r,o].some(e=>"auto"===e||"scroll"===e)&&i.push(t),[...i,...e(t.parentElement)]}(e),b())},a,p]}({polyfill:em}),a=s[0],l=s[1].height,u=(0,d.useState)(t),c=u[0],h=u[1],g=(0,d.useState)(t),p=g[0],f=g[1],m=(0,d.useState)(!1),v=m[0],b=m[1];return(0,d.useEffect)(function(){b(!0),t?h(!0):f(!1)},[t]),(0,d.useEffect)(function(){c&&f(!0)},[l]),d.createElement(sc.div,{style:v?{overflow:"hidden"}:void 0,onAnimationComplete:function(){b(!1),t||h(!1)},initial:p?"open":"close",animate:p?"open":"close",inherit:!1,variants:void 0===r?{open:{opacity:1,height:"auto"},close:{opacity:0,height:0}}:r,transition:{ease:void 0===i?"easeIn":i,duration:function(e,t){if(t)return t;if(!e)return 0;var i=e/36;return Math.round((4+10*Math.pow(i,.25)+i/5)*10)/1500}(l,n)}},d.createElement("div",{ref:a},c&&o))}var s4=function(e,t){return e.text>t.text?1:e.textr?o-1:o,[r,o]},ao=function(e,t,i){var n=t<0?e.length+t:t;if(n>=0&&ni.top+i.height/2?"down":"up"},al=function(e,t){var i="",n=0;return e.forEach(function(r,o){var s,a=aa(r,(null===(s=t.getClientOffset())||void 0===s?void 0:s.y)||0);""===i?i=a:i!==a&&(i=a,n=o),o===e.length-1&&"down"===a&&(n=o+1)}),n},au=function(e,t,i){var n=t.closest('[role="list"]'),r=null==n?void 0:n.querySelectorAll(':scope > [role="listitem"]');return r?al(r,i):null},ad=function(e,t,i){var n=e.getBoundingClientRect(),r=i.dropTargetOffset,o=n.top+r;return t>n.bottom-r?"lower":t [role="listitem"]');return{id:n.rootId,index:al(o,i)}}var s=i.getItem(),a=t.querySelector('[role="list"]'),l=ad(t,(null===(r=i.getClientOffset())||void 0===r?void 0:r.y)||0,n);if(a){if("upper"===l){if(!at(s,e.parent,n))return{id:e.id,index:0};var u=au(e,t,i);return null===u?null:{id:e.parent,index:u}}var o=a.querySelectorAll(':scope > [role="listitem"]');return{id:e.id,index:al(o,i)}}if("middle"===l)return{id:e.id,index:0};if(at(s,e.parent,n)){var u=au(e,t,i);return null===u?null:{id:e.parent,index:u}}return null},ah=function(e,t){var i=[],n=function(e,t){var r=e.filter(function(e){return t.includes(e.parent)});r.length>0&&(i=s8(s8([],i,!0),r,!0),n(e,r.map(function(e){return e.id})))};return n(e,[t]),i};function ag(e,t){for(var i=[],n=e.find(function(e){return e.id===t});n;)(n=e.find(function(e){return e.id===n.parent}))&&i.push(n);return i}var ap=function(e){return void 0===e&&(e={}),{backends:[{id:"html5",backend:N,options:e.html5,transition:sS},{id:"touch",backend:s6,options:e.touch||{enableMouseEvents:!0},preview:!0,transition:sC}]}},af=function(e,t){return e.some(function(e){return e.parent===t})},am=(0,d.createContext)({}),av=function(e){var t=aP(e.tree,e.initialOpen),i=t[0],n=t[1],r=n.handleToggle,o=n.handleCloseAll,s=n.handleOpenAll,a=n.handleOpen,l=n.handleClose;(0,d.useImperativeHandle)(e.treeRef,function(){return{open:function(t){return a(t,e.onChangeOpen)},close:function(t){return l(t,e.onChangeOpen)},openAll:function(){return s(e.onChangeOpen)},closeAll:function(){return o(e.onChangeOpen)}}});var u=(0,sm.N)().getMonitor(),c=e.canDrop,h=e.canDrag,g=s3(s3({extraAcceptTypes:[],listComponent:"ul",listItemComponent:"li",placeholderComponent:"li",sort:!0,insertDroppableFirst:!0,enableAnimateExpand:!1,dropTargetOffset:0,initialOpen:!1},e),{openIds:i,onDrop:function(t,i,n){if(t){var r={dragSourceId:t.id,dropTargetId:i,dragSource:t,dropTarget:s9(e.tree,i),monitor:u},o=e.tree;if(s9(o,t.id)||(o=s8(s8([],o,!0),[t],!1)),!1===e.sort){var s=ar(o,t.id,i,n)[1];r.destinationIndex=s,r.relativeIndex=n,e.onDrop(as(o,t.id,i,n),r);return}e.onDrop(ai(o,t.id,i),r)}else{var r={dropTargetId:i,dropTarget:s9(e.tree,i),monitor:u};!1===e.sort&&(r.destinationIndex=an(e.tree,i,n),r.relativeIndex=n),e.onDrop(e.tree,r)}},canDrop:c?function(t,i){return c(e.tree,{dragSourceId:null!=t?t:void 0,dropTargetId:i,dragSource:u.getItem(),dropTarget:s9(e.tree,i),monitor:u})}:void 0,canDrag:h?function(t){return h(s9(e.tree,t))}:void 0,onToggle:function(t){return r(t,e.onChangeOpen)}});return d.createElement(am.Provider,{value:g},e.children)},ab=(0,d.createContext)({}),ay={isLock:!1},a_=function(e){var t=(0,d.useState)(ay.isLock),i=t[0],n=t[1];return d.createElement(ab.Provider,{value:{isLock:i,lock:function(){return n(!0)},unlock:function(){return n(!1)}}},e.children)},aw=(0,d.createContext)({}),aC={dropTargetId:void 0,index:void 0},aS=function(e){var t=(0,d.useState)(aC.dropTargetId),i=t[0],n=t[1],r=(0,d.useState)(aC.index),o=r[0],s=r[1];return d.createElement(aw.Provider,{value:{dropTargetId:i,index:o,showPlaceholder:function(e,t){n(e),s(t)},hidePlaceholder:function(){n(aC.dropTargetId),s(aC.index)}}},e.children)},ax=function(e){return d.createElement(av,s3({},e),d.createElement(a_,null,d.createElement(aS,null,e.children)))},ak=function(e){var t=(0,d.useContext)(ab);(0,d.useEffect)(function(){if(e.current){var i=e.current,n=function(e){var i=e.target;(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)&&t.lock()},r=function(e){var i=e.target;(i instanceof HTMLInputElement||i instanceof HTMLTextAreaElement)&&t.unlock()},o=function(e){return n(e)},s=function(e){return r(e)},a=function(e){return n(e)},l=function(e){return r(e)},u=new MutationObserver(function(){document.activeElement===document.body&&t.unlock()});return u.observe(i,{subtree:!0,childList:!0}),i.addEventListener("mouseover",o),i.addEventListener("mouseout",s),i.addEventListener("focusin",a),i.addEventListener("focusout",l),function(){u.disconnect(),i.removeEventListener("mouseover",o),i.removeEventListener("mouseout",s),i.removeEventListener("focusin",a),i.removeEventListener("focusout",l)}}},[e,t]),(0,d.useEffect)(function(){var i;null===(i=e.current)||void 0===i||i.setAttribute("draggable",t.isLock?"false":"true")},[e,t.isLock])},aE={TREE_ITEM:Symbol()},aL=null,aD=function(e){var t=e.target;if(t instanceof HTMLElement){var i=t.closest('[role="listitem"]');e.currentTarget===i&&(aL=i)}},aN=function(e){return aD(e)},aA=function(e){return aD(e)},aT=function(e,t){var i=aF();(0,d.useEffect)(function(){var e=t.current;return null==e||e.addEventListener("dragstart",aN),null==e||e.addEventListener("touchstart",aA,{passive:!0}),function(){null==e||e.removeEventListener("dragstart",aN),null==e||e.removeEventListener("touchstart",aA)}},[t]);var n=(0,sv.c)({type:aE.TREE_ITEM,item:function(n){var r=s3({ref:t},e);return i.onDragStart&&i.onDragStart(r,n),r},end:function(e,t){i.onDragEnd&&i.onDragEnd(e,t)},canDrag:function(){var n=i.canDrag;return aL===t.current&&(!n||n(e.id))},collect:function(e){return{isDragging:e.isDragging()}}});return[n[0].isDragging,n[1],n[2]]},aI=function(e,t,i){var n=(0,d.useRef)(0),r=(0,d.useRef)(0);return{onDragEnter:function(){n.current+=1,1!==n.current||t||(r.current=window.setTimeout(function(){return i(e)},500))},onDragLeave:function(){n.current-=1,0===n.current&&window.clearTimeout(r.current)},onDrop:function(){r.current>0&&window.clearTimeout(r.current),n.current=0,r.current=0}}},aM=function(e){var t=aF(),i=(0,d.useContext)(aw),n=(0,sb.L)({accept:s8([aE.TREE_ITEM],t.extraAcceptTypes,!0),drop:function(e,n){var r=t.rootId,o=t.onDrop,s=i.dropTargetId,a=i.index;n.isOver({shallow:!0})&&void 0!==s&&void 0!==a&&o(ae(e)?e:null,r,a),i.hidePlaceholder()},canDrop:function(e,i){var n=t.rootId;return!!i.isOver({shallow:!0})&&void 0!==e&&at(e,n,t)},hover:function(n,r){if(r.isOver({shallow:!0})){var o=t.rootId,s=i.dropTargetId,a=i.index,l=i.showPlaceholder,u=i.hidePlaceholder,d=ac(null,e.current,r,t);if(null===d||!at(n,o,t)){u();return}(d.id!==s||d.index!==a)&&l(d.id,d.index)}},collect:function(e){var t=e.getItem();return{isOver:e.isOver({shallow:!0})&&e.canDrop(),dragSource:t}}}),r=n[0];return[r.isOver,r.dragSource,n[1]]},aO=function(e,t){var i=aF(),n=(0,d.useContext)(aw),r=(0,sb.L)({accept:s8([aE.TREE_ITEM],i.extraAcceptTypes,!0),drop:function(e,t){var r=n.dropTargetId,o=n.index;t.isOver({shallow:!0})&&void 0!==r&&void 0!==o&&i.onDrop(ae(e)?e:null,r,o),n.hidePlaceholder()},canDrop:function(n,r){if(r.isOver({shallow:!0})){var o=ac(e,t.current,r,i);return null!==o&&at(n,o.id,i)}return!1},hover:function(r,o){if(o.isOver({shallow:!0})){var s=n.dropTargetId,a=n.index,l=n.showPlaceholder,u=n.hidePlaceholder,d=ac(e,t.current,o,i);if(null===d||!at(r,d.id,i)){u();return}(d.id!==s||d.index!==a)&&l(d.id,d.index)}},collect:function(e){var t=e.getItem();return{isOver:e.isOver({shallow:!0})&&e.canDrop(),dragSource:t}}}),o=r[0];return[o.isOver,o.dragSource,r[1]]},aP=function(e,t){var i=(0,d.useMemo)(function(){return!0===t?e.filter(function(t){return af(e,t.id)}).map(function(e){return e.id}):Array.isArray(t)?t:[]},[t]),n=(0,d.useState)(i),r=n[0],o=n[1];return(0,d.useEffect)(function(){return o(i)},[t]),[r,{handleToggle:function(e,t){var i=r.includes(e)?r.filter(function(t){return t!==e}):s8(s8([],r,!0),[e],!1);o(i),t&&t(i)},handleCloseAll:function(e){o([]),e&&e([])},handleOpenAll:function(t){var i=e.filter(function(t){return af(e,t.id)}).map(function(e){return e.id});o(i),t&&t(i)},handleOpen:function(t,i){var n=[];if(Array.isArray(t)){var s=e.filter(function(i){return t.includes(i.id)&&af(e,i.id)});n=s8(s8([],r,!0),s.map(function(e){return e.id}),!0).filter(function(e,t,i){return i.indexOf(e)===t})}else n=r.includes(t)?r:s8(s8([],r,!0),[t],!1);o(n),i&&i(n)},handleClose:function(e,t){var i=r.filter(function(t){return Array.isArray(e)?!e.includes(t):t!==e});o(i),t&&t(i)}}]},aR=function(){return(0,sy.f)(function(e){var t=e.getItemType();return{item:e.getItem(),clientOffset:e.getClientOffset(),isDragging:e.isDragging()&&t===aE.TREE_ITEM}})},aF=function(){var e=(0,d.useContext)(am);if(!e)throw Error("useTreeContext must be used under TreeProvider");return e},aB=function(e,t){var i=aF(),n=i.rootId,r=i.rootProps,o=i.classes,s=(null==o?void 0:o.container)||"";return t&&(null==o?void 0:o.dropTarget)&&(s="".concat(s," ").concat(o.dropTarget)),e===n&&(null==o?void 0:o.root)&&(s="".concat(s," ").concat(o.root)),e===n&&(null==r?void 0:r.className)&&(s="".concat(s," ").concat(r.className)),s=s.trim()},aV=function(e,t,i){t.current?i(t):i(e),(0,d.useEffect)(function(){t.current?i(t):i(e)},[t.current])},aH=function(e){var t=aF(),i=(0,d.useContext)(aw),r=(0,d.useRef)(null),o=(0,d.useRef)(null),s=t.tree.find(function(t){return t.id===e.id}),a=t.openIds,l=t.classes,u=t.enableAnimateExpand,c=a.includes(e.id),h=aT(s,r),g=h[0],p=h[1],f=h[2],m=aO(s,r),v=m[0],b=m[1],y=m[2];aV(r,o,p),at(b,e.id,t)&&y(r),(0,d.useEffect)(function(){t.dragPreviewRender?f((n||((n=new Image).src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="),n),{captureDraggingState:!0}):o.current&&f(r)},[f,t.dragPreviewRender]),ak(r);var _=t.listItemComponent,w=(null==l?void 0:l.listItem)||"";v&&(null==l?void 0:l.dropTarget)&&(w="".concat(w," ").concat(l.dropTarget)),g&&(null==l?void 0:l.draggingSource)&&(w="".concat(w," ").concat(l.draggingSource));var C=!t.canDrag||t.canDrag(e.id),S=i.dropTargetId===e.id,x={depth:e.depth,isOpen:c,isDragging:g,isDropTarget:S,draggable:C,hasChild:af(t.tree,e.id),containerRef:r,handleRef:o,onToggle:function(){return t.onToggle(s.id)}};return d.createElement(_,{ref:r,className:w,role:"listitem"},t.render(s,x),u&&x.hasChild&&d.createElement(s5,{isVisible:c},d.createElement(aW,{parentId:e.id,depth:e.depth+1})),!u&&x.hasChild&&c&&d.createElement(aW,{parentId:e.id,depth:e.depth+1}))},aj=function(e){var t=aF(),i=t.placeholderRender,n=t.placeholderComponent,r=t.classes,o=(0,d.useContext)(aw),s=(0,sm.N)().getMonitor().getItem();return i&&s&&e.dropTargetId===o.dropTargetId&&(e.index===o.index||void 0===e.index&&e.listCount===o.index)?d.createElement(n,{className:(null==r?void 0:r.placeholder)||""},i(s,{depth:e.depth})):null},aW=function(e){var t=aF(),i=(0,d.useRef)(null),n=t.tree.filter(function(t){return t.parent===e.parentId}),r=n,o="function"==typeof t.sort?t.sort:s4;if(t.insertDroppableFirst){var s=n.filter(function(e){return e.droppable}),a=n.filter(function(e){return!e.droppable});!1===t.sort||(s=s.sort(o),a=a.sort(o)),r=s8(s8([],s,!0),a,!0)}else!1!==t.sort&&(r=n.sort(o));var l=aM(i),u=l[0],c=l[1],h=l[2];e.parentId===t.rootId&&at(c,t.rootId,t)&&h(i);var g=aB(e.parentId,u),p=t.rootProps||{},f=t.listComponent;return d.createElement(f,s3({ref:i,role:"list"},p,{className:g}),r.map(function(t,i){return d.createElement(d.Fragment,{key:t.id},d.createElement(aj,{depth:e.depth,listCount:r.length,dropTargetId:e.parentId,index:i}),d.createElement(aH,{id:t.id,depth:e.depth}))}),d.createElement(aj,{depth:e.depth,listCount:r.length,dropTargetId:e.parentId}))},az={height:"100%",left:0,pointerEvents:"none",position:"fixed",top:0,width:"100%",zIndex:100},aU=function(e){var t=e.clientOffset;if(!t)return{};var i=t.x,n=t.y;return{pointerEvents:"none",transform:"translate(".concat(i,"px, ").concat(n,"px)")}},a$=function(){var e=aF(),t=aR(),i=t.isDragging,n=t.clientOffset;return i&&n?d.createElement("div",{style:az},d.createElement("div",{style:aU(t)},e.dragPreviewRender&&e.dragPreviewRender(t))):null},aq=(0,d.forwardRef)(function(e,t){return d.createElement(ax,s3({},e,{treeRef:t}),e.dragPreviewRender&&d.createElement(a$,null),d.createElement(aW,{parentId:e.rootId,depth:0}))})},53525:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`boolean expected, not ${e}`)}function r(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name}function o(e,...t){if(!r(e))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function s(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function a(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function l(e,t){o(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add5L=t.add5H=t.add4H=t.add4L=t.add3H=t.add3L=t.add=t.rotlBL=t.rotlBH=t.rotlSL=t.rotlSH=t.rotr32L=t.rotr32H=t.rotrBL=t.rotrBH=t.rotrSL=t.rotrSH=t.shrSL=t.shrSH=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;oBigInt(e>>>0)<>>0);t.toBig=s;let a=(e,t,i)=>e>>>i;t.shrSH=a;let l=(e,t,i)=>e<<32-i|t>>>i;t.shrSL=l;let u=(e,t,i)=>e>>>i|t<<32-i;t.rotrSH=u;let d=(e,t,i)=>e<<32-i|t>>>i;t.rotrSL=d;let c=(e,t,i)=>e<<64-i|t>>>i-32;t.rotrBH=c;let h=(e,t,i)=>e>>>i-32|t<<64-i;t.rotrBL=h;let g=(e,t)=>t;t.rotr32H=g;let p=(e,t)=>e;t.rotr32L=p;let f=(e,t,i)=>e<>>32-i;t.rotlSH=f;let m=(e,t,i)=>t<>>32-i;t.rotlSL=m;let v=(e,t,i)=>t<>>64-i;t.rotlBH=v;let b=(e,t,i)=>e<>>64-i;function y(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.rotlBL=b,t.add=y;let _=(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0);t.add3L=_;let w=(e,t,i,n)=>t+i+n+(e/4294967296|0)|0;t.add3H=w;let C=(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0);t.add4L=C;let S=(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0;t.add4H=S;let x=(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0);t.add5L=x;let k=(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0;t.add5H=k,t.default={fromBig:r,split:o,toBig:s,shrSH:a,shrSL:l,rotrSH:u,rotrSL:d,rotrBH:c,rotrBL:h,rotr32H:g,rotr32L:p,rotlSH:f,rotlSL:m,rotlBH:v,rotlBL:b,add:y,add3L:_,add3H:w,add4L:C,add4H:S,add5H:k,add5L:x}},70825:(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},1840:(e,t,i)=>{"use strict";function n(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`positive integer expected, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name))throw Error("Uint8Array expected");if(t.length>0&&!t.includes(e.length))throw Error(`Uint8Array expected of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");n(e.outputLen),n(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.lengths,J8:()=>a,Rx:()=>n,aI:()=>r,vp:()=>o})},4307:(e,t,i)=>{"use strict";i.d(t,{EP:()=>a,SD:()=>u,Vl:()=>s,ZP:()=>c,gm:()=>l,mk:()=>d});let n=BigInt(4294967295),r=BigInt(32);function o(e,t=!1){return t?{h:Number(e&n),l:Number(e>>r&n)}:{h:0|Number(e>>r&n),l:0|Number(e&n)}}function s(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let r=0;re<>>32-i,l=(e,t,i)=>t<>>32-i,u=(e,t,i)=>t<>>64-i,d=(e,t,i)=>e<>>64-i,c={fromBig:o,split:s,toBig:(e,t)=>BigInt(e>>>0)<>>0),shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:a,rotlSL:l,rotlBH:u,rotlBL:d,add:function(e,t,i,n){let r=(t>>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}},add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)}},30006:(e,t,i)=>{"use strict";throw i.r(t),Error("noble-hashes have no entry-point: consult README for usage")},91374:(e,t,i)=>{"use strict";i.d(t,{fr:()=>_});var n=i(1840),r=i(4307),o=i(79225);let s=[],a=[],l=[],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?(0,r.SD)(e,t,i):(0,r.EP)(e,t,i),b=(e,t,i)=>i>32?(0,r.mk)(e,t,i):(0,r.gm)(e,t,i);class y extends o.kb{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.Rx)(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.Jq)(this.state)}keccak(){o.iA||(0,o.l1)(this.state32),function(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}(this.state32,this.rounds),o.iA||(0,o.l1)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.Gg)(this);let{blockLen:t,state:i}=this,r=(e=(0,o.O0)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.Rx)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.J8)(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new y(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}let _=(0,o.hE)(()=>new y(136,1,32))},79225:(e,t,i)=>{"use strict";i.d(t,{GL:()=>o,Jq:()=>r,O0:()=>c,U5:()=>p,XG:()=>a,hE:()=>f,iA:()=>l,kb:()=>h,l1:()=>d,np:()=>s});var n=i(1840);let r=e=>new Uint32Array(e.buffer,e.byteOffset,Math.floor(e.byteLength/4)),o=e=>new DataView(e.buffer,e.byteOffset,e.byteLength),s=(e,t)=>e<<32-t|e>>>t,a=(e,t)=>e<>>32-t>>>0,l=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],u=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255;function d(e){for(let t=0;te().update(c(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t}},80125:(e,t,i)=>{"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;let n=i(53525),r=i(11655),o=i(70064),s=[],a=[],l=[],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?(0,r.rotlBH)(e,t,i):(0,r.rotlSH)(e,t,i),b=(e,t,i)=>i>32?(0,r.rotlBL)(e,t,i):(0,r.rotlSL)(e,t,i);function y(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}t.keccakP=y;class _ extends o.Hash{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,(0,n.number)(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){o.isLE||(0,o.byteSwap32)(this.state32),y(this.state32,this.rounds),o.isLE||(0,o.byteSwap32)(this.state32),this.posOut=0,this.pos=0}update(e){(0,n.exists)(this);let{blockLen:t,state:i}=this,r=(e=(0,o.toBytes)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return(0,n.number)(e),this.xofInto(new Uint8Array(e))}digestInto(e){if((0,n.output)(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new _(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;let w=(e,t,i)=>(0,o.wrapConstructor)(()=>new _(t,e,i));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);let C=(e,t,i)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new _(t,e,void 0===n.dkLen?i:n.dkLen,!0));t.shake128=C(31,168,16),t.shake256=C(31,136,32)},70064:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=t.wrapConstructorWithOpts=t.wrapConstructor=t.checkOpts=t.Hash=t.concatBytes=t.toBytes=t.utf8ToBytes=t.asyncLoop=t.nextTick=t.hexToBytes=t.bytesToHex=t.byteSwap32=t.byteSwapIfBE=t.byteSwap=t.isLE=t.rotl=t.rotr=t.createView=t.u32=t.u8=t.isBytes=void 0;let n=i(70825),r=i(53525);t.isBytes=function(e){return e instanceof Uint8Array||null!=e&&"object"==typeof e&&"Uint8Array"===e.constructor.name},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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.rotl=(e,t)=>e<>>32-t>>>0,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],t.byteSwap=e=>e<<24&4278190080|e<<8&16711680|e>>>8&65280|e>>>24&255,t.byteSwapIfBE=t.isLE?e=>e:e=>(0,t.byteSwap)(e),t.byteSwap32=function(e){for(let i=0;it.toString(16).padStart(2,"0"));t.bytesToHex=function(e){(0,r.bytes)(e);let t="";for(let i=0;i=s._0&&e<=s._9?e-s._0:e>=s._A&&e<=s._F?e-(s._A-10):e>=s._a&&e<=s._f?e-(s._a-10):void 0}t.hexToBytes=function(e){if("string"!=typeof e)throw Error("hex string expected, got "+typeof e);let t=e.length,i=t/2;if(t%2)throw Error("padded hex string expected, got unpadded hex of length "+t);let n=new Uint8Array(i);for(let t=0,r=0;t{};async function u(e,i,n){let r=Date.now();for(let o=0;o=0&&ee().update(c(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(c(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(c(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},56536:(e,t,i)=>{"use strict";i.d(t,{k:()=>r});var n=i(34406);function r(e,t,...i){if(void 0!==n&&void 0===t)throw Error("invariant requires an error message argument");if(!e){let e;if(void 0===t)e=Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{let n=0;(e=Error(t.replace(/%s/g,function(){return i[n++]}))).name="Invariant Violation"}throw e.framesToPop=1,e}}},77066:(e,t,i)=>{"use strict";function n(e,t,i,n){let r=i?i.call(n,e,t):void 0;if(void 0!==r)return!!r;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;let o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;let a=Object.prototype.hasOwnProperty.bind(t);for(let s=0;sn})},69566:(e,t,i)=>{"use strict";i.r(t),i.d(t,{EnhancerArray:()=>D,MiddlewareArray:()=>L,SHOULD_AUTOBATCH:()=>eF,TaskAbortError:()=>e_,__DO_NOT_USE__ActionTypes:()=>o.__DO_NOT_USE__ActionTypes,addListener:()=>eI,applyMiddleware:()=>o.applyMiddleware,autoBatchEnhancer:()=>eW,bindActionCreators:()=>o.bindActionCreators,clearAllListeners:()=>eM,combineReducers:()=>o.combineReducers,compose:()=>o.compose,configureStore:()=>P,createAction:()=>R,createAsyncThunk:()=>ee,createDraftSafeSelector:()=>x,createEntityAdapter:()=>G,createImmutableStateInvariantMiddleware:()=>T,createListenerMiddleware:()=>eR,createNextState:()=>r.ZP,createReducer:()=>W,createSelector:()=>l,createSerializableStateInvariantMiddleware:()=>M,createSlice:()=>z,createStore:()=>o.createStore,current:()=>r.Vk,findNonSerializableValue:()=>function e(t,i,n,r,o,s){if(void 0===i&&(i=""),void 0===n&&(n=I),void 0===o&&(o=[]),!n(t))return{keyPath:i||"",value:t};if("object"!=typeof t||null===t||(null==s?void 0:s.has(t)))return!1;for(var a,l=null!=r?r(t):Object.entries(t),u=o.length>0,d=0;dr.vV,getDefaultMiddleware:()=>O,getType:()=>H,isAction:()=>F,isAllOf:()=>er,isAnyOf:()=>en,isAsyncThunkAction:()=>function e(){for(var t=[],i=0;ir.mv,isFluxStandardAction:()=>B,isFulfilled:()=>function e(){for(var t=[],i=0;iA,isPending:()=>function e(){for(var t=[],i=0;iI,isPlainObject:()=>E,isRejected:()=>ea,isRejectedWithValue:()=>function e(){for(var t=[],i=0;io.legacy_createStore,miniSerializeError:()=>X,nanoid:()=>Z,original:()=>r.Js,prepareAutoBatched:()=>eB,removeListener:()=>eO,unwrapResult:()=>et});var n,r=i(3873),o=i(64195),s="NOT_FOUND",a=function(e,t){return e===t},l=function(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n-1){var r=i[n];return n>0&&(i.splice(n,1),i.unshift(r)),r.value}return s}return{get:n,put:function(t,r){n(t)===s&&(i.unshift({key:t,value:r}),i.length>e&&i.pop())},getEntries:function(){return i},clear:function(){i=[]}}}(u,c);function g(){var t=h.get(arguments);if(t===s){if(t=e.apply(null,arguments),d){var i=h.getEntries().find(function(e){return d(e.value,t)});i&&(t=i.value)}h.put(arguments,t)}return t}return g.clearCache=function(){return h.clear()},g});function u(e){return function(t){var i=t.dispatch,n=t.getState;return function(t){return function(r){return"function"==typeof r?r(i,n,e):t(r)}}}}var d=u();d.withExtraArgument=u,i(34406);var c=function(){var e=function(t,i){return(e=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])})(t,i)};return function(t,i){if("function"!=typeof i&&null!==i)throw TypeError("Class extends value "+String(i)+" is not a constructor or null");function n(){this.constructor=t}e(t,i),t.prototype=null===i?Object.create(i):(n.prototype=i.prototype,new n)}}(),h=function(e,t){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=2&o[0]?n.return:o[0]?n.throw||((r=n.return)&&r.call(n),0):n.next)&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[2&o[0],r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]-1}function H(e){return""+e}function j(e){var t,i={},n=[],r={addCase:function(e,t){var n="string"==typeof e?e:e.type;if(n in i)throw Error("addCase cannot be called with two reducers for the same action type");return i[n]=t,r},addMatcher:function(e,t){return n.push({matcher:e,reducer:t}),r},addDefaultCase:function(e){return t=e,r}};return e(r),[i,n,t]}function W(e,t,i,n){void 0===i&&(i=[]);var o,s="function"==typeof t?j(t):[t,i,n],a=s[0],l=s[1],u=s[2];if("function"==typeof e)o=function(){return N(e())};else{var d=N(e);o=function(){return d}}function c(e,t){void 0===e&&(e=o());var i=g([a[t.type]],l.filter(function(e){return(0,e.matcher)(t)}).map(function(e){return e.reducer}));return 0===i.filter(function(e){return!!e}).length&&(i=[u]),i.reduce(function(e,i){if(i){if((0,r.mv)(e)){var n=i(e,t);return void 0===n?e:n}if((0,r.o$)(e))return(0,r.ZP)(e,function(e){return i(e,t)});var n=i(e,t);if(void 0===n){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return n}return e},e)}return c.getInitialState=o,c}function z(e){var t,i=e.name;if(!i)throw Error("`name` is a required option for createSlice");var n="function"==typeof e.initialState?e.initialState:N(e.initialState),r=e.reducers||{},o=Object.keys(r),s={},a={},l={};function u(){var t="function"==typeof e.extraReducers?j(e.extraReducers):[e.extraReducers],i=t[0],r=t[1],o=void 0===r?[]:r,s=t[2],l=void 0===s?void 0:s,u=w(w({},void 0===i?{}:i),a);return W(n,function(e){for(var t in u)e.addCase(t,u[t]);for(var i=0;i0&&t.filter(function(t){var r,o,s;return(s=(o=e(r=Object.assign({},i.entities[t.id],t.changes)))!==t.id)&&(n[t.id]=o,delete i.entities[t.id]),i.entities[o]=r,s}).length>0&&(i.ids=Object.keys(i.entities))}function l(t,i){var n=q(t,e,i),o=n[0];a(n[1],i),r(o,i)}return{removeAll:(t=function(e){Object.assign(e,{ids:[],entities:{}})},i=U(function(e,i){return t(i)}),function(e){return i(e,void 0)}),addOne:U(n),addMany:U(r),setOne:U(o),setMany:U(function(e,t){e=$(e);for(var i=0,n=e;i-1;return i&&n}function es(e){return"function"==typeof e[0]&&"pending"in e[0]&&"fulfilled"in e[0]&&"rejected"in e[0]}function ea(){for(var e=[],t=0;t0)for(var h=e.getState(),g=Array.from(i.values()),p=0;p{"use strict";function n(...e){let t=(e,t)=>i=>e(t(i));return{encode:Array.from(e).reverse().reduce((e,i)=>e?t(e,i.encode):i.encode,void 0),decode:e.reduce((e,i)=>e?t(e,i.decode):i.decode,void 0)}}function r(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let i=e.indexOf(t);if(-1===i)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return i})}}}function o(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function s(e,t,i){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(i<2)throw Error(`convertRadix: wrong to=${i}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,r=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,s=!0;for(let r=n;rh,US:()=>d});let a=(e,t)=>t?a(t,e%t):e,l=(e,t)=>e+(t-a(e,t));function u(e,t,i,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(i<=0||i>32)throw Error(`convertRadix2: wrong to=${i}`);if(l(t,i)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${i} carryBits=${l(t,i)}`);let r=0,o=0,s=2**i-1,a=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(r=r<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=i;o-=i)a.push((r>>o-i&s)>>>0);r&=2**o-1}if(r=r<=t)throw Error("Excess padding");if(!n&&r)throw Error(`Non-zero padding: ${r}`);return n&&o>0&&a.push(r>>>0),a}let d=n(function(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(l(8,e)>32||l(e,8)>32)throw Error("radix2: carry overflow");return{encode:i=>{if(!(i instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return u(Array.from(i),8,e,!t)},decode:i=>{if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(u(i,e,8,t))}}}(6),r("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),function(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;i.length*e%8;)i.push(t);return i},decode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=i.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&i[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return i.slice(0,n)}}}(6),o("")),c=n(function(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return s(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(s(t,e,256))}}}(58),r("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),o("")),h=e=>n(function(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(i){if(!(i instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(i).slice(0,e),r=new Uint8Array(i.length+e);return r.set(i),r.set(n,i.length),r},decode(i){if(!(i instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=i.slice(0,-e),r=t(n).slice(0,e),o=i.slice(-e);for(let t=0;te(e(t))),c)},36237:(e,t)=>{"use strict";function i(...e){let t=(e,t)=>i=>e(t(i));return{encode:Array.from(e).reverse().reduce((e,i)=>e?t(e,i.encode):i.encode,void 0),decode:e.reduce((e,i)=>e?t(e,i.decode):i.decode,void 0)}}function n(e){return{encode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("alphabet.encode input should be an array of numbers");return t.map(t=>{if(t<0||t>=e.length)throw Error(`Digit index outside alphabet: ${t} (alphabet: ${e.length})`);return e[t]})},decode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("alphabet.decode input should be array of strings");return t.map(t=>{if("string"!=typeof t)throw Error(`alphabet.decode: not string element=${t}`);let i=e.indexOf(t);if(-1===i)throw Error(`Unknown letter: "${t}". Allowed: ${e}`);return i})}}}function r(e=""){if("string"!=typeof e)throw Error("join separator should be string");return{encode:t=>{if(!Array.isArray(t)||t.length&&"string"!=typeof t[0])throw Error("join.encode input should be array of strings");for(let e of t)if("string"!=typeof e)throw Error(`join.encode: non-string input=${e}`);return t.join(e)},decode:t=>{if("string"!=typeof t)throw Error("join.decode input should be string");return t.split(e)}}}function o(e,t="="){if("string"!=typeof t)throw Error("padding chr should be string");return{encode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.encode: non-string input=${e}`);for(;i.length*e%8;)i.push(t);return i},decode(i){if(!Array.isArray(i)||i.length&&"string"!=typeof i[0])throw Error("padding.encode input should be array of strings");for(let e of i)if("string"!=typeof e)throw Error(`padding.decode: non-string input=${e}`);let n=i.length;if(n*e%8)throw Error("Invalid padding: string should have whole number of bytes");for(;n>0&&i[n-1]===t;n--)if(!((n-1)*e%8))throw Error("Invalid padding: string has too much padding");return i.slice(0,n)}}}function s(e){if("function"!=typeof e)throw Error("normalize fn should be function");return{encode:e=>e,decode:t=>e(t)}}function a(e,t,i){if(t<2)throw Error(`convertRadix: wrong from=${t}, base cannot be less than 2`);if(i<2)throw Error(`convertRadix: wrong to=${i}, base cannot be less than 2`);if(!Array.isArray(e))throw Error("convertRadix: data should be array");if(!e.length)return[];let n=0,r=[],o=Array.from(e);for(o.forEach(e=>{if(e<0||e>=t)throw Error(`Wrong integer: ${e}`)});;){let e=0,s=!0;for(let r=n;rt?l(t,e%t):e,u=(e,t)=>e+(t-l(e,t));function d(e,t,i,n){if(!Array.isArray(e))throw Error("convertRadix2: data should be array");if(t<=0||t>32)throw Error(`convertRadix2: wrong from=${t}`);if(i<=0||i>32)throw Error(`convertRadix2: wrong to=${i}`);if(u(t,i)>32)throw Error(`convertRadix2: carry overflow from=${t} to=${i} carryBits=${u(t,i)}`);let r=0,o=0,s=2**i-1,a=[];for(let n of e){if(n>=2**t)throw Error(`convertRadix2: invalid data word=${n} from=${t}`);if(r=r<32)throw Error(`convertRadix2: carry overflow pos=${o} from=${t}`);for(o+=t;o>=i;o-=i)a.push((r>>o-i&s)>>>0);r&=2**o-1}if(r=r<=t)throw Error("Excess padding");if(!n&&r)throw Error(`Non-zero padding: ${r}`);return n&&o>0&&a.push(r>>>0),a}function c(e){return{encode:t=>{if(!(t instanceof Uint8Array))throw Error("radix.encode input should be Uint8Array");return a(Array.from(t),256,e)},decode:t=>{if(!Array.isArray(t)||t.length&&"number"!=typeof t[0])throw Error("radix.decode input should be array of strings");return Uint8Array.from(a(t,e,256))}}}function h(e,t=!1){if(e<=0||e>32)throw Error("radix2: bits should be in (0..32]");if(u(8,e)>32||u(e,8)>32)throw Error("radix2: carry overflow");return{encode:i=>{if(!(i instanceof Uint8Array))throw Error("radix2.encode input should be Uint8Array");return d(Array.from(i),8,e,!t)},decode:i=>{if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error("radix2.decode input should be array of strings");return Uint8Array.from(d(i,e,8,t))}}}function g(e){if("function"!=typeof e)throw Error("unsafeWrapper fn should be function");return function(...t){try{return e.apply(null,t)}catch(e){}}}function p(e,t){if("function"!=typeof t)throw Error("checksum fn should be function");return{encode(i){if(!(i instanceof Uint8Array))throw Error("checksum.encode: input should be Uint8Array");let n=t(i).slice(0,e),r=new Uint8Array(i.length+e);return r.set(i),r.set(n,i.length),r},decode(i){if(!(i instanceof Uint8Array))throw Error("checksum.decode: input should be Uint8Array");let n=i.slice(0,-e),r=t(n).slice(0,e),o=i.slice(-e);for(let t=0;te.toUpperCase().replace(/O/g,"0").replace(/[IL]/g,"1"))),t.base64=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/"),o(6),r("")),t.base64url=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),o(6),r("")),t.base64urlnopad=i(h(6),n("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"),r(""));let f=e=>i(c(58),n(e),r(""));t.base58=f("123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz"),t.base58flickr=f("123456789abcdefghijkmnopqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ"),t.base58xrp=f("rpshnaf39wBUDNEGHJKLM4PQRST7VWXYZ2bcdeCg65jkm8oFqi1tuvAxyz");let m=[0,2,3,5,6,7,9,10,11];t.base58xmr={encode(e){let i="";for(let n=0;ni(p(4,t=>e(e(t))),t.base58);let v=i(n("qpzry9x8gf2tvdw0s3jn54khce6mua7l"),r("")),b=[996825010,642813549,513874426,1027748829,705979059];function y(e){let t=e>>25,i=(33554431&e)<<5;for(let e=0;e>e&1)==1&&(i^=b[e]);return i}function _(e,t,i=1){let n=e.length,r=1;for(let t=0;t126)throw Error(`Invalid prefix (${e})`);r=y(r)^i>>5}r=y(r);for(let t=0;ti)throw TypeError(`Wrong string length: ${e.length} (${e}). Expected (8..${i})`);let n=e.toLowerCase();if(e!==n&&e!==e.toUpperCase())throw Error("String must be lowercase or uppercase");let r=(e=n).lastIndexOf("1");if(0===r||-1===r)throw Error('Letter "1" must be present between prefix and data only');let o=e.slice(0,r),s=e.slice(r+1);if(s.length<6)throw Error("Data must be at least 6 characters long");let a=v.decode(s).slice(0,-6),l=_(o,a,t);if(!s.endsWith(l))throw Error(`Invalid checksum in ${e}: expected "${l}"`);return{prefix:o,words:a}}let a=g(s);return{encode:function(e,i,n=90){if("string"!=typeof e)throw Error(`bech32.encode prefix should be string, not ${typeof e}`);if(!Array.isArray(i)||i.length&&"number"!=typeof i[0])throw Error(`bech32.encode words should be array of numbers, not ${typeof i}`);let r=e.length+7+i.length;if(!1!==n&&r>n)throw TypeError(`Length ${r} exceeds limit ${n}`);let o=e.toLowerCase();return`${o}1${v.encode(i)}${_(o,i,t)}`},decode:s,decodeToBytes:function(e){let{prefix:t,words:i}=s(e,!1);return{prefix:t,words:i,bytes:n(i)}},decodeUnsafe:a,fromWords:n,fromWordsUnsafe:o,toWords:r}}t.bech32=w("bech32"),t.bech32m=w("bech32m"),t.utf8={encode:e=>new TextDecoder().decode(e),decode:e=>new TextEncoder().encode(e)},t.hex=i(h(4),n("0123456789abcdef"),r(""),s(e=>{if("string"!=typeof e||e.length%2)throw TypeError(`hex.decode: expected string, got ${typeof e} with length ${e.length}`);return e.toLowerCase()}));let C={utf8:t.utf8,hex:t.hex,base16:t.base16,base32:t.base32,base64:t.base64,base64url:t.base64url,base58:t.base58,base58xmr:t.base58xmr},S="Invalid encoding type. Available types: utf8, hex, base16, base32, base64, base64url, base58, base58xmr";t.bytesToString=(e,t)=>{if("string"!=typeof e||!C.hasOwnProperty(e))throw TypeError(S);if(!(t instanceof Uint8Array))throw TypeError("bytesToString() expects Uint8Array");return C[e].encode(t)},t.str=t.bytesToString,t.stringToBytes=(e,t)=>{if(!C.hasOwnProperty(e))throw TypeError(S);if("string"!=typeof t)throw TypeError("stringToBytes() expects string");return C[e].decode(t)},t.bytes=t.stringToBytes},10711:(e,t,i)=>{"use strict";var n=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],r="undefined"==typeof globalThis?i.g:globalThis;e.exports=function(){for(var e=[],t=0;t{"use strict";t.byteLength=function(e){var t=l(e),i=t[0],n=t[1];return(i+n)*3/4-n},t.toByteArray=function(e){var t,i,o=l(e),s=o[0],a=o[1],u=new r((s+a)*3/4-a),d=0,c=a>0?s-4:s;for(i=0;i>16&255,u[d++]=t>>8&255,u[d++]=255&t;return 2===a&&(t=n[e.charCodeAt(i)]<<2|n[e.charCodeAt(i+1)]>>4,u[d++]=255&t),1===a&&(t=n[e.charCodeAt(i)]<<10|n[e.charCodeAt(i+1)]<<4|n[e.charCodeAt(i+2)]>>2,u[d++]=t>>8&255,u[d++]=255&t),u},t.fromByteArray=function(e){for(var t,n=e.length,r=n%3,o=[],s=0,a=n-r;s>18&63]+i[r>>12&63]+i[r>>6&63]+i[63&r]);return o.join("")}(e,s,s+16383>a?a:s+16383));return 1===r?o.push(i[(t=e[n-1])>>2]+i[t<<4&63]+"=="):2===r&&o.push(i[(t=(e[n-2]<<8)+e[n-1])>>10]+i[t>>4&63]+i[t<<2&63]+"="),o.join("")};for(var i=[],n=[],r="undefined"!=typeof Uint8Array?Uint8Array:Array,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,a=o.length;s0)throw Error("Invalid string. Length must be a multiple of 4");var i=e.indexOf("=");-1===i&&(i=t);var n=i===t?0:4-i%4;return[i,n]}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},62197:function(e,t,i){!function(e,t){"use strict";function n(e,t){if(!e)throw Error(t||"Assertion failed")}function r(e,t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}function o(e,t,i){if(o.isBN(e))return e;this.negative=0,this.words=null,this.length=0,this.red=null,null!==e&&(("le"===t||"be"===t)&&(i=t,t=10),this._init(e||0,t||10,i||"be"))}"object"==typeof e?e.exports=o:t.BN=o,o.BN=o,o.wordSize=26;try{c="undefined"!=typeof window&&void 0!==window.Buffer?window.Buffer:i(33196).Buffer}catch(e){}function s(e,t){var i=e.charCodeAt(t);return i>=48&&i<=57?i-48:i>=65&&i<=70?i-55:i>=97&&i<=102?i-87:void n(!1,"Invalid character in "+e)}function a(e,t,i){var n=s(e,i);return i-1>=t&&(n|=s(e,i-1)<<4),n}function l(e,t,i,r){for(var o=0,s=0,a=Math.min(e.length,i),l=t;l=49?u-49+10:u>=17?u-17+10:u,n(u>=0&&s0?e:t},o.min=function(e,t){return 0>e.cmp(t)?e:t},o.prototype._init=function(e,t,i){if("number"==typeof e)return this._initNumber(e,t,i);if("object"==typeof e)return this._initArray(e,t,i);"hex"===t&&(t=16),n(t===(0|t)&&t>=2&&t<=36);var r=0;"-"===(e=e.toString().replace(/\s+/g,""))[0]&&(r++,this.negative=1),r=0;s-=3)o=e[s]|e[s-1]<<8|e[s-2]<<16,this.words[r]|=o<>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);else if("le"===i)for(s=0,r=0;s>>26-a&67108863,(a+=24)>=26&&(a-=26,r++);return this._strip()},o.prototype._parseHex=function(e,t,i){this.length=Math.ceil((e.length-t)/6),this.words=Array(this.length);for(var n,r=0;r=t;r-=2)n=a(e,t,r)<=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;else for(r=(e.length-t)%2==0?t+1:t;r=18?(o-=18,s+=1,this.words[s]|=n>>>26):o+=8;this._strip()},o.prototype._parseBase=function(e,t,i){this.words=[0],this.length=1;for(var n=0,r=1;r<=67108863;r*=t)n++;n--,r=r/t|0;for(var o=e.length-i,s=o%n,a=Math.min(o,o-s)+i,u=0,d=i;d1&&0===this.words[this.length-1];)this.length--;return this._normSign()},o.prototype._normSign=function(){return 1===this.length&&0===this.words[0]&&(this.negative=0),this},"undefined"!=typeof Symbol&&"function"==typeof Symbol.for)try{o.prototype[Symbol.for("nodejs.util.inspect.custom")]=d}catch(e){o.prototype.inspect=d}else o.prototype.inspect=d;function d(){return(this.red?""}var c,h=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],g=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],p=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];function f(e,t,i){i.negative=t.negative^e.negative;var n=e.length+t.length|0;i.length=n,n=n-1|0;var r=0|e.words[0],o=0|t.words[0],s=r*o,a=67108863&s,l=s/67108864|0;i.words[0]=a;for(var u=1;u>>26,c=67108863&l,h=Math.min(u,t.length-1),g=Math.max(0,u-e.length+1);g<=h;g++){var p=u-g|0;d+=(s=(r=0|e.words[p])*(o=0|t.words[g])+c)/67108864|0,c=67108863&s}i.words[u]=0|c,l=0|d}return 0!==l?i.words[u]=0|l:i.length--,i._strip()}o.prototype.toString=function(e,t){if(t=0|t||1,16===(e=e||10)||"hex"===e){i="";for(var i,r=0,o=0,s=0;s>>24-r&16777215,(r+=2)>=26&&(r-=26,s--),i=0!==o||s!==this.length-1?h[6-l.length]+l+i:l+i}for(0!==o&&(i=o.toString(16)+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}if(e===(0|e)&&e>=2&&e<=36){var u=g[e],d=p[e];i="";var c=this.clone();for(c.negative=0;!c.isZero();){var f=c.modrn(d).toString(e);i=(c=c.idivn(d)).isZero()?f+i:h[u-f.length]+f+i}for(this.isZero()&&(i="0"+i);i.length%t!=0;)i="0"+i;return 0!==this.negative&&(i="-"+i),i}n(!1,"Base should be between 2 and 36")},o.prototype.toNumber=function(){var e=this.words[0];return 2===this.length?e+=67108864*this.words[1]:3===this.length&&1===this.words[2]?e+=4503599627370496+67108864*this.words[1]:this.length>2&&n(!1,"Number can only safely store up to 53 bits"),0!==this.negative?-e:e},o.prototype.toJSON=function(){return this.toString(16,2)},c&&(o.prototype.toBuffer=function(e,t){return this.toArrayLike(c,e,t)}),o.prototype.toArray=function(e,t){return this.toArrayLike(Array,e,t)},o.prototype.toArrayLike=function(e,t,i){this._strip();var r=this.byteLength(),o=i||Math.max(1,r);n(r<=o,"byte array longer than desired length"),n(o>0,"Requested array length <= 0");var s=e.allocUnsafe?e.allocUnsafe(o):new e(o);return this["_toArrayLike"+("le"===t?"LE":"BE")](s,r),s},o.prototype._toArrayLikeLE=function(e,t){for(var i=0,n=0,r=0,o=0;r>8&255),i>16&255),6===o?(i>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(i=0&&(e[i--]=s>>8&255),i>=0&&(e[i--]=s>>16&255),6===o?(i>=0&&(e[i--]=s>>24&255),n=0,o=0):(n=s>>>24,o+=2)}if(i>=0)for(e[i--]=n;i>=0;)e[i--]=0},Math.clz32?o.prototype._countBits=function(e){return 32-Math.clz32(e)}:o.prototype._countBits=function(e){var t=e,i=0;return t>=4096&&(i+=13,t>>>=13),t>=64&&(i+=7,t>>>=7),t>=8&&(i+=4,t>>>=4),t>=2&&(i+=2,t>>>=2),i+t},o.prototype._zeroBits=function(e){if(0===e)return 26;var t=e,i=0;return(8191&t)==0&&(i+=13,t>>>=13),(127&t)==0&&(i+=7,t>>>=7),(15&t)==0&&(i+=4,t>>>=4),(3&t)==0&&(i+=2,t>>>=2),(1&t)==0&&i++,i},o.prototype.bitLength=function(){var e=this.words[this.length-1],t=this._countBits(e);return(this.length-1)*26+t},o.prototype.zeroBits=function(){if(this.isZero())return 0;for(var e=0,t=0;te.length?this.clone().ior(e):e.clone().ior(this)},o.prototype.uor=function(e){return this.length>e.length?this.clone().iuor(e):e.clone().iuor(this)},o.prototype.iuand=function(e){var t;t=this.length>e.length?e:this;for(var i=0;ie.length?this.clone().iand(e):e.clone().iand(this)},o.prototype.uand=function(e){return this.length>e.length?this.clone().iuand(e):e.clone().iuand(this)},o.prototype.iuxor=function(e){this.length>e.length?(t=this,i=e):(t=e,i=this);for(var t,i,n=0;ne.length?this.clone().ixor(e):e.clone().ixor(this)},o.prototype.uxor=function(e){return this.length>e.length?this.clone().iuxor(e):e.clone().iuxor(this)},o.prototype.inotn=function(e){n("number"==typeof e&&e>=0);var t=0|Math.ceil(e/26),i=e%26;this._expand(t),i>0&&t--;for(var r=0;r0&&(this.words[r]=~this.words[r]&67108863>>26-i),this._strip()},o.prototype.notn=function(e){return this.clone().inotn(e)},o.prototype.setn=function(e,t){n("number"==typeof e&&e>=0);var i=e/26|0,r=e%26;return this._expand(i+1),t?this.words[i]=this.words[i]|1<e.length?(i=this,n=e):(i=e,n=this);for(var t,i,n,r=0,o=0;o>>26;for(;0!==r&&o>>26;if(this.length=i.length,0!==r)this.words[this.length]=r,this.length++;else if(i!==this)for(;oe.length?this.clone().iadd(e):e.clone().iadd(this)},o.prototype.isub=function(e){if(0!==e.negative){e.negative=0;var t,i,n=this.iadd(e);return e.negative=1,n._normSign()}if(0!==this.negative)return this.negative=0,this.iadd(e),this.negative=1,this._normSign();var r=this.cmp(e);if(0===r)return this.negative=0,this.length=1,this.words[0]=0,this;r>0?(t=this,i=e):(t=e,i=this);for(var o=0,s=0;s>26,this.words[s]=67108863&n;for(;0!==o&&s>26,this.words[s]=67108863&n;if(0===o&&s>>13,g=0|s[1],p=8191&g,f=g>>>13,m=0|s[2],v=8191&m,b=m>>>13,y=0|s[3],_=8191&y,w=y>>>13,C=0|s[4],S=8191&C,x=C>>>13,k=0|s[5],E=8191&k,L=k>>>13,D=0|s[6],N=8191&D,A=D>>>13,T=0|s[7],I=8191&T,M=T>>>13,O=0|s[8],P=8191&O,R=O>>>13,F=0|s[9],B=8191&F,V=F>>>13,H=0|a[0],j=8191&H,W=H>>>13,z=0|a[1],U=8191&z,$=z>>>13,q=0|a[2],K=8191&q,G=q>>>13,Z=0|a[3],Y=8191&Z,Q=Z>>>13,J=0|a[4],X=8191&J,ee=J>>>13,et=0|a[5],ei=8191&et,en=et>>>13,er=0|a[6],eo=8191&er,es=er>>>13,ea=0|a[7],el=8191&ea,eu=ea>>>13,ed=0|a[8],ec=8191&ed,eh=ed>>>13,eg=0|a[9],ep=8191&eg,ef=eg>>>13;i.negative=e.negative^t.negative,i.length=19;var em=(u+(n=Math.imul(c,j))|0)+((8191&(r=(r=Math.imul(c,W))+Math.imul(h,j)|0))<<13)|0;u=((o=Math.imul(h,W))+(r>>>13)|0)+(em>>>26)|0,em&=67108863,n=Math.imul(p,j),r=(r=Math.imul(p,W))+Math.imul(f,j)|0,o=Math.imul(f,W);var ev=(u+(n=n+Math.imul(c,U)|0)|0)+((8191&(r=(r=r+Math.imul(c,$)|0)+Math.imul(h,U)|0))<<13)|0;u=((o=o+Math.imul(h,$)|0)+(r>>>13)|0)+(ev>>>26)|0,ev&=67108863,n=Math.imul(v,j),r=(r=Math.imul(v,W))+Math.imul(b,j)|0,o=Math.imul(b,W),n=n+Math.imul(p,U)|0,r=(r=r+Math.imul(p,$)|0)+Math.imul(f,U)|0,o=o+Math.imul(f,$)|0;var eb=(u+(n=n+Math.imul(c,K)|0)|0)+((8191&(r=(r=r+Math.imul(c,G)|0)+Math.imul(h,K)|0))<<13)|0;u=((o=o+Math.imul(h,G)|0)+(r>>>13)|0)+(eb>>>26)|0,eb&=67108863,n=Math.imul(_,j),r=(r=Math.imul(_,W))+Math.imul(w,j)|0,o=Math.imul(w,W),n=n+Math.imul(v,U)|0,r=(r=r+Math.imul(v,$)|0)+Math.imul(b,U)|0,o=o+Math.imul(b,$)|0,n=n+Math.imul(p,K)|0,r=(r=r+Math.imul(p,G)|0)+Math.imul(f,K)|0,o=o+Math.imul(f,G)|0;var ey=(u+(n=n+Math.imul(c,Y)|0)|0)+((8191&(r=(r=r+Math.imul(c,Q)|0)+Math.imul(h,Y)|0))<<13)|0;u=((o=o+Math.imul(h,Q)|0)+(r>>>13)|0)+(ey>>>26)|0,ey&=67108863,n=Math.imul(S,j),r=(r=Math.imul(S,W))+Math.imul(x,j)|0,o=Math.imul(x,W),n=n+Math.imul(_,U)|0,r=(r=r+Math.imul(_,$)|0)+Math.imul(w,U)|0,o=o+Math.imul(w,$)|0,n=n+Math.imul(v,K)|0,r=(r=r+Math.imul(v,G)|0)+Math.imul(b,K)|0,o=o+Math.imul(b,G)|0,n=n+Math.imul(p,Y)|0,r=(r=r+Math.imul(p,Q)|0)+Math.imul(f,Y)|0,o=o+Math.imul(f,Q)|0;var e_=(u+(n=n+Math.imul(c,X)|0)|0)+((8191&(r=(r=r+Math.imul(c,ee)|0)+Math.imul(h,X)|0))<<13)|0;u=((o=o+Math.imul(h,ee)|0)+(r>>>13)|0)+(e_>>>26)|0,e_&=67108863,n=Math.imul(E,j),r=(r=Math.imul(E,W))+Math.imul(L,j)|0,o=Math.imul(L,W),n=n+Math.imul(S,U)|0,r=(r=r+Math.imul(S,$)|0)+Math.imul(x,U)|0,o=o+Math.imul(x,$)|0,n=n+Math.imul(_,K)|0,r=(r=r+Math.imul(_,G)|0)+Math.imul(w,K)|0,o=o+Math.imul(w,G)|0,n=n+Math.imul(v,Y)|0,r=(r=r+Math.imul(v,Q)|0)+Math.imul(b,Y)|0,o=o+Math.imul(b,Q)|0,n=n+Math.imul(p,X)|0,r=(r=r+Math.imul(p,ee)|0)+Math.imul(f,X)|0,o=o+Math.imul(f,ee)|0;var ew=(u+(n=n+Math.imul(c,ei)|0)|0)+((8191&(r=(r=r+Math.imul(c,en)|0)+Math.imul(h,ei)|0))<<13)|0;u=((o=o+Math.imul(h,en)|0)+(r>>>13)|0)+(ew>>>26)|0,ew&=67108863,n=Math.imul(N,j),r=(r=Math.imul(N,W))+Math.imul(A,j)|0,o=Math.imul(A,W),n=n+Math.imul(E,U)|0,r=(r=r+Math.imul(E,$)|0)+Math.imul(L,U)|0,o=o+Math.imul(L,$)|0,n=n+Math.imul(S,K)|0,r=(r=r+Math.imul(S,G)|0)+Math.imul(x,K)|0,o=o+Math.imul(x,G)|0,n=n+Math.imul(_,Y)|0,r=(r=r+Math.imul(_,Q)|0)+Math.imul(w,Y)|0,o=o+Math.imul(w,Q)|0,n=n+Math.imul(v,X)|0,r=(r=r+Math.imul(v,ee)|0)+Math.imul(b,X)|0,o=o+Math.imul(b,ee)|0,n=n+Math.imul(p,ei)|0,r=(r=r+Math.imul(p,en)|0)+Math.imul(f,ei)|0,o=o+Math.imul(f,en)|0;var eC=(u+(n=n+Math.imul(c,eo)|0)|0)+((8191&(r=(r=r+Math.imul(c,es)|0)+Math.imul(h,eo)|0))<<13)|0;u=((o=o+Math.imul(h,es)|0)+(r>>>13)|0)+(eC>>>26)|0,eC&=67108863,n=Math.imul(I,j),r=(r=Math.imul(I,W))+Math.imul(M,j)|0,o=Math.imul(M,W),n=n+Math.imul(N,U)|0,r=(r=r+Math.imul(N,$)|0)+Math.imul(A,U)|0,o=o+Math.imul(A,$)|0,n=n+Math.imul(E,K)|0,r=(r=r+Math.imul(E,G)|0)+Math.imul(L,K)|0,o=o+Math.imul(L,G)|0,n=n+Math.imul(S,Y)|0,r=(r=r+Math.imul(S,Q)|0)+Math.imul(x,Y)|0,o=o+Math.imul(x,Q)|0,n=n+Math.imul(_,X)|0,r=(r=r+Math.imul(_,ee)|0)+Math.imul(w,X)|0,o=o+Math.imul(w,ee)|0,n=n+Math.imul(v,ei)|0,r=(r=r+Math.imul(v,en)|0)+Math.imul(b,ei)|0,o=o+Math.imul(b,en)|0,n=n+Math.imul(p,eo)|0,r=(r=r+Math.imul(p,es)|0)+Math.imul(f,eo)|0,o=o+Math.imul(f,es)|0;var eS=(u+(n=n+Math.imul(c,el)|0)|0)+((8191&(r=(r=r+Math.imul(c,eu)|0)+Math.imul(h,el)|0))<<13)|0;u=((o=o+Math.imul(h,eu)|0)+(r>>>13)|0)+(eS>>>26)|0,eS&=67108863,n=Math.imul(P,j),r=(r=Math.imul(P,W))+Math.imul(R,j)|0,o=Math.imul(R,W),n=n+Math.imul(I,U)|0,r=(r=r+Math.imul(I,$)|0)+Math.imul(M,U)|0,o=o+Math.imul(M,$)|0,n=n+Math.imul(N,K)|0,r=(r=r+Math.imul(N,G)|0)+Math.imul(A,K)|0,o=o+Math.imul(A,G)|0,n=n+Math.imul(E,Y)|0,r=(r=r+Math.imul(E,Q)|0)+Math.imul(L,Y)|0,o=o+Math.imul(L,Q)|0,n=n+Math.imul(S,X)|0,r=(r=r+Math.imul(S,ee)|0)+Math.imul(x,X)|0,o=o+Math.imul(x,ee)|0,n=n+Math.imul(_,ei)|0,r=(r=r+Math.imul(_,en)|0)+Math.imul(w,ei)|0,o=o+Math.imul(w,en)|0,n=n+Math.imul(v,eo)|0,r=(r=r+Math.imul(v,es)|0)+Math.imul(b,eo)|0,o=o+Math.imul(b,es)|0,n=n+Math.imul(p,el)|0,r=(r=r+Math.imul(p,eu)|0)+Math.imul(f,el)|0,o=o+Math.imul(f,eu)|0;var ex=(u+(n=n+Math.imul(c,ec)|0)|0)+((8191&(r=(r=r+Math.imul(c,eh)|0)+Math.imul(h,ec)|0))<<13)|0;u=((o=o+Math.imul(h,eh)|0)+(r>>>13)|0)+(ex>>>26)|0,ex&=67108863,n=Math.imul(B,j),r=(r=Math.imul(B,W))+Math.imul(V,j)|0,o=Math.imul(V,W),n=n+Math.imul(P,U)|0,r=(r=r+Math.imul(P,$)|0)+Math.imul(R,U)|0,o=o+Math.imul(R,$)|0,n=n+Math.imul(I,K)|0,r=(r=r+Math.imul(I,G)|0)+Math.imul(M,K)|0,o=o+Math.imul(M,G)|0,n=n+Math.imul(N,Y)|0,r=(r=r+Math.imul(N,Q)|0)+Math.imul(A,Y)|0,o=o+Math.imul(A,Q)|0,n=n+Math.imul(E,X)|0,r=(r=r+Math.imul(E,ee)|0)+Math.imul(L,X)|0,o=o+Math.imul(L,ee)|0,n=n+Math.imul(S,ei)|0,r=(r=r+Math.imul(S,en)|0)+Math.imul(x,ei)|0,o=o+Math.imul(x,en)|0,n=n+Math.imul(_,eo)|0,r=(r=r+Math.imul(_,es)|0)+Math.imul(w,eo)|0,o=o+Math.imul(w,es)|0,n=n+Math.imul(v,el)|0,r=(r=r+Math.imul(v,eu)|0)+Math.imul(b,el)|0,o=o+Math.imul(b,eu)|0,n=n+Math.imul(p,ec)|0,r=(r=r+Math.imul(p,eh)|0)+Math.imul(f,ec)|0,o=o+Math.imul(f,eh)|0;var ek=(u+(n=n+Math.imul(c,ep)|0)|0)+((8191&(r=(r=r+Math.imul(c,ef)|0)+Math.imul(h,ep)|0))<<13)|0;u=((o=o+Math.imul(h,ef)|0)+(r>>>13)|0)+(ek>>>26)|0,ek&=67108863,n=Math.imul(B,U),r=(r=Math.imul(B,$))+Math.imul(V,U)|0,o=Math.imul(V,$),n=n+Math.imul(P,K)|0,r=(r=r+Math.imul(P,G)|0)+Math.imul(R,K)|0,o=o+Math.imul(R,G)|0,n=n+Math.imul(I,Y)|0,r=(r=r+Math.imul(I,Q)|0)+Math.imul(M,Y)|0,o=o+Math.imul(M,Q)|0,n=n+Math.imul(N,X)|0,r=(r=r+Math.imul(N,ee)|0)+Math.imul(A,X)|0,o=o+Math.imul(A,ee)|0,n=n+Math.imul(E,ei)|0,r=(r=r+Math.imul(E,en)|0)+Math.imul(L,ei)|0,o=o+Math.imul(L,en)|0,n=n+Math.imul(S,eo)|0,r=(r=r+Math.imul(S,es)|0)+Math.imul(x,eo)|0,o=o+Math.imul(x,es)|0,n=n+Math.imul(_,el)|0,r=(r=r+Math.imul(_,eu)|0)+Math.imul(w,el)|0,o=o+Math.imul(w,eu)|0,n=n+Math.imul(v,ec)|0,r=(r=r+Math.imul(v,eh)|0)+Math.imul(b,ec)|0,o=o+Math.imul(b,eh)|0;var eE=(u+(n=n+Math.imul(p,ep)|0)|0)+((8191&(r=(r=r+Math.imul(p,ef)|0)+Math.imul(f,ep)|0))<<13)|0;u=((o=o+Math.imul(f,ef)|0)+(r>>>13)|0)+(eE>>>26)|0,eE&=67108863,n=Math.imul(B,K),r=(r=Math.imul(B,G))+Math.imul(V,K)|0,o=Math.imul(V,G),n=n+Math.imul(P,Y)|0,r=(r=r+Math.imul(P,Q)|0)+Math.imul(R,Y)|0,o=o+Math.imul(R,Q)|0,n=n+Math.imul(I,X)|0,r=(r=r+Math.imul(I,ee)|0)+Math.imul(M,X)|0,o=o+Math.imul(M,ee)|0,n=n+Math.imul(N,ei)|0,r=(r=r+Math.imul(N,en)|0)+Math.imul(A,ei)|0,o=o+Math.imul(A,en)|0,n=n+Math.imul(E,eo)|0,r=(r=r+Math.imul(E,es)|0)+Math.imul(L,eo)|0,o=o+Math.imul(L,es)|0,n=n+Math.imul(S,el)|0,r=(r=r+Math.imul(S,eu)|0)+Math.imul(x,el)|0,o=o+Math.imul(x,eu)|0,n=n+Math.imul(_,ec)|0,r=(r=r+Math.imul(_,eh)|0)+Math.imul(w,ec)|0,o=o+Math.imul(w,eh)|0;var eL=(u+(n=n+Math.imul(v,ep)|0)|0)+((8191&(r=(r=r+Math.imul(v,ef)|0)+Math.imul(b,ep)|0))<<13)|0;u=((o=o+Math.imul(b,ef)|0)+(r>>>13)|0)+(eL>>>26)|0,eL&=67108863,n=Math.imul(B,Y),r=(r=Math.imul(B,Q))+Math.imul(V,Y)|0,o=Math.imul(V,Q),n=n+Math.imul(P,X)|0,r=(r=r+Math.imul(P,ee)|0)+Math.imul(R,X)|0,o=o+Math.imul(R,ee)|0,n=n+Math.imul(I,ei)|0,r=(r=r+Math.imul(I,en)|0)+Math.imul(M,ei)|0,o=o+Math.imul(M,en)|0,n=n+Math.imul(N,eo)|0,r=(r=r+Math.imul(N,es)|0)+Math.imul(A,eo)|0,o=o+Math.imul(A,es)|0,n=n+Math.imul(E,el)|0,r=(r=r+Math.imul(E,eu)|0)+Math.imul(L,el)|0,o=o+Math.imul(L,eu)|0,n=n+Math.imul(S,ec)|0,r=(r=r+Math.imul(S,eh)|0)+Math.imul(x,ec)|0,o=o+Math.imul(x,eh)|0;var eD=(u+(n=n+Math.imul(_,ep)|0)|0)+((8191&(r=(r=r+Math.imul(_,ef)|0)+Math.imul(w,ep)|0))<<13)|0;u=((o=o+Math.imul(w,ef)|0)+(r>>>13)|0)+(eD>>>26)|0,eD&=67108863,n=Math.imul(B,X),r=(r=Math.imul(B,ee))+Math.imul(V,X)|0,o=Math.imul(V,ee),n=n+Math.imul(P,ei)|0,r=(r=r+Math.imul(P,en)|0)+Math.imul(R,ei)|0,o=o+Math.imul(R,en)|0,n=n+Math.imul(I,eo)|0,r=(r=r+Math.imul(I,es)|0)+Math.imul(M,eo)|0,o=o+Math.imul(M,es)|0,n=n+Math.imul(N,el)|0,r=(r=r+Math.imul(N,eu)|0)+Math.imul(A,el)|0,o=o+Math.imul(A,eu)|0,n=n+Math.imul(E,ec)|0,r=(r=r+Math.imul(E,eh)|0)+Math.imul(L,ec)|0,o=o+Math.imul(L,eh)|0;var eN=(u+(n=n+Math.imul(S,ep)|0)|0)+((8191&(r=(r=r+Math.imul(S,ef)|0)+Math.imul(x,ep)|0))<<13)|0;u=((o=o+Math.imul(x,ef)|0)+(r>>>13)|0)+(eN>>>26)|0,eN&=67108863,n=Math.imul(B,ei),r=(r=Math.imul(B,en))+Math.imul(V,ei)|0,o=Math.imul(V,en),n=n+Math.imul(P,eo)|0,r=(r=r+Math.imul(P,es)|0)+Math.imul(R,eo)|0,o=o+Math.imul(R,es)|0,n=n+Math.imul(I,el)|0,r=(r=r+Math.imul(I,eu)|0)+Math.imul(M,el)|0,o=o+Math.imul(M,eu)|0,n=n+Math.imul(N,ec)|0,r=(r=r+Math.imul(N,eh)|0)+Math.imul(A,ec)|0,o=o+Math.imul(A,eh)|0;var eA=(u+(n=n+Math.imul(E,ep)|0)|0)+((8191&(r=(r=r+Math.imul(E,ef)|0)+Math.imul(L,ep)|0))<<13)|0;u=((o=o+Math.imul(L,ef)|0)+(r>>>13)|0)+(eA>>>26)|0,eA&=67108863,n=Math.imul(B,eo),r=(r=Math.imul(B,es))+Math.imul(V,eo)|0,o=Math.imul(V,es),n=n+Math.imul(P,el)|0,r=(r=r+Math.imul(P,eu)|0)+Math.imul(R,el)|0,o=o+Math.imul(R,eu)|0,n=n+Math.imul(I,ec)|0,r=(r=r+Math.imul(I,eh)|0)+Math.imul(M,ec)|0,o=o+Math.imul(M,eh)|0;var eT=(u+(n=n+Math.imul(N,ep)|0)|0)+((8191&(r=(r=r+Math.imul(N,ef)|0)+Math.imul(A,ep)|0))<<13)|0;u=((o=o+Math.imul(A,ef)|0)+(r>>>13)|0)+(eT>>>26)|0,eT&=67108863,n=Math.imul(B,el),r=(r=Math.imul(B,eu))+Math.imul(V,el)|0,o=Math.imul(V,eu),n=n+Math.imul(P,ec)|0,r=(r=r+Math.imul(P,eh)|0)+Math.imul(R,ec)|0,o=o+Math.imul(R,eh)|0;var eI=(u+(n=n+Math.imul(I,ep)|0)|0)+((8191&(r=(r=r+Math.imul(I,ef)|0)+Math.imul(M,ep)|0))<<13)|0;u=((o=o+Math.imul(M,ef)|0)+(r>>>13)|0)+(eI>>>26)|0,eI&=67108863,n=Math.imul(B,ec),r=(r=Math.imul(B,eh))+Math.imul(V,ec)|0,o=Math.imul(V,eh);var eM=(u+(n=n+Math.imul(P,ep)|0)|0)+((8191&(r=(r=r+Math.imul(P,ef)|0)+Math.imul(R,ep)|0))<<13)|0;u=((o=o+Math.imul(R,ef)|0)+(r>>>13)|0)+(eM>>>26)|0,eM&=67108863;var eO=(u+(n=Math.imul(B,ep))|0)+((8191&(r=(r=Math.imul(B,ef))+Math.imul(V,ep)|0))<<13)|0;return u=((o=Math.imul(V,ef))+(r>>>13)|0)+(eO>>>26)|0,eO&=67108863,l[0]=em,l[1]=ev,l[2]=eb,l[3]=ey,l[4]=e_,l[5]=ew,l[6]=eC,l[7]=eS,l[8]=ex,l[9]=ek,l[10]=eE,l[11]=eL,l[12]=eD,l[13]=eN,l[14]=eA,l[15]=eT,l[16]=eI,l[17]=eM,l[18]=eO,0!==u&&(l[19]=u,i.length++),i};function v(e,t,i){i.negative=t.negative^e.negative,i.length=e.length+t.length;for(var n=0,r=0,o=0;o>>26)|0)>>>26,s&=67108863}i.words[o]=a,n=s,s=r}return 0!==n?i.words[o]=n:i.length--,i._strip()}function b(e,t){this.x=e,this.y=t}Math.imul||(m=f),o.prototype.mulTo=function(e,t){var i=this.length+e.length;return 10===this.length&&10===e.length?m(this,e,t):i<63?f(this,e,t):v(this,e,t)},b.prototype.makeRBT=function(e){for(var t=Array(e),i=o.prototype._countBits(e)-1,n=0;n>=1;return n},b.prototype.permute=function(e,t,i,n,r,o){for(var s=0;s>>=1)r++;return 1<>>=13,i[2*s+1]=8191&o,o>>>=13;for(s=2*t;s>=26,i+=(o/67108864|0)+(s>>>26),this.words[r]=67108863&s}return 0!==i&&(this.words[r]=i,this.length++),t?this.ineg():this},o.prototype.muln=function(e){return this.clone().imuln(e)},o.prototype.sqr=function(){return this.mul(this)},o.prototype.isqr=function(){return this.imul(this.clone())},o.prototype.pow=function(e){var t=function(e){for(var t=Array(e.bitLength()),i=0;i>>r&1}return t}(e);if(0===t.length)return new o(1);for(var i=this,n=0;n=0);var t,i=e%26,r=(e-i)/26,o=67108863>>>26-i<<26-i;if(0!==i){var s=0;for(t=0;t>>26-i}s&&(this.words[t]=s,this.length++)}if(0!==r){for(t=this.length-1;t>=0;t--)this.words[t+r]=this.words[t];for(t=0;t=0),r=t?(t-t%26)/26:0;var r,o=e%26,s=Math.min((e-o)/26,this.length),a=67108863^67108863>>>o<s)for(this.length-=s,l=0;l=0&&(0!==u||l>=r);l--){var d=0|this.words[l];this.words[l]=u<<26-o|d>>>o,u=d&a}return i&&0!==u&&(i.words[i.length++]=u),0===this.length&&(this.words[0]=0,this.length=1),this._strip()},o.prototype.ishrn=function(e,t,i){return n(0===this.negative),this.iushrn(e,t,i)},o.prototype.shln=function(e){return this.clone().ishln(e)},o.prototype.ushln=function(e){return this.clone().iushln(e)},o.prototype.shrn=function(e){return this.clone().ishrn(e)},o.prototype.ushrn=function(e){return this.clone().iushrn(e)},o.prototype.testn=function(e){n("number"==typeof e&&e>=0);var t=e%26,i=(e-t)/26;return!(this.length<=i)&&!!(this.words[i]&1<=0);var t=e%26,i=(e-t)/26;return(n(0===this.negative,"imaskn works only with positive numbers"),this.length<=i)?this:(0!==t&&i++,this.length=Math.min(i,this.length),0!==t&&(this.words[this.length-1]&=67108863^67108863>>>t<=67108864;t++)this.words[t]-=67108864,t===this.length-1?this.words[t+1]=1:this.words[t+1]++;return this.length=Math.max(this.length,t+1),this},o.prototype.isubn=function(e){if(n("number"==typeof e),n(e<67108864),e<0)return this.iaddn(-e);if(0!==this.negative)return this.negative=0,this.iaddn(e),this.negative=1,this;if(this.words[0]-=e,1===this.length&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var t=0;t>26)-(l/67108864|0),this.words[r+i]=67108863&o}for(;r>26,this.words[r+i]=67108863&o;if(0===a)return this._strip();for(n(-1===a),a=0,r=0;r>26,this.words[r]=67108863&o;return this.negative=1,this._strip()},o.prototype._wordDiv=function(e,t){var i,n=this.length-e.length,r=this.clone(),s=e,a=0|s.words[s.length-1];0!=(n=26-this._countBits(a))&&(s=s.ushln(n),r.iushln(n),a=0|s.words[s.length-1]);var l=r.length-s.length;if("mod"!==t){(i=new o(null)).length=l+1,i.words=Array(i.length);for(var u=0;u=0;c--){var h=(0|r.words[s.length+c])*67108864+(0|r.words[s.length+c-1]);for(h=Math.min(h/a|0,67108863),r._ishlnsubmul(s,h,c);0!==r.negative;)h--,r.negative=0,r._ishlnsubmul(s,1,c),r.isZero()||(r.negative^=1);i&&(i.words[c]=h)}return i&&i._strip(),r._strip(),"div"!==t&&0!==n&&r.iushrn(n),{div:i||null,mod:r}},o.prototype.divmod=function(e,t,i){var r,s,a;return(n(!e.isZero()),this.isZero())?{div:new o(0),mod:new o(0)}:0!==this.negative&&0===e.negative?(a=this.neg().divmod(e,t),"mod"!==t&&(r=a.div.neg()),"div"!==t&&(s=a.mod.neg(),i&&0!==s.negative&&s.iadd(e)),{div:r,mod:s}):0===this.negative&&0!==e.negative?(a=this.divmod(e.neg(),t),"mod"!==t&&(r=a.div.neg()),{div:r,mod:a.mod}):(this.negative&e.negative)!=0?(a=this.neg().divmod(e.neg(),t),"div"!==t&&(s=a.mod.neg(),i&&0!==s.negative&&s.isub(e)),{div:a.div,mod:s}):e.length>this.length||0>this.cmp(e)?{div:new o(0),mod:this}:1===e.length?"div"===t?{div:this.divn(e.words[0]),mod:null}:"mod"===t?{div:null,mod:new o(this.modrn(e.words[0]))}:{div:this.divn(e.words[0]),mod:new o(this.modrn(e.words[0]))}:this._wordDiv(e,t)},o.prototype.div=function(e){return this.divmod(e,"div",!1).div},o.prototype.mod=function(e){return this.divmod(e,"mod",!1).mod},o.prototype.umod=function(e){return this.divmod(e,"mod",!0).mod},o.prototype.divRound=function(e){var t=this.divmod(e);if(t.mod.isZero())return t.div;var i=0!==t.div.negative?t.mod.isub(e):t.mod,n=e.ushrn(1),r=e.andln(1),o=i.cmp(n);return o<0||1===r&&0===o?t.div:0!==t.div.negative?t.div.isubn(1):t.div.iaddn(1)},o.prototype.modrn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var i=67108864%e,r=0,o=this.length-1;o>=0;o--)r=(i*r+(0|this.words[o]))%e;return t?-r:r},o.prototype.modn=function(e){return this.modrn(e)},o.prototype.idivn=function(e){var t=e<0;t&&(e=-e),n(e<=67108863);for(var i=0,r=this.length-1;r>=0;r--){var o=(0|this.words[r])+67108864*i;this.words[r]=o/e|0,i=o%e}return this._strip(),t?this.ineg():this},o.prototype.divn=function(e){return this.clone().idivn(e)},o.prototype.egcd=function(e){n(0===e.negative),n(!e.isZero());var t=this,i=e.clone();t=0!==t.negative?t.umod(e):t.clone();for(var r=new o(1),s=new o(0),a=new o(0),l=new o(1),u=0;t.isEven()&&i.isEven();)t.iushrn(1),i.iushrn(1),++u;for(var d=i.clone(),c=t.clone();!t.isZero();){for(var h=0,g=1;(t.words[0]&g)==0&&h<26;++h,g<<=1);if(h>0)for(t.iushrn(h);h-- >0;)(r.isOdd()||s.isOdd())&&(r.iadd(d),s.isub(c)),r.iushrn(1),s.iushrn(1);for(var p=0,f=1;(i.words[0]&f)==0&&p<26;++p,f<<=1);if(p>0)for(i.iushrn(p);p-- >0;)(a.isOdd()||l.isOdd())&&(a.iadd(d),l.isub(c)),a.iushrn(1),l.iushrn(1);t.cmp(i)>=0?(t.isub(i),r.isub(a),s.isub(l)):(i.isub(t),a.isub(r),l.isub(s))}return{a:a,b:l,gcd:i.iushln(u)}},o.prototype._invmp=function(e){n(0===e.negative),n(!e.isZero());var t,i=this,r=e.clone();i=0!==i.negative?i.umod(e):i.clone();for(var s=new o(1),a=new o(0),l=r.clone();i.cmpn(1)>0&&r.cmpn(1)>0;){for(var u=0,d=1;(i.words[0]&d)==0&&u<26;++u,d<<=1);if(u>0)for(i.iushrn(u);u-- >0;)s.isOdd()&&s.iadd(l),s.iushrn(1);for(var c=0,h=1;(r.words[0]&h)==0&&c<26;++c,h<<=1);if(c>0)for(r.iushrn(c);c-- >0;)a.isOdd()&&a.iadd(l),a.iushrn(1);i.cmp(r)>=0?(i.isub(r),s.isub(a)):(r.isub(i),a.isub(s))}return 0>(t=0===i.cmpn(1)?s:a).cmpn(0)&&t.iadd(e),t},o.prototype.gcd=function(e){if(this.isZero())return e.abs();if(e.isZero())return this.abs();var t=this.clone(),i=e.clone();t.negative=0,i.negative=0;for(var n=0;t.isEven()&&i.isEven();n++)t.iushrn(1),i.iushrn(1);for(;;){for(;t.isEven();)t.iushrn(1);for(;i.isEven();)i.iushrn(1);var r=t.cmp(i);if(r<0){var o=t;t=i,i=o}else if(0===r||0===i.cmpn(1))break;t.isub(i)}return i.iushln(n)},o.prototype.invm=function(e){return this.egcd(e).a.umod(e)},o.prototype.isEven=function(){return(1&this.words[0])==0},o.prototype.isOdd=function(){return(1&this.words[0])==1},o.prototype.andln=function(e){return this.words[0]&e},o.prototype.bincn=function(e){n("number"==typeof e);var t=e%26,i=(e-t)/26,r=1<>>26,a&=67108863,this.words[s]=a}return 0!==o&&(this.words[s]=o,this.length++),this},o.prototype.isZero=function(){return 1===this.length&&0===this.words[0]},o.prototype.cmpn=function(e){var t,i=e<0;if(0!==this.negative&&!i)return -1;if(0===this.negative&&i)return 1;if(this._strip(),this.length>1)t=1;else{i&&(e=-e),n(e<=67108863,"Number is too big");var r=0|this.words[0];t=r===e?0:re.length)return 1;if(this.length=0;i--){var n=0|this.words[i],r=0|e.words[i];if(n!==r){nr&&(t=1);break}}return t},o.prototype.gtn=function(e){return 1===this.cmpn(e)},o.prototype.gt=function(e){return 1===this.cmp(e)},o.prototype.gten=function(e){return this.cmpn(e)>=0},o.prototype.gte=function(e){return this.cmp(e)>=0},o.prototype.ltn=function(e){return -1===this.cmpn(e)},o.prototype.lt=function(e){return -1===this.cmp(e)},o.prototype.lten=function(e){return 0>=this.cmpn(e)},o.prototype.lte=function(e){return 0>=this.cmp(e)},o.prototype.eqn=function(e){return 0===this.cmpn(e)},o.prototype.eq=function(e){return 0===this.cmp(e)},o.red=function(e){return new k(e)},o.prototype.toRed=function(e){return n(!this.red,"Already a number in reduction context"),n(0===this.negative,"red works only with positives"),e.convertTo(this)._forceRed(e)},o.prototype.fromRed=function(){return n(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},o.prototype._forceRed=function(e){return this.red=e,this},o.prototype.forceRed=function(e){return n(!this.red,"Already a number in reduction context"),this._forceRed(e)},o.prototype.redAdd=function(e){return n(this.red,"redAdd works only with red numbers"),this.red.add(this,e)},o.prototype.redIAdd=function(e){return n(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,e)},o.prototype.redSub=function(e){return n(this.red,"redSub works only with red numbers"),this.red.sub(this,e)},o.prototype.redISub=function(e){return n(this.red,"redISub works only with red numbers"),this.red.isub(this,e)},o.prototype.redShl=function(e){return n(this.red,"redShl works only with red numbers"),this.red.shl(this,e)},o.prototype.redMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.mul(this,e)},o.prototype.redIMul=function(e){return n(this.red,"redMul works only with red numbers"),this.red._verify2(this,e),this.red.imul(this,e)},o.prototype.redSqr=function(){return n(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},o.prototype.redISqr=function(){return n(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},o.prototype.redSqrt=function(){return n(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},o.prototype.redInvm=function(){return n(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},o.prototype.redNeg=function(){return n(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},o.prototype.redPow=function(e){return n(this.red&&!e.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,e)};var y={k256:null,p224:null,p192:null,p25519:null};function _(e,t){this.name=e,this.p=new o(t,16),this.n=this.p.bitLength(),this.k=new o(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}function w(){_.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}function C(){_.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}function S(){_.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}function x(){_.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}function k(e){if("string"==typeof e){var t=o._prime(e);this.m=t.p,this.prime=t}else n(e.gtn(1),"modulus must be greater than 1"),this.m=e,this.prime=null}function E(e){k.call(this,e),this.shift=this.m.bitLength(),this.shift%26!=0&&(this.shift+=26-this.shift%26),this.r=new o(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}_.prototype._tmp=function(){var e=new o(null);return e.words=Array(Math.ceil(this.n/13)),e},_.prototype.ireduce=function(e){var t,i=e;do this.split(i,this.tmp),t=(i=(i=this.imulK(i)).iadd(this.tmp)).bitLength();while(t>this.n)var n=t0?i.isub(this.p):void 0!==i.strip?i.strip():i._strip(),i},_.prototype.split=function(e,t){e.iushrn(this.n,0,t)},_.prototype.imulK=function(e){return e.imul(this.k)},r(w,_),w.prototype.split=function(e,t){for(var i=Math.min(e.length,9),n=0;n>>22,r=o}r>>>=22,e.words[n-10]=r,0===r&&e.length>10?e.length-=10:e.length-=9},w.prototype.imulK=function(e){e.words[e.length]=0,e.words[e.length+1]=0,e.length+=2;for(var t=0,i=0;i>>=26,e.words[i]=r,t=n}return 0!==t&&(e.words[e.length++]=t),e},o._prime=function(e){var t;if(y[e])return y[e];if("k256"===e)t=new w;else if("p224"===e)t=new C;else if("p192"===e)t=new S;else if("p25519"===e)t=new x;else throw Error("Unknown prime "+e);return y[e]=t,t},k.prototype._verify1=function(e){n(0===e.negative,"red works only with positives"),n(e.red,"red works only with red numbers")},k.prototype._verify2=function(e,t){n((e.negative|t.negative)==0,"red works only with positives"),n(e.red&&e.red===t.red,"red works only with red numbers")},k.prototype.imod=function(e){return this.prime?this.prime.ireduce(e)._forceRed(this):(u(e,e.umod(this.m)._forceRed(this)),e)},k.prototype.neg=function(e){return e.isZero()?e.clone():this.m.sub(e)._forceRed(this)},k.prototype.add=function(e,t){this._verify2(e,t);var i=e.add(t);return i.cmp(this.m)>=0&&i.isub(this.m),i._forceRed(this)},k.prototype.iadd=function(e,t){this._verify2(e,t);var i=e.iadd(t);return i.cmp(this.m)>=0&&i.isub(this.m),i},k.prototype.sub=function(e,t){this._verify2(e,t);var i=e.sub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i._forceRed(this)},k.prototype.isub=function(e,t){this._verify2(e,t);var i=e.isub(t);return 0>i.cmpn(0)&&i.iadd(this.m),i},k.prototype.shl=function(e,t){return this._verify1(e),this.imod(e.ushln(t))},k.prototype.imul=function(e,t){return this._verify2(e,t),this.imod(e.imul(t))},k.prototype.mul=function(e,t){return this._verify2(e,t),this.imod(e.mul(t))},k.prototype.isqr=function(e){return this.imul(e,e.clone())},k.prototype.sqr=function(e){return this.mul(e,e)},k.prototype.sqrt=function(e){if(e.isZero())return e.clone();var t=this.m.andln(3);if(n(t%2==1),3===t){var i=this.m.add(new o(1)).iushrn(2);return this.pow(e,i)}for(var r=this.m.subn(1),s=0;!r.isZero()&&0===r.andln(1);)s++,r.iushrn(1);n(!r.isZero());var a=new o(1).toRed(this),l=a.redNeg(),u=this.m.subn(1).iushrn(1),d=this.m.bitLength();for(d=new o(2*d*d).toRed(this);0!==this.pow(d,u).cmp(l);)d.redIAdd(l);for(var c=this.pow(d,r),h=this.pow(e,r.addn(1).iushrn(1)),g=this.pow(e,r),p=s;0!==g.cmp(a);){for(var f=g,m=0;0!==f.cmp(a);m++)f=f.redSqr();n(m=0;n--){for(var u=t.words[n],d=l-1;d>=0;d--){var c=u>>d&1;if(r!==i[0]&&(r=this.sqr(r)),0===c&&0===s){a=0;continue}s<<=1,s|=c,(4==++a||0===n&&0===d)&&(r=this.mul(r,i[s]),a=0,s=0)}l=26}return r},k.prototype.convertTo=function(e){var t=e.umod(this.m);return t===e?t.clone():t},k.prototype.convertFrom=function(e){var t=e.clone();return t.red=null,t},o.mont=function(e){return new E(e)},r(E,k),E.prototype.convertTo=function(e){return this.imod(e.ushln(this.shift))},E.prototype.convertFrom=function(e){var t=this.imod(e.mul(this.rinv));return t.red=null,t},E.prototype.imul=function(e,t){if(e.isZero()||t.isZero())return e.words[0]=0,e.length=1,e;var i=e.imul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),o=r;return r.cmp(this.m)>=0?o=r.isub(this.m):0>r.cmpn(0)&&(o=r.iadd(this.m)),o._forceRed(this)},E.prototype.mul=function(e,t){if(e.isZero()||t.isZero())return new o(0)._forceRed(this);var i=e.mul(t),n=i.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),r=i.isub(n).iushrn(this.shift),s=r;return r.cmp(this.m)>=0?s=r.isub(this.m):0>r.cmpn(0)&&(s=r.iadd(this.m)),s._forceRed(this)},E.prototype.invm=function(e){return this.imod(e._invmp(this.m).mul(this.r2))._forceRed(this)}}(e=i.nmd(e),this)},48834:(e,t,i)=>{"use strict";/*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh * @license MIT - */let n=i(95766),r=i(62333),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,i){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,i)}function l(e,t,i){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);let i=0|p(e,t),n=s(i),r=n.write(e,t);return r!==i&&(n=n.slice(0,r)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return h(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,i);let r=function(e){if(a.isBuffer(e)){let t=0|g(e.length),i=s(t);return 0===i.length||e.copy(i,0,0,t),i}if(void 0!==e.length){var t;return"number"!=typeof e.length||(t=e.length)!=t?s(0):c(e)}if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|g(e))}function c(e){let t=e.length<0?0:0|g(e.length),i=s(t);for(let n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let i=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return R(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return P(e).length;default:if(r)return n?-1:R(e).length;t=(""+t).toLowerCase(),r=!0}}function f(e,t,i){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,i){let n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);let r="";for(let n=t;n2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(o=i=+i)!=o&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return -1;i=e.length-1}else if(i<0){if(!r)return -1;i=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,i,n,r);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):b(e,[t],i,n,r);throw TypeError("val must be string, number or Buffer")}function b(e,t,i,n,r){let o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,i/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){let n=-1;for(o=i;oa&&(i=a-l),o=i;o>=0;o--){let i=!0;for(let n=0;n239?4:t>223?3:t>191?2:1;if(r+s<=i){let i,n,a,l;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(i=e[r+1]))==128&&(l=(31&t)<<6|63&i)>127&&(o=l);break;case 3:i=e[r+1],n=e[r+2],(192&i)==128&&(192&n)==128&&(l=(15&t)<<12|(63&i)<<6|63&n)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:i=e[r+1],n=e[r+2],a=e[r+3],(192&i)==128&&(192&n)==128&&(192&a)==128&&(l=(15&t)<<18|(63&i)<<12|(63&n)<<6|63&a)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),r+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let i="",n=0;for(;ni)throw RangeError("Trying to access beyond buffer length")}function w(e,t,i,n,r,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function C(e,t,i,n,r){A(t,n,r,e,i,7);let o=Number(t&BigInt(4294967295));e[i++]=o,o>>=8,e[i++]=o,o>>=8,e[i++]=o,o>>=8,e[i++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,i}function S(e,t,i,n,r){A(t,n,r,e,i,7);let o=Number(t&BigInt(4294967295));e[i+7]=o,o>>=8,e[i+6]=o,o>>=8,e[i+5]=o,o>>=8,e[i+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[i+3]=s,s>>=8,e[i+2]=s,s>>=8,e[i+1]=s,s>>=8,e[i]=s,i+8}function x(e,t,i,n,r,o){if(i+n>e.length||i<0)throw RangeError("Index out of range")}function k(e,t,i,n,o){return t=+t,i>>>=0,o||x(e,t,i,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,i,n,23,4),i+4}function E(e,t,i,n,o){return t=+t,i>>>=0,o||x(e,t,i,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,i,n,52,8),i+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,i){return l(e,t,i)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,i){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof i?s(e).fill(t,i):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return d(e)},a.allocUnsafeSlow=function(e){return d(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let i=e.length,n=t.length;for(let r=0,o=Math.min(i,n);rn.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(n,r)):Uint8Array.prototype.set.call(n,t,r);else if(a.isBuffer(t))t.copy(n,r);else throw TypeError('"list" argument must be an Array of Buffers');r+=t.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;ti&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,i,n,r){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return -1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,r>>>=0,this===e)return 0;let o=r-n,s=i-t,l=Math.min(o,s),u=this.slice(n,r),d=e.slice(t,i);for(let e=0;e>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-t;if((void 0===i||i>h)&&(i=h),e.length>0&&(i<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let g=!1;for(;;)switch(n){case"hex":return function(e,t,i,n){let r;i=Number(i)||0;let o=e.length-i;n?(n=Number(n))>o&&(n=o):n=o;let s=t.length;for(n>s/2&&(n=s/2),r=0;r>8,r.push(i%256),r.push(n);return r}(e,this.length-d),this,d,c);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e],r=1,o=0;for(;++o>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e+--t],r=1;for(;t>0&&(r*=256);)n+=this[e+--t]*r;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=V(function(e){T(e>>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&I(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],r=this[++e]+256*this[++e]+65536*this[++e]+16777216*i;return BigInt(n)+(BigInt(r)<>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&I(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],r=16777216*this[++e]+65536*this[++e]+256*this[++e]+i;return(BigInt(n)<>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e],r=1,o=0;for(;++o=(r*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||_(e,t,this.length);let n=t,r=1,o=this[e+--n];for(;n>0&&(r*=256);)o+=this[e+--n]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);let i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);let i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=V(function(e){T(e>>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&I(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(i<<24))<>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&I(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||_(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t>>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;w(this,e,t,i,n,0)}let r=1,o=0;for(this[t]=255&e;++o>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;w(this,e,t,i,n,0)}let r=i-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+i},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=V(function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=V(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*i-1);w(this,e,t,i,n-1,-n)}let r=0,o=1,s=0;for(this[t]=255&e;++r>0)-s&255;return t+i},a.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*i-1);w(this,e,t,i,n-1,-n)}let r=i-1,o=1,s=0;for(this[t+r]=255&e;--r>=0&&(o*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/o>>0)-s&255;return t+i},a.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=V(function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=V(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeFloatLE=function(e,t,i){return k(this,e,t,!0,i)},a.prototype.writeFloatBE=function(e,t,i){return k(this,e,t,!1,i)},a.prototype.writeDoubleLE=function(e,t,i){return E(this,e,t,!0,i)},a.prototype.writeDoubleBE=function(e,t,i){return E(this,e,t,!1,i)},a.prototype.copy=function(e,t,i,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r=n+4;i-=3)t=`_${e.slice(i-3,i)}${t}`;return`${e.slice(0,i)}${t}`}function A(e,t,i,n,r,o){if(e>i||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(o+1)*8}${r}`:`>= -(2${r} ** ${(o+1)*8-1}${r}) and < 2 ** ${(o+1)*8-1}${r}`:`>= ${t}${r} and <= ${i}${r}`,new L.ERR_OUT_OF_RANGE("value",n,e)}T(r,"offset"),(void 0===n[r]||void 0===n[r+o])&&I(r,n.length-(o+1))}function T(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function I(e,t,i){if(Math.floor(e)!==e)throw T(e,i),new L.ERR_OUT_OF_RANGE(i||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${t}`,e)}D("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),D("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),D("ERR_OUT_OF_RANGE",function(e,t,i){let n=`The value of "${e}" is out of range.`,r=i;return Number.isInteger(i)&&Math.abs(i)>4294967296?r=N(String(i)):"bigint"==typeof i&&(r=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(r=N(r)),r+="n"),n+=` It must be ${t}. Received ${r}`},RangeError);let M=/[^+/0-9A-Za-z-_]/g;function R(e,t){let i;t=t||1/0;let n=e.length,r=null,o=[];for(let s=0;s55295&&i<57344){if(!r){if(i>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&o.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;o.push(i)}else if(i<2048){if((t-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((t-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function P(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function O(e,t,i,n){let r;for(r=0;r=t.length)&&!(r>=e.length);++r)t[r+i]=e[r];return r}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let B=function(){let e="0123456789abcdef",t=Array(256);for(let i=0;i<16;++i){let n=16*i;for(let r=0;r<16;++r)t[n+r]=e[i]+e[r]}return t}();function V(e){return"undefined"==typeof BigInt?H:e}function H(){throw Error("BigInt not supported")}},62680:(e,t,i)=>{"use strict";var n=i(67286),r=i(89429),o=r(n("String.prototype.indexOf"));e.exports=function(e,t){var i=n(e,!!t);return"function"==typeof i&&o(e,".prototype.")>-1?r(i):i}},89429:(e,t,i)=>{"use strict";var n=i(4090),r=i(67286),o=i(47669),s=i(5408),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||n.call(l,a),d=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(d)try{d({},"a",{value:1})}catch(e){d=null}e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=u(n,l,arguments);return o(t,1+c(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,a,arguments)};d?d(e.exports,"apply",{value:h}):e.exports.apply=h},50381:(e,t,i)=>{"use strict";var n=i(91706),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var i,o,s,a,l,u,d,c,h=!1;t||(t={}),s=t.debug||!1;try{if(l=n(),u=document.createRange(),d=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(i){if(i.stopPropagation(),t.format){if(i.preventDefault(),void 0===i.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=r[t.format]||r.default;window.clipboardData.setData(n,e)}else i.clipboardData.clearData(),i.clipboardData.setData(t.format,e)}t.onCopy&&(i.preventDefault(),t.onCopy(i.clipboardData))}),document.body.appendChild(c),u.selectNodeContents(c),d.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(n){s&&console.error("unable to copy using execCommand: ",n),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(n){s&&console.error("unable to copy using clipboardData: ",n),s&&console.error("falling back to prompt"),i="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=i.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(u):d.removeAllRanges()),c&&document.body.removeChild(c),l()}return h}},79344:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n white-space: nowrap;\n height: 100%;\n}\n\n.monaco-action-bar .actions-container {\n display: flex;\n margin: 0 auto;\n padding: 0;\n height: 100%;\n width: 100%;\n align-items: center;\n}\n\n.monaco-action-bar.vertical .actions-container {\n display: inline-block;\n}\n\n.monaco-action-bar .action-item {\n display: block;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n cursor: default;\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n display: block;\n}\n\n.monaco-action-bar .action-item .codicon {\n display: flex;\n align-items: center;\n width: 16px;\n height: 16px;\n}\n\n.monaco-action-bar .action-label {\n display: flex;\n font-size: 11px;\n padding: 3px;\n border-radius: 5px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label::before,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n opacity: 0.6;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n text-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n display: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n display: block;\n border-bottom: 1px solid #bbb;\n padding-top: 1px;\n margin-left: .8em;\n margin-right: .8em;\n}\n\n.monaco-action-bar .action-item .action-label.separator {\n width: 1px;\n height: 16px;\n margin: 5px 4px !important;\n cursor: default;\n min-width: 1px;\n padding: 0;\n background-color: #bbb;\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n margin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n flex: 1;\n max-width: 170px;\n min-width: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item {\n display: flex;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator {\n display: flex;\n align-items: center;\n cursor: default;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator > div {\n width: 1px;\n}\n",""]);let a=s},32488:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n position: absolute; /* try to hide from window but not from screen readers */\n left:-999em;\n}",""]);let a=s},71635:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-text-button {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 2px;\n text-align: center;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--vscode-button-border, transparent);\n line-height: 18px;\n}\n\n.monaco-text-button:focus {\n outline-offset: 2px !important;\n}\n\n.monaco-text-button:hover {\n text-decoration: none !important;\n}\n\n.monaco-button.disabled:focus,\n.monaco-button.disabled {\n opacity: 0.4 !important;\n cursor: default;\n}\n\n.monaco-text-button .codicon {\n margin: 0 0.2em;\n color: inherit !important;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label {\n flex-direction: row;\n flex-wrap: wrap;\n padding: 0 4px;\n overflow: hidden;\n height: 28px;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label {\n flex-basis: 100%;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {\n flex-grow: 1;\n width: 0;\n overflow: hidden;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label,\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n font-style: inherit;\n padding: 4px 0;\n}\n\n.monaco-button-dropdown {\n display: flex;\n cursor: pointer;\n}\n\n.monaco-button-dropdown.disabled {\n cursor: default;\n}\n\n.monaco-button-dropdown > .monaco-button:focus {\n outline-offset: -1px !important;\n}\n\n.monaco-button-dropdown.disabled > .monaco-button.disabled,\n.monaco-button-dropdown.disabled > .monaco-button.disabled:focus,\n.monaco-button-dropdown.disabled > .monaco-button-dropdown-separator {\n opacity: 0.4 !important;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-text-button {\n border-right-width: 0 !important;\n}\n\n.monaco-button-dropdown .monaco-button-dropdown-separator {\n padding: 4px 0;\n cursor: default;\n}\n\n.monaco-button-dropdown .monaco-button-dropdown-separator > div {\n height: 100%;\n width: 1px;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-dropdown-button {\n border: 1px solid var(--vscode-button-border, transparent);\n border-left-width: 0 !important;\n border-radius: 0 2px 2px 0;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-text-button {\n border-radius: 2px 0 0 2px;\n}\n\n.monaco-description-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 4px 5px; /* allows button focus outline to be visible */\n}\n\n.monaco-description-button .monaco-button-description {\n font-style: italic;\n font-size: 11px;\n padding: 4px 20px;\n}\n\n.monaco-description-button .monaco-button-label,\n.monaco-description-button .monaco-button-description {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.monaco-description-button .monaco-button-label > .codicon,\n.monaco-description-button .monaco-button-description > .codicon {\n margin: 0 0.2em;\n color: inherit !important;\n}\n",""]);let a=s},38643:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.codicon-wrench-subaction {\n opacity: 0.5;\n}\n\n@keyframes codicon-spin {\n 100% {\n transform:rotate(360deg);\n }\n}\n\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin,\n.codicon-notebook-state-executing.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.4;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading,\n.codicon-tree-item-loading::before {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n",""]);let a=s},83129:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(26602),i.b),d=s()(r()),c=l()(u);d.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@font-face {\n font-family: "codicon";\n font-display: block;\n src: url('+c+") format(\"truetype\");\n}\n\n.codicon[class*='codicon-'] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n}\n\n/* icon rules are dynamically created by the platform theme service (see iconsStyleSheet.ts) */\n",""]);let h=d},57820:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view {\n position: absolute;\n}\n\n.context-view.fixed {\n all: initial;\n font-family: inherit;\n font-size: 13px;\n position: fixed;\n color: inherit;\n}\n",""]);let a=s},56050:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-count-badge {\n padding: 3px 6px;\n border-radius: 11px;\n font-size: 11px;\n min-width: 18px;\n min-height: 18px;\n line-height: 11px;\n font-weight: normal;\n text-align: center;\n display: inline-block;\n box-sizing: border-box;\n}\n\n.monaco-count-badge.long {\n padding: 2px 3px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n",""]);let a=s},706:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-dropdown {\n height: 100%;\n padding: 0;\n}\n\n.monaco-dropdown > .dropdown-label {\n cursor: pointer;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.monaco-dropdown > .dropdown-label > .action-label.disabled {\n cursor: default;\n}\n\n.monaco-dropdown-with-primary {\n display: flex !important;\n flex-direction: row;\n border-radius: 5px;\n}\n\n.monaco-dropdown-with-primary > .action-container > .action-label {\n margin-right: 0;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n font-size: 12px;\n padding-left: 0px;\n padding-right: 0px;\n line-height: 16px;\n margin-left: -3px;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n display: block;\n background-size: 16px;\n background-position: center center;\n background-repeat: no-repeat;\n}\n",""]);let a=s},15258:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- Find input ---------- */\n\n.monaco-findInput {\n position: relative;\n}\n\n.monaco-findInput .monaco-inputbox {\n font-size: 13px;\n width: 100%;\n}\n\n.monaco-findInput > .controls {\n position: absolute;\n top: 3px;\n right: 2px;\n}\n\n.vs .monaco-findInput.disabled {\n background-color: #E1E1E1;\n}\n\n/* Theming */\n.vs-dark .monaco-findInput.disabled {\n background-color: #333;\n}\n\n/* Highlighting */\n.monaco-findInput.highlight-0 .controls,\n.hc-light .monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-0 100ms linear 0s;\n}\n\n.monaco-findInput.highlight-1 .controls,\n.hc-light .monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-1 100ms linear 0s;\n}\n\n.hc-black .monaco-findInput.highlight-0 .controls,\n.vs-dark .monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-dark-0 100ms linear 0s;\n}\n\n.hc-black .monaco-findInput.highlight-1 .controls,\n.vs-dark .monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-dark-1 100ms linear 0s;\n}\n\n@keyframes monaco-findInput-highlight-0 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-1 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}\n\n@keyframes monaco-findInput-highlight-dark-0 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-dark-1 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}\n",""]);let a=s},74127:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-hover {\n cursor: default;\n position: absolute;\n overflow: hidden;\n z-index: 50;\n user-select: text;\n -webkit-user-select: text;\n box-sizing: initial;\n animation: fadein 100ms linear;\n line-height: 1.5em;\n}\n\n.monaco-hover.hidden {\n display: none;\n}\n\n.monaco-hover a:hover:not(.disabled) {\n cursor: pointer;\n}\n\n.monaco-hover .hover-contents:not(.html-hover-contents) {\n padding: 4px 8px;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\n max-width: 500px;\n word-wrap: break-word;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\n min-width: 100%;\n}\n\n.monaco-hover p,\n.monaco-hover .code,\n.monaco-hover ul,\n.monaco-hover h1,\n.monaco-hover h2,\n.monaco-hover h3,\n.monaco-hover h4,\n.monaco-hover h5,\n.monaco-hover h6 {\n margin: 8px 0;\n}\n\n.monaco-hover h1,\n.monaco-hover h2,\n.monaco-hover h3,\n.monaco-hover h4,\n.monaco-hover h5,\n.monaco-hover h6 {\n line-height: 1.1;\n}\n\n.monaco-hover code {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-hover hr {\n box-sizing: border-box;\n border-left: 0px;\n border-right: 0px;\n margin-top: 4px;\n margin-bottom: -4px;\n margin-left: -8px;\n margin-right: -8px;\n height: 1px;\n}\n\n.monaco-hover p:first-child,\n.monaco-hover .code:first-child,\n.monaco-hover ul:first-child {\n margin-top: 0;\n}\n\n.monaco-hover p:last-child,\n.monaco-hover .code:last-child,\n.monaco-hover ul:last-child {\n margin-bottom: 0;\n}\n\n/* MarkupContent Layout */\n.monaco-hover ul {\n padding-left: 20px;\n}\n.monaco-hover ol {\n padding-left: 20px;\n}\n\n.monaco-hover li > p {\n margin-bottom: 0;\n}\n\n.monaco-hover li > ul {\n margin-top: 0;\n}\n\n.monaco-hover code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-hover .monaco-tokenized-source {\n white-space: pre-wrap;\n}\n\n.monaco-hover .hover-row.status-bar {\n font-size: 12px;\n line-height: 22px;\n}\n\n.monaco-hover .hover-row.status-bar .info {\n font-style: italic;\n padding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions {\n display: flex;\n padding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container {\n margin-right: 16px;\n cursor: pointer;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\n padding-right: 4px;\n}\n\n.monaco-hover .markdown-hover .hover-contents .codicon {\n color: inherit;\n font-size: inherit;\n vertical-align: middle;\n}\n\n.monaco-hover .hover-contents a.code-link:hover,\n.monaco-hover .hover-contents a.code-link {\n color: inherit;\n}\n\n.monaco-hover .hover-contents a.code-link:before {\n content: '(';\n}\n\n.monaco-hover .hover-contents a.code-link:after {\n content: ')';\n}\n\n.monaco-hover .hover-contents a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-hover .hover-contents a.code-link > span:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n/** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/\n.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span {\n margin-bottom: 4px;\n display: inline-block;\n}\n\n.monaco-hover-content .action-container a {\n -webkit-user-select: none;\n user-select: none;\n}\n\n.monaco-hover-content .action-container.disabled {\n pointer-events: none;\n opacity: 0.4;\n cursor: default;\n}\n",""]);let a=s},79576:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* ---------- Icon label ---------- */\n\n.monaco-icon-label {\n display: flex; /* required for icons support :before rule */\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-icon-label::before {\n\n /* svg icons rendered as background image */\n background-size: 16px;\n background-position: left center;\n background-repeat: no-repeat;\n padding-right: 6px;\n width: 16px;\n height: 22px;\n line-height: inherit !important;\n display: inline-block;\n\n /* fonts icons */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n vertical-align: top;\n\n flex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */\n}\n\n.monaco-icon-label-container.disabled {\n color: var(--vscode-disabledForeground);\n}\n.monaco-icon-label > .monaco-icon-label-container {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 1;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\n color: inherit;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\n margin: 0 2px;\n opacity: 0.5;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .7;\n margin-left: 0.5em;\n font-size: 0.9em;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{\n white-space: nowrap\n}\n\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .95;\n}\n\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n font-style: italic;\n}\n\n.monaco-icon-label.deprecated {\n text-decoration: line-through;\n opacity: 0.66;\n}\n\n/* make sure apply italic font style to decorations as well */\n.monaco-icon-label.italic::after {\n font-style: italic;\n}\n\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n text-decoration: line-through;\n}\n\n.monaco-icon-label::after {\n opacity: 0.75;\n font-size: 90%;\n font-weight: 600;\n margin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */\n text-align: center;\n}\n\n/* make sure selection color wins when a label is being selected */\n.monaco-list:focus .selected .monaco-icon-label, /* list */\n.monaco-list:focus .selected .monaco-icon-label::after\n{\n color: inherit !important;\n}\n\n.monaco-list-row.focused.selected .label-description,\n.monaco-list-row.selected .label-description {\n opacity: .8;\n}\n",""]);let a=s},58118:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-inputbox {\n position: relative;\n display: block;\n padding: 0;\n box-sizing: border-box;\n border-radius: 2px;\n\n /* Customizable */\n font-size: inherit;\n}\n\n.monaco-inputbox > .ibwrapper > .input,\n.monaco-inputbox > .ibwrapper > .mirror {\n\n /* Customizable */\n padding: 4px 6px;\n}\n\n.monaco-inputbox > .ibwrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-inputbox > .ibwrapper > .input {\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n line-height: inherit;\n border: none;\n font-family: inherit;\n font-size: inherit;\n resize: none;\n color: inherit;\n}\n\n.monaco-inputbox > .ibwrapper > input {\n text-overflow: ellipsis;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input {\n display: block;\n scrollbar-width: none; /* Firefox: hide scrollbars */\n outline: none;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {\n display: none; /* Chrome + Safari: hide scrollbar */\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input.empty {\n white-space: nowrap;\n}\n\n.monaco-inputbox > .ibwrapper > .mirror {\n position: absolute;\n display: inline-block;\n width: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n white-space: pre-wrap;\n visibility: hidden;\n word-wrap: break-word;\n}\n\n/* Context view */\n\n.monaco-inputbox-container {\n text-align: right;\n}\n\n.monaco-inputbox-container .monaco-inputbox-message {\n display: inline-block;\n overflow: hidden;\n text-align: left;\n width: 100%;\n box-sizing: border-box;\n padding: 0.4em;\n font-size: 12px;\n line-height: 17px;\n margin-top: -1px;\n word-wrap: break-word;\n}\n\n/* Action bar support */\n.monaco-inputbox .monaco-action-bar {\n position: absolute;\n right: 2px;\n top: 4px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item {\n margin-left: 2px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n}\n",""]);let a=s},96538:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-keybinding {\n display: flex;\n align-items: center;\n line-height: 10px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n display: inline-block;\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n vertical-align: middle;\n font-size: 11px;\n padding: 3px 5px;\n margin: 0 2px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:first-child {\n margin-left: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:last-child {\n margin-right: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-separator {\n display: inline-block;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\n width: 6px;\n}\n",""]);let a=s},21260:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n position: relative;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n height: 100%;\n}\n\n.monaco-list-rows {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n width: auto;\n min-width: 100%;\n}\n\n.monaco-list-row {\n position: absolute;\n box-sizing: border-box;\n overflow: hidden;\n width: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n cursor: pointer;\n touch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n display: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused,\n.monaco-list.selection-single,\n.monaco-list.selection-multiple {\n outline: 0 !important;\n}\n\n/* Dnd */\n.monaco-drag-image {\n display: inline-block;\n padding: 1px 7px;\n border-radius: 10px;\n font-size: 12px;\n position: absolute;\n z-index: 1000;\n}\n\n/* Filter */\n\n.monaco-list-type-filter-message {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 40px 1em 1em 1em;\n text-align: center;\n white-space: normal;\n opacity: 0.7;\n pointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n display: none;\n}\n",""]);let a=s},22453:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-mouse-cursor-text {\n cursor: text;\n}\n",""]);let a=s},90504:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-progress-container {\n width: 100%;\n height: 5px;\n overflow: hidden; /* keep progress bit in bounds */\n}\n\n.monaco-progress-container .progress-bit {\n width: 2%;\n height: 5px;\n position: absolute;\n left: 0;\n display: none;\n}\n\n.monaco-progress-container.active .progress-bit {\n display: inherit;\n}\n\n.monaco-progress-container.discrete .progress-bit {\n left: 0;\n transition: width 100ms linear;\n}\n\n.monaco-progress-container.discrete.done .progress-bit {\n width: 100%;\n}\n\n.monaco-progress-container.infinite .progress-bit {\n animation-name: progress;\n animation-duration: 4s;\n animation-iteration-count: infinite;\n transform: translate3d(0px, 0px, 0px);\n animation-timing-function: linear;\n}\n\n.monaco-progress-container.infinite.infinite-long-running .progress-bit {\n /*\n The more smooth `linear` timing function can cause\n higher GPU consumption as indicated in\n https://github.com/microsoft/vscode/issues/97900 &\n https://github.com/microsoft/vscode/issues/138396\n */\n animation-timing-function: steps(100);\n}\n\n/**\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\n * its relative size to the parent container:\n * parent width: 5000%\n * bit width: 100%\n * translateX should be as follow:\n * 50%: 5000% * 50% - 50% (set to center) = 2450%\n * 100%: 5000% * 100% - 100% (do not overflow) = 4900%\n */\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }\n",""]);let a=s},10627:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n:root {\n --vscode-sash-size: 4px;\n}\n\n.monaco-sash {\n position: absolute;\n z-index: 35;\n touch-action: none;\n}\n\n.monaco-sash.disabled {\n pointer-events: none;\n}\n\n.monaco-sash.mac.vertical {\n cursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n cursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n cursor: w-resize;\n}\n\n.monaco-sash.mac.horizontal {\n cursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n cursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n cursor: n-resize;\n}\n\n.monaco-sash.disabled {\n cursor: default !important;\n pointer-events: none !important;\n}\n\n.monaco-sash.vertical {\n cursor: ew-resize;\n top: 0;\n width: var(--vscode-sash-size);\n height: 100%;\n}\n\n.monaco-sash.horizontal {\n cursor: ns-resize;\n left: 0;\n width: 100%;\n height: var(--vscode-sash-size);\n}\n\n.monaco-sash:not(.disabled) > .orthogonal-drag-handle {\n content: \" \";\n height: calc(var(--vscode-sash-size) * 2);\n width: calc(var(--vscode-sash-size) * 2);\n z-index: 100;\n display: block;\n cursor: all-scroll;\n position: absolute;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n > .orthogonal-drag-handle.start,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n > .orthogonal-drag-handle.end {\n cursor: nwse-resize;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n > .orthogonal-drag-handle.end,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n > .orthogonal-drag-handle.start {\n cursor: nesw-resize;\n}\n\n.monaco-sash.vertical > .orthogonal-drag-handle.start {\n left: calc(var(--vscode-sash-size) * -0.5);\n top: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.vertical > .orthogonal-drag-handle.end {\n left: calc(var(--vscode-sash-size) * -0.5);\n bottom: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.start {\n top: calc(var(--vscode-sash-size) * -0.5);\n left: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.end {\n top: calc(var(--vscode-sash-size) * -0.5);\n right: calc(var(--vscode-sash-size) * -1);\n}\n\n.monaco-sash:before {\n content: '';\n pointer-events: none;\n position: absolute;\n width: 100%;\n height: 100%;\n background: transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-sash:before {\n transition: background-color 0.1s ease-out;\n}\n\n.monaco-sash.hover:before,\n.monaco-sash.active:before {\n background: var(--vscode-sash-hoverBorder);\n}\n\n.monaco-sash.vertical:before {\n width: var(--vscode-sash-hover-size);\n left: calc(50% - (var(--vscode-sash-hover-size) / 2));\n}\n\n.monaco-sash.horizontal:before {\n height: var(--vscode-sash-hover-size);\n top: calc(50% - (var(--vscode-sash-hover-size) / 2));\n}\n\n.pointer-events-disabled {\n pointer-events: none !important;\n}\n\n/** Debug **/\n\n.monaco-sash.debug {\n background: cyan;\n}\n\n.monaco-sash.debug.disabled {\n background: rgba(0, 255, 255, 0.2);\n}\n\n.monaco-sash.debug:not(.disabled) > .orthogonal-drag-handle {\n background: red;\n}\n",""]);let a=s},18476:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n cursor: pointer;\n font-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n opacity: 1;\n\n /* Background rule added for IE9 - to allow clicks on dom node */\n background:rgba(0,0,0,0);\n\n transition: opacity 100ms linear;\n /* In front of peek view */\n z-index: 11;\n}\n.monaco-scrollable-element > .invisible {\n opacity: 0;\n pointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n transition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n position: absolute;\n display: none;\n}\n.monaco-scrollable-element > .shadow.top {\n display: block;\n top: 0;\n left: 3px;\n height: 3px;\n width: 100%;\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n display: block;\n top: 3px;\n left: 0;\n height: 100%;\n width: 3px;\n box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n display: block;\n top: 0;\n left: 0;\n height: 3px;\n width: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;\n}\n\n.monaco-scrollable-element > .scrollbar > .slider {\n background: var(--vscode-scrollbarSlider-background);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n background: var(--vscode-scrollbarSlider-hoverBackground);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n background: var(--vscode-scrollbarSlider-activeBackground);\n}\n",""]);let a=s},69089:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-select-box {\n width: 100%;\n cursor: pointer;\n border-radius: 2px;\n}\n\n.monaco-select-box-dropdown-container {\n font-size: 13px;\n font-weight: normal;\n text-transform: none;\n}\n\n/** Actions */\n\n.monaco-action-bar .action-item.select-container {\n cursor: default;\n}\n\n.monaco-action-bar .action-item .monaco-select-box {\n cursor: pointer;\n min-width: 100px;\n min-height: 18px;\n padding: 2px 23px 2px 8px;\n}\n\n.mac .monaco-action-bar .action-item .monaco-select-box {\n font-size: 11px;\n border-radius: 5px;\n}\n",""]);let a=s},60380:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Use custom CSS vars to expose padding into parent select for padding calculation */\n.monaco-select-box-dropdown-padding {\n --dropdown-padding-top: 1px;\n --dropdown-padding-bottom: 1px;\n}\n\n.hc-black .monaco-select-box-dropdown-padding,\n.hc-light .monaco-select-box-dropdown-padding {\n --dropdown-padding-top: 3px;\n --dropdown-padding-bottom: 4px;\n}\n\n.monaco-select-box-dropdown-container {\n display: none;\n box-sizing: border-box;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown * {\n margin: 0;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:focus {\n outline: 1px solid -webkit-focus-ring-color;\n outline-offset: -1px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown code {\n line-height: 15px; /** For some reason, this is needed, otherwise will take up 20px height */\n font-family: var(--monaco-monospace-font);\n}\n\n\n.monaco-select-box-dropdown-container.visible {\n display: flex;\n flex-direction: column;\n text-align: left;\n width: 1px;\n overflow: hidden;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container {\n flex: 0 0 auto;\n align-self: flex-start;\n padding-top: var(--dropdown-padding-top);\n padding-bottom: var(--dropdown-padding-bottom);\n padding-left: 1px;\n padding-right: 1px;\n width: 100%;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane {\n padding: 5px;\n}\n\n.hc-black .monaco-select-box-dropdown-container > .select-box-dropdown-list-container {\n padding-top: var(--dropdown-padding-top);\n padding-bottom: var(--dropdown-padding-bottom);\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row {\n cursor: pointer;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-text {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-left: 3.5px;\n white-space: nowrap;\n float: left;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-detail {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-left: 3.5px;\n white-space: nowrap;\n float: left;\n opacity: 0.7;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-decorator-right {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 10px;\n white-space: nowrap;\n float: right;\n}\n\n\n/* Accepted CSS hiding technique for accessibility reader text */\n/* https://webaim.org/techniques/css/invisiblecontent/ */\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .visually-hidden {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control {\n flex: 1 1 auto;\n align-self: flex-start;\n opacity: 0;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div {\n overflow: hidden;\n max-height: 0px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div > .option-text-width-control {\n padding-left: 4px;\n padding-right: 8px;\n white-space: nowrap;\n}\n",""]);let a=s},76214:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-split-view2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-split-view2 > .sash-container {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.monaco-split-view2 > .sash-container > .monaco-sash {\n pointer-events: initial;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element {\n width: 100%;\n height: 100%;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container {\n width: 100%;\n height: 100%;\n white-space: nowrap;\n position: relative;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {\n white-space: initial;\n position: absolute;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {\n display: none;\n}\n\n.monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {\n width: 100%;\n}\n\n.monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {\n height: 100%;\n}\n\n.monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 5;\n pointer-events: none;\n background-color: var(--separator-border);\n}\n\n.monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 100%;\n width: 1px;\n}\n\n.monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 1px;\n width: 100%;\n}\n",""]);let a=s},92403:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-table {\n display: flex;\n flex-direction: column;\n position: relative;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.monaco-table > .monaco-split-view2 {\n border-bottom: 1px solid transparent;\n}\n\n.monaco-table > .monaco-list {\n flex: 1;\n}\n\n.monaco-table-tr {\n display: flex;\n height: 100%;\n}\n\n.monaco-table-th {\n width: 100%;\n height: 100%;\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-table-th,\n.monaco-table-td {\n box-sizing: border-box;\n flex-shrink: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n content: "";\n position: absolute;\n left: calc(var(--vscode-sash-size) / 2);\n width: 0;\n border-left: 1px solid transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2,\n.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n transition: border-color 0.2s ease-out;\n}\n',""]);let a=s},13689:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-custom-toggle {\n margin-left: 2px;\n float: left;\n cursor: pointer;\n overflow: hidden;\n width: 20px;\n height: 20px;\n border-radius: 3px;\n border: 1px solid transparent;\n padding: 1px;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-custom-toggle:hover {\n background-color: var(--vscode-inputOption-hoverBackground);\n}\n\n.hc-black .monaco-custom-toggle:hover,\n.hc-light .monaco-custom-toggle:hover {\n border: 1px dashed var(--vscode-focusBorder);\n}\n\n.hc-black .monaco-custom-toggle,\n.hc-light .monaco-custom-toggle {\n background: none;\n}\n\n.hc-black .monaco-custom-toggle:hover,\n.hc-light .monaco-custom-toggle:hover {\n background: none;\n}\n\n.monaco-custom-toggle.monaco-checkbox {\n height: 18px;\n width: 18px;\n border: 1px solid transparent;\n border-radius: 3px;\n margin-right: 9px;\n margin-left: 0px;\n padding: 0px;\n opacity: 1;\n background-size: 16px !important;\n}\n\n/* hide check when unchecked */\n.monaco-custom-toggle.monaco-checkbox:not(.checked)::before {\n visibility: hidden;\n}\n",""]);let a=s},94989:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-toolbar {\n height: 100%;\n}\n\n.monaco-toolbar .toolbar-toggle-more {\n display: inline-block;\n padding: 0;\n}\n",""]);let a=s},13611:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n display: flex;\n height: 100%;\n align-items: center;\n position: relative;\n}\n\n.monaco-tl-row.disabled {\n cursor: default;\n}\n.monaco-tl-indent {\n height: 100%;\n position: absolute;\n top: 0;\n left: 16px;\n pointer-events: none;\n}\n\n.hide-arrows .monaco-tl-indent {\n left: 12px;\n}\n\n.monaco-tl-indent > .indent-guide {\n display: inline-block;\n box-sizing: border-box;\n height: 100%;\n border-left: 1px solid transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-tl-indent > .indent-guide {\n transition: border-color 0.1s linear;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n height: 100%;\n}\n\n.monaco-tl-twistie {\n font-size: 10px;\n text-align: right;\n padding-right: 6px;\n flex-shrink: 0;\n width: 16px;\n display: flex !important;\n align-items: center;\n justify-content: center;\n transform: translateX(3px);\n}\n\n.monaco-tl-contents {\n flex: 1;\n overflow: hidden;\n}\n\n.monaco-tl-twistie::before {\n border-radius: 20px;\n}\n\n.monaco-tl-twistie.collapsed::before {\n transform: rotate(-90deg);\n}\n\n.monaco-tl-twistie.codicon-tree-item-loading::before {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.25s steps(30) infinite;\n}\n\n.monaco-tree-type-filter {\n position: absolute;\n top: 0;\n display: flex;\n padding: 3px;\n max-width: 200px;\n z-index: 100;\n margin: 0 6px;\n border: 1px solid var(--vscode-widget-border);\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter {\n transition: top 0.3s;\n}\n\n.monaco-tree-type-filter.disabled {\n top: -40px !important;\n}\n\n.monaco-tree-type-filter-grab {\n display: flex !important;\n align-items: center;\n justify-content: center;\n cursor: grab;\n margin-right: 2px;\n}\n\n.monaco-tree-type-filter-grab.grabbing {\n cursor: grabbing;\n}\n\n.monaco-tree-type-filter-input {\n flex: 1;\n}\n\n.monaco-tree-type-filter-input .monaco-inputbox {\n height: 23px;\n}\n\n.monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .input,\n.monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .mirror {\n padding: 2px 4px;\n}\n\n.monaco-tree-type-filter-input .monaco-findInput > .controls {\n top: 2px;\n}\n\n.monaco-tree-type-filter-actionbar {\n margin-left: 4px;\n}\n\n.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label {\n padding: 2px;\n}\n",""]);let a=s},16640:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n min-width: 0;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n outline: none !important;\n resize: none;\n border: none;\n overflow: hidden;\n color: transparent;\n background-color: transparent;\n z-index: -10;\n}\n/*.monaco-editor .inputarea {\n position: fixed !important;\n width: 800px !important;\n height: 500px !important;\n top: initial !important;\n left: initial !important;\n bottom: 0 !important;\n right: 0 !important;\n color: black !important;\n background: white !important;\n line-height: 15px !important;\n font-size: 14px !important;\n z-index: 10 !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n z-index: 10;\n caret-color: var(--vscode-editorCursor-foreground);\n color: var(--vscode-editor-foreground);\n}\n",""]);let a=s},4862:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .blockDecorations-container {\n position: absolute;\n top: 0;\n pointer-events: none;\n}\n\n.monaco-editor .blockDecorations-block {\n position: absolute;\n box-sizing: border-box;\n}\n",""]);let a=s},50062:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n border-right: 0;\n}\n",""]);let a=s},95466:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n position: absolute;\n}",""]);let a=s},27876:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n position: absolute;\n top: 0;\n}\n\n/*\n Keeping name short for faster parsing.\n cgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n position: absolute;\n display: flex;\n align-items: center;\n}\n",""]);let a=s},55350:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lines-content .core-guide {\n position: absolute;\n box-sizing: border-box;\n}\n\n.monaco-editor .lines-content .core-guide-indent {\n box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-background) inset;\n}\n\n.monaco-editor .lines-content .core-guide-indent-active {\n box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset;\n}\n",""]);let a=s},48224:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n font-variant-numeric: tabular-nums;\n position: absolute;\n text-align: right;\n display: inline-block;\n vertical-align: middle;\n box-sizing: border-box;\n cursor: default;\n height: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n text-align: left;\n display: inline-block;\n width: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n margin-top: 1px;\n}\n\n.monaco-editor .line-numbers {\n color: var(--vscode-editorLineNumber-foreground);\n}\n\n.monaco-editor .line-numbers.active-line-number {\n color: var(--vscode-editorLineNumber-activeForeground);\n}\n",""]);let a=s},75060:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n background-color: none;\n animation-name: flash-background;\n animation-duration: 800ms;\n}\n@keyframes flash-background {\n 0% { background-color: lightgreen; }\n 100% { background-color: none }\n}*/\n\n.mtkcontrol {\n color: rgb(255, 255, 255) !important;\n background: rgb(150, 0, 0) !important;\n}\n\n.mtkoverflow {\n background-color: var(--vscode-button-background, --vscode-editor-background);\n color: var(--vscode-button-foreground, --vscode-editor-foreground);\n border-width: 1px;\n border-style: solid;\n border-color: var(--vscode-contrastBorder);\n border-radius: 2px;\n padding: 4px;\n cursor: pointer;\n}\n.mtkoverflow:hover {\n background-color: var(--vscode-button-hoverBackground);\n}\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n user-select: none;\n -webkit-user-select: none;\n}\n/* Use user-select: text for lookup feature on macOS */\n/* https://github.com/microsoft/vscode/issues/85632 */\n.monaco-editor.mac .lines-content:hover,\n.monaco-editor.mac .view-line:hover,\n.monaco-editor.mac .view-lines:hover {\n user-select: text;\n -webkit-user-select: text;\n -ms-user-select: text;\n}\n\n.monaco-editor.enable-user-select {\n user-select: initial;\n -webkit-user-select: initial;\n}\n\n.monaco-editor .view-lines {\n white-space: nowrap;\n}\n\n.monaco-editor .view-line {\n position: absolute;\n width: 100%;\n}\n\n.monaco-editor .mtkw {\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n\n.monaco-editor .mtkz {\n display: inline-block;\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n float: none;\n min-height: inherit;\n margin-left: inherit;\n}*/\n",""]);let a=s},74806:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n position: absolute;\n top: 0;\n background: white;\n}\n\n/*\n Keeping name short for faster parsing.\n cldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n position: absolute;\n height: 100%;\n}",""]);let a=s},10849:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin {\n background-color: var(--vscode-editorGutter-background);\n}\n",""]);let a=s},93989:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n position: absolute;\n left: 0;\n width: 100%;\n height: 100%;\n}",""]);let a=s},95616:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n opacity: 0;\n transition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n opacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n opacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n.monaco-editor .minimap-slider .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-background);\n}\n.monaco-editor .minimap-slider:hover .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-hoverBackground);\n}\n.monaco-editor .minimap-slider.active .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-activeBackground);\n}\n.monaco-editor .minimap-shadow-visible {\n box-shadow: var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset;\n}\n.monaco-editor .minimap-shadow-hidden {\n position: absolute;\n width: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n position: absolute;\n left: -6px;\n width: 6px;\n}\n.monaco-editor.no-minimap-shadow .minimap-shadow-visible {\n position: absolute;\n left: -1px;\n width: 1px;\n}\n\n/* 0.5s fade in/out for the minimap */\n.minimap.autohide {\n opacity: 0;\n transition: opacity 0.5s;\n}\n.minimap.autohide:hover {\n opacity: 1;\n}\n",""]);let a=s},61478:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n position: absolute;\n top: 0;\n left:0;\n}",""]);let a=s},53565:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n position: absolute;\n top: 0;\n box-shadow: 1px 0 0 0 var(--vscode-editorRuler-foreground) inset;\n}\n",""]);let a=s},88360:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n position: absolute;\n top: 0;\n left: 0;\n height: 6px;\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n}\n",""]);let a=s},84314:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n position: absolute;\n}\n\n.monaco-editor .focused .selected-text {\n background-color: var(--vscode-editor-selectionBackground);\n}\n\n.monaco-editor .selected-text {\n background-color: var(--vscode-editor-inactiveSelectionBackground);\n}\n\n.monaco-editor .top-left-radius { border-top-left-radius: 3px; }\n.monaco-editor .bottom-left-radius { border-bottom-left-radius: 3px; }\n.monaco-editor .top-right-radius { border-top-right-radius: 3px; }\n.monaco-editor .bottom-right-radius { border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius { border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; }\n\n.monaco-editor.hc-light .top-left-radius { border-top-left-radius: 0; }\n.monaco-editor.hc-light .bottom-left-radius { border-bottom-left-radius: 0; }\n.monaco-editor.hc-light .top-right-radius { border-top-right-radius: 0; }\n.monaco-editor.hc-light .bottom-right-radius { border-bottom-right-radius: 0; }\n",""]);let a=s},74937:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n position: absolute;\n top: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n position: absolute;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n transition: all 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n background: transparent !important;\n border-style: solid;\n border-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n background: transparent !important;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n border-bottom-width: 1px;\n border-bottom-style: solid;\n background: transparent !important;\n}\n\n@keyframes monaco-cursor-smooth {\n 0%,\n 20% {\n opacity: 1;\n }\n 60%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-phase {\n 0%,\n 20% {\n opacity: 1;\n }\n 90%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-expand {\n 0%,\n 20% {\n transform: scaleY(1);\n }\n 80%,\n 100% {\n transform: scaleY(0);\n }\n}\n\n.cursor-smooth {\n animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}\n",""]);let a=s},58058:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .mwh {\n position: absolute;\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n",""]);let a=s},28691:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n z-index: 9;\n}\n\n.monaco-diff-editor .diffOverview .diffViewport {\n z-index: 10;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar { background: none; }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n z-index: 10;\n}\n.modified-in-monaco-diff-editor .slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black .slider.active { background: none; }\n.modified-in-monaco-diff-editor.hc-light .slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n font-size: 11px !important;\n opacity: 0.7 !important;\n display: flex !important;\n align-items: center;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign,\n.monaco-editor.hc-light .insert-sign,\n.monaco-diff-editor.hc-light .insert-sign,\n.monaco-editor.hc-light .delete-sign,\n.monaco-diff-editor.hc-light .delete-sign {\n opacity: 1;\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n text-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n text-align: right;\n}\n\n.monaco-editor .arrow-revert-change {\n z-index: 10;\n position: absolute;\n}\n\n.monaco-editor .arrow-revert-change:hover {\n cursor: pointer;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n display: inline-block;\n}\n\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\n cursor: pointer;\n}\n\n.monaco-editor .char-insert, .monaco-diff-editor .char-insert {\n background-color: var(--vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .line-insert, .monaco-diff-editor .line-insert {\n background-color: var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .line-insert,\n.monaco-editor .char-insert {\n box-sizing: border-box;\n border: 1px solid var(--vscode-diffEditor-insertedTextBorder);\n}\n.monaco-editor.hc-black .line-insert, .monaco-editor.hc-light .line-insert,\n.monaco-editor.hc-black .char-insert, .monaco-editor.hc-light .char-insert {\n border-style: dashed;\n}\n\n.monaco-editor .line-delete,\n.monaco-editor .char-delete {\n box-sizing: border-box;\n border: 1px solid var(--vscode-diffEditor-removedTextBorder);\n}\n.monaco-editor.hc-black .line-delete, .monaco-editor.hc-light .line-delete,\n.monaco-editor.hc-black .char-delete, .monaco-editor.hc-light .char-delete {\n border-style: dashed;\n}\n\n.monaco-editor .inline-added-margin-view-zone,\n.monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert {\n background-color: var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .char-delete, .monaco-diff-editor .char-delete {\n background-color: var(--vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-editor .line-delete, .monaco-diff-editor .line-delete {\n background-color: var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-editor .inline-deleted-margin-view-zone,\n.monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete {\n background-color: var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-diff-editor.side-by-side .editor.modified {\n box-shadow: -6px 0 5px -5px var(--vscode-scrollbar-shadow);\n border-left: 1px solid var(--vscode-diffEditor-border);\n}\n\n.monaco-diff-editor .diffViewport {\n background: var(--vscode-scrollbarSlider-background);\n}\n\n.monaco-diff-editor .diffViewport:hover {\n background: var(--vscode-scrollbarSlider-hoverBackground);\n}\n\n.monaco-diff-editor .diffViewport:active {\n background: var(--vscode-scrollbarSlider-activeBackground);\n}\n",""]);let a=s},32265:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n text-align: right;\n display: inline-block;\n color: var(--vscode-editorLineNumber-foreground);\n}\n\n.monaco-diff-editor .diff-review {\n position: absolute;\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n padding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n position: absolute;\n box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;\n}\n\n.monaco-diff-editor .diff-review-row {\n white-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n display: table;\n min-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n display: table-row;\n width: 100%;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n display: inline-block;\n width: 10px;\n vertical-align: middle;\n}\n\n.monaco-diff-editor .diff-review-spacer > .codicon {\n font-size: 9px !important;\n}\n\n.monaco-diff-editor .diff-review-actions {\n display: inline-block;\n position: absolute;\n right: 10px;\n top: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n width: 16px;\n height: 16px;\n margin: 2px 0;\n}\n",""]);let a=s},15777:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n display: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n color: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n position: relative;\n overflow: visible;\n -webkit-text-size-adjust: 100%;\n color: var(--vscode-editor-foreground);\n background-color: var(--vscode-editor-background);\n}\n.monaco-editor-background {\n background-color: var(--vscode-editor-background);\n}\n.monaco-editor .rangeHighlight {\n background-color: var(--vscode-editor-rangeHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-rangeHighlightBorder);\n}\n.monaco-editor.hc-black .rangeHighlight, .monaco-editor.hc-light .rangeHighlight {\n border-style: dotted;\n}\n.monaco-editor .symbolHighlight {\n background-color: var(--vscode-editor-symbolHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-symbolHighlightBorder);\n}\n.monaco-editor.hc-black .symbolHighlight, .monaco-editor.hc-light .symbolHighlight {\n border-style: dotted;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n position: relative;\n overflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n position: absolute;\n top: 0;\n}\n\n/*\n.monaco-editor .auto-closed-character {\n opacity: 0.3;\n}\n*/\n\n\n.monaco-editor .squiggly-error {\n border-bottom: 4px double var(--vscode-editorError-border);\n}\n.monaco-editor .squiggly-error::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorError-background);\n}\n.monaco-editor .squiggly-warning {\n border-bottom: 4px double var(--vscode-editorWarning-border);\n}\n.monaco-editor .squiggly-warning::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorWarning-background);\n}\n.monaco-editor .squiggly-info {\n border-bottom: 4px double var(--vscode-editorInfo-border);\n}\n.monaco-editor .squiggly-info::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorInfo-background);\n}\n.monaco-editor .squiggly-hint {\n border-bottom: 2px dotted var(--vscode-editorHint-border);\n}\n.monaco-editor.showUnused .squiggly-unnecessary {\n border-bottom: 2px dashed var(--vscode-editorUnnecessaryCode-border);\n}\n.monaco-editor.showDeprecated .squiggly-inline-deprecated {\n text-decoration: line-through;\n text-decoration-color: var(--vscode-editor-foreground, inherit);\n}\n",""]);let a=s},49993:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .selection-anchor {\n background-color: #007ACC;\n width: 2px !important;\n}\n",""]);let a=s},33077:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .bracket-match {\n box-sizing: border-box;\n background-color: var(--vscode-editorBracketMatch-background);\n border: 1px solid var(--vscode-editorBracketMatch-border);\n}\n",""]);let a=s},21133:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lightBulbWidget {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.monaco-editor .lightBulbWidget:hover{\n cursor: pointer;\n}\n\n.monaco-editor .lightBulbWidget.codicon-light-bulb {\n color: var(--vscode-editorLightBulb-foreground);\n}\n\n.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix {\n color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));\n}\n\n.monaco-editor .lightBulbWidget:before {\n position: relative;\n z-index: 2;\n}\n\n.monaco-editor .lightBulbWidget:after {\n position: absolute;\n top: 0;\n left: 0;\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.3;\n background-color: var(--vscode-editor-background);\n z-index: 1;\n}\n",""]);let a=s},69268:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codelens-decoration {\n overflow: hidden;\n display: inline-block;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--vscode-editorCodeLens-foreground);\n line-height: var(--vscode-editorCodeLens-lineHeight);\n font-size: var(--vscode-editorCodeLens-fontSize);\n padding-right: calc(var(--vscode-editorCodeLens-fontSize)*0.5);\n font-feature-settings: var(--vscode-editorCodeLens-fontFeatureSettings);\n font-family: var(--vscode-editorCodeLens-fontFamily), var(--vscode-editorCodeLens-fontFamilyDefault);\n}\n\n.monaco-editor .codelens-decoration>span,\n.monaco-editor .codelens-decoration>a {\n user-select: none;\n -webkit-user-select: none;\n white-space: nowrap;\n vertical-align: sub;\n}\n\n.monaco-editor .codelens-decoration>a {\n text-decoration: none;\n}\n\n.monaco-editor .codelens-decoration>a:hover {\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n\n.monaco-editor .codelens-decoration>a:hover .codicon {\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n\n.monaco-editor .codelens-decoration .codicon {\n vertical-align: middle;\n color: currentColor !important;\n color: var(--vscode-editorCodeLens-foreground);\n line-height: var(--vscode-editorCodeLens-lineHeight);\n font-size: var(--vscode-editorCodeLens-fontSize);\n}\n\n.monaco-editor .codelens-decoration>a:hover .codicon::before {\n cursor: pointer;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n visibility: visible;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.monaco-editor .codelens-decoration.fadein {\n animation: fadein 0.1s linear;\n}\n",""]);let a=s},98342:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(94748),i.b),d=s()(r()),c=l()(u);d.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.colorpicker-widget {\n height: 190px;\n user-select: none;\n -webkit-user-select: none;\n}\n\n/* Decoration */\n\n.colorpicker-color-decoration,\n.hc-light .colorpicker-color-decoration {\n border: solid 0.1em #000;\n box-sizing: border-box;\n margin: 0.1em 0.2em 0 0.2em;\n width: 0.8em;\n height: 0.8em;\n line-height: 0.8em;\n display: inline-block;\n cursor: pointer;\n}\n\n.hc-black .colorpicker-color-decoration,\n.vs-dark .colorpicker-color-decoration {\n border: solid 0.1em #eee;\n}\n\n/* Header */\n\n.colorpicker-header {\n display: flex;\n height: 24px;\n position: relative;\n background: url("+c+");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-header .picked-color {\n width: 240px;\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 24px;\n cursor: pointer;\n color: white;\n flex: 1;\n}\n\n.colorpicker-header .picked-color .codicon {\n color: inherit;\n font-size: 14px;\n position: absolute;\n left: 8px;\n}\n\n.colorpicker-header .picked-color.light {\n color: black;\n}\n\n.colorpicker-header .original-color {\n width: 74px;\n z-index: inherit;\n cursor: pointer;\n}\n\n.standalone-colorpicker {\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.colorpicker-header.standalone-colorpicker {\n border-bottom: none;\n}\n\n.colorpicker-header .close-button {\n cursor: pointer;\n background-color: var(--vscode-editorHoverWidget-background);\n border-left: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.colorpicker-header .close-button-inner-div {\n width: 100%;\n height: 100%;\n text-align: center;\n}\n\n.colorpicker-header .close-button-inner-div:hover {\n background-color: var(--vscode-toolbar-hoverBackground);\n}\n\n.colorpicker-header .close-icon {\n padding: 3px;\n}\n\n/* Body */\n\n.colorpicker-body {\n display: flex;\n padding: 8px;\n position: relative;\n}\n\n.colorpicker-body .saturation-wrap {\n overflow: hidden;\n height: 150px;\n position: relative;\n min-width: 220px;\n flex: 1;\n}\n\n.colorpicker-body .saturation-box {\n height: 150px;\n position: absolute;\n}\n\n.colorpicker-body .saturation-selection {\n width: 9px;\n height: 9px;\n margin: -5px 0 0 -5px;\n border: 1px solid rgb(255, 255, 255);\n border-radius: 100%;\n box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\n position: absolute;\n}\n\n.colorpicker-body .strip {\n width: 25px;\n height: 150px;\n}\n\n.colorpicker-body .standalone-strip {\n width: 25px;\n height: 122px;\n}\n\n.colorpicker-body .hue-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\n}\n\n.colorpicker-body .opacity-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: url("+c+");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-body .strip.grabbing {\n cursor: grabbing;\n}\n\n.colorpicker-body .slider {\n position: absolute;\n top: 0;\n left: -2px;\n width: calc(100% + 4px);\n height: 4px;\n box-sizing: border-box;\n border: 1px solid rgba(255, 255, 255, 0.71);\n box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\n}\n\n.colorpicker-body .strip .overlay {\n height: 150px;\n pointer-events: none;\n}\n\n.colorpicker-body .standalone-strip .standalone-overlay {\n height: 122px;\n pointer-events: none;\n}\n\n.standalone-colorpicker-body {\n display: block;\n border: 1px solid transparent;\n border-bottom: 1px solid var(--vscode-editorHoverWidget-border);\n overflow: hidden;\n}\n\n.colorpicker-body .insert-button {\n height: 20px;\n width: 58px;\n position: absolute;\n right: 8px;\n bottom: 8px;\n background: var(--vscode-button-background);\n color: var(--vscode-button-foreground);\n border-radius: 2px;\n border: none;\n cursor: pointer;\n}\n\n.colorpicker-body .insert-button:hover{\n background: var(--vscode-button-hoverBackground);\n}\n",""]);let h=d},34323:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor.vs .dnd-target,\n.monaco-editor.hc-light .dnd-target {\n border-right: 2px dotted black;\n color: white; /* opposite of black */\n}\n.monaco-editor.vs-dark .dnd-target {\n border-right: 2px dotted #AEAFAD;\n color: #51504f; /* opposite of #AEAFAD */\n}\n.monaco-editor.hc-black .dnd-target {\n border-right: 2px dotted #fff;\n color: #000; /* opposite of #fff */\n}\n\n.monaco-editor.mouse-default .view-lines,\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\n.monaco-editor.hc-black.mac.mouse-default .view-lines,\n.monaco-editor.hc-light.mac.mouse-default .view-lines {\n cursor: default;\n}\n.monaco-editor.mouse-copy .view-lines,\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\n.monaco-editor.hc-black.mac.mouse-copy .view-lines,\n.monaco-editor.hc-light.mac.mouse-copy .view-lines {\n cursor: copy;\n}\n",""]);let a=s},1248:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.post-drop-widget {\n box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);\n border: 1px solid var(--vscode-widget-border, transparent);\n border-radius: 4px;\n background-color: var(--vscode-editorWidget-background);\n overflow: hidden;\n}\n\n.post-drop-widget .monaco-button {\n padding: 2px;\n border: none;\n border-radius: 0;\n}\n\n.post-drop-widget .monaco-button:hover {\n background-color: var(--vscode-button-secondaryHoverBackground) !important;\n}\n\n.post-drop-widget .monaco-button .codicon {\n margin: 0;\n}\n",""]);let a=s},97910:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .findOptionsWidget {\n background-color: var(--vscode-editorWidget-background);\n color: var(--vscode-editorWidget-foreground);\n box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);\n border: 2px solid var(--vscode-contrastBorder);\n}\n",""]);let a=s},85304:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Find widget */\n.monaco-editor .find-widget {\n position: absolute;\n z-index: 35;\n height: 33px;\n overflow: hidden;\n line-height: 19px;\n transition: transform 200ms linear;\n padding: 0 4px;\n box-sizing: border-box;\n transform: translateY(calc(-100% - 10px)); /* shadow (10px) */\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.monaco-workbench.reduce-motion .monaco-editor .find-widget {\n transition: transform 0ms linear;\n}\n\n.monaco-editor .find-widget textarea {\n margin: 0px;\n}\n\n.monaco-editor .find-widget.hiddenEditor {\n display: none;\n}\n\n/* Find widget when replace is toggled on */\n.monaco-editor .find-widget.replaceToggled > .replace-part {\n display: flex;\n}\n\n.monaco-editor .find-widget.visible {\n transform: translateY(0);\n}\n\n.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {\n outline: 1px solid -webkit-focus-ring-color;\n outline-offset: -1px;\n}\n\n.monaco-editor .find-widget .monaco-inputbox .input {\n background-color: transparent;\n min-height: 0;\n}\n\n.monaco-editor .find-widget .monaco-findInput .input {\n font-size: 13px;\n}\n\n.monaco-editor .find-widget > .find-part,\n.monaco-editor .find-widget > .replace-part {\n margin: 3px 0 0 17px;\n font-size: 12px;\n display: flex;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox {\n min-height: 25px;\n}\n\n\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\n padding-right: 22px;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\n padding-top: 2px;\n padding-bottom: 2px;\n}\n\n.monaco-editor .find-widget > .find-part .find-actions {\n height: 25px;\n display: flex;\n align-items: center;\n}\n\n.monaco-editor .find-widget > .replace-part .replace-actions {\n height: 25px;\n display: flex;\n align-items: center;\n}\n\n.monaco-editor .find-widget .monaco-findInput {\n vertical-align: middle;\n display: flex;\n flex:1;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {\n /* Make sure textarea inherits the width correctly */\n width: 100%;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {\n /* Hide vertical scrollbar */\n opacity: 0;\n}\n\n.monaco-editor .find-widget .matchesCount {\n display: flex;\n flex: initial;\n margin: 0 0 0 3px;\n padding: 2px 0 0 2px;\n height: 25px;\n vertical-align: middle;\n box-sizing: border-box;\n text-align: center;\n line-height: 23px;\n}\n\n.monaco-editor .find-widget .button {\n width: 16px;\n height: 16px;\n padding: 3px;\n border-radius: 5px;\n display: flex;\n flex: initial;\n margin-left: 3px;\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* find in selection button */\n.monaco-editor .find-widget .codicon-find-selection {\n width: 22px;\n height: 22px;\n padding: 3px;\n border-radius: 5px;\n}\n\n.monaco-editor .find-widget .button.left {\n margin-left: 0;\n margin-right: 3px;\n}\n\n.monaco-editor .find-widget .button.wide {\n width: auto;\n padding: 1px 6px;\n top: -1px;\n}\n\n.monaco-editor .find-widget .button.toggle {\n position: absolute;\n top: 0;\n left: 3px;\n width: 18px;\n height: 100%;\n border-radius: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .find-widget .button.toggle.disabled {\n display: none;\n}\n\n.monaco-editor .find-widget .disabled {\n color: var(--vscode-disabledForeground);\n cursor: default;\n}\n\n.monaco-editor .find-widget > .replace-part {\n display: none;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput {\n position: relative;\n display: flex;\n vertical-align: middle;\n flex: auto;\n flex-grow: 0;\n flex-shrink: 0;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {\n position: absolute;\n top: 3px;\n right: 2px;\n}\n\n/* REDUCED */\n.monaco-editor .find-widget.reduced-find-widget .matchesCount {\n display:none;\n}\n\n/* NARROW (SMALLER THAN REDUCED) */\n.monaco-editor .find-widget.narrow-find-widget {\n max-width: 257px !important;\n}\n\n/* COLLAPSED (SMALLER THAN NARROW) */\n.monaco-editor .find-widget.collapsed-find-widget {\n max-width: 170px !important;\n}\n\n.monaco-editor .find-widget.collapsed-find-widget .button.previous,\n.monaco-editor .find-widget.collapsed-find-widget .button.next,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,\n.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {\n display:none;\n}\n\n.monaco-editor .findMatch {\n animation-duration: 0;\n animation-name: inherit !important;\n}\n\n.monaco-editor .find-widget .monaco-sash {\n left: 0 !important;\n}\n\n.monaco-editor.hc-black .find-widget .button:before {\n position: relative;\n top: 1px;\n left: 2px;\n}\n",""]);let a=s},39346:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,\n.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.5s;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 140%;\n margin-left: 2px;\n}\n\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n transition: initial;\n}\n\n.monaco-editor .margin-view-overlays:hover .codicon,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\n opacity: 1;\n}\n\n.monaco-editor .inline-folded:after {\n color: grey;\n margin: 0.1em 0.2em 0 0.2em;\n content: "\\22EF"; /* ellipses unicode character */\n display: inline;\n line-height: 1em;\n cursor: pointer;\n}\n\n.monaco-editor .folded-background {\n background-color: var(--vscode-editor-foldBackground);\n}\n\n.monaco-editor .cldr.codicon.codicon-folding-expanded,\n.monaco-editor .cldr.codicon.codicon-folding-collapsed,\n.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,\n.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed {\n color: var(--vscode-editorGutter-foldingControlForeground) !important;\n}\n\n',""]);let a=s},91545:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* marker zone */\n\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\n display: inline-block;\n vertical-align: text-top;\n margin-right: 4px;\n}\n\n.monaco-editor .marker-widget {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .marker-widget > .stale {\n opacity: 0.6;\n font-style: italic;\n}\n\n.monaco-editor .marker-widget .title {\n display: inline-block;\n padding-right: 5px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer {\n position: absolute;\n white-space: pre;\n user-select: text;\n -webkit-user-select: text;\n padding: 8px 12px 0 20px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message {\n display: flex;\n flex-direction: column;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\n padding-left: 6px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\n opacity: 0.6;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\n opacity: 0.6;\n color: inherit;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\n content: '(';\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\n content: ')';\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .filename {\n cursor: pointer;\n}\n",""]);let a=s},26417:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .goto-definition-link {\n text-decoration: underline;\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n",""]);let a=s},52679:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -- zone widget */\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n\n.monaco-editor .reference-zone-widget .inline {\n display: inline-block;\n vertical-align: top;\n}\n\n.monaco-editor .reference-zone-widget .messages {\n height: 100%;\n width: 100%;\n text-align: center;\n padding: 3em 0;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree {\n line-height: 23px;\n background-color: var(--vscode-peekViewResult-background);\n color: var(--vscode-peekViewResult-lineForeground);\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\n display: inline-flex;\n width: 100%;\n height: 100%;\n color: var(--vscode-peekViewResult-fileForeground);\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\n color: inherit !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) {\n background-color: var(--vscode-peekViewResult-selectionBackground);\n color: var(--vscode-peekViewResult-selectionForeground) !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\n margin-right: 12px;\n margin-left: auto;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight {\n background-color: var(--vscode-peekViewResult-matchHighlightBackground);\n}\n\n.monaco-editor .reference-zone-widget .preview .reference-decoration {\n background-color: var(--vscode-peekViewEditor-matchHighlightBackground);\n border: 2px solid var(--vscode-peekViewEditor-matchHighlightBorder);\n box-sizing: border-box;\n}\n\n.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,\n.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\n background-color: var(--vscode-peekViewEditor-background);\n}\n\n.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\n background-color: var(--vscode-peekViewEditorGutter-background);\n}\n\n/* High Contrast Theming */\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,\n.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file {\n font-weight: bold;\n}\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,\n.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight {\n border: 1px dotted var(--vscode-contrastActiveBorder, transparent);\n box-sizing: border-box;\n}\n",""]);let a=s},78635:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .hoverHighlight {\n background-color: var(--vscode-editor-hoverHighlightBackground);\n}\n\n.monaco-editor .monaco-hover {\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .monaco-hover a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .monaco-hover a:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .monaco-hover .hover-row .actions {\n background-color: var(--vscode-editorHoverWidget-statusBarBackground);\n}\n\n.monaco-editor .monaco-hover code {\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n\n",""]);let a=s},41025:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n.monaco-editor.vs .valueSetReplacement {\n outline: solid 2px var(--vscode-editorBracketMatch-border);\n}\n",""]);let a=s},95667:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .suggest-preview-additional-widget {\n white-space: nowrap;\n}\n\n.monaco-editor .suggest-preview-additional-widget .content-spacer {\n color: transparent;\n white-space: pre;\n}\n\n.monaco-editor .suggest-preview-additional-widget .button {\n display: inline-block;\n cursor: pointer;\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .ghost-text-hidden {\n opacity: 0;\n font-size: 0;\n}\n\n.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text {\n font-style: italic;\n}\n\n.monaco-editor .inline-completion-text-to-replace {\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .ghost-text-decoration,\n.monaco-editor .ghost-text-decoration-preview,\n.monaco-editor .suggest-preview-text .ghost-text {\n color: var(--vscode-editorGhostText-foreground) !important;\n background-color: var(--vscode-editorGhostText-background);\n border: 1px solid var(--vscode-editorGhostText-border);\n}\n",""]);let a=s},68553:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inlineSuggestionsHints.withBorder {\n z-index: 39;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .inlineSuggestionsHints a {\n color: var(--vscode-foreground);\n}\n\n.monaco-editor .inlineSuggestionsHints a:hover {\n color: var(--vscode-foreground);\n}\n\n.monaco-editor .inlineSuggestionsHints .keybinding {\n display: flex;\n margin-left: 4px;\n opacity: 0.6;\n}\n\n.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key {\n font-size: 8px;\n padding: 2px 3px;\n}\n\n.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a {\n display: flex;\n min-width: 19px;\n justify-content: center;\n}\n\n.monaco-editor .inlineSuggestionStatusBarItemLabel {\n margin-right: 2px;\n}\n",""]);let a=s},78396:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.inline-editor-progress-decoration {\n display: inline-block;\n width: 1em;\n height: 1em;\n}\n\n.inline-progress-widget {\n display: flex !important;\n justify-content: center;\n align-items: center;\n}\n\n.inline-progress-widget .icon {\n font-size: 80% !important;\n}\n\n.inline-progress-widget:hover .icon {\n font-size: 90% !important;\n animation: none;\n}\n\n.inline-progress-widget:hover .icon::before {\n content: "\\ea76"; /* codicon-x */\n}\n',""]);let a=s},31334:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .linked-editing-decoration {\n background-color: var(--vscode-editor-linkedEditingBackground);\n\n /* Ensure decoration is visible even if range is empty */\n min-width: 1px;\n}\n",""]);let a=s},18636:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .detected-link,\n.monaco-editor .detected-link-active {\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .detected-link-active {\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n",""]);let a=s},5637:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rendered-markdown kbd {\n background-color: var(--vscode-keybindingLabel-background);\n color: var(--vscode-keybindingLabel-foreground);\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n border-color: var(--vscode-keybindingLabel-border);\n border-bottom-color: var(--vscode-keybindingLabel-bottomBorder);\n box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow);\n vertical-align: middle;\n padding: 1px 3px;\n}\n",""]);let a=s},67503:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .monaco-editor-overlaymessage {\n padding-bottom: 8px;\n z-index: 10000;\n}\n\n.monaco-editor .monaco-editor-overlaymessage.below {\n padding-bottom: 0;\n padding-top: 8px;\n z-index: 10000;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\n animation: fadeIn 150ms ease-out;\n}\n\n@keyframes fadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\n animation: fadeOut 100ms ease-out;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .message {\n padding: 1px 4px;\n color: var(--vscode-inputValidation-infoForeground);\n background-color: var(--vscode-inputValidation-infoBackground);\n border: 1px solid var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor.hc-black .monaco-editor-overlaymessage .message,\n.monaco-editor.hc-light .monaco-editor-overlaymessage .message {\n border-width: 2px;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor {\n width: 0 !important;\n height: 0 !important;\n border-color: transparent;\n border-style: solid;\n z-index: 1000;\n border-width: 8px;\n position: absolute;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor.top {\n border-bottom-color: var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor.below {\n border-top-color: var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {\n display: none;\n}\n\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {\n display: inherit;\n top: -8px;\n}\n",""]);let a=s},5379:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .parameter-hints-widget {\n /* Must be higher than the sash\'s z-index and terminal canvases but lower than the suggest widget */\n z-index: 39;\n display: flex;\n flex-direction: column;\n line-height: 1.5em;\n cursor: default;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.hc-black .monaco-editor .parameter-hints-widget,\n.hc-light .monaco-editor .parameter-hints-widget {\n border-width: 2px;\n}\n\n.monaco-editor .parameter-hints-widget > .phwrapper {\n max-width: 440px;\n display: flex;\n flex-direction: row;\n}\n\n.monaco-editor .parameter-hints-widget.multiple {\n min-height: 3.3em;\n padding: 0;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .body::before {\n content: "";\n display: block;\n height: 100%;\n position: absolute;\n opacity: 0.5;\n border-left: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .parameter-hints-widget p,\n.monaco-editor .parameter-hints-widget ul {\n margin: 8px 0;\n}\n\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\n.monaco-editor .parameter-hints-widget .body {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 100%;\n}\n\n.monaco-editor .parameter-hints-widget .signature {\n padding: 4px 5px;\n position: relative;\n}\n\n.monaco-editor .parameter-hints-widget .signature.has-docs::after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n width: 100%;\n padding-top: 4px;\n opacity: 0.5;\n border-bottom: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .parameter-hints-widget .docs {\n padding: 0 10px 0 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs.empty {\n display: none;\n}\n\n.monaco-editor .parameter-hints-widget .docs a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .parameter-hints-widget .docs a:hover {\n color: var(--vscode-textLink-activeForeground);\n cursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\n white-space: initial;\n}\n\n.monaco-editor .parameter-hints-widget .docs code {\n font-family: var(--monaco-monospace-font);\n border-radius: 3px;\n padding: 0 0.4em;\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,\n.monaco-editor .parameter-hints-widget .docs .code {\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .controls {\n display: none;\n flex-direction: column;\n align-items: center;\n min-width: 22px;\n justify-content: flex-end;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .controls {\n display: flex;\n padding: 0 2px;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .button {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n cursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .button.previous {\n bottom: 24px;\n}\n\n.monaco-editor .parameter-hints-widget .overloads {\n text-align: center;\n height: 12px;\n line-height: 12px;\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\n color: var(--vscode-editorHoverWidget-highlightForeground);\n font-weight: bold;\n}\n\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\n font-weight: bold;\n margin-right: 0.5em;\n}\n',""]);let a=s},1931:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .peekview-widget .head {\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n flex-wrap: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title {\n display: flex;\n align-items: baseline;\n font-size: 13px;\n margin-left: 20px;\n min-width: 0;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title.clickable {\n cursor: pointer;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\n font-size: 0.9em;\n margin-left: 0.5em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .filename {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\n content: '-';\n padding: 0 0.3em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions {\n flex: 1;\n text-align: right;\n padding-right: 2px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\n display: inline-block;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\n height: 100%;\n}\n\n.monaco-editor .peekview-widget > .body {\n border-top: 1px solid;\n position: relative;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\n margin-right: 4px;\n align-self: center;\n}\n\n.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon {\n color: inherit !important;\n}\n",""]);let a=s},72767:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rename-box {\n z-index: 100;\n color: inherit;\n border-radius: 4px;\n}\n\n.monaco-editor .rename-box.preview {\n padding: 4px 4px 0 4px;\n}\n\n.monaco-editor .rename-box .rename-input {\n padding: 3px;\n border-radius: 2px;\n}\n\n.monaco-editor .rename-box .rename-label {\n display: none;\n opacity: .8;\n}\n\n.monaco-editor .rename-box.preview .rename-label {\n display: inherit;\n}\n",""]);let a=s},39889:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .snippet-placeholder {\n min-width: 2px;\n outline-style: solid;\n outline-width: 1px;\n background-color: var(--vscode-editor-snippetTabstopHighlightBackground, transparent);\n outline-color: var(--vscode-editor-snippetTabstopHighlightBorder, transparent);\n}\n\n.monaco-editor .finish-snippet-placeholder {\n outline-style: solid;\n outline-width: 1px;\n background-color: var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);\n outline-color: var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent);\n}\n",""]);let a=s},68229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .sticky-line {\n color: var(--vscode-editorLineNumber-foreground);\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n}\n\n.monaco-editor .sticky-line-number {\n text-align: right;\n float: left;\n}\n\n.monaco-editor .sticky-line-root {\n background-color: inherit;\n overflow: hidden;\n white-space: nowrap;\n width: 100%;\n}\n\n.monaco-editor.hc-black .sticky-widget,\n.monaco-editor.hc-light .sticky-widget {\n border-bottom: 1px solid var(--vscode-contrastBorder);\n}\n\n.monaco-editor .sticky-line-root:hover {\n background-color: var(--vscode-editorStickyScrollHover-background);\n cursor: pointer;\n}\n\n.monaco-editor .sticky-widget {\n width: 100%;\n box-shadow: var(--vscode-scrollbar-shadow) 0 3px 2px -2px;\n z-index: 4;\n background-color: var(--vscode-editorStickyScroll-background);\n}\n\n.monaco-editor .sticky-widget.peek {\n background-color: var(--vscode-peekViewEditorStickyScroll-background);\n}\n",""]);let a=s},95618:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Suggest widget*/\n\n.monaco-editor .suggest-widget {\n width: 430px;\n z-index: 40;\n display: flex;\n flex-direction: column;\n}\n\n.monaco-editor .suggest-widget.message {\n flex-direction: row;\n align-items: center;\n}\n\n.monaco-editor .suggest-widget,\n.monaco-editor .suggest-details {\n flex: 0 1 auto;\n width: 100%;\n border-style: solid;\n border-width: 1px;\n border-color: var(--vscode-editorSuggestWidget-border);\n background-color: var(--vscode-editorSuggestWidget-background);\n}\n\n.monaco-editor.hc-black .suggest-widget,\n.monaco-editor.hc-black .suggest-details,\n.monaco-editor.hc-light .suggest-widget,\n.monaco-editor.hc-light .suggest-details {\n border-width: 2px;\n}\n\n/* Styles for status bar part */\n\n\n.monaco-editor .suggest-widget .suggest-status-bar {\n box-sizing: border-box;\n display: none;\n flex-flow: row nowrap;\n justify-content: space-between;\n width: 100%;\n font-size: 80%;\n padding: 0 4px 0 4px;\n border-top: 1px solid var(--vscode-editorSuggestWidget-border);\n overflow: hidden;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\n display: flex;\n}\n\n.monaco-editor .suggest-widget .suggest-status-bar .left {\n padding-right: 8px;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\n color: var(--vscode-editorSuggestWidgetStatus-foreground);\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\n margin-right: 0;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\n content: ', ';\n margin-right: 0.3em;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n display: none;\n}\n\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {\n width: 100%;\n}\n\n/* Styles for Message element for when widget is loading or is empty */\n\n.monaco-editor .suggest-widget>.message {\n padding-left: 22px;\n}\n\n/** Styles for the list element **/\n\n.monaco-editor .suggest-widget>.tree {\n height: 100%;\n width: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list {\n user-select: none;\n -webkit-user-select: none;\n}\n\n/** Styles for each row in the list element **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\n display: flex;\n -mox-box-sizing: border-box;\n box-sizing: border-box;\n padding-right: 10px;\n background-repeat: no-repeat;\n background-position: 2px 2px;\n white-space: nowrap;\n cursor: pointer;\n touch-action: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused {\n color: var(--vscode-editorSuggestWidget-selectedForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon {\n color: var(--vscode-editorSuggestWidget-selectedIconForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {\n flex: 1;\n height: 100%;\n overflow: hidden;\n padding-left: 2px;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n justify-content: space-between;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n display: flex;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label {\n color: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight {\n color: var(--vscode-editorSuggestWidget-highlightForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight {\n color: var(--vscode-editorSuggestWidget-focusHighlightForeground);\n}\n\n/** ReadMore Icon styles **/\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {\n color: inherit;\n opacity: 1;\n font-size: 14px;\n cursor: pointer;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {\n position: absolute;\n top: 6px;\n right: 2px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {\n opacity: 1;\n}\n\n/** signature, qualifier, type/details opacity **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n opacity: 0.7;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.6;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {\n margin-left: 12px;\n opacity: 0.4;\n font-size: 85%;\n line-height: initial;\n text-overflow: ellipsis;\n overflow: hidden;\n align-self: center;\n}\n\n/** Type Info and icon next to the label in the focused completion item **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n font-size: 85%;\n margin-left: 1.1em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {\n display: inline;\n}\n\n/** Details: if using CompletionItem#details, show on focus **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n display: none;\n}\n\n.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {\n display: inline;\n}\n\n/** Details: if using CompletionItemLabel#details, always show **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {\n display: inline;\n}\n\n/** Ellipsis on hover **/\n\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label {\n width: calc(100% - 26px);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {\n flex-shrink: 1;\n flex-grow: 1;\n overflow: hidden;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {\n flex-shrink: 0;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {\n max-width: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {\n flex-shrink: 1;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n overflow: hidden;\n flex-shrink: 4;\n max-width: 70%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n display: inline-block;\n position: absolute;\n right: 10px;\n width: 18px;\n height: 18px;\n visibility: hidden;\n}\n\n/** Do NOT display ReadMore when docs is side/below **/\n\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n display: none !important;\n}\n\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {\n display: none;\n}\n\n/** Focused item can show ReadMore, but can't when docs is side/below **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n display: inline-block;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore {\n visibility: visible;\n}\n\n/** Styles for each row in the list **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\n opacity: 0.66;\n text-decoration: unset;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {\n text-decoration: line-through;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\n height: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\n display: block;\n height: 16px;\n width: 16px;\n margin-left: 2px;\n background-repeat: no-repeat;\n background-size: 80%;\n background-position: center;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\n margin: 0 0 0 0.3em;\n border: 0.1em solid #000;\n width: 0.7em;\n height: 0.7em;\n display: inline-block;\n}\n\n/** Styles for the docs of the completion item in focus **/\n\n.monaco-editor .suggest-details-container {\n z-index: 41;\n}\n\n.monaco-editor .suggest-details {\n display: flex;\n flex-direction: column;\n cursor: default;\n color: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-details.focused {\n border-color: var(--vscode-focusBorder);\n}\n\n.monaco-editor .suggest-details a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .suggest-details a:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .suggest-details code {\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n.monaco-editor .suggest-details.no-docs {\n display: none;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element {\n flex: 1;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body {\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {\n flex: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.7;\n white-space: pre;\n margin: 0 24px 0 0;\n padding: 4px 0 12px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {\n white-space: normal;\n word-break: break-all;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {\n margin: 0;\n padding: 4px 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {\n margin-right: 24px;\n overflow: hidden;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {\n padding: 0;\n white-space: initial;\n min-height: calc(1rem + 8px);\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {\n padding: 4px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {\n margin-top: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {\n margin-bottom: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source {\n white-space: pre;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {\n vertical-align: sub;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {\n display: none;\n}\n\n.monaco-editor .suggest-details code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-editor .suggest-details ul {\n padding-left: 20px;\n}\n\n.monaco-editor .suggest-details ol {\n padding-left: 20px;\n}\n\n.monaco-editor .suggest-details p code {\n font-family: var(--monaco-monospace-font);\n}\n",""]);let a=s},7538:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codicon.codicon-symbol-array,\n.monaco-workbench .codicon.codicon-symbol-array { color: var(--vscode-symbolIcon-arrayForeground); }\n.monaco-editor .codicon.codicon-symbol-boolean,\n.monaco-workbench .codicon.codicon-symbol-boolean { color: var(--vscode-symbolIcon-booleanForeground); }\n.monaco-editor .codicon.codicon-symbol-class,\n.monaco-workbench .codicon.codicon-symbol-class { color: var(--vscode-symbolIcon-classForeground); }\n.monaco-editor .codicon.codicon-symbol-method,\n.monaco-workbench .codicon.codicon-symbol-method { color: var(--vscode-symbolIcon-methodForeground); }\n.monaco-editor .codicon.codicon-symbol-color,\n.monaco-workbench .codicon.codicon-symbol-color { color: var(--vscode-symbolIcon-colorForeground); }\n.monaco-editor .codicon.codicon-symbol-constant,\n.monaco-workbench .codicon.codicon-symbol-constant { color: var(--vscode-symbolIcon-constantForeground); }\n.monaco-editor .codicon.codicon-symbol-constructor,\n.monaco-workbench .codicon.codicon-symbol-constructor { color: var(--vscode-symbolIcon-constructorForeground); }\n.monaco-editor .codicon.codicon-symbol-value,\n.monaco-workbench .codicon.codicon-symbol-value,\n.monaco-editor .codicon.codicon-symbol-enum,\n.monaco-workbench .codicon.codicon-symbol-enum { color: var(--vscode-symbolIcon-enumeratorForeground); }\n.monaco-editor .codicon.codicon-symbol-enum-member,\n.monaco-workbench .codicon.codicon-symbol-enum-member { color: var(--vscode-symbolIcon-enumeratorMemberForeground); }\n.monaco-editor .codicon.codicon-symbol-event,\n.monaco-workbench .codicon.codicon-symbol-event { color: var(--vscode-symbolIcon-eventForeground); }\n.monaco-editor .codicon.codicon-symbol-field,\n.monaco-workbench .codicon.codicon-symbol-field { color: var(--vscode-symbolIcon-fieldForeground); }\n.monaco-editor .codicon.codicon-symbol-file,\n.monaco-workbench .codicon.codicon-symbol-file { color: var(--vscode-symbolIcon-fileForeground); }\n.monaco-editor .codicon.codicon-symbol-folder,\n.monaco-workbench .codicon.codicon-symbol-folder { color: var(--vscode-symbolIcon-folderForeground); }\n.monaco-editor .codicon.codicon-symbol-function,\n.monaco-workbench .codicon.codicon-symbol-function { color: var(--vscode-symbolIcon-functionForeground); }\n.monaco-editor .codicon.codicon-symbol-interface,\n.monaco-workbench .codicon.codicon-symbol-interface { color: var(--vscode-symbolIcon-interfaceForeground); }\n.monaco-editor .codicon.codicon-symbol-key,\n.monaco-workbench .codicon.codicon-symbol-key { color: var(--vscode-symbolIcon-keyForeground); }\n.monaco-editor .codicon.codicon-symbol-keyword,\n.monaco-workbench .codicon.codicon-symbol-keyword { color: var(--vscode-symbolIcon-keywordForeground); }\n.monaco-editor .codicon.codicon-symbol-module,\n.monaco-workbench .codicon.codicon-symbol-module { color: var(--vscode-symbolIcon-moduleForeground); }\n.monaco-editor .codicon.codicon-symbol-namespace,\n.monaco-workbench .codicon.codicon-symbol-namespace { color: var(--vscode-symbolIcon-namespaceForeground); }\n.monaco-editor .codicon.codicon-symbol-null,\n.monaco-workbench .codicon.codicon-symbol-null { color: var(--vscode-symbolIcon-nullForeground); }\n.monaco-editor .codicon.codicon-symbol-number,\n.monaco-workbench .codicon.codicon-symbol-number { color: var(--vscode-symbolIcon-numberForeground); }\n.monaco-editor .codicon.codicon-symbol-object,\n.monaco-workbench .codicon.codicon-symbol-object { color: var(--vscode-symbolIcon-objectForeground); }\n.monaco-editor .codicon.codicon-symbol-operator,\n.monaco-workbench .codicon.codicon-symbol-operator { color: var(--vscode-symbolIcon-operatorForeground); }\n.monaco-editor .codicon.codicon-symbol-package,\n.monaco-workbench .codicon.codicon-symbol-package { color: var(--vscode-symbolIcon-packageForeground); }\n.monaco-editor .codicon.codicon-symbol-property,\n.monaco-workbench .codicon.codicon-symbol-property { color: var(--vscode-symbolIcon-propertyForeground); }\n.monaco-editor .codicon.codicon-symbol-reference,\n.monaco-workbench .codicon.codicon-symbol-reference { color: var(--vscode-symbolIcon-referenceForeground); }\n.monaco-editor .codicon.codicon-symbol-snippet,\n.monaco-workbench .codicon.codicon-symbol-snippet { color: var(--vscode-symbolIcon-snippetForeground); }\n.monaco-editor .codicon.codicon-symbol-string,\n.monaco-workbench .codicon.codicon-symbol-string { color: var(--vscode-symbolIcon-stringForeground); }\n.monaco-editor .codicon.codicon-symbol-struct,\n.monaco-workbench .codicon.codicon-symbol-struct { color: var(--vscode-symbolIcon-structForeground); }\n.monaco-editor .codicon.codicon-symbol-text,\n.monaco-workbench .codicon.codicon-symbol-text { color: var(--vscode-symbolIcon-textForeground); }\n.monaco-editor .codicon.codicon-symbol-type-parameter,\n.monaco-workbench .codicon.codicon-symbol-type-parameter { color: var(--vscode-symbolIcon-typeParameterForeground); }\n.monaco-editor .codicon.codicon-symbol-unit,\n.monaco-workbench .codicon.codicon-symbol-unit { color: var(--vscode-symbolIcon-unitForeground); }\n.monaco-editor .codicon.codicon-symbol-variable,\n.monaco-workbench .codicon.codicon-symbol-variable { color: var(--vscode-symbolIcon-variableForeground); }\n",""]);let a=s},47094:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.editor-banner {\n box-sizing: border-box;\n cursor: default;\n width: 100%;\n font-size: 12px;\n display: flex;\n overflow: visible;\n\n height: 26px;\n\n background: var(--vscode-banner-background);\n}\n\n\n.editor-banner .icon-container {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n padding: 0 6px 0 10px;\n}\n\n.editor-banner .icon-container.custom-icon {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 16px;\n width: 16px;\n padding: 0;\n margin: 0 6px 0 10px;\n}\n\n.editor-banner .message-container {\n display: flex;\n align-items: center;\n line-height: 26px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.editor-banner .message-container p {\n margin-block-start: 0;\n margin-block-end: 0;\n}\n\n.editor-banner .message-actions-container {\n flex-grow: 1;\n flex-shrink: 0;\n line-height: 26px;\n margin: 0 4px;\n}\n\n.editor-banner .message-actions-container a.monaco-button {\n width: inherit;\n margin: 2px 8px;\n padding: 0px 12px;\n}\n\n.editor-banner .message-actions-container a {\n padding: 3px;\n margin-left: 12px;\n text-decoration: underline;\n}\n\n.editor-banner .action-container {\n padding: 0 10px 0 6px;\n}\n\n.editor-banner {\n background-color: var(--vscode-banner-background);\n}\n\n.editor-banner,\n.editor-banner .action-container .codicon,\n.editor-banner .message-actions-container .monaco-link {\n color: var(--vscode-banner-foreground);\n}\n\n.editor-banner .icon-container .codicon {\n color: var(--vscode-banner-iconForeground);\n}\n",""]);let a=s},56670:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .unicode-highlight {\n border: 1px solid var(--vscode-editorUnicodeHighlight-border);\n background-color: var(--vscode-editorUnicodeHighlight-background);\n box-sizing: border-box;\n}\n",""]);let a=s},4341:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .focused .selectionHighlight {\n background-color: var(--vscode-editor-selectionHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-selectionHighlightBorder);\n}\n.monaco-editor.hc-black .focused .selectionHighlight, .monaco-editor.hc-light .focused .selectionHighlight {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlight {\n background-color: var(--vscode-editor-wordHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightBorder);\n}\n.monaco-editor.hc-black .wordHighlight, .monaco-editor.hc-light .wordHighlight {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlightStrong {\n background-color: var(--vscode-editor-wordHighlightStrongBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightStrongBorder);\n}\n.monaco-editor.hc-black .wordHighlightStrong, .monaco-editor.hc-light .wordHighlightStrong {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlightText {\n background-color: var(--vscode-editor-wordHighlightTextBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightTextBorder);\n}\n.monaco-editor.hc-black .wordHighlightText, .monaco-editor.hc-light .wordHighlightText {\n border-style: dotted;\n}\n",""]);let a=s},14401:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .zone-widget {\n position: absolute;\n z-index: 10;\n}\n\n\n.monaco-editor .zone-widget .zone-widget-container {\n border-top-style: solid;\n border-bottom-style: solid;\n border-top-width: 0;\n border-bottom-width: 0;\n position: relative;\n}\n",""]);let a=s},75152:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .accessibilityHelpWidget {\n padding: 10px;\n vertical-align: middle;\n overflow: scroll;\n color: var(--vscode-editorWidget-foreground);\n background-color: var(--vscode-editorWidget-background);\n box-shadow: 0 2px 8px var(--vscode-widget-shadow);\n border: 2px solid var(--vscode-contrastBorder);\n}\n",""]);let a=s},7091:(e,t,i)=>{"use strict";i.d(t,{Z:()=>p});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(6161),i.b),d=new URL(i(51096),i.b),c=s()(r()),h=l()(u),g=l()(d);c.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .iPadShowKeyboard {\n width: 58px;\n min-width: 0;\n height: 36px;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n resize: none;\n overflow: hidden;\n background: url("+h+") center center no-repeat;\n border: 4px solid #F6F6F6;\n border-radius: 4px;\n}\n\n.monaco-editor.vs-dark .iPadShowKeyboard {\n background: url("+g+") center center no-repeat;\n border: 4px solid #252526;\n}",""]);let p=c},54381:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .tokens-inspect-widget {\n z-index: 50;\n user-select: text;\n -webkit-user-select: text;\n padding: 10px;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n.monaco-editor.hc-black .tokens-inspect-widget, .monaco-editor.hc-light .tokens-inspect-widget {\n border-width: 2px;\n}\n\n.monaco-editor .tokens-inspect-widget .tokens-inspect-separator {\n height: 1px;\n border: 0;\n background-color: var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-length {\n font-weight: normal;\n font-size: 60%;\n float: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-table {\n width: 100%;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-value {\n font-family: var(--monaco-monospace-font);\n text-align: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-type {\n font-family: var(--monaco-monospace-font);\n}\n",""]);let a=s},18215:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n font-size: 13px;\n}\n\n.quick-input-widget .monaco-highlighted-label .highlight,\n.quick-input-widget .monaco-highlighted-label .highlight {\n color: #0066BF;\n}\n\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight {\n color: #9DDDFF;\n}\n\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\n color: #0097fb;\n}\n\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\n color: #F38518;\n}\n\n.hc-light .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-light .quick-input-widget .monaco-highlighted-label .highlight {\n color: #0F4A85;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n background-color: rgba(221, 221, 221, 0.4);\n border: solid 1px rgba(204, 204, 204, 0.4);\n border-bottom-color: rgba(187, 187, 187, 0.4);\n box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\n color: #555;\n}\n\n.hc-black .monaco-keybinding > .monaco-keybinding-key {\n background-color: transparent;\n border: solid 1px rgb(111, 195, 223);\n box-shadow: none;\n color: #fff;\n}\n\n.hc-light .monaco-keybinding > .monaco-keybinding-key {\n background-color: transparent;\n border: solid 1px #0F4A85;\n box-shadow: none;\n color: #292929;\n}\n\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\n background-color: rgba(128, 128, 128, 0.17);\n border: solid 1px rgba(51, 51, 51, 0.6);\n border-bottom-color: rgba(68, 68, 68, 0.6);\n box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\n color: #ccc;\n}\n",""]);let a=s},20517:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n/* Default standalone editor fonts */\n.monaco-editor {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n --monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\n stroke-width: 1.2px;\n}\n\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n stroke-width: 1.2px;\n}\n\n.monaco-hover p {\n margin: 0;\n}\n\n/* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */\n.monaco-aria-container {\n position: absolute !important;\n top: 0; /* avoid being placed underneath a sibling element */\n height: 1px;\n width: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n}\n\n/*.monaco-editor.vs [tabindex="0"]:focus {\n outline: 1px solid rgba(0, 122, 204, 0.4);\n outline-offset: -1px;\n opacity: 1 !important;\n}\n\n.monaco-editor.vs-dark [tabindex="0"]:focus {\n outline: 1px solid rgba(14, 99, 156, 0.6);\n outline-offset: -1px;\n opacity: 1 !important;\n}*/\n',""]);let a=s},38734:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.action-widget {\n font-size: 13px;\n border-radius: 0;\n min-width: 160px;\n max-width: 500px;\n z-index: 40;\n display: block;\n width: 100%;\n border: 1px solid var(--vscode-editorWidget-border) !important;\n background-color: var(--vscode-editorWidget-background);\n color: var(--vscode-editorWidget-foreground);\n}\n\n.context-view-block {\n position: fixed;\n cursor: initial;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n}\n\n.context-view-pointerBlock {\n position: fixed;\n cursor: initial;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n}\n\n.action-widget .monaco-list {\n user-select: none;\n -webkit-user-select: none;\n border: none !important;\n border-width: 0 !important;\n}\n\n.action-widget .monaco-list:focus:before {\n outline: 0 !important;\n}\n\n.action-widget .monaco-list .monaco-scrollable-element {\n overflow: visible;\n}\n\n/** Styles for each row in the list element **/\n.action-widget .monaco-list .monaco-list-row {\n padding: 0 10px;\n white-space: nowrap;\n cursor: pointer;\n touch-action: none;\n width: 100%;\n}\n\n.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {\n background-color: var(--vscode-quickInputList-focusBackground) !important;\n color: var(--vscode-quickInputList-focusForeground);\n outline: 1px solid var(--vscode-menu-selectionBorder, transparent);\n outline-offset: -1px;\n}\n\n.action-widget .monaco-list-row.group-header {\n color: var(--vscode-pickerGroup-foreground) !important;\n font-weight: 600;\n}\n\n.action-widget .monaco-list .group-header,\n.action-widget .monaco-list .option-disabled,\n.action-widget .monaco-list .option-disabled:before,\n.action-widget .monaco-list .option-disabled .focused,\n.action-widget .monaco-list .option-disabled .focused:before {\n cursor: default !important;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n background-color: transparent !important;\n outline: 0 solid !important;\n}\n\n.action-widget .monaco-list-row.action {\n display: flex;\n gap: 6px;\n align-items: center;\n}\n\n.action-widget .monaco-list-row.action.option-disabled {\n color: var(--vscode-disabledForeground);\n}\n\n.action-widget .monaco-list-row.action.option-disabled .codicon {\n opacity: 0.4;\n}\n\n.action-widget .monaco-list-row.action:not(.option-disabled) .codicon {\n color: inherit;\n}\n\n.action-widget .monaco-list-row.action .title {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n/* Action bar */\n\n.action-widget .action-widget-action-bar {\n background-color: var(--vscode-editorHoverWidget-statusBarBackground);\n border-top: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.action-widget .action-widget-action-bar::before {\n display: block;\n content: "";\n width: 100%;\n}\n\n.action-widget .action-widget-action-bar .actions-container {\n padding: 0 8px;\n}\n\n.action-widget-action-bar .action-label {\n color: var(--vscode-textLink-activeForeground);\n font-size: 12px;\n line-height: 22px;\n padding: 0;\n pointer-events: all;\n}\n\n.action-widget-action-bar .action-item {\n margin-right: 16px;\n pointer-events: none;\n}\n\n.action-widget-action-bar .action-label:hover {\n background-color: transparent !important;\n}\n',""]);let a=s},33412:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar .action-item.menu-entry .action-label.icon {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 16px;\n}\n\n.monaco-dropdown-with-default {\n display: flex !important;\n flex-direction: row;\n border-radius: 5px;\n}\n\n.monaco-dropdown-with-default > .action-container > .action-label {\n margin-right: 0;\n}\n\n.monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 16px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n font-size: 12px;\n padding-left: 0px;\n padding-right: 0px;\n line-height: 16px;\n margin-left: -3px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n display: block;\n background-size: 16px;\n background-position: center center;\n background-repeat: no-repeat;\n}\n",""]);let a=s},32781:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-link {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-link:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n",""]);let a=s},55016:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n position: absolute;\n width: 600px;\n z-index: 2550;\n left: 50%;\n margin-left: -300px;\n -webkit-app-region: no-drag;\n border-radius: 6px;\n}\n\n.quick-input-titlebar {\n display: flex;\n align-items: center;\n border-top-left-radius: 5px; /* match border radius of quick input widget */\n border-top-right-radius: 5px;\n}\n\n.quick-input-left-action-bar {\n display: flex;\n margin-left: 4px;\n flex: 1;\n}\n\n.quick-input-title {\n padding: 3px 0px;\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.quick-input-right-action-bar {\n display: flex;\n margin-right: 4px;\n flex: 1;\n}\n\n.quick-input-right-action-bar > .actions-container {\n justify-content: flex-end;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n background-position: center;\n background-repeat: no-repeat;\n padding: 2px;\n}\n\n.quick-input-description {\n margin: 6px;\n}\n\n.quick-input-header .quick-input-description {\n margin: 4px 2px;\n}\n\n.quick-input-header {\n display: flex;\n padding: 8px 6px 6px 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n /* reduce margins and paddings when input box hidden */\n padding: 0;\n margin-bottom: 0;\n}\n\n.quick-input-and-message {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n min-width: 0;\n position: relative;\n}\n\n.quick-input-check-all {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-filter {\n flex-grow: 1;\n display: flex;\n position: relative;\n}\n\n.quick-input-box {\n flex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n margin-left: 5px;\n}\n\n.quick-input-visible-count {\n position: absolute;\n left: -10000px;\n}\n\n.quick-input-count {\n align-self: center;\n position: absolute;\n right: 4px;\n display: flex;\n align-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n vertical-align: middle;\n padding: 2px 4px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n\n.quick-input-action {\n margin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n font-size: 11px;\n padding: 0 6px;\n display: flex;\n height: 25px;\n align-items: center;\n}\n\n.quick-input-message {\n margin-top: -1px;\n padding: 5px;\n overflow-wrap: break-word;\n}\n\n.quick-input-message > .codicon {\n margin: 0 0.2em;\n vertical-align: text-bottom;\n}\n\n/* Links in descriptions & validations */\n.quick-input-message a {\n color: inherit;\n}\n\n.quick-input-progress.monaco-progress-container {\n position: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n height: 2px;\n}\n\n.quick-input-list {\n line-height: 22px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n margin-top: 4px; /* reduce margins when input box hidden */\n padding-bottom: 4px;\n}\n\n.quick-input-list .monaco-list {\n overflow: hidden;\n max-height: calc(20 * 22px);\n padding-bottom: 5px;\n}\n\n.quick-input-list .monaco-scrollable-element {\n padding: 0px 5px;\n}\n\n.quick-input-list .quick-input-list-entry {\n box-sizing: border-box;\n overflow: hidden;\n display: flex;\n height: 100%;\n padding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n border-top-width: 1px;\n border-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row {\n border-radius: 3px;\n}\n\n.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border {\n border-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n overflow: hidden;\n display: flex;\n height: 100%;\n flex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n overflow: hidden;\n text-overflow: ellipsis;\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n margin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n margin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n display: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n display: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n display: flex;\n align-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n flex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n vertical-align: text-bottom;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label > span {\n opacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n margin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n opacity: 0.7;\n line-height: normal;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n margin-right: 4px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n display: flex;\n flex: 0;\n overflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n /*\n * By default, actions in the quick input action bar are hidden\n * until hovered over them or selected.\n */\n display: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n margin-right: 4px;\n padding: 0px 2px 2px 2px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n display: flex;\n}\n\n/* focused items in quick pick */\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {\n color: inherit\n}\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key {\n background: none;\n}\n",""]);let a=s},69730:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .zone-widget .codicon.codicon-error,\n.markers-panel .marker-icon.error, .markers-panel .marker-icon .codicon.codicon-error,\n.text-search-provider-messages .providerMessage .codicon.codicon-error,\n.extensions-viewlet > .extensions .codicon.codicon-error,\n.extension-editor .codicon.codicon-error,\n.preferences-editor .codicon.codicon-error {\n color: var(--vscode-problemsErrorIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-warning,\n.markers-panel .marker-icon.warning, .markers-panel .marker-icon .codicon.codicon-warning,\n.text-search-provider-messages .providerMessage .codicon.codicon-warning,\n.extensions-viewlet > .extensions .codicon.codicon-warning,\n.extension-editor .codicon.codicon-warning,\n.preferences-editor .codicon.codicon-warning {\n color: var(--vscode-problemsWarningIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-info,\n.markers-panel .marker-icon.info, .markers-panel .marker-icon .codicon.codicon-info,\n.text-search-provider-messages .providerMessage .codicon.codicon-info,\n.extensions-viewlet > .extensions .codicon.codicon-info,\n.extension-editor .codicon.codicon-info,\n.preferences-editor .codicon.codicon-info {\n color: var(--vscode-problemsInfoIcon-foreground);\n}\n",""]);let a=s},82609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var a=0;a0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),i&&(d[2]&&(d[1]="@media ".concat(d[2]," {").concat(d[1],"}")),d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},78991:e=>{"use strict";e.exports=function(e,t){return(t||(t={}),e&&(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes))?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e}},39601:e=>{"use strict";e.exports=function(e){return e[1]}},22194:(e,t,i)=>{"use strict";i.r(t),i.d(t,{add:()=>u,addBusinessDays:()=>g,addDays:()=>a,addHours:()=>f,addISOWeekYears:()=>k,addMilliseconds:()=>p,addMinutes:()=>E,addMonths:()=>l,addQuarters:()=>L,addSeconds:()=>D,addWeeks:()=>N,addYears:()=>A,areIntervalsOverlapping:()=>T,clamp:()=>R,closestIndexTo:()=>P,closestTo:()=>O,compareAsc:()=>F,compareDesc:()=>B,daysInWeek:()=>V,daysInYear:()=>H,daysToWeeks:()=>en,differenceInBusinessDays:()=>ea,differenceInCalendarDays:()=>S,differenceInCalendarISOWeekYears:()=>el,differenceInCalendarISOWeeks:()=>eu,differenceInCalendarMonths:()=>ed,differenceInCalendarQuarters:()=>eh,differenceInCalendarWeeks:()=>eg,differenceInCalendarYears:()=>ep,differenceInDays:()=>em,differenceInHours:()=>e_,differenceInISOWeekYears:()=>eC,differenceInMilliseconds:()=>ev,differenceInMinutes:()=>eS,differenceInMonths:()=>eL,differenceInQuarters:()=>eD,differenceInSeconds:()=>eN,differenceInWeeks:()=>eA,differenceInYears:()=>eT,eachDayOfInterval:()=>eI,eachHourOfInterval:()=>eM,eachMinuteOfInterval:()=>eP,eachMonthOfInterval:()=>eO,eachQuarterOfInterval:()=>eB,eachWeekOfInterval:()=>eV,eachWeekendOfInterval:()=>eH,eachWeekendOfMonth:()=>ej,eachWeekendOfYear:()=>e$,eachYearOfInterval:()=>eq,endOfDay:()=>ex,endOfDecade:()=>eK,endOfHour:()=>eG,endOfISOWeek:()=>eY,endOfISOWeekYear:()=>eQ,endOfMinute:()=>eJ,endOfMonth:()=>ek,endOfQuarter:()=>eX,endOfSecond:()=>e0,endOfToday:()=>e1,endOfTomorrow:()=>e2,endOfWeek:()=>eZ,endOfYear:()=>ez,endOfYesterday:()=>e6,format:()=>tD,formatDistance:()=>tA,formatDistanceStrict:()=>tT,formatDistanceToNow:()=>tI,formatDistanceToNowStrict:()=>tM,formatDuration:()=>tP,formatISO:()=>tO,formatISO9075:()=>tF,formatISODuration:()=>tB,formatRFC3339:()=>tV,formatRFC7231:()=>tj,formatRelative:()=>tz,fromUnixTime:()=>tU,getDate:()=>t$,getDay:()=>tq,getDayOfYear:()=>tK,getDaysInMonth:()=>tG,getDaysInYear:()=>tY,getDecade:()=>tQ,getDefaultOptions:()=>tJ,getHours:()=>tX,getISODay:()=>t0,getISOWeek:()=>t1,getISOWeekYear:()=>y,getISOWeeksInYear:()=>t2,getMilliseconds:()=>t6,getMinutes:()=>t3,getMonth:()=>t8,getOverlappingDaysInIntervals:()=>t5,getQuarter:()=>ec,getSeconds:()=>t4,getTime:()=>t9,getUnixTime:()=>t7,getWeek:()=>ii,getWeekOfMonth:()=>ir,getWeekYear:()=>ie,getWeeksInMonth:()=>is,getYear:()=>ia,hoursToMilliseconds:()=>il,hoursToMinutes:()=>iu,hoursToSeconds:()=>id,intervalToDuration:()=>ic,intlFormat:()=>ih,intlFormatDistance:()=>ig,isAfter:()=>ip,isBefore:()=>im,isDate:()=>eo,isEqual:()=>iv,isExists:()=>ib,isFirstDayOfMonth:()=>iy,isFriday:()=>i_,isFuture:()=>iw,isLastDayOfMonth:()=>eE,isLeapYear:()=>tZ,isMatch:()=>nL,isMonday:()=>nD,isPast:()=>nN,isSameDay:()=>er,isSameHour:()=>nT,isSameISOWeek:()=>nM,isSameISOWeekYear:()=>nR,isSameMinute:()=>nP,isSameMonth:()=>nO,isSameQuarter:()=>nF,isSameSecond:()=>nV,isSameWeek:()=>nI,isSameYear:()=>nH,isSaturday:()=>h,isSunday:()=>c,isThisHour:()=>nW,isThisISOWeek:()=>nj,isThisMinute:()=>nz,isThisMonth:()=>nU,isThisQuarter:()=>n$,isThisSecond:()=>nq,isThisWeek:()=>nK,isThisYear:()=>nG,isThursday:()=>nZ,isToday:()=>nY,isTomorrow:()=>nQ,isTuesday:()=>nJ,isValid:()=>es,isWednesday:()=>nX,isWeekend:()=>d,isWithinInterval:()=>n0,isYesterday:()=>n2,lastDayOfDecade:()=>n6,lastDayOfISOWeek:()=>n8,lastDayOfISOWeekYear:()=>n5,lastDayOfMonth:()=>io,lastDayOfQuarter:()=>n4,lastDayOfWeek:()=>n3,lastDayOfYear:()=>n9,lightFormat:()=>rn,max:()=>I,maxTime:()=>W,milliseconds:()=>rr,millisecondsInHour:()=>z,millisecondsInMinute:()=>j,millisecondsInSecond:()=>U,millisecondsToHours:()=>ro,millisecondsToMinutes:()=>rs,millisecondsToSeconds:()=>ra,min:()=>M,minTime:()=>$,minutesInHour:()=>q,minutesToHours:()=>rl,minutesToMilliseconds:()=>ru,minutesToSeconds:()=>rd,monthsInQuarter:()=>K,monthsInYear:()=>G,monthsToQuarters:()=>rc,monthsToYears:()=>rh,nextDay:()=>rg,nextFriday:()=>rp,nextMonday:()=>rf,nextSaturday:()=>rm,nextSunday:()=>rv,nextThursday:()=>rb,nextTuesday:()=>ry,nextWednesday:()=>r_,parse:()=>nE,parseISO:()=>rw,parseJSON:()=>rA,previousDay:()=>rT,previousFriday:()=>rI,previousMonday:()=>rM,previousSaturday:()=>rR,previousSunday:()=>rP,previousThursday:()=>rO,previousTuesday:()=>rF,previousWednesday:()=>rB,quartersInYear:()=>Z,quartersToMonths:()=>rV,quartersToYears:()=>rH,roundToNearestMinutes:()=>rW,secondsInDay:()=>J,secondsInHour:()=>Y,secondsInMinute:()=>Q,secondsInMonth:()=>et,secondsInQuarter:()=>ei,secondsInWeek:()=>X,secondsInYear:()=>ee,secondsToHours:()=>rj,secondsToMilliseconds:()=>rz,secondsToMinutes:()=>rU,set:()=>rq,setDate:()=>rK,setDay:()=>rG,setDayOfYear:()=>rZ,setDefaultOptions:()=>rY,setHours:()=>rQ,setISODay:()=>rJ,setISOWeek:()=>rX,setISOWeekYear:()=>x,setMilliseconds:()=>r0,setMinutes:()=>r1,setMonth:()=>r$,setQuarter:()=>r2,setSeconds:()=>r6,setWeek:()=>r3,setWeekYear:()=>r8,setYear:()=>r5,startOfDay:()=>C,startOfDecade:()=>r4,startOfHour:()=>nA,startOfISOWeek:()=>b,startOfISOWeekYear:()=>_,startOfMinute:()=>eR,startOfMonth:()=>eW,startOfQuarter:()=>eF,startOfSecond:()=>nB,startOfToday:()=>r9,startOfTomorrow:()=>r7,startOfWeek:()=>v,startOfWeekYear:()=>it,startOfYear:()=>eU,startOfYesterday:()=>oe,sub:()=>oi,subBusinessDays:()=>on,subDays:()=>n1,subHours:()=>or,subISOWeekYears:()=>ew,subMilliseconds:()=>e3,subMinutes:()=>oo,subMonths:()=>ot,subQuarters:()=>os,subSeconds:()=>oa,subWeeks:()=>ol,subYears:()=>ou,toDate:()=>s,weeksToDays:()=>od,yearsToMonths:()=>oc,yearsToQuarters:()=>oh});var n=i(90929);function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function o(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function s(e){o(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}function a(e,t){o(2,arguments);var i=s(e),n=r(t);return isNaN(n)?new Date(NaN):(n&&i.setDate(i.getDate()+n),i)}function l(e,t){o(2,arguments);var i=s(e),n=r(t);if(isNaN(n))return new Date(NaN);if(!n)return i;var a=i.getDate(),l=new Date(i.getTime());return(l.setMonth(i.getMonth()+n+1,0),a>=l.getDate())?l:(i.setFullYear(l.getFullYear(),l.getMonth(),a),i)}function u(e,t){if(o(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN);var i=t.years?r(t.years):0,u=t.months?r(t.months):0,d=t.weeks?r(t.weeks):0,c=t.days?r(t.days):0,h=t.hours?r(t.hours):0,g=t.minutes?r(t.minutes):0,p=t.seconds?r(t.seconds):0,f=s(e),m=u||i?l(f,u+12*i):f,v=c||d?a(m,c+7*d):m;return new Date(v.getTime()+1e3*(p+60*(g+60*h)))}function d(e){o(1,arguments);var t=s(e).getDay();return 0===t||6===t}function c(e){return o(1,arguments),0===s(e).getDay()}function h(e){return o(1,arguments),6===s(e).getDay()}function g(e,t){o(2,arguments);var i=s(e),n=d(i),a=r(t);if(isNaN(a))return new Date(NaN);var l=i.getHours(),u=a<0?-1:1,g=r(a/5);i.setDate(i.getDate()+7*g);for(var p=Math.abs(a%5);p>0;)i.setDate(i.getDate()+u),d(i)||(p-=1);return n&&d(i)&&0!==a&&(h(i)&&i.setDate(i.getDate()+(u<0?2:-1)),c(i)&&i.setDate(i.getDate()+(u<0?1:-2))),i.setHours(l),i}function p(e,t){o(2,arguments);var i=s(e).getTime(),n=r(t);return new Date(i+n)}function f(e,t){return o(2,arguments),p(e,36e5*r(t))}var m={};function v(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getDay();return f.setDate(f.getDate()-((v=r.getTime()?i+1:t.getTime()>=l.getTime()?i:i-1}function _(e){o(1,arguments);var t=y(e),i=new Date(0);return i.setFullYear(t,0,4),i.setHours(0,0,0,0),b(i)}function w(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function C(e){o(1,arguments);var t=s(e);return t.setHours(0,0,0,0),t}function S(e,t){o(2,arguments);var i=C(e),n=C(t);return Math.round((i.getTime()-w(i)-(n.getTime()-w(n)))/864e5)}function x(e,t){o(2,arguments);var i=s(e),n=r(t),a=S(i,_(i)),l=new Date(0);return l.setFullYear(n,0,4),l.setHours(0,0,0,0),(i=_(l)).setDate(i.getDate()+a),i}function k(e,t){o(2,arguments);var i=r(t);return x(e,y(e)+i)}function E(e,t){return o(2,arguments),p(e,6e4*r(t))}function L(e,t){return o(2,arguments),l(e,3*r(t))}function D(e,t){return o(2,arguments),p(e,1e3*r(t))}function N(e,t){return o(2,arguments),a(e,7*r(t))}function A(e,t){return o(2,arguments),l(e,12*r(t))}function T(e,t,i){o(2,arguments);var n=s(null==e?void 0:e.start).getTime(),r=s(null==e?void 0:e.end).getTime(),a=s(null==t?void 0:t.start).getTime(),l=s(null==t?void 0:t.end).getTime();if(!(n<=r&&a<=l))throw RangeError("Invalid interval");return null!=i&&i.inclusive?n<=l&&a<=r:nt||isNaN(t.getDate()))&&(i=t)}),i||new Date(NaN)}function R(e,t){var i=t.start,n=t.end;return o(2,arguments),M([I([e,i]),n])}function P(e,t){o(2,arguments);var i,n,r=s(e);if(isNaN(Number(r)))return NaN;var a=r.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach(function(e,t){var r=s(e);if(isNaN(Number(r))){i=NaN,n=NaN;return}var o=Math.abs(a-r.getTime());(null==i||o0?1:r}function B(e,t){o(2,arguments);var i=s(e),n=s(t),r=i.getTime()-n.getTime();return r>0?-1:r<0?1:r}var V=7,H=365.2425,W=864e13,j=6e4,z=36e5,U=1e3,$=-864e13,q=60,K=3,G=12,Z=4,Y=3600,Q=60,J=86400,X=604800,ee=31556952,et=2629746,ei=7889238;function en(e){return o(1,arguments),Math.floor(e/V)}function er(e,t){o(2,arguments);var i=C(e),n=C(t);return i.getTime()===n.getTime()}function eo(e){return o(1,arguments),e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}function es(e){return o(1,arguments),(!!eo(e)||"number"==typeof e)&&!isNaN(Number(s(e)))}function ea(e,t){o(2,arguments);var i=s(e),n=s(t);if(!es(i)||!es(n))return NaN;var l=S(i,n),u=l<0?-1:1,c=r(l/7),h=5*c;for(n=a(n,7*c);!er(i,n);)h+=d(n)?0:u,n=a(n,u);return 0===h?0:h}function el(e,t){return o(2,arguments),y(e)-y(t)}function eu(e,t){o(2,arguments);var i=b(e),n=b(t);return Math.round((i.getTime()-w(i)-(n.getTime()-w(n)))/6048e5)}function ed(e,t){o(2,arguments);var i=s(e),n=s(t);return 12*(i.getFullYear()-n.getFullYear())+(i.getMonth()-n.getMonth())}function ec(e){return o(1,arguments),Math.floor(s(e).getMonth()/3)+1}function eh(e,t){o(2,arguments);var i=s(e),n=s(t);return 4*(i.getFullYear()-n.getFullYear())+(ec(i)-ec(n))}function eg(e,t,i){o(2,arguments);var n=v(e,i),r=v(t,i);return Math.round((n.getTime()-w(n)-(r.getTime()-w(r)))/6048e5)}function ep(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getFullYear()-n.getFullYear()}function ef(e,t){var i=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return i<0?-1:i>0?1:i}function em(e,t){o(2,arguments);var i=s(e),n=s(t),r=ef(i,n),a=Math.abs(S(i,n));i.setDate(i.getDate()-r*a);var l=Number(ef(i,n)===-r),u=r*(a-l);return 0===u?0:u}function ev(e,t){return o(2,arguments),s(e).getTime()-s(t).getTime()}var eb={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function ey(e){return e?eb[e]:eb.trunc}function e_(e,t,i){o(2,arguments);var n=ev(e,t)/z;return ey(null==i?void 0:i.roundingMethod)(n)}function ew(e,t){return o(2,arguments),k(e,-r(t))}function eC(e,t){o(2,arguments);var i=s(e),n=s(t),r=F(i,n),a=Math.abs(el(i,n)),l=Number(F(i=ew(i,r*a),n)===-r),u=r*(a-l);return 0===u?0:u}function eS(e,t,i){o(2,arguments);var n=ev(e,t)/j;return ey(null==i?void 0:i.roundingMethod)(n)}function ex(e){o(1,arguments);var t=s(e);return t.setHours(23,59,59,999),t}function ek(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(23,59,59,999),t}function eE(e){o(1,arguments);var t=s(e);return ex(t).getTime()===ek(t).getTime()}function eL(e,t){o(2,arguments);var i,n=s(e),r=s(t),a=F(n,r),l=Math.abs(ed(n,r));if(l<1)i=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*l);var u=F(n,r)===-a;eE(s(e))&&1===l&&1===F(e,r)&&(u=!1),i=a*(l-Number(u))}return 0===i?0:i}function eD(e,t,i){o(2,arguments);var n=eL(e,t)/3;return ey(null==i?void 0:i.roundingMethod)(n)}function eN(e,t,i){o(2,arguments);var n=ev(e,t)/1e3;return ey(null==i?void 0:i.roundingMethod)(n)}function eA(e,t,i){o(2,arguments);var n=em(e,t)/7;return ey(null==i?void 0:i.roundingMethod)(n)}function eT(e,t){o(2,arguments);var i=s(e),n=s(t),r=F(i,n),a=Math.abs(ep(i,n));i.setFullYear(1584),n.setFullYear(1584);var l=F(i,n)===-r,u=r*(a-Number(l));return 0===u?0:u}function eI(e,t){o(1,arguments);var i,n=e||{},r=s(n.start),a=s(n.end).getTime();if(!(r.getTime()<=a))throw RangeError("Invalid interval");var l=[];r.setHours(0,0,0,0);var u=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(u<1||isNaN(u))throw RangeError("`options.step` must be a number greater than 1");for(;r.getTime()<=a;)l.push(s(r)),r.setDate(r.getDate()+u),r.setHours(0,0,0,0);return l}function eM(e,t){o(1,arguments);var i,n=e||{},r=s(n.start),a=s(n.end),l=r.getTime(),u=a.getTime();if(!(l<=u))throw RangeError("Invalid interval");var d=[],c=r;c.setMinutes(0,0,0);var h=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(h<1||isNaN(h))throw RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=u;)d.push(s(c)),c=f(c,h);return d}function eR(e){o(1,arguments);var t=s(e);return t.setSeconds(0,0),t}function eP(e,t){o(1,arguments);var i,n=eR(s(e.start)),r=s(e.end),a=n.getTime(),l=r.getTime();if(a>=l)throw RangeError("Invalid interval");var u=[],d=n,c=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(c<1||isNaN(c))throw RangeError("`options.step` must be a number equal to or greater than 1");for(;d.getTime()<=l;)u.push(s(d)),d=E(d,c);return u}function eO(e){o(1,arguments);var t=e||{},i=s(t.start),n=s(t.end).getTime(),r=[];if(!(i.getTime()<=n))throw RangeError("Invalid interval");for(i.setHours(0,0,0,0),i.setDate(1);i.getTime()<=n;)r.push(s(i)),i.setMonth(i.getMonth()+1);return r}function eF(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setMonth(i-i%3,1),t.setHours(0,0,0,0),t}function eB(e){o(1,arguments);var t=e||{},i=s(t.start),n=s(t.end),r=n.getTime();if(!(i.getTime()<=r))throw RangeError("Invalid interval");var a=eF(i);r=eF(n).getTime();for(var l=[],u=a;u.getTime()<=r;)l.push(s(u)),u=L(u,1);return l}function eV(e,t){o(1,arguments);var i=e||{},n=s(i.start),r=s(i.end),a=r.getTime();if(!(n.getTime()<=a))throw RangeError("Invalid interval");var l=v(n,t),u=v(r,t);l.setHours(15),u.setHours(15),a=u.getTime();for(var d=[],c=l;c.getTime()<=a;)c.setHours(0),d.push(s(c)),(c=N(c,1)).setHours(15);return d}function eH(e){o(1,arguments);for(var t=eI(e),i=[],n=0;n=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getDay();return f.setDate(f.getDate()+((v=r.getTime()?i+1:t.getTime()>=l.getTime()?i:i-1}function e4(e){o(1,arguments);var t=s(e);return Math.round((e8(t).getTime()-(function(e){o(1,arguments);var t=e5(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),e8(i)})(t).getTime())/6048e5)+1}function e9(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getUTCDay();return f.setUTCDate(f.getUTCDate()-((v=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(p+1,0,v),b.setUTCHours(0,0,0,0);var y=e9(b,t),_=new Date(0);_.setUTCFullYear(p,0,v),_.setUTCHours(0,0,0,0);var w=e9(_,t);return g.getTime()>=y.getTime()?p+1:g.getTime()>=w.getTime()?p:p-1}function te(e,t){o(1,arguments);var i=s(e);return Math.round((e9(i,t).getTime()-(function(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==s?s:h.firstWeekContainsDate)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:1),p=e7(e,t),f=new Date(0);return f.setUTCFullYear(p,0,g),f.setUTCHours(0,0,0,0),e9(f,t)})(i,t).getTime())/6048e5)+1}function tt(e,t){for(var i=Math.abs(e).toString();i.length0?i:1-i;return tt("yy"===t?n%100:n,t.length)},M:function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):tt(i+1,2)},d:function(e,t){return tt(e.getUTCDate(),t.length)},a:function(e,t){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:function(e,t){return tt(e.getUTCHours()%12||12,t.length)},H:function(e,t){return tt(e.getUTCHours(),t.length)},m:function(e,t){return tt(e.getUTCMinutes(),t.length)},s:function(e,t){return tt(e.getUTCSeconds(),t.length)},S:function(e,t){var i=t.length;return tt(Math.floor(e.getUTCMilliseconds()*Math.pow(10,i-3)),t.length)}};var tn={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function tr(e,t){var i=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),o=n%60;return 0===o?i+String(r):i+String(r)+(t||"")+tt(o,2)}function to(e,t){return e%60==0?(e>0?"-":"+")+tt(Math.abs(e)/60,2):ts(e,t)}function ts(e,t){var i=e>0?"-":"+",n=Math.abs(e);return i+tt(Math.floor(n/60),2)+(t||"")+tt(n%60,2)}let ta={G:function(e,t,i){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});default:return i.era(n,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return i.ordinalNumber(r,{unit:"year"})}return ti.y(e,t)},Y:function(e,t,i,n){var r=e7(e,n),o=r>0?r:1-r;return"YY"===t?tt(o%100,2):"Yo"===t?i.ordinalNumber(o,{unit:"year"}):tt(o,t.length)},R:function(e,t){return tt(e5(e),t.length)},u:function(e,t){return tt(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return tt(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return tt(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,i){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ti.M(e,t);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,i){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return tt(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,i,n){var r=te(e,n);return"wo"===t?i.ordinalNumber(r,{unit:"week"}):tt(r,t.length)},I:function(e,t,i){var n=e4(e);return"Io"===t?i.ordinalNumber(n,{unit:"week"}):tt(n,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):ti.d(e,t)},D:function(e,t,i){var n=function(e){o(1,arguments);var t=s(e),i=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((i-t.getTime())/864e5)+1}(e);return"Do"===t?i.ordinalNumber(n,{unit:"dayOfYear"}):tt(n,t.length)},E:function(e,t,i){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,i,n){var r=e.getUTCDay(),o=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return tt(o,2);case"eo":return i.ordinalNumber(o,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,i,n){var r=e.getUTCDay(),o=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return tt(o,t.length);case"co":return i.ordinalNumber(o,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,i){var n=e.getUTCDay(),r=0===n?7:n;switch(t){case"i":return String(r);case"ii":return tt(r,t.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,i){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){var n,r=e.getUTCHours();switch(n=12===r?tn.noon:0===r?tn.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,i){var n,r=e.getUTCHours();switch(n=r>=17?tn.evening:r>=12?tn.afternoon:r>=4?tn.morning:tn.night,t){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return ti.h(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ti.H(e,t)},K:function(e,t,i){var n=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(n,{unit:"hour"}):tt(n,t.length)},k:function(e,t,i){var n=e.getUTCHours();return(0===n&&(n=24),"ko"===t)?i.ordinalNumber(n,{unit:"hour"}):tt(n,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ti.m(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ti.s(e,t)},S:function(e,t){return ti.S(e,t)},X:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return to(r);case"XXXX":case"XX":return ts(r);default:return ts(r,":")}},x:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return to(r);case"xxxx":case"xx":return ts(r);default:return ts(r,":")}},O:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+tr(r,":");default:return"GMT"+ts(r,":")}},z:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+tr(r,":");default:return"GMT"+ts(r,":")}},t:function(e,t,i,n){return tt(Math.floor((n._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,n){return tt((n._originalDate||e).getTime(),t.length)}};var tl=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},tu=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};let td={p:tu,P:function(e,t){var i,n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return tl(e,t);switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",tl(r,t)).replace("{{time}}",tu(o,t))}};var tc=["D","DD"],th=["YY","YYYY"];function tg(e){return -1!==tc.indexOf(e)}function tp(e){return -1!==th.indexOf(e)}function tf(e,t,i){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var tm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function tv(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var tb={date:tv({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:tv({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:tv({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ty={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function t_(e){return function(t,i){var n;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,o=null!=i&&i.width?String(i.width):r;n=e.formattingValues[o]||e.formattingValues[r]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;n=e.values[a]||e.values[s]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function tw(e){return function(t){var i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;var a=s[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var i=0;i0?"in "+n:n+" ago":n},formatLong:tb,formatRelative:function(e,t,i,n){return ty[e]},localize:{ordinalNumber:function(e,t){var i=Number(e),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:t_({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:t_({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t_({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:t_({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:t_({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:s=i.valueCallback?i.valueCallback(s):s,rest:t.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:tw({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:tw({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:tw({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:tw({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:tw({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var tS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tx=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tk=/^'([^]*?)'?$/,tE=/''/g,tL=/[a-zA-Z]/;function tD(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p,f,v,b,y,_,C,S,x,k,E=String(t),L=m,D=null!==(n=null!==(a=null==i?void 0:i.locale)&&void 0!==a?a:L.locale)&&void 0!==n?n:tC,N=r(null!==(l=null!==(u=null!==(d=null!==(c=null==i?void 0:i.firstWeekContainsDate)&&void 0!==c?c:null==i?void 0:null===(h=i.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==d?d:L.firstWeekContainsDate)&&void 0!==u?u:null===(p=L.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:1);if(!(N>=1&&N<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=r(null!==(v=null!==(b=null!==(y=null!==(_=null==i?void 0:i.weekStartsOn)&&void 0!==_?_:null==i?void 0:null===(C=i.locale)||void 0===C?void 0:null===(S=C.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==y?y:L.weekStartsOn)&&void 0!==b?b:null===(x=L.locale)||void 0===x?void 0:null===(k=x.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==v?v:0);if(!(A>=0&&A<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw RangeError("locale must contain localize property");if(!D.formatLong)throw RangeError("locale must contain formatLong property");var T=s(e);if(!es(T))throw RangeError("Invalid time value");var I=w(T),M=e3(T,I),R={firstWeekContainsDate:N,weekStartsOn:A,locale:D,_originalDate:T};return E.match(tx).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,td[t])(e,D.formatLong):e}).join("").match(tS).map(function(n){if("''"===n)return"'";var r,o=n[0];if("'"===o)return(r=n.match(tk))?r[1].replace(tE,"'"):n;var s=ta[o];if(s)return!(null!=i&&i.useAdditionalWeekYearTokens)&&tp(n)&&tf(n,t,String(e)),!(null!=i&&i.useAdditionalDayOfYearTokens)&&tg(n)&&tf(n,t,String(e)),s(M,n,D.localize,R);if(o.match(tL))throw RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n}).join("")}function tN(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function tA(e,t,i){o(2,arguments);var n,r,a,l,u,d=m,c=null!==(n=null!==(r=null==i?void 0:i.locale)&&void 0!==r?r:d.locale)&&void 0!==n?n:tC;if(!c.formatDistance)throw RangeError("locale must contain formatDistance property");var h=F(e,t);if(isNaN(h))throw RangeError("Invalid time value");var g=tN(tN({},i),{addSuffix:!!(null==i?void 0:i.addSuffix),comparison:h});h>0?(a=s(t),l=s(e)):(a=s(e),l=s(t));var p=eN(l,a),f=Math.round((p-(w(l)-w(a))/1e3)/60);if(f<2)return null!=i&&i.includeSeconds?p<5?c.formatDistance("lessThanXSeconds",5,g):p<10?c.formatDistance("lessThanXSeconds",10,g):p<20?c.formatDistance("lessThanXSeconds",20,g):p<40?c.formatDistance("halfAMinute",0,g):p<60?c.formatDistance("lessThanXMinutes",1,g):c.formatDistance("xMinutes",1,g):0===f?c.formatDistance("lessThanXMinutes",1,g):c.formatDistance("xMinutes",f,g);if(f<45)return c.formatDistance("xMinutes",f,g);if(f<90)return c.formatDistance("aboutXHours",1,g);if(f<1440){var v=Math.round(f/60);return c.formatDistance("aboutXHours",v,g)}if(f<2520)return c.formatDistance("xDays",1,g);if(f<43200){var b=Math.round(f/1440);return c.formatDistance("xDays",b,g)}if(f<86400)return u=Math.round(f/43200),c.formatDistance("aboutXMonths",u,g);if((u=eL(l,a))<12){var y=Math.round(f/43200);return c.formatDistance("xMonths",y,g)}var _=u%12,C=Math.floor(u/12);return _<3?c.formatDistance("aboutXYears",C,g):_<9?c.formatDistance("overXYears",C,g):c.formatDistance("almostXYears",C+1,g)}function tT(e,t,i){o(2,arguments);var n,r,a,l,u,d,c,h=m,g=null!==(n=null!==(r=null==i?void 0:i.locale)&&void 0!==r?r:h.locale)&&void 0!==n?n:tC;if(!g.formatDistance)throw RangeError("locale must contain localize.formatDistance property");var p=F(e,t);if(isNaN(p))throw RangeError("Invalid time value");var f=tN(tN({},i),{addSuffix:!!(null==i?void 0:i.addSuffix),comparison:p});p>0?(l=s(t),u=s(e)):(l=s(e),u=s(t));var v=String(null!==(a=null==i?void 0:i.roundingMethod)&&void 0!==a?a:"round");if("floor"===v)d=Math.floor;else if("ceil"===v)d=Math.ceil;else if("round"===v)d=Math.round;else throw RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var b=u.getTime()-l.getTime(),y=b/6e4,_=(b-(w(u)-w(l)))/6e4,C=null==i?void 0:i.unit;if("second"===(c=C?String(C):y<1?"second":y<60?"minute":y<1440?"hour":_<43200?"day":_<525600?"month":"year")){var S=d(b/1e3);return g.formatDistance("xSeconds",S,f)}if("minute"===c){var x=d(y);return g.formatDistance("xMinutes",x,f)}if("hour"===c){var k=d(y/60);return g.formatDistance("xHours",k,f)}if("day"===c){var E=d(_/1440);return g.formatDistance("xDays",E,f)}if("month"===c){var L=d(_/43200);return 12===L&&"month"!==C?g.formatDistance("xYears",1,f):g.formatDistance("xMonths",L,f)}if("year"===c){var D=d(_/525600);return g.formatDistance("xYears",D,f)}throw RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function tI(e,t){return o(1,arguments),tA(e,Date.now(),t)}function tM(e,t){return o(1,arguments),tT(e,Date.now(),t)}var tR=["years","months","weeks","days","hours","minutes","seconds"];function tP(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only ".concat(arguments.length," present"));var i,n,r,o,s,a=m,l=null!==(i=null!==(n=null==t?void 0:t.locale)&&void 0!==n?n:a.locale)&&void 0!==i?i:tC,u=null!==(r=null==t?void 0:t.format)&&void 0!==r?r:tR,d=null!==(o=null==t?void 0:t.zero)&&void 0!==o&&o,c=null!==(s=null==t?void 0:t.delimiter)&&void 0!==s?s:" ";return l.formatDistance?u.reduce(function(t,i){var n="x".concat(i.replace(/(^.)/,function(e){return e.toUpperCase()})),r=e[i];return"number"==typeof r&&(d||e[i])?t.concat(l.formatDistance(n,r)):t},[]).join(c):""}function tO(e,t){o(1,arguments);var i,n,r=s(e);if(isNaN(r.getTime()))throw RangeError("Invalid time value");var a=String(null!==(i=null==t?void 0:t.format)&&void 0!==i?i:"extended"),l=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete");if("extended"!==a&&"basic"!==a)throw RangeError("format must be 'extended' or 'basic'");if("date"!==l&&"time"!==l&&"complete"!==l)throw RangeError("representation must be 'date', 'time', or 'complete'");var u="",d="",c="extended"===a?"-":"";if("time"!==l){var h=tt(r.getDate(),2),g=tt(r.getMonth()+1,2),p=tt(r.getFullYear(),4);u="".concat(p).concat(c).concat(g).concat(c).concat(h)}if("date"!==l){var f=r.getTimezoneOffset();if(0!==f){var m=Math.abs(f),v=tt(Math.floor(m/60),2),b=tt(m%60,2);d="".concat(f<0?"+":"-").concat(v,":").concat(b)}else d="Z";var y=tt(r.getHours(),2),_=tt(r.getMinutes(),2),w=tt(r.getSeconds(),2),C=""===u?"":"T",S=[y,_,w].join("extended"===a?":":"");u="".concat(u).concat(C).concat(S).concat(d)}return u}function tF(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only ".concat(arguments.length," present"));var i,n,r=s(e);if(!es(r))throw RangeError("Invalid time value");var o=String(null!==(i=null==t?void 0:t.format)&&void 0!==i?i:"extended"),a=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete");if("extended"!==o&&"basic"!==o)throw RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw RangeError("representation must be 'date', 'time', or 'complete'");var l="",u="extended"===o?"-":"",d="extended"===o?":":"";if("time"!==a){var c=tt(r.getDate(),2),h=tt(r.getMonth()+1,2),g=tt(r.getFullYear(),4);l="".concat(g).concat(u).concat(h).concat(u).concat(c)}if("date"!==a){var p=tt(r.getHours(),2),f=tt(r.getMinutes(),2),m=tt(r.getSeconds(),2),v=""===l?"":" ";l="".concat(l).concat(v).concat(p).concat(d).concat(f).concat(d).concat(m)}return l}function tB(e){if(o(1,arguments),"object"!==(0,n.Z)(e))throw Error("Duration must be an object");var t=e.years,i=e.months,r=void 0===i?0:i,s=e.days,a=void 0===s?0:s,l=e.hours,u=void 0===l?0:l,d=e.minutes,c=void 0===d?0:d,h=e.seconds,g=void 0===h?0:h;return"P".concat(void 0===t?0:t,"Y").concat(r,"M").concat(a,"DT").concat(u,"H").concat(c,"M").concat(g,"S")}function tV(e,t){if(arguments.length<1)throw TypeError("1 arguments required, but only ".concat(arguments.length," present"));var i,n=s(e);if(!es(n))throw RangeError("Invalid time value");var o=Number(null!==(i=null==t?void 0:t.fractionDigits)&&void 0!==i?i:0);if(!(o>=0&&o<=3))throw RangeError("fractionDigits must be between 0 and 3 inclusively");var a=tt(n.getDate(),2),l=tt(n.getMonth()+1,2),u=n.getFullYear(),d=tt(n.getHours(),2),c=tt(n.getMinutes(),2),h=tt(n.getSeconds(),2),g="";o>0&&(g="."+tt(Math.floor(n.getMilliseconds()*Math.pow(10,o-3)),o));var p="",f=n.getTimezoneOffset();if(0!==f){var m=Math.abs(f),v=tt(r(m/60),2),b=tt(m%60,2);p="".concat(f<0?"+":"-").concat(v,":").concat(b)}else p="Z";return"".concat(u,"-").concat(l,"-").concat(a,"T").concat(d,":").concat(c,":").concat(h).concat(g).concat(p)}var tH=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],tW=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tj(e){if(arguments.length<1)throw TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=s(e);if(!es(t))throw RangeError("Invalid time value");var i=tH[t.getUTCDay()],n=tt(t.getUTCDate(),2),r=tW[t.getUTCMonth()],o=t.getUTCFullYear(),a=tt(t.getUTCHours(),2),l=tt(t.getUTCMinutes(),2),u=tt(t.getUTCSeconds(),2);return"".concat(i,", ").concat(n," ").concat(r," ").concat(o," ").concat(a,":").concat(l,":").concat(u," GMT")}function tz(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p,f,v=s(e),b=s(t),y=m,_=null!==(n=null!==(a=null==i?void 0:i.locale)&&void 0!==a?a:y.locale)&&void 0!==n?n:tC,C=r(null!==(l=null!==(u=null!==(d=null!==(c=null==i?void 0:i.weekStartsOn)&&void 0!==c?c:null==i?void 0:null===(h=i.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==d?d:y.weekStartsOn)&&void 0!==u?u:null===(p=y.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==l?l:0);if(!_.localize)throw RangeError("locale must contain localize property");if(!_.formatLong)throw RangeError("locale must contain formatLong property");if(!_.formatRelative)throw RangeError("locale must contain formatRelative property");var x=S(v,b);if(isNaN(x))throw RangeError("Invalid time value");var k=e3(v,w(v)),E=e3(b,w(b));return tD(v,_.formatRelative(x<-6?"other":x<-1?"lastWeek":x<0?"yesterday":x<1?"today":x<2?"tomorrow":x<7?"nextWeek":"other",k,E,{locale:_,weekStartsOn:C}),{locale:_,weekStartsOn:C})}function tU(e){return o(1,arguments),s(1e3*r(e))}function t$(e){return o(1,arguments),s(e).getDate()}function tq(e){return o(1,arguments),s(e).getDay()}function tK(e){o(1,arguments);var t=s(e);return S(t,eU(t))+1}function tG(e){o(1,arguments);var t=s(e),i=t.getFullYear(),n=t.getMonth(),r=new Date(0);return r.setFullYear(i,n+1,0),r.setHours(0,0,0,0),r.getDate()}function tZ(e){o(1,arguments);var t=s(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}function tY(e){o(1,arguments);var t=s(e);return"Invalid Date"===String(new Date(t))?NaN:tZ(t)?366:365}function tQ(e){return o(1,arguments),10*Math.floor(s(e).getFullYear()/10)}function tJ(){return tN({},m)}function tX(e){return o(1,arguments),s(e).getHours()}function t0(e){o(1,arguments);var t=s(e).getDay();return 0===t&&(t=7),t}function t1(e){o(1,arguments);var t=s(e);return Math.round((b(t).getTime()-_(t).getTime())/6048e5)+1}function t2(e){o(1,arguments);var t=_(e);return Math.round((_(N(t,60)).valueOf()-t.valueOf())/6048e5)}function t6(e){return o(1,arguments),s(e).getMilliseconds()}function t3(e){return o(1,arguments),s(e).getMinutes()}function t8(e){return o(1,arguments),s(e).getMonth()}function t5(e,t){o(2,arguments);var i=e||{},n=t||{},r=s(i.start).getTime(),a=s(i.end).getTime(),l=s(n.start).getTime(),u=s(n.end).getTime();if(!(r<=a&&l<=u))throw RangeError("Invalid interval");return ra?a:u)-(l=1&&b<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setFullYear(p+1,0,b),y.setHours(0,0,0,0);var _=v(y,t),w=new Date(0);w.setFullYear(p,0,b),w.setHours(0,0,0,0);var C=v(w,t);return g.getTime()>=_.getTime()?p+1:g.getTime()>=C.getTime()?p:p-1}function it(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==s?s:h.firstWeekContainsDate)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:1),p=ie(e,t),f=new Date(0);return f.setFullYear(p,0,g),f.setHours(0,0,0,0),v(f,t)}function ii(e,t){o(1,arguments);var i=s(e);return Math.round((v(i,t).getTime()-it(i,t).getTime())/6048e5)+1}function ir(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=t$(e);if(isNaN(p))return NaN;var f=g-tq(eW(e));return f<=0&&(f+=7),Math.ceil((p-f)/7)+1}function io(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(0,0,0,0),t}function is(e,t){return o(1,arguments),eg(io(e),eW(e),t)+1}function ia(e){return o(1,arguments),s(e).getFullYear()}function il(e){return o(1,arguments),Math.floor(e*z)}function iu(e){return o(1,arguments),Math.floor(e*q)}function id(e){return o(1,arguments),Math.floor(e*Y)}function ic(e){o(1,arguments);var t=s(e.start),i=s(e.end);if(isNaN(t.getTime()))throw RangeError("Start Date is invalid");if(isNaN(i.getTime()))throw RangeError("End Date is invalid");var n={};n.years=Math.abs(eT(i,t));var r=F(i,t),a=u(t,{years:r*n.years});n.months=Math.abs(eL(i,a));var l=u(a,{months:r*n.months});n.days=Math.abs(em(i,l));var d=u(l,{days:r*n.days});n.hours=Math.abs(e_(i,d));var c=u(d,{hours:r*n.hours});n.minutes=Math.abs(eS(i,c));var h=u(c,{minutes:r*n.minutes});return n.seconds=Math.abs(eN(i,h)),n}function ih(e,t,i){var n,r;return o(1,arguments),void 0===t||"locale"in t?i=t:r=t,new Intl.DateTimeFormat(null===(n=i)||void 0===n?void 0:n.locale,r).format(e)}function ig(e,t,i){o(2,arguments);var n,r=0,a=s(e),l=s(t);if(null!=i&&i.unit)"second"===(n=null==i?void 0:i.unit)?r=eN(a,l):"minute"===n?r=eS(a,l):"hour"===n?r=e_(a,l):"day"===n?r=S(a,l):"week"===n?r=eg(a,l):"month"===n?r=ed(a,l):"quarter"===n?r=eh(a,l):"year"===n&&(r=ep(a,l));else{var u=eN(a,l);Math.abs(u)Math.abs(S(a,l))?(r=e_(a,l),n="hour"):Math.abs(u)Math.abs(r)?n="day":Math.abs(u)eh(a,l)?(r=eh(a,l),n="quarter"):(r=ep(a,l),n="year")}return new Intl.RelativeTimeFormat(null==i?void 0:i.locale,{localeMatcher:null==i?void 0:i.localeMatcher,numeric:(null==i?void 0:i.numeric)||"auto",style:null==i?void 0:i.style}).format(r,n)}function ip(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getTime()>n.getTime()}function im(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getTime()Date.now()}function iC(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function ix(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ik=i(74938);function iE(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,ik.Z)(e,t)}function iL(e){return(iL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,r=iL(e);if(t){var o=iL(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return ix(e)}(this,i)}}function iN(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var iA=i(3408);function iT(e,t){for(var i=0;i0,r=n?t:1-t;if(r<=50)i=e||100;else{var o=r+50;i=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?i:1-i}function iZ(e){return e%400==0||e%4==0&&e%100!=0}var iY=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o0}},{key:"set",value:function(e,t,i){var n=e.getUTCFullYear();if(i.isTwoDigitYear){var r=iG(i.year,n);return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),iQ=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o0}},{key:"set",value:function(e,t,i,n){var r=e7(e,n);if(i.isTwoDigitYear){var o=iG(i.year,r);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),e9(e,n)}var s="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),e9(e,n)}}]),i}(iF),iJ=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth((i-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i1=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth((i-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i2=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i6=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i3=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,i,n){return e9(function(e,t,i){o(2,arguments);var n=s(e),a=r(t),l=te(n,i)-a;return n.setUTCDate(n.getUTCDate()-7*l),n}(e,i,n),n)}}]),i}(iF),i8=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,i){return e8(function(e,t){o(2,arguments);var i=s(e),n=r(t),a=e4(i)-n;return i.setUTCDate(i.getUTCDate()-7*a),i}(e,i))}}]),i}(iF),i5=[31,28,31,30,31,30,31,31,30,31,30,31],i4=[31,29,31,30,31,30,31,31,30,31,30,31],i9=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=i4[n]:t>=1&&t<=i5[n]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i7=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),i}(iF);function ne(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p=m,f=r(null!==(n=null!==(a=null!==(l=null!==(u=null==i?void 0:i.weekStartsOn)&&void 0!==u?u:null==i?void 0:null===(d=i.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==a?a:null===(h=p.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=s(e),b=r(t),y=v.getUTCDay();return v.setUTCDate(v.getUTCDate()+(((b%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),ni=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),nn=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),nr=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=7}},{key:"set",value:function(e,t,i){return(e=function(e,t){o(2,arguments);var i=r(t);i%7==0&&(i-=7);var n=s(e),a=((i%7+7)%7<1?7:0)+i-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+a),n}(e,i)).setUTCHours(0,0,0,0),e}}]),i}(iF),no=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=12}},{key:"set",value:function(e,t,i){var n=e.getUTCHours()>=12;return n&&i<12?e.setUTCHours(i+12,0,0,0):n||12!==i?e.setUTCHours(i,0,0,0):e.setUTCHours(0,0,0,0),e}}]),i}(iF),nu=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),i}(iF),nd=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.getUTCHours()>=12&&i<12?e.setUTCHours(i+12,0,0,0):e.setUTCHours(i,0,0,0),e}}]),i}(iF),nc=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=24}},{key:"set",value:function(e,t,i){var n=i<=24?i%24:i;return e.setUTCHours(n,0,0,0),e}}]),i}(iF),nh=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),i}(iF),ng=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),i}(iF),np=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&h<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=r(null!==(E=null!==(L=null!==(D=null!==(N=null==a?void 0:a.weekStartsOn)&&void 0!==N?N:null==a?void 0:null===(A=a.locale)||void 0===A?void 0:null===(T=A.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==D?D:d.weekStartsOn)&&void 0!==L?L:null===(I=d.locale)||void 0===I?void 0:null===(M=I.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==E?E:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===u)return""===l?s(i):new Date(NaN);var p,f,v,b,y,_,C,S,x,k,E,L,D,N,A,T,I,M,R,P={firstWeekContainsDate:h,weekStartsOn:g,locale:c},O=[new iO],F=u.match(nw).map(function(e){var t=e[0];return t in td?(0,td[t])(e,c.formatLong):e}).join("").match(n_),B=[],V=iS(F);try{for(V.s();!(R=V.n()).done;){var H=function(){var t=R.value;!(null!=a&&a.useAdditionalWeekYearTokens)&&tp(t)&&tf(t,u,e),!(null!=a&&a.useAdditionalDayOfYearTokens)&&tg(t)&&tf(t,u,e);var i=t[0],n=ny[i];if(n){var r=n.incompatibleTokens;if(Array.isArray(r)){var o=B.find(function(e){return r.includes(e.token)||e.token===i});if(o)throw RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&B.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));B.push({token:i,fullToken:t});var s=n.run(l,t,c.match,P);if(!s)return{v:new Date(NaN)};O.push(s.setter),l=s.rest}else{if(i.match(nk))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(nC)[1].replace(nS,"'")),0!==l.indexOf(t))return{v:new Date(NaN)};l=l.slice(t.length)}}();if("object"===(0,n.Z)(H))return H.v}}catch(e){V.e(e)}finally{V.f()}if(l.length>0&&nx.test(l))return new Date(NaN);var W=O.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,i){return i.indexOf(e)===t}).map(function(e){return O.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),j=s(i);if(isNaN(j.getTime()))return new Date(NaN);var z,U=e3(j,w(j)),$={},q=iS(W);try{for(q.s();!(z=q.n()).done;){var K=z.value;if(!K.validate(U,P))return new Date(NaN);var G=K.set(U,$,P);Array.isArray(G)?(U=G[0],tN($,G[1])):U=G}}catch(e){q.e(e)}finally{q.f()}return U}function nL(e,t,i){return o(2,arguments),es(nE(e,t,new Date,i))}function nD(e){return o(1,arguments),1===s(e).getDay()}function nN(e){return o(1,arguments),s(e).getTime()=n&&i<=r}function n1(e,t){return o(2,arguments),a(e,-r(t))}function n2(e){return o(1,arguments),er(e,n1(Date.now(),1))}function n6(e){o(1,arguments);var t=s(e),i=t.getFullYear();return t.setFullYear(9+10*Math.floor(i/10)+1,0,0),t.setHours(0,0,0,0),t}function n3(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6");var f=s(e),v=f.getDay();return f.setHours(0,0,0,0),f.setDate(f.getDate()+((v2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],rC.timeZoneDelimiter.test(i.date)&&(i.date=e.split(rC.timeZoneDelimiter)[0],t=e.substr(i.date.length,e.length))),t){var r=rC.timezone.exec(t);r?(i.time=t.replace(r[1],""),i.timezone=r[1]):i.time=t}return i}(e);if(l.date){var u=function(e,t){var i=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(i);if(!n)return{year:NaN,restDateString:""};var r=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?r:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(l.date,a);n=function(e,t){if(null===t)return new Date(NaN);var i,n,r=e.match(rS);if(!r)return new Date(NaN);var o=!!r[4],s=rE(r[1]),a=rE(r[2])-1,l=rE(r[3]),u=rE(r[4]),d=rE(r[5])-1;if(o)return u>=1&&u<=53&&d>=0&&d<=6?((i=new Date(0)).setUTCFullYear(t,0,4),n=i.getUTCDay()||7,i.setUTCDate(i.getUTCDate()+((u-1)*7+d+1-n)),i):new Date(NaN);var c=new Date(0);return a>=0&&a<=11&&l>=1&&l<=(rD[a]||(rN(t)?29:28))&&s>=1&&s<=(rN(t)?366:365)?(c.setUTCFullYear(t,a,Math.max(s,l)),c):new Date(NaN)}(u.restDateString,u.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);var d=n.getTime(),c=0;if(l.time&&isNaN(c=function(e){var t=e.match(rx);if(!t)return NaN;var i=rL(t[1]),n=rL(t[2]),r=rL(t[3]);return(24===i?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&i>=0&&i<25)?i*z+n*j+1e3*r:NaN}(l.time)))return new Date(NaN);if(l.timezone){if(isNaN(s=function(e){if("Z"===e)return 0;var t=e.match(rk);if(!t)return 0;var i="+"===t[1]?-1:1,n=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return r>=0&&r<=59?i*(n*z+r*j):NaN}(l.timezone)))return new Date(NaN)}else{var h=new Date(d+c),g=new Date(0);return g.setFullYear(h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()),g.setHours(h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()),g}return new Date(d+c+s)}var rC={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},rS=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,rx=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,rk=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rE(e){return e?parseInt(e):1}function rL(e){return e&&parseFloat(e.replace(",","."))||0}var rD=[31,null,31,30,31,30,31,31,30,31,30,31];function rN(e){return e%400==0||e%4==0&&e%100!=0}function rA(e){if(o(1,arguments),"string"==typeof e){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return new Date(t?Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)):NaN)}return s(e)}function rT(e,t){o(2,arguments);var i=tq(e)-t;return i<=0&&(i+=7),n1(e,i)}function rI(e){return o(1,arguments),rT(e,5)}function rM(e){return o(1,arguments),rT(e,1)}function rR(e){return o(1,arguments),rT(e,6)}function rP(e){return o(1,arguments),rT(e,0)}function rO(e){return o(1,arguments),rT(e,4)}function rF(e){return o(1,arguments),rT(e,2)}function rB(e){return o(1,arguments),rT(e,3)}function rV(e){return o(1,arguments),Math.floor(e*K)}function rH(e){return o(1,arguments),Math.floor(e/Z)}function rW(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only none provided present");var i,n=r(null!==(i=null==t?void 0:t.nearestTo)&&void 0!==i?i:1);if(n<1||n>30)throw RangeError("`options.nearestTo` must be between 1 and 30");var o=s(e),a=o.getSeconds(),l=o.getMinutes()+a/60,u=ey(null==t?void 0:t.roundingMethod)(l/n)*n,d=Math.round(l%n/n)*n;return new Date(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),u+d)}function rj(e){return o(1,arguments),Math.floor(e/Y)}function rz(e){return o(1,arguments),e*U}function rU(e){return o(1,arguments),Math.floor(e/Q)}function r$(e,t){o(2,arguments);var i=s(e),n=r(t),a=i.getFullYear(),l=i.getDate(),u=new Date(0);u.setFullYear(a,n,15),u.setHours(0,0,0,0);var d=tG(u);return i.setMonth(n,Math.min(l,d)),i}function rq(e,t){if(o(2,arguments),"object"!==(0,n.Z)(t)||null===t)throw RangeError("values parameter must be an object");var i=s(e);return isNaN(i.getTime())?new Date(NaN):(null!=t.year&&i.setFullYear(t.year),null!=t.month&&(i=r$(i,t.month)),null!=t.date&&i.setDate(r(t.date)),null!=t.hours&&i.setHours(r(t.hours)),null!=t.minutes&&i.setMinutes(r(t.minutes)),null!=t.seconds&&i.setSeconds(r(t.seconds)),null!=t.milliseconds&&i.setMilliseconds(r(t.milliseconds)),i)}function rK(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setDate(n),i}function rG(e,t,i){o(2,arguments);var n,l,u,d,c,h,g,p,f=m,v=r(null!==(n=null!==(l=null!==(u=null!==(d=null==i?void 0:i.weekStartsOn)&&void 0!==d?d:null==i?void 0:null===(c=i.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==u?u:f.weekStartsOn)&&void 0!==l?l:null===(g=f.locale)||void 0===g?void 0:null===(p=g.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(v>=0&&v<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=s(e),y=r(t),_=b.getDay(),w=7-v;return a(b,y<0||y>6?y-(_+w)%7:((y%7+7)%7+w)%7-(_+w)%7)}function rZ(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMonth(0),i.setDate(n),i}function rY(e){o(1,arguments);var t={},i=m;for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(void 0===e[r]?delete t[r]:t[r]=e[r]);m=t}function rQ(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setHours(n),i}function rJ(e,t){o(2,arguments);var i=s(e),n=r(t),l=t0(i);return a(i,n-l)}function rX(e,t){o(2,arguments);var i=s(e),n=r(t),a=t1(i)-n;return i.setDate(i.getDate()-7*a),i}function r0(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMilliseconds(n),i}function r1(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMinutes(n),i}function r2(e,t){o(2,arguments);var i=s(e),n=r(t),a=Math.floor(i.getMonth()/3)+1;return r$(i,i.getMonth()+3*(n-a))}function r6(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setSeconds(n),i}function r3(e,t,i){o(2,arguments);var n=s(e),a=r(t),l=ii(n,i)-a;return n.setDate(n.getDate()-7*l),n}function r8(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p=m,f=r(null!==(n=null!==(a=null!==(l=null!==(u=null==i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:null==i?void 0:null===(d=i.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:p.firstWeekContainsDate)&&void 0!==a?a:null===(h=p.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==n?n:1),v=s(e),b=r(t),y=S(v,it(v,i)),_=new Date(0);return _.setFullYear(b,0,f),_.setHours(0,0,0,0),(v=it(_,i)).setDate(v.getDate()+y),v}function r5(e,t){o(2,arguments);var i=s(e),n=r(t);return isNaN(i.getTime())?new Date(NaN):(i.setFullYear(n),i)}function r4(e){o(1,arguments);var t=s(e),i=t.getFullYear();return t.setFullYear(10*Math.floor(i/10),0,1),t.setHours(0,0,0,0),t}function r9(){return C(Date.now())}function r7(){var e=new Date,t=e.getFullYear(),i=e.getMonth(),n=e.getDate(),r=new Date(0);return r.setFullYear(t,i,n+1),r.setHours(0,0,0,0),r}function oe(){var e=new Date,t=e.getFullYear(),i=e.getMonth(),n=e.getDate(),r=new Date(0);return r.setFullYear(t,i,n-1),r.setHours(0,0,0,0),r}function ot(e,t){return o(2,arguments),l(e,-r(t))}function oi(e,t){if(o(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN);var i=t.years?r(t.years):0,s=t.months?r(t.months):0,a=t.weeks?r(t.weeks):0,l=t.days?r(t.days):0,u=t.hours?r(t.hours):0,d=t.minutes?r(t.minutes):0,c=t.seconds?r(t.seconds):0,h=n1(ot(e,s+12*i),l+7*a);return new Date(h.getTime()-1e3*(c+60*(d+60*u)))}function on(e,t){return o(2,arguments),g(e,-r(t))}function or(e,t){return o(2,arguments),f(e,-r(t))}function oo(e,t){return o(2,arguments),E(e,-r(t))}function os(e,t){return o(2,arguments),L(e,-r(t))}function oa(e,t){return o(2,arguments),D(e,-r(t))}function ol(e,t){return o(2,arguments),N(e,-r(t))}function ou(e,t){return o(2,arguments),A(e,-r(t))}function od(e){return o(1,arguments),Math.floor(e*V)}function oc(e){return o(1,arguments),Math.floor(e*G)}function oh(e){return o(1,arguments),Math.floor(e*Z)}},36386:e=>{function t(e,t,i){function n(){var u=Date.now()-a;u=0?r=setTimeout(n,t-u):(r=null,i||(l=e.apply(s,o),s=o=null))}null==t&&(t=100);var r,o,s,a,l,u=function(){s=this,o=arguments,a=Date.now();var u=i&&!r;return r||(r=setTimeout(n,t)),u&&(l=e.apply(s,o),s=o=null),l};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(l=e.apply(s,o),s=o=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},65881:e=>{function t(e,t,i,n){return Math.round(e/i)+" "+n+(t>=1.5*i?"s":"")}e.exports=function(e,i){i=i||{};var n,r,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return 864e5*i;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*i;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*i;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===o&&isFinite(e))return i.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>=1e3?t(e,n,1e3,"second"):e+" ms":(r=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":r>=36e5?Math.round(e/36e5)+"h":r>=6e4?Math.round(e/6e4)+"m":r>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},25130:(e,t,i)=>{var n=i(34406);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let i="color: "+this.color;t.splice(1,0,i,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))}),t.splice(r,0,i)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=i(87123)(t);let{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},87123:(e,t,i)=>{e.exports=function(e){function t(e){let i,r,o;let s=null;function a(...e){if(!a.enabled)return;let n=Number(new Date),r=n-(i||n);a.diff=r,a.prev=i,a.curr=n,i=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(i,n)=>{if("%%"===i)return"%";o++;let r=t.formatters[n];if("function"==typeof r){let t=e[o];i=r.call(a,t),e.splice(o,1),o--}return i}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,i){let n=t(this.namespace+(void 0===i?":":i)+e);return n.log=this.log,n}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let i;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(i=0;i{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let i=0;for(let t=0;t{e.exports=function e(t){Object.freeze(t);var i="function"==typeof t,n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach(function(r){!n.call(t,r)||i&&("caller"===r||"callee"===r||"arguments"===r)||null===t[r]||"object"!=typeof t[r]&&"function"!=typeof t[r]||Object.isFrozen(t[r])||e(t[r])}),t}},75195:(e,t,i)=>{"use strict";var n=i(81181)(),r=i(67286),o=n&&r("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(e){o=!1}var s=i(48342),a=i(5408),l=i(50326);e.exports=function(e,t,i){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],c=!!l&&l(e,t);if(o)o(e,t,{configurable:null===u&&c?c.configurable:!u,enumerable:null===n&&c?c.enumerable:!n,value:i,writable:null===r&&c?c.writable:!r});else if(!d&&(n||r||u))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=i}},69654:e=>{"use strict";e.exports=EvalError},42321:e=>{"use strict";e.exports=Error},48205:e=>{"use strict";e.exports=RangeError},2976:e=>{"use strict";e.exports=ReferenceError},48342:e=>{"use strict";e.exports=SyntaxError},5408:e=>{"use strict";e.exports=TypeError},82885:e=>{"use strict";e.exports=URIError},82775:(e,t,i)=>{i(48834).Buffer,i(83669).keccak_256,i(6639)},1115:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keccak512=t.keccak384=t.keccak256=t.keccak224=void 0;let n=i(73488),r=i(10144);t.keccak224=(0,r.wrapHash)(n.keccak_224),t.keccak256=(()=>{let e=(0,r.wrapHash)(n.keccak_256);return e.create=n.keccak_256.create,e})(),t.keccak384=(0,r.wrapHash)(n.keccak_384),t.keccak512=(0,r.wrapHash)(n.keccak_512)},41019:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCurve=t.getHash=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(70520),r=i(50300),o=i(80551);function s(e){return{hash:e,hmac:(t,...i)=>(0,n.hmac)(e,t,(0,r.concatBytes)(...i)),randomBytes:r.randomBytes}}t.getHash=s,t.createCurve=function(e,t){let i=t=>(0,o.weierstrass)({...e,...s(t)});return Object.freeze({...i(t),create:i})}},7824:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasic=t.wNAF=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(8767),r=i(47367),o=BigInt(0),s=BigInt(1);t.wNAF=function(e,t){let i=(e,t)=>{let i=t.negate();return e?i:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:i,unsafeLadder(t,i){let n=e.ZERO,r=t;for(;i>o;)i&s&&(n=n.add(r)),r=r.double(),i>>=s;return n},precomputeWindow(e,t){let{windows:i,windowSize:r}=n(t),o=[],s=e,a=s;for(let e=0;e>=g,n>l&&(n-=h,o+=s);let a=t+Math.abs(n)-1,p=e%2!=0,f=n<0;0===n?d=d.add(i(p,r[t])):u=u.add(i(f,r[a]))}return{p:u,f:d}},wNAFCached(e,t,i,n){let r=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&t.set(e,n(o))),this.wNAF(r,o,i)}}},t.validateBasic=function(e){return(0,n.validateField)(e.Fp),(0,r.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,n.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}},29173:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHasher=t.isogenyMap=t.hash_to_field=t.expand_message_xof=t.expand_message_xmd=void 0;let n=i(8767),r=i(47367),o=r.bytesToNumberBE;function s(e,t){if(e<0||e>=1<<8*t)throw Error(`bad I2OSP call: value=${e} length=${t}`);let i=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)i[n]=255&e,e>>>=8;return new Uint8Array(i)}function a(e){if(!(e instanceof Uint8Array))throw Error("Uint8Array expected")}function l(e){if(!Number.isSafeInteger(e))throw Error("number expected")}function u(e,t,i,n){a(e),a(t),l(i),t.length>255&&(t=n((0,r.concatBytes)((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));let{outputLen:o,blockLen:u}=n,d=Math.ceil(i/o);if(d>255)throw Error("Invalid xmd length");let c=(0,r.concatBytes)(t,s(t.length,1)),h=s(0,u),g=s(i,2),p=Array(d),f=n((0,r.concatBytes)(h,e,g,s(0,1),c));p[0]=n((0,r.concatBytes)(f,s(1,1),c));for(let e=1;e<=d;e++){let t=[function(e,t){let i=new Uint8Array(e.length);for(let n=0;n255&&(t=o.create({dkLen:Math.ceil(2*n/8)}).update((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()),i>65535||t.length>255)throw Error("expand_message_xof: invalid lenInBytes");return o.create({dkLen:i}).update(e).update(s(i,2)).update(t).update(s(t.length,1)).digest()}function c(e,t,i){let s;(0,r.validateObject)(i,{DST:"string",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});let{p:c,k:h,m:g,hash:p,expand:f,DST:m}=i;a(e),l(t);let v=function(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return(0,r.utf8ToBytes)(e);throw Error("DST must be Uint8Array or string")}(m),b=Math.ceil((c.toString(2).length+h)/8),y=t*g*b;if("xmd"===f)s=u(e,v,y,p);else if("xof"===f)s=d(e,v,y,h,p);else if("_internal_pass"===f)s=e;else throw Error('expand must be "xmd" or "xof"');let _=Array(t);for(let e=0;eArray.from(e).reverse());return(t,n)=>{let[r,o,s,a]=i.map(i=>i.reduce((i,n)=>e.add(e.mul(i,t),n)));return{x:t=e.div(r,o),y:n=e.mul(n,e.div(s,a))}}},t.createHasher=function(e,t,i){if("function"!=typeof t)throw Error("mapToCurve() must be defined");return{hashToCurve(n,r){let o=c(n,2,{...i,DST:i.DST,...r}),s=e.fromAffine(t(o[0])),a=e.fromAffine(t(o[1])),l=s.add(a).clearCofactor();return l.assertValidity(),l},encodeToCurve(n,r){let o=c(n,1,{...i,DST:i.encodeDST,...r}),s=e.fromAffine(t(o[0])).clearCofactor();return s.assertValidity(),s}}}},8767:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashToPrivateScalar=t.FpSqrtEven=t.FpSqrtOdd=t.Field=t.nLength=t.FpIsSquare=t.FpDiv=t.FpInvertBatch=t.FpPow=t.validateField=t.isNegativeLE=t.FpSqrt=t.tonelliShanks=t.invert=t.pow2=t.pow=t.mod=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(47367),r=BigInt(0),o=BigInt(1),s=BigInt(2),a=BigInt(3),l=BigInt(4),u=BigInt(5),d=BigInt(8);function c(e,t){let i=e%t;return i>=r?i:t+i}function h(e,t,i){if(i<=r||t 0");if(i===o)return r;let n=o;for(;t>r;)t&o&&(n=n*e%i),e=e*e%i,t>>=o;return n}function g(e,t){if(e===r||t<=r)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let i=c(e,t),n=t,s=r,a=o,l=o,u=r;for(;i!==r;){let e=n/i,t=n%i,r=s-l*e,o=a-u*e;n=i,i=t,s=l,a=u,l=r,u=o}if(n!==o)throw Error("invert: does not exist");return c(s,t)}function p(e){let t,i,n;let a=(e-o)/s;for(t=e-o,i=0;t%s===r;t/=s,i++);for(n=s;nr;)n*=n,n%=i;return n},t.invert=g,t.tonelliShanks=p,t.FpSqrt=f,t.isNegativeLE=(e,t)=>(c(e,t)&o)===o;let m=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function v(e,t,i){if(i 0");if(i===r)return e.ONE;if(i===o)return t;let n=e.ONE,s=t;for(;i>r;)i&o&&(n=e.mul(n,s)),s=e.sqr(s),i>>=o;return n}function b(e,t){let i=Array(t.length),n=t.reduce((t,n,r)=>e.is0(n)?t:(i[r]=t,e.mul(t,n)),e.ONE),r=e.inv(n);return t.reduceRight((t,n,r)=>e.is0(n)?t:(i[r]=e.mul(t,i[r]),e.mul(t,n)),r),i}function y(e,t){let i=void 0!==t?t:e.toString(2).length;return{nBitLength:i,nByteLength:Math.ceil(i/8)}}t.validateField=function(e){let t=m.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},t.FpPow=v,t.FpInvertBatch=b,t.FpDiv=function(e,t,i){return e.mul(t,"bigint"==typeof i?g(i,e.ORDER):e.inv(i))},t.FpIsSquare=function(e){let t=(e.ORDER-o)/s;return i=>{let n=e.pow(i,t);return e.eql(n,e.ZERO)||e.eql(n,e.ONE)}},t.nLength=y,t.Field=function(e,t,i=!1,s={}){if(e<=r)throw Error(`Expected Fp ORDER > 0, got ${e}`);let{nBitLength:a,nByteLength:l}=y(e,t);if(l>2048)throw Error("Field lengths over 2048 bytes are not supported");let u=f(e),d=Object.freeze({ORDER:e,BITS:a,BYTES:l,MASK:(0,n.bitMask)(a),ZERO:r,ONE:o,create:t=>c(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return r<=t&&te===r,isOdd:e=>(e&o)===o,neg:t=>c(-t,e),eql:(e,t)=>e===t,sqr:t=>c(t*t,e),add:(t,i)=>c(t+i,e),sub:(t,i)=>c(t-i,e),mul:(t,i)=>c(t*i,e),pow:(e,t)=>v(d,e,t),div:(t,i)=>c(t*g(i,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>g(t,e),sqrt:s.sqrt||(e=>u(d,e)),invertBatch:e=>b(d,e),cmov:(e,t,i)=>i?t:e,toBytes:e=>i?(0,n.numberToBytesLE)(e,l):(0,n.numberToBytesBE)(e,l),fromBytes:e=>{if(e.length!==l)throw Error(`Fp.fromBytes: expected ${l}, got ${e.length}`);return i?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)}});return Object.freeze(d)},t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);return e.isOdd(i)?i:e.neg(i)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);return e.isOdd(i)?e.neg(i):i},t.hashToPrivateScalar=function(e,t,i=!1){let r=(e=(0,n.ensureBytes)("privateHash",e)).length,s=y(t).nByteLength+8;if(s<24||r1024)throw Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${r}`);return c(i?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-o)+o}},47367:(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;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let i=BigInt(0),n=BigInt(1),r=BigInt(2),o=e=>e instanceof Uint8Array,s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function a(e){if(!o(e))throw Error("Uint8Array expected");let t="";for(let i=0;ie+t.length,0)),i=0;return e.forEach(e=>{if(!o(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}t.bytesToHex=a,t.numberToHexUnpadded=l,t.hexToNumber=u,t.hexToBytes=d,t.bytesToNumberBE=function(e){return u(a(e))},t.bytesToNumberLE=function(e){if(!o(e))throw Error("Uint8Array expected");return u(a(Uint8Array.from(e).reverse()))},t.numberToBytesBE=c,t.numberToBytesLE=function(e,t){return c(e,t).reverse()},t.numberToVarBytesBE=function(e){return d(l(e))},t.ensureBytes=function(e,t,i){let n;if("string"==typeof t)try{n=d(t)}catch(i){throw Error(`${e} must be valid hex string, got "${t}". Cause: ${i}`)}else if(o(t))n=Uint8Array.from(t);else throw Error(`${e} must be hex string or Uint8Array`);let r=n.length;if("number"==typeof i&&r!==i)throw Error(`${e} expected ${i} bytes, got ${r}`);return n},t.concatBytes=h,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;for(let i=0;ii;e>>=n,t+=1);return t},t.bitGet=function(e,t){return e>>BigInt(t)&n},t.bitSet=(e,t,r)=>e|(r?n:i)<(r<new Uint8Array(e),p=e=>Uint8Array.from(e);t.createHmacDrbg=function(e,t,i){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof i)throw Error("hmacFn must be a function");let n=g(e),r=g(e),o=0,s=()=>{n.fill(1),r.fill(0),o=0},a=(...e)=>i(r,n,...e),l=(e=g())=>{r=a(p([0]),e),n=a(),0!==e.length&&(r=a(p([1]),e),n=a())},u=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,i=[];for(;e{let i;for(s(),l(e);!(i=t(u()));)l();return s(),i}};let f={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,i={}){let n=(t,i,n)=>{let r=f[i];if("function"!=typeof r)throw Error(`Invalid validator "${i}", expected function`);let o=e[t];if((!n||void 0!==o)&&!r(o,e))throw Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${i}`)};for(let[e,i]of Object.entries(t))n(e,i,!1);for(let[e,t]of Object.entries(i))n(e,t,!0);return e}},80551:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToCurveSimpleSWU=t.SWUFpSqrtRatio=t.weierstrass=t.weierstrassPoints=t.DER=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(8767),r=i(47367),o=i(47367),s=i(7824),{bytesToNumberBE:a,hexToBytes:l}=r;t.DER={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:i}=t.DER;if(e.length<2||2!==e[0])throw new i("Invalid signature integer tag");let n=e[1],r=e.subarray(2,n+2);if(!n||r.length!==n)throw new i("Invalid signature integer: wrong length");if(128&r[0])throw new i("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))throw new i("Invalid signature integer: unnecessary leading zero");return{d:a(r),l:e.subarray(n+2)}},toSig(e){let{Err:i}=t.DER,n="string"==typeof e?l(e):e;if(!(n instanceof Uint8Array))throw Error("ui8a expected");let r=n.length;if(r<2||48!=n[0])throw new i("Invalid signature tag");if(n[1]!==r-2)throw new i("Invalid signature: incorrect length");let{d:o,l:s}=t.DER._parseInt(n.subarray(2)),{d:a,l:u}=t.DER._parseInt(s);if(u.length)throw new i("Invalid signature: left bytes after parsing");return{r:o,s:a}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,i=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(i(e.s)),r=t(i(e.r)),o=n.length/2,s=r.length/2;return`30${i(s+o+4)}02${i(s)}${r}02${i(o)}${n}`}};let u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(3),g=BigInt(4);function p(e){let t=function(e){let t=(0,s.validateBasic)(e);r.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:i,Fp:n,a:o}=t;if(i){if(!n.eql(o,n.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof i||"bigint"!=typeof i.beta||"function"!=typeof i.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:i}=t,a=t.toBytes||((e,t,n)=>{let o=t.toAffine();return r.concatBytes(Uint8Array.from([4]),i.toBytes(o.x),i.toBytes(o.y))}),l=t.fromBytes||(e=>{let t=e.subarray(1);return{x:i.fromBytes(t.subarray(0,i.BYTES)),y:i.fromBytes(t.subarray(i.BYTES,2*i.BYTES))}});function c(e){let{a:n,b:r}=t,o=i.sqr(e),s=i.mul(o,e);return i.add(i.add(s,i.mul(e,n)),r)}if(!i.eql(i.sqr(t.Gy),c(t.Gx)))throw Error("bad generator point: equation left != right");function g(e){return"bigint"==typeof e&&ui.eql(e,i.ZERO);return r(t)&&r(n)?b.ZERO:new b(t,n,i.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(b.fromAffine)}static fromHex(e){let t=b.fromAffine(l((0,o.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return b.BASE.multiply(f(e))}_setWindowSize(e){this._WINDOW_SIZE=e,m.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint)return;throw Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!i.isValid(e)||!i.isValid(n))throw Error("bad point: x or y not FE");let r=i.sqr(n),o=c(e);if(!i.eql(r,o))throw Error("bad point: equation left != right");if(!this.isTorsionFree())throw Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(i.isOdd)return!i.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){v(e);let{px:t,py:n,pz:r}=this,{px:o,py:s,pz:a}=e,l=i.eql(i.mul(t,a),i.mul(o,r)),u=i.eql(i.mul(n,a),i.mul(s,r));return l&&u}negate(){return new b(this.px,i.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,r=i.mul(n,h),{px:o,py:s,pz:a}=this,l=i.ZERO,u=i.ZERO,d=i.ZERO,c=i.mul(o,o),g=i.mul(s,s),p=i.mul(a,a),f=i.mul(o,s);return f=i.add(f,f),d=i.mul(o,a),d=i.add(d,d),l=i.mul(e,d),u=i.mul(r,p),u=i.add(l,u),l=i.sub(g,u),u=i.add(g,u),u=i.mul(l,u),l=i.mul(f,l),d=i.mul(r,d),p=i.mul(e,p),f=i.sub(c,p),f=i.mul(e,f),f=i.add(f,d),d=i.add(c,c),c=i.add(d,c),c=i.add(c,p),c=i.mul(c,f),u=i.add(u,c),p=i.mul(s,a),p=i.add(p,p),c=i.mul(p,f),l=i.sub(l,c),d=i.mul(p,g),d=i.add(d,d),d=i.add(d,d),new b(l,u,d)}add(e){v(e);let{px:n,py:r,pz:o}=this,{px:s,py:a,pz:l}=e,u=i.ZERO,d=i.ZERO,c=i.ZERO,g=t.a,p=i.mul(t.b,h),f=i.mul(n,s),m=i.mul(r,a),y=i.mul(o,l),_=i.add(n,r),w=i.add(s,a);_=i.mul(_,w),w=i.add(f,m),_=i.sub(_,w),w=i.add(n,o);let C=i.add(s,l);return w=i.mul(w,C),C=i.add(f,y),w=i.sub(w,C),C=i.add(r,o),u=i.add(a,l),C=i.mul(C,u),u=i.add(m,y),C=i.sub(C,u),c=i.mul(g,w),u=i.mul(p,y),c=i.add(u,c),u=i.sub(m,c),c=i.add(m,c),d=i.mul(u,c),m=i.add(f,f),m=i.add(m,f),y=i.mul(g,y),w=i.mul(p,w),m=i.add(m,y),y=i.sub(f,y),y=i.mul(g,y),w=i.add(w,y),f=i.mul(m,w),d=i.add(d,f),f=i.mul(C,w),u=i.mul(_,u),u=i.sub(u,f),f=i.mul(_,m),c=i.mul(C,c),c=i.add(c,f),new b(u,d,c)}subtract(e){return this.add(e.negate())}is0(){return this.equals(b.ZERO)}wNAF(e){return _.wNAFCached(this,m,e,e=>{let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(b.fromAffine)})}multiplyUnsafe(e){let n=b.ZERO;if(e===u)return n;if(p(e),e===d)return this;let{endo:r}=t;if(!r)return _.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:a,k2:l}=r.splitScalar(e),c=n,h=n,g=this;for(;s>u||l>u;)s&d&&(c=c.add(g)),l&d&&(h=h.add(g)),g=g.double(),s>>=d,l>>=d;return o&&(c=c.negate()),a&&(h=h.negate()),h=new b(i.mul(h.px,r.beta),h.py,h.pz),c.add(h)}multiply(e){let n,r;p(e);let{endo:o}=t;if(o){let{k1neg:t,k1:s,k2neg:a,k2:l}=o.splitScalar(e),{p:u,f:d}=this.wNAF(s),{p:c,f:h}=this.wNAF(l);u=_.constTimeNegate(t,u),c=_.constTimeNegate(a,c),c=new b(i.mul(c.px,o.beta),c.py,c.pz),n=u.add(c),r=d.add(h)}else{let{p:t,f:i}=this.wNAF(e);n=t,r=i}return b.normalizeZ([n,r])[0]}multiplyAndAddUnsafe(e,t,i){let n=b.BASE,r=(e,t)=>t!==u&&t!==d&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=r(this,t).add(r(e,i));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:r}=this,o=this.is0();null==e&&(e=o?i.ONE:i.inv(r));let s=i.mul(t,e),a=i.mul(n,e),l=i.mul(r,e);if(o)return{x:i.ZERO,y:i.ZERO};if(!i.eql(l,i.ONE))throw Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:i}=t;if(e===d)return!0;if(i)return i(b,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:i}=t;return e===d?this:i?i(b,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),a(b,this,e)}toHex(e=!0){return r.bytesToHex(this.toRawBytes(e))}}b.BASE=new b(t.Gx,t.Gy,i.ONE),b.ZERO=new b(i.ZERO,i.ONE,i.ZERO);let y=t.nBitLength,_=(0,s.wNAF)(b,t.endo?Math.ceil(y/2):y);return{CURVE:t,ProjectivePoint:b,normPrivateKeyToScalar:f,weierstrassEquation:c,isWithinCurveOrder:g}}function f(e,t){let i=e.ORDER,n=u;for(let e=i-d;e%c===u;e/=c)n+=d;let r=n,o=c<{let n=f,s=e.pow(i,p),a=e.sqr(s);a=e.mul(a,i);let u=e.mul(t,a);u=e.pow(u,l),u=e.mul(u,s),s=e.mul(u,i),a=e.mul(u,t);let h=e.mul(a,s);u=e.pow(h,o);let g=e.eql(u,e.ONE);s=e.mul(a,m),u=e.mul(h,n),a=e.cmov(s,a,g),h=e.cmov(u,h,g);for(let t=r;t>d;t--){let i=t-c;i=c<{let o=e.sqr(r),s=e.mul(t,r);o=e.mul(o,s);let a=e.pow(o,i);a=e.mul(a,s);let l=e.mul(a,n),u=e.mul(e.sqr(a),r),d=e.eql(u,t),c=e.cmov(l,a,d);return{isValid:d,value:c}}}return v}t.weierstrassPoints=p,t.weierstrass=function(e){let i;let a=(i=(0,s.validateBasic)(e),r.validateObject(i,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...i})),{Fp:l,n:c}=a,h=l.BYTES+1,g=2*l.BYTES+1;function f(e){return n.mod(e,c)}function m(e){return n.invert(e,c)}let{ProjectivePoint:v,normPrivateKeyToScalar:b,weierstrassEquation:y,isWithinCurveOrder:_}=p({...a,toBytes(e,t,i){let n=t.toAffine(),o=l.toBytes(n.x),s=r.concatBytes;return i?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,l.toBytes(n.y))},fromBytes(e){let t=e.length,i=e[0],n=e.subarray(1);if(t===h&&(2===i||3===i)){let e=r.bytesToNumberBE(n);if(!(ur.bytesToHex(r.numberToBytesBE(e,a.nByteLength)),C=(e,t,i)=>r.bytesToNumberBE(e.slice(t,i));class S{constructor(e,t,i){this.r=e,this.s=t,this.recovery=i,this.assertValidity()}static fromCompact(e){let t=a.nByteLength;return e=(0,o.ensureBytes)("compactSignature",e,2*t),new S(C(e,0,t),C(e,t,2*t))}static fromDER(e){let{r:i,s:n}=t.DER.toSig((0,o.ensureBytes)("DER",e));return new S(i,n)}assertValidity(){if(!_(this.r))throw Error("r must be 0 < r < CURVE.n");if(!_(this.s))throw Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new S(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:i,recovery:n}=this,r=E((0,o.ensureBytes)("msgHash",e));if(null==n||![0,1,2,3].includes(n))throw Error("recovery id invalid");let s=2===n||3===n?t+a.n:t;if(s>=l.ORDER)throw Error("recovery id 2 or 3 invalid");let u=(1&n)==0?"02":"03",d=v.fromHex(u+w(s)),c=m(s),h=f(-r*c),g=f(i*c),p=v.BASE.multiplyAndAddUnsafe(d,h,g);if(!p)throw Error("point at infinify");return p.assertValidity(),p}hasHighS(){return this.s>c>>d}normalizeS(){return this.hasHighS()?new S(this.r,f(-this.s),this.recovery):this}toDERRawBytes(){return r.hexToBytes(this.toDERHex())}toDERHex(){return t.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return r.hexToBytes(this.toCompactHex())}toCompactHex(){return w(this.r)+w(this.s)}}function x(e){let t=e instanceof Uint8Array,i="string"==typeof e,n=(t||i)&&e.length;return t?n===h||n===g:i?n===2*h||n===2*g:e instanceof v}let k=a.bits2int||function(e){let t=r.bytesToNumberBE(e),i=8*e.length-a.nBitLength;return i>0?t>>BigInt(i):t},E=a.bits2int_modN||function(e){return f(k(e))},L=r.bitMask(a.nBitLength);function D(e){if("bigint"!=typeof e)throw Error("bigint expected");if(!(u<=e&&ee in i))throw Error("sign() legacy options not supported");let{hash:n,randomBytes:s}=a,{lowS:h,prehash:g,extraEntropy:p}=i;null==h&&(h=!0),e=(0,o.ensureBytes)("msgHash",e),g&&(e=(0,o.ensureBytes)("prehashed msgHash",n(e)));let y=E(e),w=b(t),C=[D(w),D(y)];if(null!=p){let e=!0===p?s(l.BYTES):p;C.push((0,o.ensureBytes)("extraEntropy",e,l.BYTES))}return{seed:r.concatBytes(...C),k2sig:function(e){let t=k(e);if(!_(t))return;let i=m(t),n=v.BASE.multiply(t).toAffine(),r=f(n.x);if(r===u)return;let o=f(i*f(y+r*w));if(o===u)return;let s=(n.x===r?0:2)|Number(n.y&d),a=o;return h&&o>c>>d&&(a=o>c>>d?f(-o):o,s^=1),new S(r,a,s)}}}(e,t,i);return r.createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(n,s)},verify:function(e,i,n,r=A){let s,l;if(i=(0,o.ensureBytes)("msgHash",i),n=(0,o.ensureBytes)("publicKey",n),"strict"in r)throw Error("options.strict was renamed to lowS");let{lowS:u,prehash:d}=r;try{if("string"==typeof e||e instanceof Uint8Array)try{l=S.fromDER(e)}catch(i){if(!(i instanceof t.DER.Err))throw i;l=S.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:i}=e;l=new S(t,i)}else throw Error("PARSE");s=v.fromHex(n)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(u&&l.hasHighS())return!1;d&&(i=a.hash(i));let{r:c,s:h}=l,g=E(i),p=m(h),b=f(g*p),y=f(c*p),_=v.BASE.multiplyAndAddUnsafe(s,b,y)?.toAffine();return!!_&&f(_.x)===c},ProjectivePoint:v,Signature:S,utils:{isValidPrivateKey(e){try{return b(e),!0}catch(e){return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{let e=a.randomBytes(l.BYTES+8),t=n.hashToPrivateScalar(e,c);return r.numberToBytesBE(t,a.nByteLength)},precompute:(e=8,t=v.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}},t.SWUFpSqrtRatio=f,t.mapToCurveSimpleSWU=function(e,t){if(n.validateField(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw Error("mapToCurveSimpleSWU: invalid opts");let i=f(e,t.Z);if(!e.isOdd)throw Error("Fp.isOdd is not implemented!");return n=>{let r,o,s,a,l,u,d,c;r=e.sqr(n),r=e.mul(r,t.Z),o=e.sqr(r),o=e.add(o,r),s=e.add(o,e.ONE),s=e.mul(s,t.B),a=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),a=e.mul(a,t.A),o=e.sqr(s),u=e.sqr(a),l=e.mul(u,t.A),o=e.add(o,l),o=e.mul(o,s),u=e.mul(u,a),l=e.mul(u,t.B),o=e.add(o,l),d=e.mul(r,s);let{isValid:h,value:g}=i(o,u);c=e.mul(r,n),c=e.mul(c,g),d=e.cmov(d,s,h),c=e.cmov(c,g,h);let p=e.isOdd(n)===e.isOdd(c);return c=e.cmov(e.neg(c),c,p),{x:d=e.div(d,a),y:c}}}},22934:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeToCurve=t.hashToCurve=t.schnorr=t.secp256k1=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(13426),r=i(50300),o=i(8767),s=i(80551),a=i(47367),l=i(29173),u=i(41019),d=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),c=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h=BigInt(1),g=BigInt(2),p=(e,t)=>(e+t/g)/t;function f(e){let t=BigInt(3),i=BigInt(6),n=BigInt(11),r=BigInt(22),s=BigInt(23),a=BigInt(44),l=BigInt(88),u=e*e*e%d,c=u*u*e%d,h=(0,o.pow2)(c,t,d)*c%d,p=(0,o.pow2)(h,t,d)*c%d,f=(0,o.pow2)(p,g,d)*u%d,v=(0,o.pow2)(f,n,d)*f%d,b=(0,o.pow2)(v,r,d)*v%d,y=(0,o.pow2)(b,a,d)*b%d,_=(0,o.pow2)(y,l,d)*y%d,w=(0,o.pow2)(_,a,d)*b%d,C=(0,o.pow2)(w,t,d)*c%d,S=(0,o.pow2)(C,s,d)*v%d,x=(0,o.pow2)(S,i,d)*u%d,k=(0,o.pow2)(x,g,d);if(!m.eql(m.sqr(k),e))throw Error("Cannot find square root");return k}let m=(0,o.Field)(d,void 0,void 0,{sqrt:f});t.secp256k1=(0,u.createCurve)({a:BigInt(0),b:BigInt(7),Fp:m,n:c,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),i=-h*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),r=BigInt("0x100000000000000000000000000000000"),s=p(t*e,c),a=p(-i*e,c),l=(0,o.mod)(e-s*t-a*n,c),u=(0,o.mod)(-s*i-a*t,c),d=l>r,g=u>r;if(d&&(l=c-l),g&&(u=c-u),l>r||u>r)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:l,k2neg:g,k2:u}}}},n.sha256);let v=BigInt(0),b=e=>"bigint"==typeof e&&v"bigint"==typeof e&&ve.charCodeAt(0)));i=(0,a.concatBytes)(t,t),_[e]=i}return(0,n.sha256)((0,a.concatBytes)(i,...t))}let C=e=>e.toRawBytes(!0).slice(1),S=e=>(0,a.numberToBytesBE)(e,32),x=e=>(0,o.mod)(e,d),k=e=>(0,o.mod)(e,c),E=t.secp256k1.ProjectivePoint,L=(e,t,i)=>E.BASE.multiplyAndAddUnsafe(e,t,i);function D(e){let i=t.secp256k1.utils.normPrivateKeyToScalar(e),n=E.fromPrivateKey(i);return{scalar:n.hasEvenY()?i:k(-i),bytes:C(n)}}function N(e){if(!b(e))throw Error("bad x: need 0 < x < p");let t=x(e*e),i=f(x(t*e+BigInt(7)));i%g!==v&&(i=x(-i));let n=new E(e,i,h);return n.assertValidity(),n}function A(...e){return k((0,a.bytesToNumberBE)(w("BIP0340/challenge",...e)))}function T(e,t,i){let n=(0,a.ensureBytes)("signature",e,64),r=(0,a.ensureBytes)("message",t),o=(0,a.ensureBytes)("publicKey",i,32);try{let e=N((0,a.bytesToNumberBE)(o)),t=(0,a.bytesToNumberBE)(n.subarray(0,32));if(!b(t))return!1;let i=(0,a.bytesToNumberBE)(n.subarray(32,64));if(!y(i))return!1;let s=A(S(t),C(e),r),l=L(e,i,k(-s));if(!l||!l.hasEvenY()||l.toAffine().x!==t)return!1;return!0}catch(e){return!1}}t.schnorr={getPublicKey:function(e){return D(e).bytes},sign:function(e,t,i=(0,r.randomBytes)(32)){let n=(0,a.ensureBytes)("message",e),{bytes:o,scalar:s}=D(t),l=(0,a.ensureBytes)("auxRand",i,32),u=S(s^(0,a.bytesToNumberBE)(w("BIP0340/aux",l))),d=w("BIP0340/nonce",u,o,n),c=k((0,a.bytesToNumberBE)(d));if(c===v)throw Error("sign failed: k is zero");let{bytes:h,scalar:g}=D(c),p=A(h,o,n),f=new Uint8Array(64);if(f.set(h,0),f.set(S(k(g+p*s)),32),!T(f,n,o))throw Error("sign: Invalid signature produced");return f},verify:T,utils:{randomPrivateKey:t.secp256k1.utils.randomPrivateKey,lift_x:N,pointToBytes:C,numberToBytesBE:a.numberToBytesBE,bytesToNumberBE:a.bytesToNumberBE,taggedHash:w,mod:o.mod}};let I=(0,l.isogenyMap)(m,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(e=>e.map(e=>BigInt(e)))),M=(0,s.mapToCurveSimpleSWU)(m,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:m.create(BigInt("-11"))}),R=(0,l.createHasher)(t.secp256k1.ProjectivePoint,e=>{let{x:t,y:i}=M(m.create(e[0]));return I(t,i)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:m.ORDER,m:1,k:128,expand:"xmd",hash:n.sha256});t.hashToCurve=R.hashToCurve,t.encodeToCurve=R.encodeToCurve},91839:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`Expected boolean, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;let n=i(91839),r=i(50300);class o extends r.Hash{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){n.default.exists(this);let{view:t,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let n=0;no-a&&(this.process(i,0),a=0);for(let e=a;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,o-8,BigInt(8*this.length),s),this.process(i,0);let l=(0,r.createView)(e),u=this.outputLen;if(u%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=u/4,c=this.get();if(d>c.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.fromBig=r,t.split=o,t.toBig=(e,t)=>BigInt(e>>>0)<>>0),t.add=s;let a={fromBig:r,split:o,toBig:t.toBig,shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,i)=>e<>>32-i,rotlSL:(e,t,i)=>t<>>32-i,rotlBH:(e,t,i)=>t<>>64-i,rotlBL:(e,t,i)=>e<>>64-i,add:s,add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)};t.default=a},44937:(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},70520:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;let n=i(91839),r=i(50300);class o extends r.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,n.default.hash(e);let i=(0,r.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;enew o(e,t).update(i).digest(),t.hmac.create=(e,t)=>new o(e,t)},13426:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;let n=i(36214),r=i(50300),o=(e,t,i)=>e&t^~e&i,s=(e,t,i)=>e&t^e&i^t&i,a=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]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class d extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|l[0],this.B=0|l[1],this.C=0|l[2],this.D=0|l[3],this.E=0|l[4],this.F=0|l[5],this.G=0|l[6],this.H=0|l[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)u[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],i=u[e-2],n=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,o=(0,r.rotr)(i,17)^(0,r.rotr)(i,19)^i>>>10;u[e]=o+u[e-7]+n+u[e-16]|0}let{A:i,B:n,C:l,D:d,E:c,F:h,G:g,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,r.rotr)(c,6)^(0,r.rotr)(c,11)^(0,r.rotr)(c,25))+o(c,h,g)+a[e]+u[e]|0,f=((0,r.rotr)(i,2)^(0,r.rotr)(i,13)^(0,r.rotr)(i,22))+s(i,n,l)|0;p=g,g=h,h=c,c=d+t|0,d=l,l=n,n=i,i=t+f|0}i=i+this.A|0,n=n+this.B|0,l=l+this.C|0,d=d+this.D|0,c=c+this.E|0,h=h+this.F|0,g=g+this.G|0,p=p+this.H|0,this.set(i,n,l,d,c,h,g,p)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends d{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,r.wrapConstructor)(()=>new d),t.sha224=(0,r.wrapConstructor)(()=>new c)},73488:(e,t,i)=>{"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;let n=i(91839),r=i(2426),o=i(50300),[s,a,l]=[[],[],[]],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?r.default.rotlBH(e,t,i):r.default.rotlSH(e,t,i),b=(e,t,i)=>i>32?r.default.rotlBL(e,t,i):r.default.rotlSL(e,t,i);function y(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}t.keccakP=y;class _ extends o.Hash{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,n.default.number(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){y(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){n.default.exists(this);let{blockLen:t,state:i}=this,r=(e=(0,o.toBytes)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return n.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(n.default.output(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new _(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;let w=(e,t,i)=>(0,o.wrapConstructor)(()=>new _(t,e,i));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);let C=(e,t,i)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new _(t,e,void 0===n.dkLen?i:n.dkLen,!0));t.shake128=C(31,168,16),t.shake256=C(31,136,32)},50300:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=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;let n=i(44937),r=e=>e instanceof Uint8Array;if(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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw Error("Non little-endian hardware is not supported");let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));t.bytesToHex=function(e){if(!r(e))throw Error("Uint8Array expected");let t="";for(let i=0;i{};async function a(e,i,n){let r=Date.now();for(let o=0;o=0&&ee+t.length,0)),i=0;return e.forEach(e=>{if(!r(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t},t.Hash=class{clone(){return this._cloneInto()}};let d=e=>"[object Object]"===Object.prototype.toString.call(e)&&e.constructor===Object;t.checkOpts=function(e,t){if(void 0!==t&&("object"!=typeof t||!d(t)))throw Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){let t=t=>e().update(u(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},80101:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.secp256k1=void 0;var n=i(22934);Object.defineProperty(t,"secp256k1",{enumerable:!0,get:function(){return n.secp256k1}})},10144:function(e,t,i){"use strict";let n,r;e=i.nmd(e);var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=t.wrapHash=t.equalsBytes=t.hexToBytes=t.bytesToUtf8=t.utf8ToBytes=t.createView=t.concatBytes=t.toHex=t.bytesToHex=t.assertBytes=t.assertBool=void 0;let s=o(i(91839)),a=i(50300),l=s.default.bool;t.assertBool=l;let u=s.default.bytes;t.assertBytes=u;var d=i(50300);Object.defineProperty(t,"bytesToHex",{enumerable:!0,get:function(){return d.bytesToHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return d.bytesToHex}}),Object.defineProperty(t,"concatBytes",{enumerable:!0,get:function(){return d.concatBytes}}),Object.defineProperty(t,"createView",{enumerable:!0,get:function(){return d.createView}}),Object.defineProperty(t,"utf8ToBytes",{enumerable:!0,get:function(){return d.utf8ToBytes}}),t.bytesToUtf8=function(e){if(!(e instanceof Uint8Array))throw TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof e}`);return new TextDecoder().decode(e)},t.hexToBytes=function(e){let t=e.startsWith("0x")?e.substring(2):e;return(0,a.hexToBytes)(t)},t.equalsBytes=function(e,t){if(e.length!==t.length)return!1;for(let i=0;i(s.default.bytes(t),e(t))},t.crypto=(n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,{node:(r="function"==typeof e.require&&e.require.bind(e))&&!n?r("crypto"):void 0,web:n})},22699:e=>{"use strict";var t,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};t=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(i,n){function r(i){e.removeListener(t,o),n(i)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),i([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&"function"==typeof e.on&&f(e,"error",r,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,i,n){if(a(i),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),o=e._events),s=o[t]),void 0===s)s=o[t]=i,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[i,s]:[s,i]:n?s.unshift(i):s.push(i),(r=l(e))>0&&s.length>r&&!s.warned){s.warned=!0;var r,o,s,u=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,console&&console.warn&&console.warn(u)}return e}function d(){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 c(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=d.bind(n);return r.listener=i,n.wrapFn=r,r}function h(e,t,i){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=Array(e.length),i=0;i0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,d=p(l,u),i=0;i=0;o--)if(i[o]===t||i[o].listener===t){s=i[o].listener,r=o;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},o.prototype.listenerCount=g,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},69378:e=>{"use strict";e.exports=function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=i.length)return!1;for(r=n;0!=r--;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(i,o[r]))return!1;for(r=n;0!=r--;){var n,r,o,s=o[r];if(!e(t[s],i[s]))return!1}return!0}return t!=t&&i!=i}},77847:e=>{e.exports=s,s.default=s,s.stable=u,s.stableStringify=u;var t="[...]",i="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,s,l,u){void 0===u&&(u=o()),function e(n,r,o,s,l,u,d){if(u+=1,"object"==typeof n&&null!==n){for(c=0;cd.depthLimit||void 0!==d.edgesLimit&&o+1>d.edgesLimit){a(t,n,r,l);return}if(s.push(n),Array.isArray(n))for(c=0;ct?1:0}function u(e,s,u,c){void 0===c&&(c=o());var h,g=function e(r,o,s,u,d,c,h){if(c+=1,"object"==typeof r&&null!==r){for(g=0;gh.depthLimit||void 0!==h.edgesLimit&&s+1>h.edgesLimit){a(t,r,o,d);return}if(u.push(r),Array.isArray(r))for(g=0;g0)for(var n=0;n{"use strict";var n=i(9680),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,s=function(e,t,i){for(var n=0,r=e.length;n=3&&(o=i),"[object Array]"===r.call(e)?s(e,t,o):"string"==typeof e?a(e,t,o):l(e,t,o)}},71416:(e,t,i)=>{"use strict";i.d(t,{y:()=>y});var n=i(99724),r=i(89738),o=i(21778),s=i(2466),a=i(85285);function l({duration:e=300,keyframes:t,times:i,ease:l="easeInOut"}){let u=(0,r.N)(l)?l.map(o.R):(0,o.R)(l),d={done:!1,value:t[0]},c=(i&&i.length===t.length?i:(0,a.Y)(t)).map(t=>t*e),h=(0,s.s)(c,t,{ease:Array.isArray(u)?u:t.map(()=>u||n.mZ).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(d.value=h(t),d.done=t>=e,d)}}var u=i(10913),d=i(77977);function c({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:h}){let g,p;let f=e[0],m={done:!1,value:f},v=e=>void 0!==a&&el,b=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)-y*Math.exp(-e/n),S=e=>w+C(e),x=e=>{let t=C(e),i=S(e);m.done=Math.abs(t)<=c,m.value=m.done?w:i},k=e=>{v(m.value)&&(g=e,p=(0,u.S)({keyframes:[m.value,b(m.value)],velocity:(0,d.P)(S,e,m.value),damping:r,stiffness:o,restDelta:c,restSpeed:h}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==g||(t=!0,x(e),k(e)),void 0!==g&&e>g)?p.next(e-g):(t||x(e),m)}}}var h=i(2885),g=i(96002);let p=e=>{let t=({timestamp:t})=>e(t);return{start:()=>h.Wi.update(t,!0),stop:()=>(0,h.Pn)(t),now:()=>g.frameData.isProcessing?g.frameData.timestamp:performance.now()}};var f=i(53913),m=i(84657),v=i(91887);let b={decay:c,inertia:c,tween:l,keyframes:l,spring:u.S};function y({autoplay:e=!0,delay:t=0,driver:i=p,keyframes:n,type:r="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:u="loop",onPlay:d,onStop:c,onComplete:h,onUpdate:g,...y}){let _,w,C,S,x,k=1,E=!1,L=()=>{_&&_(),w=new Promise(e=>{_=e})};L();let D=b[r]||l;D!==l&&"number"!=typeof n[0]&&(S=(0,s.s)([0,100],n,{clamp:!1}),n=[0,100]);let N=D({...y,keyframes:n});"mirror"===u&&(x=D({...y,keyframes:[...n].reverse(),velocity:-(y.velocity||0)}));let A="idle",T=null,I=null,M=null;null===N.calculatedDuration&&o&&(N.calculatedDuration=(0,v.i)(N));let{calculatedDuration:R}=N,P=1/0,O=1/0;null!==R&&(O=(P=R+a)*(o+1)-a);let F=0,B=e=>{if(null===I)return;k>0&&(I=Math.min(I,e));let i=(F=null!==T?T:(e-I)*k)-t,r=i<0;F=Math.max(i,0),"finished"===A&&null===T&&(F=O);let s=F,l=N;if(o){let e=F/P,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--;let n=!!((t=Math.min(t,o+1))%2);n&&("reverse"===u?(i=1-i,a&&(i-=a/P)):"mirror"===u&&(l=x));let r=(0,f.u)(0,1,i);F>O&&(r="reverse"===u&&n?1:0),s=r*P}let d=r?{done:!1,value:n[0]}:l.next(s);S&&(d.value=S(d.value));let{done:c}=d;r||null===R||(c=F>=O);let h=null===T&&("finished"===A||"running"===A&&c||k<0&&F<=0);return g&&g(d.value),h&&W(),d},V=()=>{C&&C.stop(),C=void 0},H=()=>{A="idle",V(),L(),I=M=null},W=()=>{A="finished",h&&h(),V(),L()},j=()=>{if(E)return;C||(C=i(B));let e=C.now();d&&d(),null!==T?I=e-T:I&&"finished"!==A||(I=e),M=I,T=null,A="running",C.start()};e&&j();let z={then:(e,t)=>w.then(e,t),get time(){return(0,m.X)(F)},set time(newTime){F=newTime=(0,m.w)(newTime),null===T&&C&&0!==k?I=C.now()-newTime/k:T=newTime},get duration(){let e=null===N.calculatedDuration?(0,v.i)(N):N.calculatedDuration;return(0,m.X)(e)},get speed(){return k},set speed(newSpeed){if(newSpeed===k||!C)return;k=newSpeed,z.time=(0,m.X)(F)},get state(){return A},play:j,pause:()=>{A="paused",T=F},stop:()=>{E=!0,"idle"!==A&&(A="idle",c&&c(),H())},cancel:()=>{null!==M&&B(M),H()},complete:()=>{A="finished"},sample:e=>(I=0,B(e))};return z}},59513:(e,t,i)=>{"use strict";i.d(t,{hR:()=>r,eB:()=>a});let n=e=>Array.isArray(e)&&"number"==typeof e[0];function r(e){return!!(!e||"string"==typeof e&&s[e]||n(e)||Array.isArray(e)&&e.every(r))}let o=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,s={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:o([0,.65,.55,1]),circOut:o([.55,0,1,.45]),backIn:o([.31,.01,.66,-.59]),backOut:o([.33,1.53,.69,.99])};function a(e){if(e)return n(e)?o(e):Array.isArray(e)?e.map(a):s[e]}},72620:(e,t,i)=>{"use strict";i.d(t,{p:()=>r});var n=i(59513);function r(e,t,i,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:l,times:u}={}){let d={[t]:i};u&&(d.offset=u);let c=(0,n.eB)(l);return Array.isArray(c)&&(d.easing=c),e.animate(d,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}},10913:(e,t,i)=>{"use strict";i.d(t,{S:()=>c});var n=i(84657),r=i(77977),o=i(33029),s=i(53913);function a(e,t){return e*Math.sqrt(1-t*t)}let l=["duration","bounce"],u=["stiffness","damping","mass"];function d(e,t){return t.some(t=>void 0!==e[t])}function c({keyframes:e,restDelta:t,restSpeed:i,...c}){let h;let g=e[0],p=e[e.length-1],f={done:!1,value:g},{stiffness:m,damping:v,mass:b,velocity:y,duration:_,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!d(e,u)&&d(e,l)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:r=1}){let l,u;(0,o.K)(e<=(0,n.w)(10),"Spring duration must be 10 seconds or less");let d=1-t;d=(0,s.u)(.05,1,d),e=(0,s.u)(.01,10,(0,n.X)(e)),d<1?(l=t=>{let n=t*d,r=n*e;return .001-(n-i)/a(t,d)*Math.exp(-r)},u=t=>{let n=t*d*e,r=Math.pow(d,2)*Math.pow(t,2)*e,o=a(Math.pow(t,2),d);return(-l(t)+.001>0?-1:1)*((n*i+i-r)*Math.exp(-n))/o}):(l=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),u=t=>Math.exp(-t*e)*((i-t)*(e*e)));let c=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(l,u,5/e);if(e=(0,n.w)(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(c,2)*r;return{stiffness:t,damping:2*d*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(c),C=y?-(0,n.X)(y):0,S=v/(2*Math.sqrt(m*b)),x=p-g,k=(0,n.X)(Math.sqrt(m/b)),E=5>Math.abs(x);if(i||(i=E?.01:2),t||(t=E?.005:.5),S<1){let e=a(k,S);h=t=>p-Math.exp(-S*k*t)*((C+S*k*x)/e*Math.sin(e*t)+x*Math.cos(e*t))}else if(1===S)h=e=>p-Math.exp(-k*e)*(x+(C+k*x)*e);else{let e=k*Math.sqrt(S*S-1);h=t=>{let i=Math.exp(-S*k*t),n=Math.min(e*t,300);return p-i*((C+S*k*x)*Math.sinh(n)+e*x*Math.cosh(n))/e}}return{calculatedDuration:w&&_||null,next:e=>{let n=h(e);if(w)f.done=e>=_;else{let o=C;0!==e&&(o=S<1?(0,r.P)(h,e,n):0);let s=Math.abs(o)<=i,a=Math.abs(p-n)<=t;f.done=s&&a}return f.value=f.done?p:n,f}}}},91887:(e,t,i)=>{"use strict";i.d(t,{E:()=>n,i:()=>r});let n=2e4;function r(e){let t=0,i=e.next(t);for(;!i.done&&t=n?1/0:t}},77977:(e,t,i)=>{"use strict";i.d(t,{P:()=>r});var n=i(32369);function r(e,t,i){let r=Math.max(t-5,0);return(0,n.R)(i-e(r),t-r)}},17985:(e,t,i)=>{"use strict";i.d(t,{v:()=>L});var n=i(33029),r=i(84657),o=i(37981),s=i(2885),a=i(72620),l=i(59513);let u={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},d={},c={};for(let e in u)c[e]=()=>(void 0===d[e]&&(d[e]=u[e]()),d[e]);var h=i(71416);let g=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),p=(e,t)=>"spring"===t.type||"backgroundColor"===e||!(0,l.hR)(t.ease);var f=i(606),m=i(67188);let v={type:"spring",stiffness:500,damping:25,restSpeed:10},b=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},w=(e,{keyframes:t})=>t.length>2?y:m.G.has(e)?e.startsWith("scale")?b(t[1]):v:_;var C=i(99514);let S=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(C.P.test(t)||"0"===t)&&!t.startsWith("url("));var x=i(51997),k=i(65508),E=i(98548);let L=(e,t,i,l={})=>u=>{let d=(0,E.e)(l,e)||{},m=d.delay||l.delay||0,{elapsed:v=0}=l;v-=(0,r.w)(m);let b=function(e,t,i,n){let r,o;let s=S(t,i);r=Array.isArray(i)?[...i]:[null,i];let a=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e{t.set(e),d.onUpdate&&d.onUpdate(e)},onComplete:()=>{u(),d.onComplete&&d.onComplete()}};if((0,E.r)(d)||(D={...D,...w(e,D)}),D.duration&&(D.duration=(0,r.w)(D.duration)),D.repeatDelay&&(D.repeatDelay=(0,r.w)(D.repeatDelay)),!C||!L||o.c.current||!1===d.type)return function({keyframes:e,delay:t,onUpdate:i,onComplete:n}){let r=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:f.Z,pause:f.Z,stop:f.Z,then:e=>(e(),Promise.resolve()),cancel:f.Z,complete:f.Z});return t?(0,h.y)({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(D);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let i=function(e,t,{onUpdate:i,onComplete:n,...o}){let l,u;if(!(c.waapi()&&g.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let d=!1,f=()=>{u=new Promise(e=>{l=e})};f();let{keyframes:m,duration:v=300,ease:b,times:y}=o;if(p(t,o)){let e=(0,h.y)({...o,repeat:0,delay:0}),t={done:!1,value:m[0]},i=[],n=0;for(;!t.done&&n<2e4;)i.push((t=e.sample(n)).value),n+=10;y=void 0,m=i,v=n-10,b="linear"}let _=(0,a.p)(e.owner.current,t,m,{...o,duration:v,ease:b,times:y}),w=()=>_.cancel(),C=()=>{s.Wi.update(w),l(),f()};return _.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:i="loop"}){let n=t&&"loop"!==i&&t%2==1?0:e.length-1;return e[n]}(m,o)),n&&n(),C()},{then:(e,t)=>u.then(e,t),get time(){return(0,r.X)(_.currentTime||0)},set time(newTime){_.currentTime=(0,r.w)(newTime)},get speed(){return _.playbackRate},set speed(newSpeed){_.playbackRate=newSpeed},get duration(){return(0,r.X)(v)},play:()=>{d||(_.play(),(0,s.Pn)(w))},pause:()=>_.pause(),stop:()=>{if(d=!0,"idle"===_.playState)return;let{currentTime:t}=_;if(t){let i=(0,h.y)({...o,autoplay:!1});e.setWithVelocity(i.sample(t-10).value,i.sample(t).value,10)}C()},complete:()=>_.finish(),cancel:C}}(t,e,D);if(i)return i}return(0,h.y)(D)}},62037:(e,t,i)=>{"use strict";i.d(t,{D:()=>s});var n=i(17985),r=i(7881),o=i(8423);function s(e,t,i){let s=(0,o.i)(e)?e:(0,r.B)(e);return s.start((0,n.v)("",s,t,i)),s.animation}},63741:(e,t,i)=>{"use strict";i.d(t,{w:()=>u});var n=i(2885),r=i(67188),o=i(51556),s=i(17985),a=i(64595),l=i(51527);function u(e,t,{delay:i=0,transitionOverride:u,type:d}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:h,...g}=e.makeTargetAnimatable(t),p=e.getValue("willChange");u&&(c=u);let f=[],m=d&&e.animationState&&e.animationState.getState()[d];for(let t in g){let l=e.getValue(t),u=g[t];if(!l||void 0===u||m&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(m,t))continue;let d={delay:i,elapsed:0,...c};if(window.HandoffAppearAnimations&&!l.hasAnimated){let i=e.getProps()[o.M];i&&(d.elapsed=window.HandoffAppearAnimations(i,t,l,n.Wi))}l.start((0,s.v)(t,l,u,e.shouldReduceMotion&&r.G.has(t)?{type:!1}:d));let h=l.animation;(0,a.L)(p)&&(p.add(t),h.then(()=>p.remove(t))),f.push(h)}return h&&Promise.all(f).then(()=>{h&&(0,l.CD)(e,h)}),f}},99519:(e,t,i)=>{"use strict";i.d(t,{d:()=>a});var n=i(66968),r=i(63741);function o(e,t,i={}){let a=(0,n.x)(e,t,i.custom),{transition:l=e.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(l=i.transitionOverride);let u=a?()=>Promise.all((0,r.w)(e,a,i)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:u}=l;return function(e,t,i=0,n=0,r=1,a){let l=[],u=(e.variantChildren.size-1)*n,d=1===r?(e=0)=>e*n:(e=0)=>u-e*n;return Array.from(e.variantChildren).sort(s).forEach((e,n)=>{e.notify("AnimationStart",t),l.push(o(e,t,{...a,delay:i+d(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(l)}(e,t,r+n,a,u,i)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),d(i.delay)]);{let[e,t]="beforeChildren"===c?[u,d]:[d,u];return e().then(()=>t())}}function s(e,t){return e.sortNodePosition(t)}function a(e,t,i={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t))s=Promise.all(t.map(t=>o(e,t,i)));else if("string"==typeof t)s=o(e,t,i);else{let o="function"==typeof t?(0,n.x)(e,t,i.custom):t;s=Promise.all((0,r.w)(e,o,i))}return s.then(()=>e.notify("AnimationComplete",t))}},51556:(e,t,i)=>{"use strict";i.d(t,{M:()=>o,t:()=>r});var n=i(52069);let r="framerAppearId",o="data-"+(0,n.D)(r)},91129:(e,t,i)=>{"use strict";function n(e){return"object"==typeof e&&"function"==typeof e.start}i.d(t,{H:()=>n})},54365:(e,t,i)=>{"use strict";i.d(t,{C:()=>n});let n=e=>Array.isArray(e)},98548:(e,t,i)=>{"use strict";function n({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}function r(e,t){return e[t]||e.default||e}i.d(t,{e:()=>r,r:()=>n})},82988:(e,t,i)=>{"use strict";i.d(t,{M:()=>v});var n=i(2784),r=i(58550),o=i(85632),s=i(49501),a=i(75248);class l extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let i=(0,n.useId)(),r=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:a}=o.current;if(t||!r.current||!e||!n)return;r.current.dataset.motionPopId=i;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` + */let n=i(95766),r=i(62333),o="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function s(e){if(e>2147483647)throw RangeError('The value "'+e+'" is invalid for option "size"');let t=new Uint8Array(e);return Object.setPrototypeOf(t,a.prototype),t}function a(e,t,i){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return d(e)}return l(e,t,i)}function l(e,t,i){if("string"==typeof e)return function(e,t){if(("string"!=typeof t||""===t)&&(t="utf8"),!a.isEncoding(t))throw TypeError("Unknown encoding: "+t);let i=0|p(e,t),n=s(i),r=n.write(e,t);return r!==i&&(n=n.slice(0,r)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(F(e,Uint8Array)){let t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return c(e)}(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(F(e,ArrayBuffer)||e&&F(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(F(e,SharedArrayBuffer)||e&&F(e.buffer,SharedArrayBuffer)))return h(e,t,i);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');let n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return a.from(n,t,i);let r=function(e){if(a.isBuffer(e)){let t=0|g(e.length),i=s(t);return 0===i.length||e.copy(i,0,0,t),i}if(void 0!==e.length){var t;return"number"!=typeof e.length||(t=e.length)!=t?s(0):c(e)}if("Buffer"===e.type&&Array.isArray(e.data))return c(e.data)}(e);if(r)return r;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return a.from(e[Symbol.toPrimitive]("string"),t,i);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function d(e){return u(e),s(e<0?0:0|g(e))}function c(e){let t=e.length<0?0:0|g(e.length),i=s(t);for(let n=0;n=2147483647)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function p(e,t){if(a.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||F(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);let i=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===i)return 0;let r=!1;for(;;)switch(t){case"ascii":case"latin1":case"binary":return i;case"utf8":case"utf-8":return O(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*i;case"hex":return i>>>1;case"base64":return P(e).length;default:if(r)return n?-1:O(e).length;t=(""+t).toLowerCase(),r=!0}}function f(e,t,i){let r=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===i||i>this.length)&&(i=this.length),i<=0||(i>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,i){let n=e.length;(!t||t<0)&&(t=0),(!i||i<0||i>n)&&(i=n);let r="";for(let n=t;n2147483647?i=2147483647:i<-2147483648&&(i=-2147483648),(o=i=+i)!=o&&(i=r?0:e.length-1),i<0&&(i=e.length+i),i>=e.length){if(r)return -1;i=e.length-1}else if(i<0){if(!r)return -1;i=0}if("string"==typeof t&&(t=a.from(t,n)),a.isBuffer(t))return 0===t.length?-1:b(e,t,i,n,r);if("number"==typeof t)return(t&=255,"function"==typeof Uint8Array.prototype.indexOf)?r?Uint8Array.prototype.indexOf.call(e,t,i):Uint8Array.prototype.lastIndexOf.call(e,t,i):b(e,[t],i,n,r);throw TypeError("val must be string, number or Buffer")}function b(e,t,i,n,r){let o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;s=2,a/=2,l/=2,i/=2}function u(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(r){let n=-1;for(o=i;oa&&(i=a-l),o=i;o>=0;o--){let i=!0;for(let n=0;n239?4:t>223?3:t>191?2:1;if(r+s<=i){let i,n,a,l;switch(s){case 1:t<128&&(o=t);break;case 2:(192&(i=e[r+1]))==128&&(l=(31&t)<<6|63&i)>127&&(o=l);break;case 3:i=e[r+1],n=e[r+2],(192&i)==128&&(192&n)==128&&(l=(15&t)<<12|(63&i)<<6|63&n)>2047&&(l<55296||l>57343)&&(o=l);break;case 4:i=e[r+1],n=e[r+2],a=e[r+3],(192&i)==128&&(192&n)==128&&(192&a)==128&&(l=(15&t)<<18|(63&i)<<12|(63&n)<<6|63&a)>65535&&l<1114112&&(o=l)}}null===o?(o=65533,s=1):o>65535&&(o-=65536,n.push(o>>>10&1023|55296),o=56320|1023&o),n.push(o),r+=s}return function(e){let t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);let i="",n=0;for(;ni)throw RangeError("Trying to access beyond buffer length")}function w(e,t,i,n,r,o){if(!a.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>r||te.length)throw RangeError("Index out of range")}function C(e,t,i,n,r){A(t,n,r,e,i,7);let o=Number(t&BigInt(4294967295));e[i++]=o,o>>=8,e[i++]=o,o>>=8,e[i++]=o,o>>=8,e[i++]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,s>>=8,e[i++]=s,i}function S(e,t,i,n,r){A(t,n,r,e,i,7);let o=Number(t&BigInt(4294967295));e[i+7]=o,o>>=8,e[i+6]=o,o>>=8,e[i+5]=o,o>>=8,e[i+4]=o;let s=Number(t>>BigInt(32)&BigInt(4294967295));return e[i+3]=s,s>>=8,e[i+2]=s,s>>=8,e[i+1]=s,s>>=8,e[i]=s,i+8}function x(e,t,i,n,r,o){if(i+n>e.length||i<0)throw RangeError("Index out of range")}function k(e,t,i,n,o){return t=+t,i>>>=0,o||x(e,t,i,4,34028234663852886e22,-34028234663852886e22),r.write(e,t,i,n,23,4),i+4}function E(e,t,i,n,o){return t=+t,i>>>=0,o||x(e,t,i,8,17976931348623157e292,-17976931348623157e292),r.write(e,t,i,n,52,8),i+8}t.Buffer=a,t.SlowBuffer=function(e){return+e!=e&&(e=0),a.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=2147483647,a.TYPED_ARRAY_SUPPORT=function(){try{let e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),a.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(a.prototype,"parent",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.buffer}}),Object.defineProperty(a.prototype,"offset",{enumerable:!0,get:function(){if(a.isBuffer(this))return this.byteOffset}}),a.poolSize=8192,a.from=function(e,t,i){return l(e,t,i)},Object.setPrototypeOf(a.prototype,Uint8Array.prototype),Object.setPrototypeOf(a,Uint8Array),a.alloc=function(e,t,i){return(u(e),e<=0)?s(e):void 0!==t?"string"==typeof i?s(e).fill(t,i):s(e).fill(t):s(e)},a.allocUnsafe=function(e){return d(e)},a.allocUnsafeSlow=function(e){return d(e)},a.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==a.prototype},a.compare=function(e,t){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),F(t,Uint8Array)&&(t=a.from(t,t.offset,t.byteLength)),!a.isBuffer(e)||!a.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;let i=e.length,n=t.length;for(let r=0,o=Math.min(i,n);rn.length?(a.isBuffer(t)||(t=a.from(t)),t.copy(n,r)):Uint8Array.prototype.set.call(n,t,r);else if(a.isBuffer(t))t.copy(n,r);else throw TypeError('"list" argument must be an Array of Buffers');r+=t.length}return n},a.byteLength=p,a.prototype._isBuffer=!0,a.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(let t=0;ti&&(e+=" ... "),""},o&&(a.prototype[o]=a.prototype.inspect),a.prototype.compare=function(e,t,i,n,r){if(F(e,Uint8Array)&&(e=a.from(e,e.offset,e.byteLength)),!a.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===i&&(i=e?e.length:0),void 0===n&&(n=0),void 0===r&&(r=this.length),t<0||i>e.length||n<0||r>this.length)throw RangeError("out of range index");if(n>=r&&t>=i)return 0;if(n>=r)return -1;if(t>=i)return 1;if(t>>>=0,i>>>=0,n>>>=0,r>>>=0,this===e)return 0;let o=r-n,s=i-t,l=Math.min(o,s),u=this.slice(n,r),d=e.slice(t,i);for(let e=0;e>>=0,isFinite(i)?(i>>>=0,void 0===n&&(n="utf8")):(n=i,i=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");let h=this.length-t;if((void 0===i||i>h)&&(i=h),e.length>0&&(i<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");let g=!1;for(;;)switch(n){case"hex":return function(e,t,i,n){let r;i=Number(i)||0;let o=e.length-i;n?(n=Number(n))>o&&(n=o):n=o;let s=t.length;for(n>s/2&&(n=s/2),r=0;r>8,r.push(i%256),r.push(n);return r}(e,this.length-d),this,d,c);default:if(g)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),g=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},a.prototype.slice=function(e,t){let i=this.length;e=~~e,t=void 0===t?i:~~t,e<0?(e+=i)<0&&(e=0):e>i&&(e=i),t<0?(t+=i)<0&&(t=0):t>i&&(t=i),t>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e],r=1,o=0;for(;++o>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e+--t],r=1;for(;t>0&&(r*=256);)n+=this[e+--t]*r;return n},a.prototype.readUint8=a.prototype.readUInt8=function(e,t){return e>>>=0,t||_(e,1,this.length),this[e]},a.prototype.readUint16LE=a.prototype.readUInt16LE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]|this[e+1]<<8},a.prototype.readUint16BE=a.prototype.readUInt16BE=function(e,t){return e>>>=0,t||_(e,2,this.length),this[e]<<8|this[e+1]},a.prototype.readUint32LE=a.prototype.readUInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},a.prototype.readUint32BE=a.prototype.readUInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},a.prototype.readBigUInt64LE=V(function(e){T(e>>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&I(e,this.length-8);let n=t+256*this[++e]+65536*this[++e]+16777216*this[++e],r=this[++e]+256*this[++e]+65536*this[++e]+16777216*i;return BigInt(n)+(BigInt(r)<>>=0,"offset");let t=this[e],i=this[e+7];(void 0===t||void 0===i)&&I(e,this.length-8);let n=16777216*t+65536*this[++e]+256*this[++e]+this[++e],r=16777216*this[++e]+65536*this[++e]+256*this[++e]+i;return(BigInt(n)<>>=0,t>>>=0,i||_(e,t,this.length);let n=this[e],r=1,o=0;for(;++o=(r*=128)&&(n-=Math.pow(2,8*t)),n},a.prototype.readIntBE=function(e,t,i){e>>>=0,t>>>=0,i||_(e,t,this.length);let n=t,r=1,o=this[e+--n];for(;n>0&&(r*=256);)o+=this[e+--n]*r;return o>=(r*=128)&&(o-=Math.pow(2,8*t)),o},a.prototype.readInt8=function(e,t){return(e>>>=0,t||_(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},a.prototype.readInt16LE=function(e,t){e>>>=0,t||_(e,2,this.length);let i=this[e]|this[e+1]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt16BE=function(e,t){e>>>=0,t||_(e,2,this.length);let i=this[e+1]|this[e]<<8;return 32768&i?4294901760|i:i},a.prototype.readInt32LE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},a.prototype.readInt32BE=function(e,t){return e>>>=0,t||_(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},a.prototype.readBigInt64LE=V(function(e){T(e>>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&I(e,this.length-8),(BigInt(this[e+4]+256*this[e+5]+65536*this[e+6]+(i<<24))<>>=0,"offset");let t=this[e],i=this[e+7];return(void 0===t||void 0===i)&&I(e,this.length-8),(BigInt((t<<24)+65536*this[++e]+256*this[++e]+this[++e])<>>=0,t||_(e,4,this.length),r.read(this,e,!0,23,4)},a.prototype.readFloatBE=function(e,t){return e>>>=0,t||_(e,4,this.length),r.read(this,e,!1,23,4)},a.prototype.readDoubleLE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!0,52,8)},a.prototype.readDoubleBE=function(e,t){return e>>>=0,t||_(e,8,this.length),r.read(this,e,!1,52,8)},a.prototype.writeUintLE=a.prototype.writeUIntLE=function(e,t,i,n){if(e=+e,t>>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;w(this,e,t,i,n,0)}let r=1,o=0;for(this[t]=255&e;++o>>=0,i>>>=0,!n){let n=Math.pow(2,8*i)-1;w(this,e,t,i,n,0)}let r=i-1,o=1;for(this[t+r]=255&e;--r>=0&&(o*=256);)this[t+r]=e/o&255;return t+i},a.prototype.writeUint8=a.prototype.writeUInt8=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,1,255,0),this[t]=255&e,t+1},a.prototype.writeUint16LE=a.prototype.writeUInt16LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeUint16BE=a.prototype.writeUInt16BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeUint32LE=a.prototype.writeUInt32LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},a.prototype.writeUint32BE=a.prototype.writeUInt32BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigUInt64LE=V(function(e,t=0){return C(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeBigUInt64BE=V(function(e,t=0){return S(this,e,t,BigInt(0),BigInt("0xffffffffffffffff"))}),a.prototype.writeIntLE=function(e,t,i,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*i-1);w(this,e,t,i,n-1,-n)}let r=0,o=1,s=0;for(this[t]=255&e;++r>0)-s&255;return t+i},a.prototype.writeIntBE=function(e,t,i,n){if(e=+e,t>>>=0,!n){let n=Math.pow(2,8*i-1);w(this,e,t,i,n-1,-n)}let r=i-1,o=1,s=0;for(this[t+r]=255&e;--r>=0&&(o*=256);)e<0&&0===s&&0!==this[t+r+1]&&(s=1),this[t+r]=(e/o>>0)-s&255;return t+i},a.prototype.writeInt8=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},a.prototype.writeInt16LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},a.prototype.writeInt16BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},a.prototype.writeInt32LE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},a.prototype.writeInt32BE=function(e,t,i){return e=+e,t>>>=0,i||w(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},a.prototype.writeBigInt64LE=V(function(e,t=0){return C(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeBigInt64BE=V(function(e,t=0){return S(this,e,t,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),a.prototype.writeFloatLE=function(e,t,i){return k(this,e,t,!0,i)},a.prototype.writeFloatBE=function(e,t,i){return k(this,e,t,!1,i)},a.prototype.writeDoubleLE=function(e,t,i){return E(this,e,t,!0,i)},a.prototype.writeDoubleBE=function(e,t,i){return E(this,e,t,!1,i)},a.prototype.copy=function(e,t,i,n){if(!a.isBuffer(e))throw TypeError("argument should be a Buffer");if(i||(i=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t>>=0,i=void 0===i?this.length:i>>>0,e||(e=0),"number"==typeof e)for(r=t;r=n+4;i-=3)t=`_${e.slice(i-3,i)}${t}`;return`${e.slice(0,i)}${t}`}function A(e,t,i,n,r,o){if(e>i||e3?0===t||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(o+1)*8}${r}`:`>= -(2${r} ** ${(o+1)*8-1}${r}) and < 2 ** ${(o+1)*8-1}${r}`:`>= ${t}${r} and <= ${i}${r}`,new L.ERR_OUT_OF_RANGE("value",n,e)}T(r,"offset"),(void 0===n[r]||void 0===n[r+o])&&I(r,n.length-(o+1))}function T(e,t){if("number"!=typeof e)throw new L.ERR_INVALID_ARG_TYPE(t,"number",e)}function I(e,t,i){if(Math.floor(e)!==e)throw T(e,i),new L.ERR_OUT_OF_RANGE(i||"offset","an integer",e);if(t<0)throw new L.ERR_BUFFER_OUT_OF_BOUNDS;throw new L.ERR_OUT_OF_RANGE(i||"offset",`>= ${i?1:0} and <= ${t}`,e)}D("ERR_BUFFER_OUT_OF_BOUNDS",function(e){return e?`${e} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),D("ERR_INVALID_ARG_TYPE",function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),D("ERR_OUT_OF_RANGE",function(e,t,i){let n=`The value of "${e}" is out of range.`,r=i;return Number.isInteger(i)&&Math.abs(i)>4294967296?r=N(String(i)):"bigint"==typeof i&&(r=String(i),(i>BigInt(2)**BigInt(32)||i<-(BigInt(2)**BigInt(32)))&&(r=N(r)),r+="n"),n+=` It must be ${t}. Received ${r}`},RangeError);let M=/[^+/0-9A-Za-z-_]/g;function O(e,t){let i;t=t||1/0;let n=e.length,r=null,o=[];for(let s=0;s55295&&i<57344){if(!r){if(i>56319||s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}r=i;continue}if(i<56320){(t-=3)>-1&&o.push(239,191,189),r=i;continue}i=(r-55296<<10|i-56320)+65536}else r&&(t-=3)>-1&&o.push(239,191,189);if(r=null,i<128){if((t-=1)<0)break;o.push(i)}else if(i<2048){if((t-=2)<0)break;o.push(i>>6|192,63&i|128)}else if(i<65536){if((t-=3)<0)break;o.push(i>>12|224,i>>6&63|128,63&i|128)}else if(i<1114112){if((t-=4)<0)break;o.push(i>>18|240,i>>12&63|128,i>>6&63|128,63&i|128)}else throw Error("Invalid code point")}return o}function P(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(M,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function R(e,t,i,n){let r;for(r=0;r=t.length)&&!(r>=e.length);++r)t[r+i]=e[r];return r}function F(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}let B=function(){let e="0123456789abcdef",t=Array(256);for(let i=0;i<16;++i){let n=16*i;for(let r=0;r<16;++r)t[n+r]=e[i]+e[r]}return t}();function V(e){return"undefined"==typeof BigInt?H:e}function H(){throw Error("BigInt not supported")}},62680:(e,t,i)=>{"use strict";var n=i(67286),r=i(89429),o=r(n("String.prototype.indexOf"));e.exports=function(e,t){var i=n(e,!!t);return"function"==typeof i&&o(e,".prototype.")>-1?r(i):i}},89429:(e,t,i)=>{"use strict";var n=i(4090),r=i(67286),o=i(47669),s=i(5408),a=r("%Function.prototype.apply%"),l=r("%Function.prototype.call%"),u=r("%Reflect.apply%",!0)||n.call(l,a),d=r("%Object.defineProperty%",!0),c=r("%Math.max%");if(d)try{d({},"a",{value:1})}catch(e){d=null}e.exports=function(e){if("function"!=typeof e)throw new s("a function is required");var t=u(n,l,arguments);return o(t,1+c(0,e.length-(arguments.length-1)),!0)};var h=function(){return u(n,a,arguments)};d?d(e.exports,"apply",{value:h}):e.exports.apply=h},50381:(e,t,i)=>{"use strict";var n=i(91706),r={"text/plain":"Text","text/html":"Url",default:"Text"};e.exports=function(e,t){var i,o,s,a,l,u,d,c,h=!1;t||(t={}),s=t.debug||!1;try{if(l=n(),u=document.createRange(),d=document.getSelection(),(c=document.createElement("span")).textContent=e,c.ariaHidden="true",c.style.all="unset",c.style.position="fixed",c.style.top=0,c.style.clip="rect(0, 0, 0, 0)",c.style.whiteSpace="pre",c.style.webkitUserSelect="text",c.style.MozUserSelect="text",c.style.msUserSelect="text",c.style.userSelect="text",c.addEventListener("copy",function(i){if(i.stopPropagation(),t.format){if(i.preventDefault(),void 0===i.clipboardData){s&&console.warn("unable to use e.clipboardData"),s&&console.warn("trying IE specific stuff"),window.clipboardData.clearData();var n=r[t.format]||r.default;window.clipboardData.setData(n,e)}else i.clipboardData.clearData(),i.clipboardData.setData(t.format,e)}t.onCopy&&(i.preventDefault(),t.onCopy(i.clipboardData))}),document.body.appendChild(c),u.selectNodeContents(c),d.addRange(u),!document.execCommand("copy"))throw Error("copy command was unsuccessful");h=!0}catch(n){s&&console.error("unable to copy using execCommand: ",n),s&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),t.onCopy&&t.onCopy(window.clipboardData),h=!0}catch(n){s&&console.error("unable to copy using clipboardData: ",n),s&&console.error("falling back to prompt"),i="message"in t?t.message:"Copy to clipboard: #{key}, Enter",o=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C",a=i.replace(/#{\s*key\s*}/g,o),window.prompt(a,e)}}finally{d&&("function"==typeof d.removeRange?d.removeRange(u):d.removeAllRanges()),c&&document.body.removeChild(c),l()}return h}},79344:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar {\n white-space: nowrap;\n height: 100%;\n}\n\n.monaco-action-bar .actions-container {\n display: flex;\n margin: 0 auto;\n padding: 0;\n height: 100%;\n width: 100%;\n align-items: center;\n}\n\n.monaco-action-bar.vertical .actions-container {\n display: inline-block;\n}\n\n.monaco-action-bar .action-item {\n display: block;\n align-items: center;\n justify-content: center;\n cursor: pointer;\n position: relative; /* DO NOT REMOVE - this is the key to preventing the ghosting icon bug in Chrome 42 */\n}\n\n.monaco-action-bar .action-item.disabled {\n cursor: default;\n}\n\n.monaco-action-bar .action-item .icon,\n.monaco-action-bar .action-item .codicon {\n display: block;\n}\n\n.monaco-action-bar .action-item .codicon {\n display: flex;\n align-items: center;\n width: 16px;\n height: 16px;\n}\n\n.monaco-action-bar .action-label {\n display: flex;\n font-size: 11px;\n padding: 3px;\n border-radius: 5px;\n}\n\n.monaco-action-bar .action-item.disabled .action-label,\n.monaco-action-bar .action-item.disabled .action-label::before,\n.monaco-action-bar .action-item.disabled .action-label:hover {\n opacity: 0.6;\n}\n\n/* Vertical actions */\n\n.monaco-action-bar.vertical {\n text-align: left;\n}\n\n.monaco-action-bar.vertical .action-item {\n display: block;\n}\n\n.monaco-action-bar.vertical .action-label.separator {\n display: block;\n border-bottom: 1px solid #bbb;\n padding-top: 1px;\n margin-left: .8em;\n margin-right: .8em;\n}\n\n.monaco-action-bar .action-item .action-label.separator {\n width: 1px;\n height: 16px;\n margin: 5px 4px !important;\n cursor: default;\n min-width: 1px;\n padding: 0;\n background-color: #bbb;\n}\n\n.secondary-actions .monaco-action-bar .action-label {\n margin-left: 6px;\n}\n\n/* Action Items */\n.monaco-action-bar .action-item.select-container {\n overflow: hidden; /* somehow the dropdown overflows its container, we prevent it here to not push */\n flex: 1;\n max-width: 170px;\n min-width: 60px;\n display: flex;\n align-items: center;\n justify-content: center;\n margin-right: 10px;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item {\n display: flex;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator {\n display: flex;\n align-items: center;\n cursor: default;\n}\n\n.monaco-action-bar .action-item.action-dropdown-item > .action-dropdown-item-separator > div {\n width: 1px;\n}\n",""]);let a=s},32488:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-aria-container {\n position: absolute; /* try to hide from window but not from screen readers */\n left:-999em;\n}",""]);let a=s},71635:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-text-button {\n box-sizing: border-box;\n display: flex;\n width: 100%;\n padding: 4px;\n border-radius: 2px;\n text-align: center;\n cursor: pointer;\n justify-content: center;\n align-items: center;\n border: 1px solid var(--vscode-button-border, transparent);\n line-height: 18px;\n}\n\n.monaco-text-button:focus {\n outline-offset: 2px !important;\n}\n\n.monaco-text-button:hover {\n text-decoration: none !important;\n}\n\n.monaco-button.disabled:focus,\n.monaco-button.disabled {\n opacity: 0.4 !important;\n cursor: default;\n}\n\n.monaco-text-button .codicon {\n margin: 0 0.2em;\n color: inherit !important;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label {\n flex-direction: row;\n flex-wrap: wrap;\n padding: 0 4px;\n overflow: hidden;\n height: 28px;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label {\n flex-basis: 100%;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {\n flex-grow: 1;\n width: 0;\n overflow: hidden;\n}\n\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label,\n.monaco-text-button.monaco-text-button-with-short-label > .monaco-button-label-short {\n display: flex;\n justify-content: center;\n align-items: center;\n font-weight: normal;\n font-style: inherit;\n padding: 4px 0;\n}\n\n.monaco-button-dropdown {\n display: flex;\n cursor: pointer;\n}\n\n.monaco-button-dropdown.disabled {\n cursor: default;\n}\n\n.monaco-button-dropdown > .monaco-button:focus {\n outline-offset: -1px !important;\n}\n\n.monaco-button-dropdown.disabled > .monaco-button.disabled,\n.monaco-button-dropdown.disabled > .monaco-button.disabled:focus,\n.monaco-button-dropdown.disabled > .monaco-button-dropdown-separator {\n opacity: 0.4 !important;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-text-button {\n border-right-width: 0 !important;\n}\n\n.monaco-button-dropdown .monaco-button-dropdown-separator {\n padding: 4px 0;\n cursor: default;\n}\n\n.monaco-button-dropdown .monaco-button-dropdown-separator > div {\n height: 100%;\n width: 1px;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-dropdown-button {\n border: 1px solid var(--vscode-button-border, transparent);\n border-left-width: 0 !important;\n border-radius: 0 2px 2px 0;\n}\n\n.monaco-button-dropdown > .monaco-button.monaco-text-button {\n border-radius: 2px 0 0 2px;\n}\n\n.monaco-description-button {\n display: flex;\n flex-direction: column;\n align-items: center;\n margin: 4px 5px; /* allows button focus outline to be visible */\n}\n\n.monaco-description-button .monaco-button-description {\n font-style: italic;\n font-size: 11px;\n padding: 4px 20px;\n}\n\n.monaco-description-button .monaco-button-label,\n.monaco-description-button .monaco-button-description {\n display: flex;\n justify-content: center;\n align-items: center;\n}\n\n.monaco-description-button .monaco-button-label > .codicon,\n.monaco-description-button .monaco-button-description > .codicon {\n margin: 0 0.2em;\n color: inherit !important;\n}\n",""]);let a=s},38643:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.codicon-wrench-subaction {\n opacity: 0.5;\n}\n\n@keyframes codicon-spin {\n 100% {\n transform:rotate(360deg);\n }\n}\n\n.codicon-sync.codicon-modifier-spin,\n.codicon-loading.codicon-modifier-spin,\n.codicon-gear.codicon-modifier-spin,\n.codicon-notebook-state-executing.codicon-modifier-spin {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.5s steps(30) infinite;\n}\n\n.codicon-modifier-disabled {\n opacity: 0.4;\n}\n\n/* custom speed & easing for loading icon */\n.codicon-loading,\n.codicon-tree-item-loading::before {\n animation-duration: 1s !important;\n animation-timing-function: cubic-bezier(0.53, 0.21, 0.29, 0.67) !important;\n}\n",""]);let a=s},83129:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(26602),i.b),d=s()(r()),c=l()(u);d.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n@font-face {\n font-family: "codicon";\n font-display: block;\n src: url('+c+") format(\"truetype\");\n}\n\n.codicon[class*='codicon-'] {\n font: normal normal normal 16px/1 codicon;\n display: inline-block;\n text-decoration: none;\n text-rendering: auto;\n text-align: center;\n text-transform: none;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n user-select: none;\n -webkit-user-select: none;\n}\n\n/* icon rules are dynamically created by the platform theme service (see iconsStyleSheet.ts) */\n",""]);let h=d},57820:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.context-view {\n position: absolute;\n}\n\n.context-view.fixed {\n all: initial;\n font-family: inherit;\n font-size: 13px;\n position: fixed;\n color: inherit;\n}\n",""]);let a=s},56050:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-count-badge {\n padding: 3px 6px;\n border-radius: 11px;\n font-size: 11px;\n min-width: 18px;\n min-height: 18px;\n line-height: 11px;\n font-weight: normal;\n text-align: center;\n display: inline-block;\n box-sizing: border-box;\n}\n\n.monaco-count-badge.long {\n padding: 2px 3px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n",""]);let a=s},706:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-dropdown {\n height: 100%;\n padding: 0;\n}\n\n.monaco-dropdown > .dropdown-label {\n cursor: pointer;\n height: 100%;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.monaco-dropdown > .dropdown-label > .action-label.disabled {\n cursor: default;\n}\n\n.monaco-dropdown-with-primary {\n display: flex !important;\n flex-direction: row;\n border-radius: 5px;\n}\n\n.monaco-dropdown-with-primary > .action-container > .action-label {\n margin-right: 0;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n font-size: 12px;\n padding-left: 0px;\n padding-right: 0px;\n line-height: 16px;\n margin-left: -3px;\n}\n\n.monaco-dropdown-with-primary > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n display: block;\n background-size: 16px;\n background-position: center center;\n background-repeat: no-repeat;\n}\n",""]);let a=s},15258:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- Find input ---------- */\n\n.monaco-findInput {\n position: relative;\n}\n\n.monaco-findInput .monaco-inputbox {\n font-size: 13px;\n width: 100%;\n}\n\n.monaco-findInput > .controls {\n position: absolute;\n top: 3px;\n right: 2px;\n}\n\n.vs .monaco-findInput.disabled {\n background-color: #E1E1E1;\n}\n\n/* Theming */\n.vs-dark .monaco-findInput.disabled {\n background-color: #333;\n}\n\n/* Highlighting */\n.monaco-findInput.highlight-0 .controls,\n.hc-light .monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-0 100ms linear 0s;\n}\n\n.monaco-findInput.highlight-1 .controls,\n.hc-light .monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-1 100ms linear 0s;\n}\n\n.hc-black .monaco-findInput.highlight-0 .controls,\n.vs-dark .monaco-findInput.highlight-0 .controls {\n animation: monaco-findInput-highlight-dark-0 100ms linear 0s;\n}\n\n.hc-black .monaco-findInput.highlight-1 .controls,\n.vs-dark .monaco-findInput.highlight-1 .controls {\n animation: monaco-findInput-highlight-dark-1 100ms linear 0s;\n}\n\n@keyframes monaco-findInput-highlight-0 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-1 {\n 0% { background: rgba(253, 255, 0, 0.8); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}\n\n@keyframes monaco-findInput-highlight-dark-0 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n 100% { background: transparent; }\n}\n@keyframes monaco-findInput-highlight-dark-1 {\n 0% { background: rgba(255, 255, 255, 0.44); }\n /* Made intentionally different such that the CSS minifier does not collapse the two animations into a single one*/\n 99% { background: transparent; }\n}\n",""]);let a=s},74127:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-hover {\n cursor: default;\n position: absolute;\n overflow: hidden;\n z-index: 50;\n user-select: text;\n -webkit-user-select: text;\n box-sizing: initial;\n animation: fadein 100ms linear;\n line-height: 1.5em;\n}\n\n.monaco-hover.hidden {\n display: none;\n}\n\n.monaco-hover a:hover:not(.disabled) {\n cursor: pointer;\n}\n\n.monaco-hover .hover-contents:not(.html-hover-contents) {\n padding: 4px 8px;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) {\n max-width: 500px;\n word-wrap: break-word;\n}\n\n.monaco-hover .markdown-hover > .hover-contents:not(.code-hover-contents) hr {\n min-width: 100%;\n}\n\n.monaco-hover p,\n.monaco-hover .code,\n.monaco-hover ul,\n.monaco-hover h1,\n.monaco-hover h2,\n.monaco-hover h3,\n.monaco-hover h4,\n.monaco-hover h5,\n.monaco-hover h6 {\n margin: 8px 0;\n}\n\n.monaco-hover h1,\n.monaco-hover h2,\n.monaco-hover h3,\n.monaco-hover h4,\n.monaco-hover h5,\n.monaco-hover h6 {\n line-height: 1.1;\n}\n\n.monaco-hover code {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-hover hr {\n box-sizing: border-box;\n border-left: 0px;\n border-right: 0px;\n margin-top: 4px;\n margin-bottom: -4px;\n margin-left: -8px;\n margin-right: -8px;\n height: 1px;\n}\n\n.monaco-hover p:first-child,\n.monaco-hover .code:first-child,\n.monaco-hover ul:first-child {\n margin-top: 0;\n}\n\n.monaco-hover p:last-child,\n.monaco-hover .code:last-child,\n.monaco-hover ul:last-child {\n margin-bottom: 0;\n}\n\n/* MarkupContent Layout */\n.monaco-hover ul {\n padding-left: 20px;\n}\n.monaco-hover ol {\n padding-left: 20px;\n}\n\n.monaco-hover li > p {\n margin-bottom: 0;\n}\n\n.monaco-hover li > ul {\n margin-top: 0;\n}\n\n.monaco-hover code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-hover .monaco-tokenized-source {\n white-space: pre-wrap;\n}\n\n.monaco-hover .hover-row.status-bar {\n font-size: 12px;\n line-height: 22px;\n}\n\n.monaco-hover .hover-row.status-bar .info {\n font-style: italic;\n padding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions {\n display: flex;\n padding: 0px 8px;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container {\n margin-right: 16px;\n cursor: pointer;\n}\n\n.monaco-hover .hover-row.status-bar .actions .action-container .action .icon {\n padding-right: 4px;\n}\n\n.monaco-hover .markdown-hover .hover-contents .codicon {\n color: inherit;\n font-size: inherit;\n vertical-align: middle;\n}\n\n.monaco-hover .hover-contents a.code-link:hover,\n.monaco-hover .hover-contents a.code-link {\n color: inherit;\n}\n\n.monaco-hover .hover-contents a.code-link:before {\n content: '(';\n}\n\n.monaco-hover .hover-contents a.code-link:after {\n content: ')';\n}\n\n.monaco-hover .hover-contents a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-hover .hover-contents a.code-link > span:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n/** Spans in markdown hovers need a margin-bottom to avoid looking cramped: https://github.com/microsoft/vscode/issues/101496 **/\n.monaco-hover .markdown-hover .hover-contents:not(.code-hover-contents):not(.html-hover-contents) span {\n margin-bottom: 4px;\n display: inline-block;\n}\n\n.monaco-hover-content .action-container a {\n -webkit-user-select: none;\n user-select: none;\n}\n\n.monaco-hover-content .action-container.disabled {\n pointer-events: none;\n opacity: 0.4;\n cursor: default;\n}\n",""]);let a=s},79576:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* ---------- Icon label ---------- */\n\n.monaco-icon-label {\n display: flex; /* required for icons support :before rule */\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-icon-label::before {\n\n /* svg icons rendered as background image */\n background-size: 16px;\n background-position: left center;\n background-repeat: no-repeat;\n padding-right: 6px;\n width: 16px;\n height: 22px;\n line-height: inherit !important;\n display: inline-block;\n\n /* fonts icons */\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n vertical-align: top;\n\n flex-shrink: 0; /* fix for https://github.com/microsoft/vscode/issues/13787 */\n}\n\n.monaco-icon-label-container.disabled {\n color: var(--vscode-disabledForeground);\n}\n.monaco-icon-label > .monaco-icon-label-container {\n min-width: 0;\n overflow: hidden;\n text-overflow: ellipsis;\n flex: 1;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name {\n color: inherit;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-name-container > .label-name > .label-separator {\n margin: 0 2px;\n opacity: 0.5;\n}\n\n.monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .7;\n margin-left: 0.5em;\n font-size: 0.9em;\n white-space: pre; /* enable to show labels that include multiple whitespaces */\n}\n\n.monaco-icon-label.nowrap > .monaco-icon-label-container > .monaco-icon-description-container > .label-description{\n white-space: nowrap\n}\n\n.vs .monaco-icon-label > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n opacity: .95;\n}\n\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.italic > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n font-style: italic;\n}\n\n.monaco-icon-label.deprecated {\n text-decoration: line-through;\n opacity: 0.66;\n}\n\n/* make sure apply italic font style to decorations as well */\n.monaco-icon-label.italic::after {\n font-style: italic;\n}\n\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-name-container > .label-name,\n.monaco-icon-label.strikethrough > .monaco-icon-label-container > .monaco-icon-description-container > .label-description {\n text-decoration: line-through;\n}\n\n.monaco-icon-label::after {\n opacity: 0.75;\n font-size: 90%;\n font-weight: 600;\n margin: auto 16px 0 5px; /* https://github.com/microsoft/vscode/issues/113223 */\n text-align: center;\n}\n\n/* make sure selection color wins when a label is being selected */\n.monaco-list:focus .selected .monaco-icon-label, /* list */\n.monaco-list:focus .selected .monaco-icon-label::after\n{\n color: inherit !important;\n}\n\n.monaco-list-row.focused.selected .label-description,\n.monaco-list-row.selected .label-description {\n opacity: .8;\n}\n",""]);let a=s},58118:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-inputbox {\n position: relative;\n display: block;\n padding: 0;\n box-sizing: border-box;\n border-radius: 2px;\n\n /* Customizable */\n font-size: inherit;\n}\n\n.monaco-inputbox > .ibwrapper > .input,\n.monaco-inputbox > .ibwrapper > .mirror {\n\n /* Customizable */\n padding: 4px 6px;\n}\n\n.monaco-inputbox > .ibwrapper {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-inputbox > .ibwrapper > .input {\n display: inline-block;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n line-height: inherit;\n border: none;\n font-family: inherit;\n font-size: inherit;\n resize: none;\n color: inherit;\n}\n\n.monaco-inputbox > .ibwrapper > input {\n text-overflow: ellipsis;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input {\n display: block;\n scrollbar-width: none; /* Firefox: hide scrollbars */\n outline: none;\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input::-webkit-scrollbar {\n display: none; /* Chrome + Safari: hide scrollbar */\n}\n\n.monaco-inputbox > .ibwrapper > textarea.input.empty {\n white-space: nowrap;\n}\n\n.monaco-inputbox > .ibwrapper > .mirror {\n position: absolute;\n display: inline-block;\n width: 100%;\n top: 0;\n left: 0;\n box-sizing: border-box;\n white-space: pre-wrap;\n visibility: hidden;\n word-wrap: break-word;\n}\n\n/* Context view */\n\n.monaco-inputbox-container {\n text-align: right;\n}\n\n.monaco-inputbox-container .monaco-inputbox-message {\n display: inline-block;\n overflow: hidden;\n text-align: left;\n width: 100%;\n box-sizing: border-box;\n padding: 0.4em;\n font-size: 12px;\n line-height: 17px;\n margin-top: -1px;\n word-wrap: break-word;\n}\n\n/* Action bar support */\n.monaco-inputbox .monaco-action-bar {\n position: absolute;\n right: 2px;\n top: 4px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item {\n margin-left: 2px;\n}\n\n.monaco-inputbox .monaco-action-bar .action-item .codicon {\n background-repeat: no-repeat;\n width: 16px;\n height: 16px;\n}\n",""]);let a=s},96538:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-keybinding {\n display: flex;\n align-items: center;\n line-height: 10px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n display: inline-block;\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n vertical-align: middle;\n font-size: 11px;\n padding: 3px 5px;\n margin: 0 2px;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:first-child {\n margin-left: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key:last-child {\n margin-right: 0;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-separator {\n display: inline-block;\n}\n\n.monaco-keybinding > .monaco-keybinding-key-chord-separator {\n width: 6px;\n}\n",""]);let a=s},21260:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-list {\n position: relative;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n}\n\n.monaco-list.mouse-support {\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-list > .monaco-scrollable-element {\n height: 100%;\n}\n\n.monaco-list-rows {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-list.horizontal-scrolling .monaco-list-rows {\n width: auto;\n min-width: 100%;\n}\n\n.monaco-list-row {\n position: absolute;\n box-sizing: border-box;\n overflow: hidden;\n width: 100%;\n}\n\n.monaco-list.mouse-support .monaco-list-row {\n cursor: pointer;\n touch-action: none;\n}\n\n/* for OS X ballistic scrolling */\n.monaco-list-row.scrolling {\n display: none !important;\n}\n\n/* Focus */\n.monaco-list.element-focused,\n.monaco-list.selection-single,\n.monaco-list.selection-multiple {\n outline: 0 !important;\n}\n\n/* Dnd */\n.monaco-drag-image {\n display: inline-block;\n padding: 1px 7px;\n border-radius: 10px;\n font-size: 12px;\n position: absolute;\n z-index: 1000;\n}\n\n/* Filter */\n\n.monaco-list-type-filter-message {\n position: absolute;\n box-sizing: border-box;\n width: 100%;\n height: 100%;\n top: 0;\n left: 0;\n padding: 40px 1em 1em 1em;\n text-align: center;\n white-space: normal;\n opacity: 0.7;\n pointer-events: none;\n}\n\n.monaco-list-type-filter-message:empty {\n display: none;\n}\n",""]);let a=s},22453:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-mouse-cursor-text {\n cursor: text;\n}\n",""]);let a=s},90504:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-progress-container {\n width: 100%;\n height: 5px;\n overflow: hidden; /* keep progress bit in bounds */\n}\n\n.monaco-progress-container .progress-bit {\n width: 2%;\n height: 5px;\n position: absolute;\n left: 0;\n display: none;\n}\n\n.monaco-progress-container.active .progress-bit {\n display: inherit;\n}\n\n.monaco-progress-container.discrete .progress-bit {\n left: 0;\n transition: width 100ms linear;\n}\n\n.monaco-progress-container.discrete.done .progress-bit {\n width: 100%;\n}\n\n.monaco-progress-container.infinite .progress-bit {\n animation-name: progress;\n animation-duration: 4s;\n animation-iteration-count: infinite;\n transform: translate3d(0px, 0px, 0px);\n animation-timing-function: linear;\n}\n\n.monaco-progress-container.infinite.infinite-long-running .progress-bit {\n /*\n The more smooth `linear` timing function can cause\n higher GPU consumption as indicated in\n https://github.com/microsoft/vscode/issues/97900 &\n https://github.com/microsoft/vscode/issues/138396\n */\n animation-timing-function: steps(100);\n}\n\n/**\n * The progress bit has a width: 2% (1/50) of the parent container. The animation moves it from 0% to 100% of\n * that container. Since translateX is relative to the progress bit size, we have to multiple it with\n * its relative size to the parent container:\n * parent width: 5000%\n * bit width: 100%\n * translateX should be as follow:\n * 50%: 5000% * 50% - 50% (set to center) = 2450%\n * 100%: 5000% * 100% - 100% (do not overflow) = 4900%\n */\n@keyframes progress { from { transform: translateX(0%) scaleX(1) } 50% { transform: translateX(2500%) scaleX(3) } to { transform: translateX(4900%) scaleX(1) } }\n",""]);let a=s},10627:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n:root {\n --vscode-sash-size: 4px;\n}\n\n.monaco-sash {\n position: absolute;\n z-index: 35;\n touch-action: none;\n}\n\n.monaco-sash.disabled {\n pointer-events: none;\n}\n\n.monaco-sash.mac.vertical {\n cursor: col-resize;\n}\n\n.monaco-sash.vertical.minimum {\n cursor: e-resize;\n}\n\n.monaco-sash.vertical.maximum {\n cursor: w-resize;\n}\n\n.monaco-sash.mac.horizontal {\n cursor: row-resize;\n}\n\n.monaco-sash.horizontal.minimum {\n cursor: s-resize;\n}\n\n.monaco-sash.horizontal.maximum {\n cursor: n-resize;\n}\n\n.monaco-sash.disabled {\n cursor: default !important;\n pointer-events: none !important;\n}\n\n.monaco-sash.vertical {\n cursor: ew-resize;\n top: 0;\n width: var(--vscode-sash-size);\n height: 100%;\n}\n\n.monaco-sash.horizontal {\n cursor: ns-resize;\n left: 0;\n width: 100%;\n height: var(--vscode-sash-size);\n}\n\n.monaco-sash:not(.disabled) > .orthogonal-drag-handle {\n content: \" \";\n height: calc(var(--vscode-sash-size) * 2);\n width: calc(var(--vscode-sash-size) * 2);\n z-index: 100;\n display: block;\n cursor: all-scroll;\n position: absolute;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n > .orthogonal-drag-handle.start,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n > .orthogonal-drag-handle.end {\n cursor: nwse-resize;\n}\n\n.monaco-sash.horizontal.orthogonal-edge-north:not(.disabled)\n > .orthogonal-drag-handle.end,\n.monaco-sash.horizontal.orthogonal-edge-south:not(.disabled)\n > .orthogonal-drag-handle.start {\n cursor: nesw-resize;\n}\n\n.monaco-sash.vertical > .orthogonal-drag-handle.start {\n left: calc(var(--vscode-sash-size) * -0.5);\n top: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.vertical > .orthogonal-drag-handle.end {\n left: calc(var(--vscode-sash-size) * -0.5);\n bottom: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.start {\n top: calc(var(--vscode-sash-size) * -0.5);\n left: calc(var(--vscode-sash-size) * -1);\n}\n.monaco-sash.horizontal > .orthogonal-drag-handle.end {\n top: calc(var(--vscode-sash-size) * -0.5);\n right: calc(var(--vscode-sash-size) * -1);\n}\n\n.monaco-sash:before {\n content: '';\n pointer-events: none;\n position: absolute;\n width: 100%;\n height: 100%;\n background: transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-sash:before {\n transition: background-color 0.1s ease-out;\n}\n\n.monaco-sash.hover:before,\n.monaco-sash.active:before {\n background: var(--vscode-sash-hoverBorder);\n}\n\n.monaco-sash.vertical:before {\n width: var(--vscode-sash-hover-size);\n left: calc(50% - (var(--vscode-sash-hover-size) / 2));\n}\n\n.monaco-sash.horizontal:before {\n height: var(--vscode-sash-hover-size);\n top: calc(50% - (var(--vscode-sash-hover-size) / 2));\n}\n\n.pointer-events-disabled {\n pointer-events: none !important;\n}\n\n/** Debug **/\n\n.monaco-sash.debug {\n background: cyan;\n}\n\n.monaco-sash.debug.disabled {\n background: rgba(0, 255, 255, 0.2);\n}\n\n.monaco-sash.debug:not(.disabled) > .orthogonal-drag-handle {\n background: red;\n}\n",""]);let a=s},18476:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Arrows */\n.monaco-scrollable-element > .scrollbar > .scra {\n cursor: pointer;\n font-size: 11px !important;\n}\n\n.monaco-scrollable-element > .visible {\n opacity: 1;\n\n /* Background rule added for IE9 - to allow clicks on dom node */\n background:rgba(0,0,0,0);\n\n transition: opacity 100ms linear;\n /* In front of peek view */\n z-index: 11;\n}\n.monaco-scrollable-element > .invisible {\n opacity: 0;\n pointer-events: none;\n}\n.monaco-scrollable-element > .invisible.fade {\n transition: opacity 800ms linear;\n}\n\n/* Scrollable Content Inset Shadow */\n.monaco-scrollable-element > .shadow {\n position: absolute;\n display: none;\n}\n.monaco-scrollable-element > .shadow.top {\n display: block;\n top: 0;\n left: 3px;\n height: 3px;\n width: 100%;\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.left {\n display: block;\n top: 3px;\n left: 0;\n height: 100%;\n width: 3px;\n box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;\n}\n.monaco-scrollable-element > .shadow.top-left-corner {\n display: block;\n top: 0;\n left: 0;\n height: 3px;\n width: 3px;\n}\n.monaco-scrollable-element > .shadow.top.left {\n box-shadow: var(--vscode-scrollbar-shadow) 6px 0 6px -6px inset;\n}\n\n.monaco-scrollable-element > .scrollbar > .slider {\n background: var(--vscode-scrollbarSlider-background);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider:hover {\n background: var(--vscode-scrollbarSlider-hoverBackground);\n}\n\n.monaco-scrollable-element > .scrollbar > .slider.active {\n background: var(--vscode-scrollbarSlider-activeBackground);\n}\n",""]);let a=s},69089:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-select-box {\n width: 100%;\n cursor: pointer;\n border-radius: 2px;\n}\n\n.monaco-select-box-dropdown-container {\n font-size: 13px;\n font-weight: normal;\n text-transform: none;\n}\n\n/** Actions */\n\n.monaco-action-bar .action-item.select-container {\n cursor: default;\n}\n\n.monaco-action-bar .action-item .monaco-select-box {\n cursor: pointer;\n min-width: 100px;\n min-height: 18px;\n padding: 2px 23px 2px 8px;\n}\n\n.mac .monaco-action-bar .action-item .monaco-select-box {\n font-size: 11px;\n border-radius: 5px;\n}\n",""]);let a=s},60380:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Use custom CSS vars to expose padding into parent select for padding calculation */\n.monaco-select-box-dropdown-padding {\n --dropdown-padding-top: 1px;\n --dropdown-padding-bottom: 1px;\n}\n\n.hc-black .monaco-select-box-dropdown-padding,\n.hc-light .monaco-select-box-dropdown-padding {\n --dropdown-padding-top: 3px;\n --dropdown-padding-bottom: 4px;\n}\n\n.monaco-select-box-dropdown-container {\n display: none;\n box-sizing: border-box;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown * {\n margin: 0;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown a:focus {\n outline: 1px solid -webkit-focus-ring-color;\n outline-offset: -1px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane > .select-box-description-markdown code {\n line-height: 15px; /** For some reason, this is needed, otherwise will take up 20px height */\n font-family: var(--monaco-monospace-font);\n}\n\n\n.monaco-select-box-dropdown-container.visible {\n display: flex;\n flex-direction: column;\n text-align: left;\n width: 1px;\n overflow: hidden;\n border-bottom-left-radius: 3px;\n border-bottom-right-radius: 3px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container {\n flex: 0 0 auto;\n align-self: flex-start;\n padding-top: var(--dropdown-padding-top);\n padding-bottom: var(--dropdown-padding-bottom);\n padding-left: 1px;\n padding-right: 1px;\n width: 100%;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n.monaco-select-box-dropdown-container > .select-box-details-pane {\n padding: 5px;\n}\n\n.hc-black .monaco-select-box-dropdown-container > .select-box-dropdown-list-container {\n padding-top: var(--dropdown-padding-top);\n padding-bottom: var(--dropdown-padding-bottom);\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row {\n cursor: pointer;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-text {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-left: 3.5px;\n white-space: nowrap;\n float: left;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-detail {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-left: 3.5px;\n white-space: nowrap;\n float: left;\n opacity: 0.7;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .option-decorator-right {\n text-overflow: ellipsis;\n overflow: hidden;\n padding-right: 10px;\n white-space: nowrap;\n float: right;\n}\n\n\n/* Accepted CSS hiding technique for accessibility reader text */\n/* https://webaim.org/techniques/css/invisiblecontent/ */\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-list-container .monaco-list .monaco-list-row > .visually-hidden {\n position: absolute;\n left: -10000px;\n top: auto;\n width: 1px;\n height: 1px;\n overflow: hidden;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control {\n flex: 1 1 auto;\n align-self: flex-start;\n opacity: 0;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div {\n overflow: hidden;\n max-height: 0px;\n}\n\n.monaco-select-box-dropdown-container > .select-box-dropdown-container-width-control > .width-control-div > .option-text-width-control {\n padding-left: 4px;\n padding-right: 8px;\n white-space: nowrap;\n}\n",""]);let a=s},76214:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-split-view2 {\n position: relative;\n width: 100%;\n height: 100%;\n}\n\n.monaco-split-view2 > .sash-container {\n position: absolute;\n width: 100%;\n height: 100%;\n pointer-events: none;\n}\n\n.monaco-split-view2 > .sash-container > .monaco-sash {\n pointer-events: initial;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element {\n width: 100%;\n height: 100%;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container {\n width: 100%;\n height: 100%;\n white-space: nowrap;\n position: relative;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view {\n white-space: initial;\n position: absolute;\n}\n\n.monaco-split-view2 > .monaco-scrollable-element > .split-view-container > .split-view-view:not(.visible) {\n display: none;\n}\n\n.monaco-split-view2.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view {\n width: 100%;\n}\n\n.monaco-split-view2.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view {\n height: 100%;\n}\n\n.monaco-split-view2.separator-border > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n content: ' ';\n position: absolute;\n top: 0;\n left: 0;\n z-index: 5;\n pointer-events: none;\n background-color: var(--separator-border);\n}\n\n.monaco-split-view2.separator-border.horizontal > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 100%;\n width: 1px;\n}\n\n.monaco-split-view2.separator-border.vertical > .monaco-scrollable-element > .split-view-container > .split-view-view:not(:first-child)::before {\n height: 1px;\n width: 100%;\n}\n",""]);let a=s},92403:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-table {\n display: flex;\n flex-direction: column;\n position: relative;\n height: 100%;\n width: 100%;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.monaco-table > .monaco-split-view2 {\n border-bottom: 1px solid transparent;\n}\n\n.monaco-table > .monaco-list {\n flex: 1;\n}\n\n.monaco-table-tr {\n display: flex;\n height: 100%;\n}\n\n.monaco-table-th {\n width: 100%;\n height: 100%;\n font-weight: bold;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-table-th,\n.monaco-table-td {\n box-sizing: border-box;\n flex-shrink: 0;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n}\n\n.monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n content: "";\n position: absolute;\n left: calc(var(--vscode-sash-size) / 2);\n width: 0;\n border-left: 1px solid transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2,\n.monaco-workbench:not(.reduce-motion) .monaco-table > .monaco-split-view2 .monaco-sash.vertical::before {\n transition: border-color 0.2s ease-out;\n}\n',""]);let a=s},13689:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-custom-toggle {\n margin-left: 2px;\n float: left;\n cursor: pointer;\n overflow: hidden;\n width: 20px;\n height: 20px;\n border-radius: 3px;\n border: 1px solid transparent;\n padding: 1px;\n box-sizing: border-box;\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-custom-toggle:hover {\n background-color: var(--vscode-inputOption-hoverBackground);\n}\n\n.hc-black .monaco-custom-toggle:hover,\n.hc-light .monaco-custom-toggle:hover {\n border: 1px dashed var(--vscode-focusBorder);\n}\n\n.hc-black .monaco-custom-toggle,\n.hc-light .monaco-custom-toggle {\n background: none;\n}\n\n.hc-black .monaco-custom-toggle:hover,\n.hc-light .monaco-custom-toggle:hover {\n background: none;\n}\n\n.monaco-custom-toggle.monaco-checkbox {\n height: 18px;\n width: 18px;\n border: 1px solid transparent;\n border-radius: 3px;\n margin-right: 9px;\n margin-left: 0px;\n padding: 0px;\n opacity: 1;\n background-size: 16px !important;\n}\n\n/* hide check when unchecked */\n.monaco-custom-toggle.monaco-checkbox:not(.checked)::before {\n visibility: hidden;\n}\n",""]);let a=s},94989:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-toolbar {\n height: 100%;\n}\n\n.monaco-toolbar .toolbar-toggle-more {\n display: inline-block;\n padding: 0;\n}\n",""]);let a=s},13611:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-tl-row {\n display: flex;\n height: 100%;\n align-items: center;\n position: relative;\n}\n\n.monaco-tl-row.disabled {\n cursor: default;\n}\n.monaco-tl-indent {\n height: 100%;\n position: absolute;\n top: 0;\n left: 16px;\n pointer-events: none;\n}\n\n.hide-arrows .monaco-tl-indent {\n left: 12px;\n}\n\n.monaco-tl-indent > .indent-guide {\n display: inline-block;\n box-sizing: border-box;\n height: 100%;\n border-left: 1px solid transparent;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-tl-indent > .indent-guide {\n transition: border-color 0.1s linear;\n}\n\n.monaco-tl-twistie,\n.monaco-tl-contents {\n height: 100%;\n}\n\n.monaco-tl-twistie {\n font-size: 10px;\n text-align: right;\n padding-right: 6px;\n flex-shrink: 0;\n width: 16px;\n display: flex !important;\n align-items: center;\n justify-content: center;\n transform: translateX(3px);\n}\n\n.monaco-tl-contents {\n flex: 1;\n overflow: hidden;\n}\n\n.monaco-tl-twistie::before {\n border-radius: 20px;\n}\n\n.monaco-tl-twistie.collapsed::before {\n transform: rotate(-90deg);\n}\n\n.monaco-tl-twistie.codicon-tree-item-loading::before {\n /* Use steps to throttle FPS to reduce CPU usage */\n animation: codicon-spin 1.25s steps(30) infinite;\n}\n\n.monaco-tree-type-filter {\n position: absolute;\n top: 0;\n display: flex;\n padding: 3px;\n max-width: 200px;\n z-index: 100;\n margin: 0 6px;\n border: 1px solid var(--vscode-widget-border);\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.monaco-workbench:not(.reduce-motion) .monaco-tree-type-filter {\n transition: top 0.3s;\n}\n\n.monaco-tree-type-filter.disabled {\n top: -40px !important;\n}\n\n.monaco-tree-type-filter-grab {\n display: flex !important;\n align-items: center;\n justify-content: center;\n cursor: grab;\n margin-right: 2px;\n}\n\n.monaco-tree-type-filter-grab.grabbing {\n cursor: grabbing;\n}\n\n.monaco-tree-type-filter-input {\n flex: 1;\n}\n\n.monaco-tree-type-filter-input .monaco-inputbox {\n height: 23px;\n}\n\n.monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .input,\n.monaco-tree-type-filter-input .monaco-inputbox > .ibwrapper > .mirror {\n padding: 2px 4px;\n}\n\n.monaco-tree-type-filter-input .monaco-findInput > .controls {\n top: 2px;\n}\n\n.monaco-tree-type-filter-actionbar {\n margin-left: 4px;\n}\n\n.monaco-tree-type-filter-actionbar .monaco-action-bar .action-label {\n padding: 2px;\n}\n",""]);let a=s},16640:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inputarea {\n min-width: 0;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n outline: none !important;\n resize: none;\n border: none;\n overflow: hidden;\n color: transparent;\n background-color: transparent;\n z-index: -10;\n}\n/*.monaco-editor .inputarea {\n position: fixed !important;\n width: 800px !important;\n height: 500px !important;\n top: initial !important;\n left: initial !important;\n bottom: 0 !important;\n right: 0 !important;\n color: black !important;\n background: white !important;\n line-height: 15px !important;\n font-size: 14px !important;\n z-index: 10 !important;\n}*/\n.monaco-editor .inputarea.ime-input {\n z-index: 10;\n caret-color: var(--vscode-editorCursor-foreground);\n color: var(--vscode-editor-foreground);\n}\n",""]);let a=s},4862:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .blockDecorations-container {\n position: absolute;\n top: 0;\n pointer-events: none;\n}\n\n.monaco-editor .blockDecorations-block {\n position: absolute;\n box-sizing: border-box;\n}\n",""]);let a=s},50062:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line {\n display: block;\n position: absolute;\n left: 0;\n top: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .margin-view-overlays .current-line.current-line-margin.current-line-margin-both {\n border-right: 0;\n}\n",""]);let a=s},95466:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cdr = core decorations rendering (div)\n*/\n.monaco-editor .lines-content .cdr {\n position: absolute;\n}",""]);let a=s},27876:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .glyph-margin {\n position: absolute;\n top: 0;\n}\n\n/*\n Keeping name short for faster parsing.\n cgmr = core glyph margin rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cgmr {\n position: absolute;\n display: flex;\n align-items: center;\n}\n",""]);let a=s},55350:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lines-content .core-guide {\n position: absolute;\n box-sizing: border-box;\n}\n\n.monaco-editor .lines-content .core-guide-indent {\n box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-background) inset;\n}\n\n.monaco-editor .lines-content .core-guide-indent-active {\n box-shadow: 1px 0 0 0 var(--vscode-editorIndentGuide-activeBackground, --vscode-editorIndentGuide-background) inset;\n}\n",""]);let a=s},48224:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin-view-overlays .line-numbers {\n font-variant-numeric: tabular-nums;\n position: absolute;\n text-align: right;\n display: inline-block;\n vertical-align: middle;\n box-sizing: border-box;\n cursor: default;\n height: 100%;\n}\n\n.monaco-editor .relative-current-line-number {\n text-align: left;\n display: inline-block;\n width: 100%;\n}\n\n.monaco-editor .margin-view-overlays .line-numbers.lh-odd {\n margin-top: 1px;\n}\n\n.monaco-editor .line-numbers {\n color: var(--vscode-editorLineNumber-foreground);\n}\n\n.monaco-editor .line-numbers.active-line-number {\n color: var(--vscode-editorLineNumber-activeForeground);\n}\n",""]);let a=s},75060:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Uncomment to see lines flashing when they're painted */\n/*.monaco-editor .view-lines > .view-line {\n background-color: none;\n animation-name: flash-background;\n animation-duration: 800ms;\n}\n@keyframes flash-background {\n 0% { background-color: lightgreen; }\n 100% { background-color: none }\n}*/\n\n.mtkcontrol {\n color: rgb(255, 255, 255) !important;\n background: rgb(150, 0, 0) !important;\n}\n\n.mtkoverflow {\n background-color: var(--vscode-button-background, --vscode-editor-background);\n color: var(--vscode-button-foreground, --vscode-editor-foreground);\n border-width: 1px;\n border-style: solid;\n border-color: var(--vscode-contrastBorder);\n border-radius: 2px;\n padding: 4px;\n cursor: pointer;\n}\n.mtkoverflow:hover {\n background-color: var(--vscode-button-hoverBackground);\n}\n\n.monaco-editor.no-user-select .lines-content,\n.monaco-editor.no-user-select .view-line,\n.monaco-editor.no-user-select .view-lines {\n user-select: none;\n -webkit-user-select: none;\n}\n/* Use user-select: text for lookup feature on macOS */\n/* https://github.com/microsoft/vscode/issues/85632 */\n.monaco-editor.mac .lines-content:hover,\n.monaco-editor.mac .view-line:hover,\n.monaco-editor.mac .view-lines:hover {\n user-select: text;\n -webkit-user-select: text;\n -ms-user-select: text;\n}\n\n.monaco-editor.enable-user-select {\n user-select: initial;\n -webkit-user-select: initial;\n}\n\n.monaco-editor .view-lines {\n white-space: nowrap;\n}\n\n.monaco-editor .view-line {\n position: absolute;\n width: 100%;\n}\n\n.monaco-editor .mtkw {\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n\n.monaco-editor .mtkz {\n display: inline-block;\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n\n/* TODO@tokenization bootstrap fix */\n/*.monaco-editor .view-line > span > span {\n float: none;\n min-height: inherit;\n margin-left: inherit;\n}*/\n",""]);let a=s},74806:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .lines-decorations {\n position: absolute;\n top: 0;\n background: white;\n}\n\n/*\n Keeping name short for faster parsing.\n cldr = core lines decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cldr {\n position: absolute;\n height: 100%;\n}",""]);let a=s},10849:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .margin {\n background-color: var(--vscode-editorGutter-background);\n}\n",""]);let a=s},93989:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cmdr = core margin decorations rendering (div)\n*/\n.monaco-editor .margin-view-overlays .cmdr {\n position: absolute;\n left: 0;\n width: 100%;\n height: 100%;\n}",""]);let a=s},95616:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* START cover the case that slider is visible on mouseover */\n.monaco-editor .minimap.slider-mouseover .minimap-slider {\n opacity: 0;\n transition: opacity 100ms linear;\n}\n.monaco-editor .minimap.slider-mouseover:hover .minimap-slider {\n opacity: 1;\n}\n.monaco-editor .minimap.slider-mouseover .minimap-slider.active {\n opacity: 1;\n}\n/* END cover the case that slider is visible on mouseover */\n.monaco-editor .minimap-slider .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-background);\n}\n.monaco-editor .minimap-slider:hover .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-hoverBackground);\n}\n.monaco-editor .minimap-slider.active .minimap-slider-horizontal {\n background: var(--vscode-minimapSlider-activeBackground);\n}\n.monaco-editor .minimap-shadow-visible {\n box-shadow: var(--vscode-scrollbar-shadow) -6px 0 6px -6px inset;\n}\n.monaco-editor .minimap-shadow-hidden {\n position: absolute;\n width: 0;\n}\n.monaco-editor .minimap-shadow-visible {\n position: absolute;\n left: -6px;\n width: 6px;\n}\n.monaco-editor.no-minimap-shadow .minimap-shadow-visible {\n position: absolute;\n left: -1px;\n width: 1px;\n}\n\n/* 0.5s fade in/out for the minimap */\n.minimap.autohide {\n opacity: 0;\n transition: opacity 0.5s;\n}\n.minimap.autohide:hover {\n opacity: 1;\n}\n",""]);let a=s},61478:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .overlayWidgets {\n position: absolute;\n top: 0;\n left:0;\n}",""]);let a=s},53565:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .view-ruler {\n position: absolute;\n top: 0;\n box-shadow: 1px 0 0 0 var(--vscode-editorRuler-foreground) inset;\n}\n",""]);let a=s},88360:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .scroll-decoration {\n position: absolute;\n top: 0;\n left: 0;\n height: 6px;\n box-shadow: var(--vscode-scrollbar-shadow) 0 6px 6px -6px inset;\n}\n",""]);let a=s},84314:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/*\n Keeping name short for faster parsing.\n cslr = core selections layer rendering (div)\n*/\n.monaco-editor .lines-content .cslr {\n position: absolute;\n}\n\n.monaco-editor .focused .selected-text {\n background-color: var(--vscode-editor-selectionBackground);\n}\n\n.monaco-editor .selected-text {\n background-color: var(--vscode-editor-inactiveSelectionBackground);\n}\n\n.monaco-editor .top-left-radius { border-top-left-radius: 3px; }\n.monaco-editor .bottom-left-radius { border-bottom-left-radius: 3px; }\n.monaco-editor .top-right-radius { border-top-right-radius: 3px; }\n.monaco-editor .bottom-right-radius { border-bottom-right-radius: 3px; }\n\n.monaco-editor.hc-black .top-left-radius { border-top-left-radius: 0; }\n.monaco-editor.hc-black .bottom-left-radius { border-bottom-left-radius: 0; }\n.monaco-editor.hc-black .top-right-radius { border-top-right-radius: 0; }\n.monaco-editor.hc-black .bottom-right-radius { border-bottom-right-radius: 0; }\n\n.monaco-editor.hc-light .top-left-radius { border-top-left-radius: 0; }\n.monaco-editor.hc-light .bottom-left-radius { border-bottom-left-radius: 0; }\n.monaco-editor.hc-light .top-right-radius { border-top-right-radius: 0; }\n.monaco-editor.hc-light .bottom-right-radius { border-bottom-right-radius: 0; }\n",""]);let a=s},74937:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .cursors-layer {\n position: absolute;\n top: 0;\n}\n\n.monaco-editor .cursors-layer > .cursor {\n position: absolute;\n overflow: hidden;\n box-sizing: border-box;\n}\n\n/* -- smooth-caret-animation -- */\n.monaco-editor .cursors-layer.cursor-smooth-caret-animation > .cursor {\n transition: all 80ms;\n}\n\n/* -- block-outline-style -- */\n.monaco-editor .cursors-layer.cursor-block-outline-style > .cursor {\n background: transparent !important;\n border-style: solid;\n border-width: 1px;\n}\n\n/* -- underline-style -- */\n.monaco-editor .cursors-layer.cursor-underline-style > .cursor {\n border-bottom-width: 2px;\n border-bottom-style: solid;\n background: transparent !important;\n}\n\n/* -- underline-thin-style -- */\n.monaco-editor .cursors-layer.cursor-underline-thin-style > .cursor {\n border-bottom-width: 1px;\n border-bottom-style: solid;\n background: transparent !important;\n}\n\n@keyframes monaco-cursor-smooth {\n 0%,\n 20% {\n opacity: 1;\n }\n 60%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-phase {\n 0%,\n 20% {\n opacity: 1;\n }\n 90%,\n 100% {\n opacity: 0;\n }\n}\n\n@keyframes monaco-cursor-expand {\n 0%,\n 20% {\n transform: scaleY(1);\n }\n 80%,\n 100% {\n transform: scaleY(0);\n }\n}\n\n.cursor-smooth {\n animation: monaco-cursor-smooth 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-phase {\n animation: monaco-cursor-phase 0.5s ease-in-out 0s 20 alternate;\n}\n\n.cursor-expand > .cursor {\n animation: monaco-cursor-expand 0.5s ease-in-out 0s 20 alternate;\n}\n",""]);let a=s},58058:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .mwh {\n position: absolute;\n color: var(--vscode-editorWhitespace-foreground) !important;\n}\n",""]);let a=s},28691:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n/* ---------- DiffEditor ---------- */\n\n.monaco-diff-editor .diffOverview {\n z-index: 9;\n}\n\n.monaco-diff-editor .diffOverview .diffViewport {\n z-index: 10;\n}\n\n/* colors not externalized: using transparancy on background */\n.monaco-diff-editor.vs .diffOverview { background: rgba(0, 0, 0, 0.03); }\n.monaco-diff-editor.vs-dark .diffOverview { background: rgba(255, 255, 255, 0.01); }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.vs-dark .scrollbar { background: rgba(0,0,0,0); }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-black .scrollbar { background: none; }\n.monaco-scrollable-element.modified-in-monaco-diff-editor.hc-light .scrollbar { background: none; }\n\n.monaco-scrollable-element.modified-in-monaco-diff-editor .slider {\n z-index: 10;\n}\n.modified-in-monaco-diff-editor .slider.active { background: rgba(171, 171, 171, .4); }\n.modified-in-monaco-diff-editor.hc-black .slider.active { background: none; }\n.modified-in-monaco-diff-editor.hc-light .slider.active { background: none; }\n\n/* ---------- Diff ---------- */\n\n.monaco-editor .insert-sign,\n.monaco-diff-editor .insert-sign,\n.monaco-editor .delete-sign,\n.monaco-diff-editor .delete-sign {\n font-size: 11px !important;\n opacity: 0.7 !important;\n display: flex !important;\n align-items: center;\n}\n.monaco-editor.hc-black .insert-sign,\n.monaco-diff-editor.hc-black .insert-sign,\n.monaco-editor.hc-black .delete-sign,\n.monaco-diff-editor.hc-black .delete-sign,\n.monaco-editor.hc-light .insert-sign,\n.monaco-diff-editor.hc-light .insert-sign,\n.monaco-editor.hc-light .delete-sign,\n.monaco-diff-editor.hc-light .delete-sign {\n opacity: 1;\n}\n\n.monaco-editor .inline-deleted-margin-view-zone {\n text-align: right;\n}\n.monaco-editor .inline-added-margin-view-zone {\n text-align: right;\n}\n\n.monaco-editor .arrow-revert-change {\n z-index: 10;\n position: absolute;\n}\n\n.monaco-editor .arrow-revert-change:hover {\n cursor: pointer;\n}\n\n/* ---------- Inline Diff ---------- */\n\n.monaco-editor .view-zones .view-lines .view-line span {\n display: inline-block;\n}\n\n.monaco-editor .margin-view-zones .lightbulb-glyph:hover {\n cursor: pointer;\n}\n\n.monaco-editor .char-insert, .monaco-diff-editor .char-insert {\n background-color: var(--vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .line-insert, .monaco-diff-editor .line-insert {\n background-color: var(--vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .line-insert,\n.monaco-editor .char-insert {\n box-sizing: border-box;\n border: 1px solid var(--vscode-diffEditor-insertedTextBorder);\n}\n.monaco-editor.hc-black .line-insert, .monaco-editor.hc-light .line-insert,\n.monaco-editor.hc-black .char-insert, .monaco-editor.hc-light .char-insert {\n border-style: dashed;\n}\n\n.monaco-editor .line-delete,\n.monaco-editor .char-delete {\n box-sizing: border-box;\n border: 1px solid var(--vscode-diffEditor-removedTextBorder);\n}\n.monaco-editor.hc-black .line-delete, .monaco-editor.hc-light .line-delete,\n.monaco-editor.hc-black .char-delete, .monaco-editor.hc-light .char-delete {\n border-style: dashed;\n}\n\n.monaco-editor .inline-added-margin-view-zone,\n.monaco-editor .gutter-insert, .monaco-diff-editor .gutter-insert {\n background-color: var(--vscode-diffEditorGutter-insertedLineBackground, --vscode-diffEditor-insertedLineBackground, --vscode-diffEditor-insertedTextBackground);\n}\n\n.monaco-editor .char-delete, .monaco-diff-editor .char-delete {\n background-color: var(--vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-editor .line-delete, .monaco-diff-editor .line-delete {\n background-color: var(--vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-editor .inline-deleted-margin-view-zone,\n.monaco-editor .gutter-delete, .monaco-diff-editor .gutter-delete {\n background-color: var(--vscode-diffEditorGutter-removedLineBackground, --vscode-diffEditor-removedLineBackground, --vscode-diffEditor-removedTextBackground);\n}\n\n.monaco-diff-editor.side-by-side .editor.modified {\n box-shadow: -6px 0 5px -5px var(--vscode-scrollbar-shadow);\n border-left: 1px solid var(--vscode-diffEditor-border);\n}\n\n.monaco-diff-editor .diffViewport {\n background: var(--vscode-scrollbarSlider-background);\n}\n\n.monaco-diff-editor .diffViewport:hover {\n background: var(--vscode-scrollbarSlider-hoverBackground);\n}\n\n.monaco-diff-editor .diffViewport:active {\n background: var(--vscode-scrollbarSlider-activeBackground);\n}\n",""]);let a=s},32265:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-diff-editor .diff-review-line-number {\n text-align: right;\n display: inline-block;\n color: var(--vscode-editorLineNumber-foreground);\n}\n\n.monaco-diff-editor .diff-review {\n position: absolute;\n user-select: none;\n -webkit-user-select: none;\n}\n\n.monaco-diff-editor .diff-review-summary {\n padding-left: 10px;\n}\n\n.monaco-diff-editor .diff-review-shadow {\n position: absolute;\n box-shadow: var(--vscode-scrollbar-shadow) 0 -6px 6px -6px inset;\n}\n\n.monaco-diff-editor .diff-review-row {\n white-space: pre;\n}\n\n.monaco-diff-editor .diff-review-table {\n display: table;\n min-width: 100%;\n}\n\n.monaco-diff-editor .diff-review-row {\n display: table-row;\n width: 100%;\n}\n\n.monaco-diff-editor .diff-review-spacer {\n display: inline-block;\n width: 10px;\n vertical-align: middle;\n}\n\n.monaco-diff-editor .diff-review-spacer > .codicon {\n font-size: 9px !important;\n}\n\n.monaco-diff-editor .diff-review-actions {\n display: inline-block;\n position: absolute;\n right: 10px;\n top: 2px;\n}\n\n.monaco-diff-editor .diff-review-actions .action-label {\n width: 16px;\n height: 16px;\n margin: 2px 0;\n}\n",""]);let a=s},15777:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -------------------- IE10 remove auto clear button -------------------- */\n\n::-ms-clear {\n display: none;\n}\n\n/* All widgets */\n/* I am not a big fan of this rule */\n.monaco-editor .editor-widget input {\n color: inherit;\n}\n\n/* -------------------- Editor -------------------- */\n\n.monaco-editor {\n position: relative;\n overflow: visible;\n -webkit-text-size-adjust: 100%;\n color: var(--vscode-editor-foreground);\n background-color: var(--vscode-editor-background);\n}\n.monaco-editor-background {\n background-color: var(--vscode-editor-background);\n}\n.monaco-editor .rangeHighlight {\n background-color: var(--vscode-editor-rangeHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-rangeHighlightBorder);\n}\n.monaco-editor.hc-black .rangeHighlight, .monaco-editor.hc-light .rangeHighlight {\n border-style: dotted;\n}\n.monaco-editor .symbolHighlight {\n background-color: var(--vscode-editor-symbolHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-symbolHighlightBorder);\n}\n.monaco-editor.hc-black .symbolHighlight, .monaco-editor.hc-light .symbolHighlight {\n border-style: dotted;\n}\n\n/* -------------------- Misc -------------------- */\n\n.monaco-editor .overflow-guard {\n position: relative;\n overflow: hidden;\n}\n\n.monaco-editor .view-overlays {\n position: absolute;\n top: 0;\n}\n\n/*\n.monaco-editor .auto-closed-character {\n opacity: 0.3;\n}\n*/\n\n\n.monaco-editor .squiggly-error {\n border-bottom: 4px double var(--vscode-editorError-border);\n}\n.monaco-editor .squiggly-error::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorError-background);\n}\n.monaco-editor .squiggly-warning {\n border-bottom: 4px double var(--vscode-editorWarning-border);\n}\n.monaco-editor .squiggly-warning::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorWarning-background);\n}\n.monaco-editor .squiggly-info {\n border-bottom: 4px double var(--vscode-editorInfo-border);\n}\n.monaco-editor .squiggly-info::before {\n display: block;\n content: '';\n width: 100%;\n height: 100%;\n background: var(--vscode-editorInfo-background);\n}\n.monaco-editor .squiggly-hint {\n border-bottom: 2px dotted var(--vscode-editorHint-border);\n}\n.monaco-editor.showUnused .squiggly-unnecessary {\n border-bottom: 2px dashed var(--vscode-editorUnnecessaryCode-border);\n}\n.monaco-editor.showDeprecated .squiggly-inline-deprecated {\n text-decoration: line-through;\n text-decoration-color: var(--vscode-editor-foreground, inherit);\n}\n",""]);let a=s},49993:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .selection-anchor {\n background-color: #007ACC;\n width: 2px !important;\n}\n",""]);let a=s},33077:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .bracket-match {\n box-sizing: border-box;\n background-color: var(--vscode-editorBracketMatch-background);\n border: 1px solid var(--vscode-editorBracketMatch-border);\n}\n",""]);let a=s},21133:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .lightBulbWidget {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n.monaco-editor .lightBulbWidget:hover{\n cursor: pointer;\n}\n\n.monaco-editor .lightBulbWidget.codicon-light-bulb {\n color: var(--vscode-editorLightBulb-foreground);\n}\n\n.monaco-editor .lightBulbWidget.codicon-lightbulb-autofix {\n color: var(--vscode-editorLightBulbAutoFix-foreground, var(--vscode-editorLightBulb-foreground));\n}\n\n.monaco-editor .lightBulbWidget:before {\n position: relative;\n z-index: 2;\n}\n\n.monaco-editor .lightBulbWidget:after {\n position: absolute;\n top: 0;\n left: 0;\n content: '';\n display: block;\n width: 100%;\n height: 100%;\n opacity: 0.3;\n background-color: var(--vscode-editor-background);\n z-index: 1;\n}\n",""]);let a=s},69268:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codelens-decoration {\n overflow: hidden;\n display: inline-block;\n text-overflow: ellipsis;\n white-space: nowrap;\n color: var(--vscode-editorCodeLens-foreground);\n line-height: var(--vscode-editorCodeLens-lineHeight);\n font-size: var(--vscode-editorCodeLens-fontSize);\n padding-right: calc(var(--vscode-editorCodeLens-fontSize)*0.5);\n font-feature-settings: var(--vscode-editorCodeLens-fontFeatureSettings);\n font-family: var(--vscode-editorCodeLens-fontFamily), var(--vscode-editorCodeLens-fontFamilyDefault);\n}\n\n.monaco-editor .codelens-decoration>span,\n.monaco-editor .codelens-decoration>a {\n user-select: none;\n -webkit-user-select: none;\n white-space: nowrap;\n vertical-align: sub;\n}\n\n.monaco-editor .codelens-decoration>a {\n text-decoration: none;\n}\n\n.monaco-editor .codelens-decoration>a:hover {\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n\n.monaco-editor .codelens-decoration>a:hover .codicon {\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n\n.monaco-editor .codelens-decoration .codicon {\n vertical-align: middle;\n color: currentColor !important;\n color: var(--vscode-editorCodeLens-foreground);\n line-height: var(--vscode-editorCodeLens-lineHeight);\n font-size: var(--vscode-editorCodeLens-fontSize);\n}\n\n.monaco-editor .codelens-decoration>a:hover .codicon::before {\n cursor: pointer;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n visibility: visible;\n }\n\n 100% {\n opacity: 1;\n }\n}\n\n.monaco-editor .codelens-decoration.fadein {\n animation: fadein 0.1s linear;\n}\n",""]);let a=s},98342:(e,t,i)=>{"use strict";i.d(t,{Z:()=>h});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(94748),i.b),d=s()(r()),c=l()(u);d.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.colorpicker-widget {\n height: 190px;\n user-select: none;\n -webkit-user-select: none;\n}\n\n/* Decoration */\n\n.colorpicker-color-decoration,\n.hc-light .colorpicker-color-decoration {\n border: solid 0.1em #000;\n box-sizing: border-box;\n margin: 0.1em 0.2em 0 0.2em;\n width: 0.8em;\n height: 0.8em;\n line-height: 0.8em;\n display: inline-block;\n cursor: pointer;\n}\n\n.hc-black .colorpicker-color-decoration,\n.vs-dark .colorpicker-color-decoration {\n border: solid 0.1em #eee;\n}\n\n/* Header */\n\n.colorpicker-header {\n display: flex;\n height: 24px;\n position: relative;\n background: url("+c+");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-header .picked-color {\n width: 240px;\n display: flex;\n align-items: center;\n justify-content: center;\n line-height: 24px;\n cursor: pointer;\n color: white;\n flex: 1;\n}\n\n.colorpicker-header .picked-color .codicon {\n color: inherit;\n font-size: 14px;\n position: absolute;\n left: 8px;\n}\n\n.colorpicker-header .picked-color.light {\n color: black;\n}\n\n.colorpicker-header .original-color {\n width: 74px;\n z-index: inherit;\n cursor: pointer;\n}\n\n.standalone-colorpicker {\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.colorpicker-header.standalone-colorpicker {\n border-bottom: none;\n}\n\n.colorpicker-header .close-button {\n cursor: pointer;\n background-color: var(--vscode-editorHoverWidget-background);\n border-left: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.colorpicker-header .close-button-inner-div {\n width: 100%;\n height: 100%;\n text-align: center;\n}\n\n.colorpicker-header .close-button-inner-div:hover {\n background-color: var(--vscode-toolbar-hoverBackground);\n}\n\n.colorpicker-header .close-icon {\n padding: 3px;\n}\n\n/* Body */\n\n.colorpicker-body {\n display: flex;\n padding: 8px;\n position: relative;\n}\n\n.colorpicker-body .saturation-wrap {\n overflow: hidden;\n height: 150px;\n position: relative;\n min-width: 220px;\n flex: 1;\n}\n\n.colorpicker-body .saturation-box {\n height: 150px;\n position: absolute;\n}\n\n.colorpicker-body .saturation-selection {\n width: 9px;\n height: 9px;\n margin: -5px 0 0 -5px;\n border: 1px solid rgb(255, 255, 255);\n border-radius: 100%;\n box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.8);\n position: absolute;\n}\n\n.colorpicker-body .strip {\n width: 25px;\n height: 150px;\n}\n\n.colorpicker-body .standalone-strip {\n width: 25px;\n height: 122px;\n}\n\n.colorpicker-body .hue-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: linear-gradient(to bottom, #ff0000 0%, #ffff00 17%, #00ff00 33%, #00ffff 50%, #0000ff 67%, #ff00ff 83%, #ff0000 100%);\n}\n\n.colorpicker-body .opacity-strip {\n position: relative;\n margin-left: 8px;\n cursor: grab;\n background: url("+c+");\n background-size: 9px 9px;\n image-rendering: pixelated;\n}\n\n.colorpicker-body .strip.grabbing {\n cursor: grabbing;\n}\n\n.colorpicker-body .slider {\n position: absolute;\n top: 0;\n left: -2px;\n width: calc(100% + 4px);\n height: 4px;\n box-sizing: border-box;\n border: 1px solid rgba(255, 255, 255, 0.71);\n box-shadow: 0px 0px 1px rgba(0, 0, 0, 0.85);\n}\n\n.colorpicker-body .strip .overlay {\n height: 150px;\n pointer-events: none;\n}\n\n.colorpicker-body .standalone-strip .standalone-overlay {\n height: 122px;\n pointer-events: none;\n}\n\n.standalone-colorpicker-body {\n display: block;\n border: 1px solid transparent;\n border-bottom: 1px solid var(--vscode-editorHoverWidget-border);\n overflow: hidden;\n}\n\n.colorpicker-body .insert-button {\n height: 20px;\n width: 58px;\n position: absolute;\n right: 8px;\n bottom: 8px;\n background: var(--vscode-button-background);\n color: var(--vscode-button-foreground);\n border-radius: 2px;\n border: none;\n cursor: pointer;\n}\n\n.colorpicker-body .insert-button:hover{\n background: var(--vscode-button-hoverBackground);\n}\n",""]);let h=d},34323:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor.vs .dnd-target,\n.monaco-editor.hc-light .dnd-target {\n border-right: 2px dotted black;\n color: white; /* opposite of black */\n}\n.monaco-editor.vs-dark .dnd-target {\n border-right: 2px dotted #AEAFAD;\n color: #51504f; /* opposite of #AEAFAD */\n}\n.monaco-editor.hc-black .dnd-target {\n border-right: 2px dotted #fff;\n color: #000; /* opposite of #fff */\n}\n\n.monaco-editor.mouse-default .view-lines,\n.monaco-editor.vs-dark.mac.mouse-default .view-lines,\n.monaco-editor.hc-black.mac.mouse-default .view-lines,\n.monaco-editor.hc-light.mac.mouse-default .view-lines {\n cursor: default;\n}\n.monaco-editor.mouse-copy .view-lines,\n.monaco-editor.vs-dark.mac.mouse-copy .view-lines,\n.monaco-editor.hc-black.mac.mouse-copy .view-lines,\n.monaco-editor.hc-light.mac.mouse-copy .view-lines {\n cursor: copy;\n}\n",""]);let a=s},1248:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.post-drop-widget {\n box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);\n border: 1px solid var(--vscode-widget-border, transparent);\n border-radius: 4px;\n background-color: var(--vscode-editorWidget-background);\n overflow: hidden;\n}\n\n.post-drop-widget .monaco-button {\n padding: 2px;\n border: none;\n border-radius: 0;\n}\n\n.post-drop-widget .monaco-button:hover {\n background-color: var(--vscode-button-secondaryHoverBackground) !important;\n}\n\n.post-drop-widget .monaco-button .codicon {\n margin: 0;\n}\n",""]);let a=s},97910:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .findOptionsWidget {\n background-color: var(--vscode-editorWidget-background);\n color: var(--vscode-editorWidget-foreground);\n box-shadow: 0 0 8px 2px var(--vscode-widget-shadow);\n border: 2px solid var(--vscode-contrastBorder);\n}\n",""]);let a=s},85304:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Find widget */\n.monaco-editor .find-widget {\n position: absolute;\n z-index: 35;\n height: 33px;\n overflow: hidden;\n line-height: 19px;\n transition: transform 200ms linear;\n padding: 0 4px;\n box-sizing: border-box;\n transform: translateY(calc(-100% - 10px)); /* shadow (10px) */\n border-bottom-left-radius: 4px;\n border-bottom-right-radius: 4px;\n}\n\n.monaco-workbench.reduce-motion .monaco-editor .find-widget {\n transition: transform 0ms linear;\n}\n\n.monaco-editor .find-widget textarea {\n margin: 0px;\n}\n\n.monaco-editor .find-widget.hiddenEditor {\n display: none;\n}\n\n/* Find widget when replace is toggled on */\n.monaco-editor .find-widget.replaceToggled > .replace-part {\n display: flex;\n}\n\n.monaco-editor .find-widget.visible {\n transform: translateY(0);\n}\n\n.monaco-editor .find-widget .monaco-inputbox.synthetic-focus {\n outline: 1px solid -webkit-focus-ring-color;\n outline-offset: -1px;\n}\n\n.monaco-editor .find-widget .monaco-inputbox .input {\n background-color: transparent;\n min-height: 0;\n}\n\n.monaco-editor .find-widget .monaco-findInput .input {\n font-size: 13px;\n}\n\n.monaco-editor .find-widget > .find-part,\n.monaco-editor .find-widget > .replace-part {\n margin: 3px 0 0 17px;\n font-size: 12px;\n display: flex;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox {\n min-height: 25px;\n}\n\n\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\n padding-right: 22px;\n}\n\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .input,\n.monaco-editor .find-widget > .find-part .monaco-inputbox > .ibwrapper > .mirror,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .input,\n.monaco-editor .find-widget > .replace-part .monaco-inputbox > .ibwrapper > .mirror {\n padding-top: 2px;\n padding-bottom: 2px;\n}\n\n.monaco-editor .find-widget > .find-part .find-actions {\n height: 25px;\n display: flex;\n align-items: center;\n}\n\n.monaco-editor .find-widget > .replace-part .replace-actions {\n height: 25px;\n display: flex;\n align-items: center;\n}\n\n.monaco-editor .find-widget .monaco-findInput {\n vertical-align: middle;\n display: flex;\n flex:1;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element {\n /* Make sure textarea inherits the width correctly */\n width: 100%;\n}\n\n.monaco-editor .find-widget .monaco-findInput .monaco-scrollable-element .scrollbar.vertical {\n /* Hide vertical scrollbar */\n opacity: 0;\n}\n\n.monaco-editor .find-widget .matchesCount {\n display: flex;\n flex: initial;\n margin: 0 0 0 3px;\n padding: 2px 0 0 2px;\n height: 25px;\n vertical-align: middle;\n box-sizing: border-box;\n text-align: center;\n line-height: 23px;\n}\n\n.monaco-editor .find-widget .button {\n width: 16px;\n height: 16px;\n padding: 3px;\n border-radius: 5px;\n display: flex;\n flex: initial;\n margin-left: 3px;\n background-position: center center;\n background-repeat: no-repeat;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n\n/* find in selection button */\n.monaco-editor .find-widget .codicon-find-selection {\n width: 22px;\n height: 22px;\n padding: 3px;\n border-radius: 5px;\n}\n\n.monaco-editor .find-widget .button.left {\n margin-left: 0;\n margin-right: 3px;\n}\n\n.monaco-editor .find-widget .button.wide {\n width: auto;\n padding: 1px 6px;\n top: -1px;\n}\n\n.monaco-editor .find-widget .button.toggle {\n position: absolute;\n top: 0;\n left: 3px;\n width: 18px;\n height: 100%;\n border-radius: 0;\n box-sizing: border-box;\n}\n\n.monaco-editor .find-widget .button.toggle.disabled {\n display: none;\n}\n\n.monaco-editor .find-widget .disabled {\n color: var(--vscode-disabledForeground);\n cursor: default;\n}\n\n.monaco-editor .find-widget > .replace-part {\n display: none;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput {\n position: relative;\n display: flex;\n vertical-align: middle;\n flex: auto;\n flex-grow: 0;\n flex-shrink: 0;\n}\n\n.monaco-editor .find-widget > .replace-part > .monaco-findInput > .controls {\n position: absolute;\n top: 3px;\n right: 2px;\n}\n\n/* REDUCED */\n.monaco-editor .find-widget.reduced-find-widget .matchesCount {\n display:none;\n}\n\n/* NARROW (SMALLER THAN REDUCED) */\n.monaco-editor .find-widget.narrow-find-widget {\n max-width: 257px !important;\n}\n\n/* COLLAPSED (SMALLER THAN NARROW) */\n.monaco-editor .find-widget.collapsed-find-widget {\n max-width: 170px !important;\n}\n\n.monaco-editor .find-widget.collapsed-find-widget .button.previous,\n.monaco-editor .find-widget.collapsed-find-widget .button.next,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace,\n.monaco-editor .find-widget.collapsed-find-widget .button.replace-all,\n.monaco-editor .find-widget.collapsed-find-widget > .find-part .monaco-findInput .controls {\n display:none;\n}\n\n.monaco-editor .findMatch {\n animation-duration: 0;\n animation-name: inherit !important;\n}\n\n.monaco-editor .find-widget .monaco-sash {\n left: 0 !important;\n}\n\n.monaco-editor.hc-black .find-widget .button:before {\n position: relative;\n top: 1px;\n left: 2px;\n}\n",""]);let a=s},39346:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,\n.monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n cursor: pointer;\n opacity: 0;\n transition: opacity 0.5s;\n display: flex;\n align-items: center;\n justify-content: center;\n font-size: 140%;\n margin-left: 2px;\n}\n\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-collapsed,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-manual-expanded,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-expanded,\n.monaco-workbench.reduce-motion .monaco-editor .margin-view-overlays .codicon-folding-collapsed {\n transition: initial;\n}\n\n.monaco-editor .margin-view-overlays:hover .codicon,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-collapsed,\n.monaco-editor .margin-view-overlays .codicon.codicon-folding-manual-collapsed,\n.monaco-editor .margin-view-overlays .codicon.alwaysShowFoldIcons {\n opacity: 1;\n}\n\n.monaco-editor .inline-folded:after {\n color: grey;\n margin: 0.1em 0.2em 0 0.2em;\n content: "\\22EF"; /* ellipses unicode character */\n display: inline;\n line-height: 1em;\n cursor: pointer;\n}\n\n.monaco-editor .folded-background {\n background-color: var(--vscode-editor-foldBackground);\n}\n\n.monaco-editor .cldr.codicon.codicon-folding-expanded,\n.monaco-editor .cldr.codicon.codicon-folding-collapsed,\n.monaco-editor .cldr.codicon.codicon-folding-manual-expanded,\n.monaco-editor .cldr.codicon.codicon-folding-manual-collapsed {\n color: var(--vscode-editorGutter-foldingControlForeground) !important;\n}\n\n',""]);let a=s},91545:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* marker zone */\n\n.monaco-editor .peekview-widget .head .peekview-title .severity-icon {\n display: inline-block;\n vertical-align: text-top;\n margin-right: 4px;\n}\n\n.monaco-editor .marker-widget {\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .marker-widget > .stale {\n opacity: 0.6;\n font-style: italic;\n}\n\n.monaco-editor .marker-widget .title {\n display: inline-block;\n padding-right: 5px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer {\n position: absolute;\n white-space: pre;\n user-select: text;\n -webkit-user-select: text;\n padding: 8px 12px 0 20px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message {\n display: flex;\n flex-direction: column;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .details {\n padding-left: 6px;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message .source,\n.monaco-editor .marker-widget .descriptioncontainer .message span.code {\n opacity: 0.6;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link {\n opacity: 0.6;\n color: inherit;\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:before {\n content: '(';\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link:after {\n content: ')';\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n text-decoration: underline;\n /** Hack to force underline to show **/\n border-bottom: 1px solid transparent;\n text-underline-position: under;\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .message a.code-link > span {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .marker-widget .descriptioncontainer .filename {\n cursor: pointer;\n}\n",""]);let a=s},26417:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .goto-definition-link {\n text-decoration: underline;\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n",""]);let a=s},52679:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* -- zone widget */\n.monaco-editor .zone-widget .zone-widget-container.reference-zone-widget {\n border-top-width: 1px;\n border-bottom-width: 1px;\n}\n\n.monaco-editor .reference-zone-widget .inline {\n display: inline-block;\n vertical-align: top;\n}\n\n.monaco-editor .reference-zone-widget .messages {\n height: 100%;\n width: 100%;\n text-align: center;\n padding: 3em 0;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree {\n line-height: 23px;\n background-color: var(--vscode-peekViewResult-background);\n color: var(--vscode-peekViewResult-lineForeground);\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference {\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file {\n display: inline-flex;\n width: 100%;\n height: 100%;\n color: var(--vscode-peekViewResult-fileForeground);\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .selected .reference-file {\n color: inherit !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .monaco-list:focus .monaco-list-rows > .monaco-list-row.selected:not(.highlighted) {\n background-color: var(--vscode-peekViewResult-selectionBackground);\n color: var(--vscode-peekViewResult-selectionForeground) !important;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .reference-file .count {\n margin-right: 12px;\n margin-left: auto;\n}\n\n.monaco-editor .reference-zone-widget .ref-tree .referenceMatch .highlight {\n background-color: var(--vscode-peekViewResult-matchHighlightBackground);\n}\n\n.monaco-editor .reference-zone-widget .preview .reference-decoration {\n background-color: var(--vscode-peekViewEditor-matchHighlightBackground);\n border: 2px solid var(--vscode-peekViewEditor-matchHighlightBorder);\n box-sizing: border-box;\n}\n\n.monaco-editor .reference-zone-widget .preview .monaco-editor .monaco-editor-background,\n.monaco-editor .reference-zone-widget .preview .monaco-editor .inputarea.ime-input {\n background-color: var(--vscode-peekViewEditor-background);\n}\n\n.monaco-editor .reference-zone-widget .preview .monaco-editor .margin {\n background-color: var(--vscode-peekViewEditorGutter-background);\n}\n\n/* High Contrast Theming */\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .reference-file,\n.monaco-editor.hc-light .reference-zone-widget .ref-tree .reference-file {\n font-weight: bold;\n}\n\n.monaco-editor.hc-black .reference-zone-widget .ref-tree .referenceMatch .highlight,\n.monaco-editor.hc-light .reference-zone-widget .ref-tree .referenceMatch .highlight {\n border: 1px dotted var(--vscode-contrastActiveBorder, transparent);\n box-sizing: border-box;\n}\n",""]);let a=s},78635:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .hoverHighlight {\n background-color: var(--vscode-editor-hoverHighlightBackground);\n}\n\n.monaco-editor .monaco-hover {\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .monaco-hover a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .monaco-hover a:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .monaco-hover .hover-row .actions {\n background-color: var(--vscode-editorHoverWidget-statusBarBackground);\n}\n\n.monaco-editor .monaco-hover code {\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n\n",""]);let a=s},41025:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n.monaco-editor.vs .valueSetReplacement {\n outline: solid 2px var(--vscode-editorBracketMatch-border);\n}\n",""]);let a=s},95667:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .suggest-preview-additional-widget {\n white-space: nowrap;\n}\n\n.monaco-editor .suggest-preview-additional-widget .content-spacer {\n color: transparent;\n white-space: pre;\n}\n\n.monaco-editor .suggest-preview-additional-widget .button {\n display: inline-block;\n cursor: pointer;\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .ghost-text-hidden {\n opacity: 0;\n font-size: 0;\n}\n\n.monaco-editor .ghost-text-decoration, .monaco-editor .suggest-preview-text .ghost-text {\n font-style: italic;\n}\n\n.monaco-editor .inline-completion-text-to-replace {\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .ghost-text-decoration,\n.monaco-editor .ghost-text-decoration-preview,\n.monaco-editor .suggest-preview-text .ghost-text {\n color: var(--vscode-editorGhostText-foreground) !important;\n background-color: var(--vscode-editorGhostText-background);\n border: 1px solid var(--vscode-editorGhostText-border);\n}\n",""]);let a=s},68553:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .inlineSuggestionsHints.withBorder {\n z-index: 39;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .inlineSuggestionsHints a {\n color: var(--vscode-foreground);\n}\n\n.monaco-editor .inlineSuggestionsHints a:hover {\n color: var(--vscode-foreground);\n}\n\n.monaco-editor .inlineSuggestionsHints .keybinding {\n display: flex;\n margin-left: 4px;\n opacity: 0.6;\n}\n\n.monaco-editor .inlineSuggestionsHints .keybinding .monaco-keybinding-key {\n font-size: 8px;\n padding: 2px 3px;\n}\n\n.monaco-editor .inlineSuggestionsHints .custom-actions .action-item:nth-child(2) a {\n display: flex;\n min-width: 19px;\n justify-content: center;\n}\n\n.monaco-editor .inlineSuggestionStatusBarItemLabel {\n margin-right: 2px;\n}\n",""]);let a=s},78396:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.inline-editor-progress-decoration {\n display: inline-block;\n width: 1em;\n height: 1em;\n}\n\n.inline-progress-widget {\n display: flex !important;\n justify-content: center;\n align-items: center;\n}\n\n.inline-progress-widget .icon {\n font-size: 80% !important;\n}\n\n.inline-progress-widget:hover .icon {\n font-size: 90% !important;\n animation: none;\n}\n\n.inline-progress-widget:hover .icon::before {\n content: "\\ea76"; /* codicon-x */\n}\n',""]);let a=s},31334:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .linked-editing-decoration {\n background-color: var(--vscode-editor-linkedEditingBackground);\n\n /* Ensure decoration is visible even if range is empty */\n min-width: 1px;\n}\n",""]);let a=s},18636:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .detected-link,\n.monaco-editor .detected-link-active {\n text-decoration: underline;\n text-underline-position: under;\n}\n\n.monaco-editor .detected-link-active {\n cursor: pointer;\n color: var(--vscode-editorLink-activeForeground) !important;\n}\n",""]);let a=s},5637:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rendered-markdown kbd {\n background-color: var(--vscode-keybindingLabel-background);\n color: var(--vscode-keybindingLabel-foreground);\n border-style: solid;\n border-width: 1px;\n border-radius: 3px;\n border-color: var(--vscode-keybindingLabel-border);\n border-bottom-color: var(--vscode-keybindingLabel-bottomBorder);\n box-shadow: inset 0 -1px 0 var(--vscode-widget-shadow);\n vertical-align: middle;\n padding: 1px 3px;\n}\n",""]);let a=s},67503:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .monaco-editor-overlaymessage {\n padding-bottom: 8px;\n z-index: 10000;\n}\n\n.monaco-editor .monaco-editor-overlaymessage.below {\n padding-bottom: 0;\n padding-top: 8px;\n z-index: 10000;\n}\n\n@keyframes fadeIn {\n from { opacity: 0; }\n to { opacity: 1; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeIn {\n animation: fadeIn 150ms ease-out;\n}\n\n@keyframes fadeOut {\n from { opacity: 1; }\n to { opacity: 0; }\n}\n.monaco-editor .monaco-editor-overlaymessage.fadeOut {\n animation: fadeOut 100ms ease-out;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .message {\n padding: 1px 4px;\n color: var(--vscode-inputValidation-infoForeground);\n background-color: var(--vscode-inputValidation-infoBackground);\n border: 1px solid var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor.hc-black .monaco-editor-overlaymessage .message,\n.monaco-editor.hc-light .monaco-editor-overlaymessage .message {\n border-width: 2px;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor {\n width: 0 !important;\n height: 0 !important;\n border-color: transparent;\n border-style: solid;\n z-index: 1000;\n border-width: 8px;\n position: absolute;\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor.top {\n border-bottom-color: var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor .monaco-editor-overlaymessage .anchor.below {\n border-top-color: var(--vscode-inputValidation-infoBorder);\n}\n\n.monaco-editor .monaco-editor-overlaymessage:not(.below) .anchor.top,\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.below {\n display: none;\n}\n\n.monaco-editor .monaco-editor-overlaymessage.below .anchor.top {\n display: inherit;\n top: -8px;\n}\n",""]);let a=s},5379:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .parameter-hints-widget {\n /* Must be higher than the sash\'s z-index and terminal canvases but lower than the suggest widget */\n z-index: 39;\n display: flex;\n flex-direction: column;\n line-height: 1.5em;\n cursor: default;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.hc-black .monaco-editor .parameter-hints-widget,\n.hc-light .monaco-editor .parameter-hints-widget {\n border-width: 2px;\n}\n\n.monaco-editor .parameter-hints-widget > .phwrapper {\n max-width: 440px;\n display: flex;\n flex-direction: row;\n}\n\n.monaco-editor .parameter-hints-widget.multiple {\n min-height: 3.3em;\n padding: 0;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .body::before {\n content: "";\n display: block;\n height: 100%;\n position: absolute;\n opacity: 0.5;\n border-left: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .parameter-hints-widget p,\n.monaco-editor .parameter-hints-widget ul {\n margin: 8px 0;\n}\n\n.monaco-editor .parameter-hints-widget .monaco-scrollable-element,\n.monaco-editor .parameter-hints-widget .body {\n display: flex;\n flex: 1;\n flex-direction: column;\n min-height: 100%;\n}\n\n.monaco-editor .parameter-hints-widget .signature {\n padding: 4px 5px;\n position: relative;\n}\n\n.monaco-editor .parameter-hints-widget .signature.has-docs::after {\n content: "";\n display: block;\n position: absolute;\n left: 0;\n width: 100%;\n padding-top: 4px;\n opacity: 0.5;\n border-bottom: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .parameter-hints-widget .docs {\n padding: 0 10px 0 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .docs.empty {\n display: none;\n}\n\n.monaco-editor .parameter-hints-widget .docs a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .parameter-hints-widget .docs a:hover {\n color: var(--vscode-textLink-activeForeground);\n cursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .docs .markdown-docs {\n white-space: initial;\n}\n\n.monaco-editor .parameter-hints-widget .docs code {\n font-family: var(--monaco-monospace-font);\n border-radius: 3px;\n padding: 0 0.4em;\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n.monaco-editor .parameter-hints-widget .docs .monaco-tokenized-source,\n.monaco-editor .parameter-hints-widget .docs .code {\n white-space: pre-wrap;\n}\n\n.monaco-editor .parameter-hints-widget .controls {\n display: none;\n flex-direction: column;\n align-items: center;\n min-width: 22px;\n justify-content: flex-end;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .controls {\n display: flex;\n padding: 0 2px;\n}\n\n.monaco-editor .parameter-hints-widget.multiple .button {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n cursor: pointer;\n}\n\n.monaco-editor .parameter-hints-widget .button.previous {\n bottom: 24px;\n}\n\n.monaco-editor .parameter-hints-widget .overloads {\n text-align: center;\n height: 12px;\n line-height: 12px;\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .parameter-hints-widget .signature .parameter.active {\n color: var(--vscode-editorHoverWidget-highlightForeground);\n font-weight: bold;\n}\n\n.monaco-editor .parameter-hints-widget .documentation-parameter > .parameter {\n font-weight: bold;\n margin-right: 0.5em;\n}\n',""]);let a=s},1931:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .peekview-widget .head {\n box-sizing: border-box;\n display: flex;\n justify-content: space-between;\n flex-wrap: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title {\n display: flex;\n align-items: baseline;\n font-size: 13px;\n margin-left: 20px;\n min-width: 0;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title.clickable {\n cursor: pointer;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname:not(:empty) {\n font-size: 0.9em;\n margin-left: 0.5em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .dirname {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .filename {\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .meta:not(:empty)::before {\n content: '-';\n padding: 0 0.3em;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions {\n flex: 1;\n text-align: right;\n padding-right: 2px;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar {\n display: inline-block;\n}\n\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar,\n.monaco-editor .peekview-widget .head .peekview-actions > .monaco-action-bar > .actions-container {\n height: 100%;\n}\n\n.monaco-editor .peekview-widget > .body {\n border-top: 1px solid;\n position: relative;\n}\n\n.monaco-editor .peekview-widget .head .peekview-title .codicon {\n margin-right: 4px;\n align-self: center;\n}\n\n.monaco-editor .peekview-widget .monaco-list .monaco-list-row.focused .codicon {\n color: inherit !important;\n}\n",""]);let a=s},72767:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .rename-box {\n z-index: 100;\n color: inherit;\n border-radius: 4px;\n}\n\n.monaco-editor .rename-box.preview {\n padding: 4px 4px 0 4px;\n}\n\n.monaco-editor .rename-box .rename-input {\n padding: 3px;\n border-radius: 2px;\n}\n\n.monaco-editor .rename-box .rename-label {\n display: none;\n opacity: .8;\n}\n\n.monaco-editor .rename-box.preview .rename-label {\n display: inherit;\n}\n",""]);let a=s},39889:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .snippet-placeholder {\n min-width: 2px;\n outline-style: solid;\n outline-width: 1px;\n background-color: var(--vscode-editor-snippetTabstopHighlightBackground, transparent);\n outline-color: var(--vscode-editor-snippetTabstopHighlightBorder, transparent);\n}\n\n.monaco-editor .finish-snippet-placeholder {\n outline-style: solid;\n outline-width: 1px;\n background-color: var(--vscode-editor-snippetFinalTabstopHighlightBackground, transparent);\n outline-color: var(--vscode-editor-snippetFinalTabstopHighlightBorder, transparent);\n}\n",""]);let a=s},68229:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .sticky-line {\n color: var(--vscode-editorLineNumber-foreground);\n overflow: hidden;\n white-space: nowrap;\n display: inline-block;\n}\n\n.monaco-editor .sticky-line-number {\n text-align: right;\n float: left;\n}\n\n.monaco-editor .sticky-line-root {\n background-color: inherit;\n overflow: hidden;\n white-space: nowrap;\n width: 100%;\n}\n\n.monaco-editor.hc-black .sticky-widget,\n.monaco-editor.hc-light .sticky-widget {\n border-bottom: 1px solid var(--vscode-contrastBorder);\n}\n\n.monaco-editor .sticky-line-root:hover {\n background-color: var(--vscode-editorStickyScrollHover-background);\n cursor: pointer;\n}\n\n.monaco-editor .sticky-widget {\n width: 100%;\n box-shadow: var(--vscode-scrollbar-shadow) 0 3px 2px -2px;\n z-index: 4;\n background-color: var(--vscode-editorStickyScroll-background);\n}\n\n.monaco-editor .sticky-widget.peek {\n background-color: var(--vscode-peekViewEditorStickyScroll-background);\n}\n",""]);let a=s},95618:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n/* Suggest widget*/\n\n.monaco-editor .suggest-widget {\n width: 430px;\n z-index: 40;\n display: flex;\n flex-direction: column;\n}\n\n.monaco-editor .suggest-widget.message {\n flex-direction: row;\n align-items: center;\n}\n\n.monaco-editor .suggest-widget,\n.monaco-editor .suggest-details {\n flex: 0 1 auto;\n width: 100%;\n border-style: solid;\n border-width: 1px;\n border-color: var(--vscode-editorSuggestWidget-border);\n background-color: var(--vscode-editorSuggestWidget-background);\n}\n\n.monaco-editor.hc-black .suggest-widget,\n.monaco-editor.hc-black .suggest-details,\n.monaco-editor.hc-light .suggest-widget,\n.monaco-editor.hc-light .suggest-details {\n border-width: 2px;\n}\n\n/* Styles for status bar part */\n\n\n.monaco-editor .suggest-widget .suggest-status-bar {\n box-sizing: border-box;\n display: none;\n flex-flow: row nowrap;\n justify-content: space-between;\n width: 100%;\n font-size: 80%;\n padding: 0 4px 0 4px;\n border-top: 1px solid var(--vscode-editorSuggestWidget-border);\n overflow: hidden;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar {\n display: flex;\n}\n\n.monaco-editor .suggest-widget .suggest-status-bar .left {\n padding-right: 8px;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-label {\n color: var(--vscode-editorSuggestWidgetStatus-foreground);\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label {\n margin-right: 0;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .suggest-status-bar .action-item:not(:last-of-type) .action-label::after {\n content: ', ';\n margin-right: 0.3em;\n}\n\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row>.contents>.main>.right>.readMore,\n.monaco-editor .suggest-widget.with-status-bar .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n display: none;\n}\n\n.monaco-editor .suggest-widget.with-status-bar:not(.docs-side) .monaco-list .monaco-list-row:hover>.contents>.main>.right.can-expand-details>.details-label {\n width: 100%;\n}\n\n/* Styles for Message element for when widget is loading or is empty */\n\n.monaco-editor .suggest-widget>.message {\n padding-left: 22px;\n}\n\n/** Styles for the list element **/\n\n.monaco-editor .suggest-widget>.tree {\n height: 100%;\n width: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list {\n user-select: none;\n -webkit-user-select: none;\n}\n\n/** Styles for each row in the list element **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row {\n display: flex;\n -mox-box-sizing: border-box;\n box-sizing: border-box;\n padding-right: 10px;\n background-repeat: no-repeat;\n background-position: 2px 2px;\n white-space: nowrap;\n cursor: pointer;\n touch-action: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused {\n color: var(--vscode-editorSuggestWidget-selectedForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused .codicon {\n color: var(--vscode-editorSuggestWidget-selectedIconForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents {\n flex: 1;\n height: 100%;\n overflow: hidden;\n padding-left: 2px;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main {\n display: flex;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: pre;\n justify-content: space-between;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n display: flex;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.focused)>.contents>.main .monaco-icon-label {\n color: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-widget:not(.frozen) .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main .monaco-highlighted-label .highlight {\n color: var(--vscode-editorSuggestWidget-highlightForeground);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused>.contents>.main .monaco-highlighted-label .highlight {\n color: var(--vscode-editorSuggestWidget-focusHighlightForeground);\n}\n\n/** ReadMore Icon styles **/\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore::before {\n color: inherit;\n opacity: 1;\n font-size: 14px;\n cursor: pointer;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close {\n position: absolute;\n top: 6px;\n right: 2px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.codicon-close:hover,\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore:hover {\n opacity: 1;\n}\n\n/** signature, qualifier, type/details opacity **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n opacity: 0.7;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.signature-label {\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.6;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.qualifier-label {\n margin-left: 12px;\n opacity: 0.4;\n font-size: 85%;\n line-height: initial;\n text-overflow: ellipsis;\n overflow: hidden;\n align-self: center;\n}\n\n/** Type Info and icon next to the label in the focused completion item **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n font-size: 85%;\n margin-left: 1.1em;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label>.monaco-tokenized-source {\n display: inline;\n}\n\n/** Details: if using CompletionItem#details, show on focus **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.details-label {\n display: none;\n}\n\n.monaco-editor .suggest-widget:not(.shows-details) .monaco-list .monaco-list-row.focused>.contents>.main>.right>.details-label {\n display: inline;\n}\n\n/** Details: if using CompletionItemLabel#details, always show **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.right>.details-label,\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row.focused:not(.string-label)>.contents>.main>.right>.details-label {\n display: inline;\n}\n\n/** Ellipsis on hover **/\n\n.monaco-editor .suggest-widget:not(.docs-side) .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right.can-expand-details>.details-label {\n width: calc(100% - 26px);\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left {\n flex-shrink: 1;\n flex-grow: 1;\n overflow: hidden;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.left>.monaco-icon-label {\n flex-shrink: 0;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row:not(.string-label)>.contents>.main>.left>.monaco-icon-label {\n max-width: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.left>.monaco-icon-label {\n flex-shrink: 1;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right {\n overflow: hidden;\n flex-shrink: 4;\n max-width: 70%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n display: inline-block;\n position: absolute;\n right: 10px;\n width: 18px;\n height: 18px;\n visibility: hidden;\n}\n\n/** Do NOT display ReadMore when docs is side/below **/\n\n.monaco-editor .suggest-widget.docs-side .monaco-list .monaco-list-row>.contents>.main>.right>.readMore {\n display: none !important;\n}\n\n/** Do NOT display ReadMore when using plain CompletionItemLabel (details/documentation might not be resolved) **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.string-label>.contents>.main>.right>.readMore {\n display: none;\n}\n\n/** Focused item can show ReadMore, but can't when docs is side/below **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused.string-label>.contents>.main>.right>.readMore {\n display: inline-block;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row.focused:hover>.contents>.main>.right>.readMore {\n visibility: visible;\n}\n\n/** Styles for each row in the list **/\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated {\n opacity: 0.66;\n text-decoration: unset;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label.deprecated>.monaco-icon-label-container>.monaco-icon-name-container {\n text-decoration: line-through;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .monaco-icon-label::before {\n height: 100%;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon {\n display: block;\n height: 16px;\n width: 16px;\n margin-left: 2px;\n background-repeat: no-repeat;\n background-size: 80%;\n background-position: center;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.hide {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .suggest-icon {\n display: flex;\n align-items: center;\n margin-right: 4px;\n}\n\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .icon,\n.monaco-editor .suggest-widget.no-icons .monaco-list .monaco-list-row .suggest-icon::before {\n display: none;\n}\n\n.monaco-editor .suggest-widget .monaco-list .monaco-list-row .icon.customcolor .colorspan {\n margin: 0 0 0 0.3em;\n border: 0.1em solid #000;\n width: 0.7em;\n height: 0.7em;\n display: inline-block;\n}\n\n/** Styles for the docs of the completion item in focus **/\n\n.monaco-editor .suggest-details-container {\n z-index: 41;\n}\n\n.monaco-editor .suggest-details {\n display: flex;\n flex-direction: column;\n cursor: default;\n color: var(--vscode-editorSuggestWidget-foreground);\n}\n\n.monaco-editor .suggest-details.focused {\n border-color: var(--vscode-focusBorder);\n}\n\n.monaco-editor .suggest-details a {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-editor .suggest-details a:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n.monaco-editor .suggest-details code {\n background-color: var(--vscode-textCodeBlock-background);\n}\n\n.monaco-editor .suggest-details.no-docs {\n display: none;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element {\n flex: 1;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body {\n box-sizing: border-box;\n height: 100%;\n width: 100%;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type {\n flex: 2;\n overflow: hidden;\n text-overflow: ellipsis;\n opacity: 0.7;\n white-space: pre;\n margin: 0 24px 0 0;\n padding: 4px 0 12px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.header>.type.auto-wrap {\n white-space: normal;\n word-break: break-all;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs {\n margin: 0;\n padding: 4px 5px;\n white-space: pre-wrap;\n}\n\n.monaco-editor .suggest-details.no-type>.monaco-scrollable-element>.body>.docs {\n margin-right: 24px;\n overflow: hidden;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs {\n padding: 0;\n white-space: initial;\n min-height: calc(1rem + 8px);\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div,\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>span:not(:empty) {\n padding: 4px 5px;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:first-child {\n margin-top: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs>div>p:last-child {\n margin-bottom: 0;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .monaco-tokenized-source {\n white-space: pre;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs .code {\n white-space: pre-wrap;\n word-wrap: break-word;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>.docs.markdown-docs .codicon {\n vertical-align: sub;\n}\n\n.monaco-editor .suggest-details>.monaco-scrollable-element>.body>p:empty {\n display: none;\n}\n\n.monaco-editor .suggest-details code {\n border-radius: 3px;\n padding: 0 0.4em;\n}\n\n.monaco-editor .suggest-details ul {\n padding-left: 20px;\n}\n\n.monaco-editor .suggest-details ol {\n padding-left: 20px;\n}\n\n.monaco-editor .suggest-details p code {\n font-family: var(--monaco-monospace-font);\n}\n",""]);let a=s},7538:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .codicon.codicon-symbol-array,\n.monaco-workbench .codicon.codicon-symbol-array { color: var(--vscode-symbolIcon-arrayForeground); }\n.monaco-editor .codicon.codicon-symbol-boolean,\n.monaco-workbench .codicon.codicon-symbol-boolean { color: var(--vscode-symbolIcon-booleanForeground); }\n.monaco-editor .codicon.codicon-symbol-class,\n.monaco-workbench .codicon.codicon-symbol-class { color: var(--vscode-symbolIcon-classForeground); }\n.monaco-editor .codicon.codicon-symbol-method,\n.monaco-workbench .codicon.codicon-symbol-method { color: var(--vscode-symbolIcon-methodForeground); }\n.monaco-editor .codicon.codicon-symbol-color,\n.monaco-workbench .codicon.codicon-symbol-color { color: var(--vscode-symbolIcon-colorForeground); }\n.monaco-editor .codicon.codicon-symbol-constant,\n.monaco-workbench .codicon.codicon-symbol-constant { color: var(--vscode-symbolIcon-constantForeground); }\n.monaco-editor .codicon.codicon-symbol-constructor,\n.monaco-workbench .codicon.codicon-symbol-constructor { color: var(--vscode-symbolIcon-constructorForeground); }\n.monaco-editor .codicon.codicon-symbol-value,\n.monaco-workbench .codicon.codicon-symbol-value,\n.monaco-editor .codicon.codicon-symbol-enum,\n.monaco-workbench .codicon.codicon-symbol-enum { color: var(--vscode-symbolIcon-enumeratorForeground); }\n.monaco-editor .codicon.codicon-symbol-enum-member,\n.monaco-workbench .codicon.codicon-symbol-enum-member { color: var(--vscode-symbolIcon-enumeratorMemberForeground); }\n.monaco-editor .codicon.codicon-symbol-event,\n.monaco-workbench .codicon.codicon-symbol-event { color: var(--vscode-symbolIcon-eventForeground); }\n.monaco-editor .codicon.codicon-symbol-field,\n.monaco-workbench .codicon.codicon-symbol-field { color: var(--vscode-symbolIcon-fieldForeground); }\n.monaco-editor .codicon.codicon-symbol-file,\n.monaco-workbench .codicon.codicon-symbol-file { color: var(--vscode-symbolIcon-fileForeground); }\n.monaco-editor .codicon.codicon-symbol-folder,\n.monaco-workbench .codicon.codicon-symbol-folder { color: var(--vscode-symbolIcon-folderForeground); }\n.monaco-editor .codicon.codicon-symbol-function,\n.monaco-workbench .codicon.codicon-symbol-function { color: var(--vscode-symbolIcon-functionForeground); }\n.monaco-editor .codicon.codicon-symbol-interface,\n.monaco-workbench .codicon.codicon-symbol-interface { color: var(--vscode-symbolIcon-interfaceForeground); }\n.monaco-editor .codicon.codicon-symbol-key,\n.monaco-workbench .codicon.codicon-symbol-key { color: var(--vscode-symbolIcon-keyForeground); }\n.monaco-editor .codicon.codicon-symbol-keyword,\n.monaco-workbench .codicon.codicon-symbol-keyword { color: var(--vscode-symbolIcon-keywordForeground); }\n.monaco-editor .codicon.codicon-symbol-module,\n.monaco-workbench .codicon.codicon-symbol-module { color: var(--vscode-symbolIcon-moduleForeground); }\n.monaco-editor .codicon.codicon-symbol-namespace,\n.monaco-workbench .codicon.codicon-symbol-namespace { color: var(--vscode-symbolIcon-namespaceForeground); }\n.monaco-editor .codicon.codicon-symbol-null,\n.monaco-workbench .codicon.codicon-symbol-null { color: var(--vscode-symbolIcon-nullForeground); }\n.monaco-editor .codicon.codicon-symbol-number,\n.monaco-workbench .codicon.codicon-symbol-number { color: var(--vscode-symbolIcon-numberForeground); }\n.monaco-editor .codicon.codicon-symbol-object,\n.monaco-workbench .codicon.codicon-symbol-object { color: var(--vscode-symbolIcon-objectForeground); }\n.monaco-editor .codicon.codicon-symbol-operator,\n.monaco-workbench .codicon.codicon-symbol-operator { color: var(--vscode-symbolIcon-operatorForeground); }\n.monaco-editor .codicon.codicon-symbol-package,\n.monaco-workbench .codicon.codicon-symbol-package { color: var(--vscode-symbolIcon-packageForeground); }\n.monaco-editor .codicon.codicon-symbol-property,\n.monaco-workbench .codicon.codicon-symbol-property { color: var(--vscode-symbolIcon-propertyForeground); }\n.monaco-editor .codicon.codicon-symbol-reference,\n.monaco-workbench .codicon.codicon-symbol-reference { color: var(--vscode-symbolIcon-referenceForeground); }\n.monaco-editor .codicon.codicon-symbol-snippet,\n.monaco-workbench .codicon.codicon-symbol-snippet { color: var(--vscode-symbolIcon-snippetForeground); }\n.monaco-editor .codicon.codicon-symbol-string,\n.monaco-workbench .codicon.codicon-symbol-string { color: var(--vscode-symbolIcon-stringForeground); }\n.monaco-editor .codicon.codicon-symbol-struct,\n.monaco-workbench .codicon.codicon-symbol-struct { color: var(--vscode-symbolIcon-structForeground); }\n.monaco-editor .codicon.codicon-symbol-text,\n.monaco-workbench .codicon.codicon-symbol-text { color: var(--vscode-symbolIcon-textForeground); }\n.monaco-editor .codicon.codicon-symbol-type-parameter,\n.monaco-workbench .codicon.codicon-symbol-type-parameter { color: var(--vscode-symbolIcon-typeParameterForeground); }\n.monaco-editor .codicon.codicon-symbol-unit,\n.monaco-workbench .codicon.codicon-symbol-unit { color: var(--vscode-symbolIcon-unitForeground); }\n.monaco-editor .codicon.codicon-symbol-variable,\n.monaco-workbench .codicon.codicon-symbol-variable { color: var(--vscode-symbolIcon-variableForeground); }\n",""]);let a=s},47094:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.editor-banner {\n box-sizing: border-box;\n cursor: default;\n width: 100%;\n font-size: 12px;\n display: flex;\n overflow: visible;\n\n height: 26px;\n\n background: var(--vscode-banner-background);\n}\n\n\n.editor-banner .icon-container {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n padding: 0 6px 0 10px;\n}\n\n.editor-banner .icon-container.custom-icon {\n background-repeat: no-repeat;\n background-position: center center;\n background-size: 16px;\n width: 16px;\n padding: 0;\n margin: 0 6px 0 10px;\n}\n\n.editor-banner .message-container {\n display: flex;\n align-items: center;\n line-height: 26px;\n text-overflow: ellipsis;\n white-space: nowrap;\n overflow: hidden;\n}\n\n.editor-banner .message-container p {\n margin-block-start: 0;\n margin-block-end: 0;\n}\n\n.editor-banner .message-actions-container {\n flex-grow: 1;\n flex-shrink: 0;\n line-height: 26px;\n margin: 0 4px;\n}\n\n.editor-banner .message-actions-container a.monaco-button {\n width: inherit;\n margin: 2px 8px;\n padding: 0px 12px;\n}\n\n.editor-banner .message-actions-container a {\n padding: 3px;\n margin-left: 12px;\n text-decoration: underline;\n}\n\n.editor-banner .action-container {\n padding: 0 10px 0 6px;\n}\n\n.editor-banner {\n background-color: var(--vscode-banner-background);\n}\n\n.editor-banner,\n.editor-banner .action-container .codicon,\n.editor-banner .message-actions-container .monaco-link {\n color: var(--vscode-banner-foreground);\n}\n\n.editor-banner .icon-container .codicon {\n color: var(--vscode-banner-iconForeground);\n}\n",""]);let a=s},56670:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .unicode-highlight {\n border: 1px solid var(--vscode-editorUnicodeHighlight-border);\n background-color: var(--vscode-editorUnicodeHighlight-background);\n box-sizing: border-box;\n}\n",""]);let a=s},4341:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .focused .selectionHighlight {\n background-color: var(--vscode-editor-selectionHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-selectionHighlightBorder);\n}\n.monaco-editor.hc-black .focused .selectionHighlight, .monaco-editor.hc-light .focused .selectionHighlight {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlight {\n background-color: var(--vscode-editor-wordHighlightBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightBorder);\n}\n.monaco-editor.hc-black .wordHighlight, .monaco-editor.hc-light .wordHighlight {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlightStrong {\n background-color: var(--vscode-editor-wordHighlightStrongBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightStrongBorder);\n}\n.monaco-editor.hc-black .wordHighlightStrong, .monaco-editor.hc-light .wordHighlightStrong {\n border-style: dotted;\n}\n\n.monaco-editor .wordHighlightText {\n background-color: var(--vscode-editor-wordHighlightTextBackground);\n box-sizing: border-box;\n border: 1px solid var(--vscode-editor-wordHighlightTextBorder);\n}\n.monaco-editor.hc-black .wordHighlightText, .monaco-editor.hc-light .wordHighlightText {\n border-style: dotted;\n}\n",""]);let a=s},14401:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n.monaco-editor .zone-widget {\n position: absolute;\n z-index: 10;\n}\n\n\n.monaco-editor .zone-widget .zone-widget-container {\n border-top-style: solid;\n border-bottom-style: solid;\n border-top-width: 0;\n border-bottom-width: 0;\n position: relative;\n}\n",""]);let a=s},75152:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .accessibilityHelpWidget {\n padding: 10px;\n vertical-align: middle;\n overflow: scroll;\n color: var(--vscode-editorWidget-foreground);\n background-color: var(--vscode-editorWidget-background);\n box-shadow: 0 2px 8px var(--vscode-widget-shadow);\n border: 2px solid var(--vscode-contrastBorder);\n}\n",""]);let a=s},7091:(e,t,i)=>{"use strict";i.d(t,{Z:()=>p});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o),a=i(78991),l=i.n(a),u=new URL(i(6161),i.b),d=new URL(i(51096),i.b),c=s()(r()),h=l()(u),g=l()(d);c.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .iPadShowKeyboard {\n width: 58px;\n min-width: 0;\n height: 36px;\n min-height: 0;\n margin: 0;\n padding: 0;\n position: absolute;\n resize: none;\n overflow: hidden;\n background: url("+h+") center center no-repeat;\n border: 4px solid #F6F6F6;\n border-radius: 4px;\n}\n\n.monaco-editor.vs-dark .iPadShowKeyboard {\n background: url("+g+") center center no-repeat;\n border: 4px solid #252526;\n}",""]);let p=c},54381:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .tokens-inspect-widget {\n z-index: 50;\n user-select: text;\n -webkit-user-select: text;\n padding: 10px;\n color: var(--vscode-editorHoverWidget-foreground);\n background-color: var(--vscode-editorHoverWidget-background);\n border: 1px solid var(--vscode-editorHoverWidget-border);\n}\n.monaco-editor.hc-black .tokens-inspect-widget, .monaco-editor.hc-light .tokens-inspect-widget {\n border-width: 2px;\n}\n\n.monaco-editor .tokens-inspect-widget .tokens-inspect-separator {\n height: 1px;\n border: 0;\n background-color: var(--vscode-editorHoverWidget-border);\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token {\n font-family: var(--monaco-monospace-font);\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-length {\n font-weight: normal;\n font-size: 60%;\n float: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-table {\n width: 100%;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-metadata-value {\n font-family: var(--monaco-monospace-font);\n text-align: right;\n}\n\n.monaco-editor .tokens-inspect-widget .tm-token-type {\n font-family: var(--monaco-monospace-font);\n}\n",""]);let a=s},18215:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n font-size: 13px;\n}\n\n.quick-input-widget .monaco-highlighted-label .highlight,\n.quick-input-widget .monaco-highlighted-label .highlight {\n color: #0066BF;\n}\n\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight,\n.vs .quick-input-widget .monaco-list-row.focused .monaco-highlighted-label .highlight {\n color: #9DDDFF;\n}\n\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight,\n.vs-dark .quick-input-widget .monaco-highlighted-label .highlight {\n color: #0097fb;\n}\n\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-black .quick-input-widget .monaco-highlighted-label .highlight {\n color: #F38518;\n}\n\n.hc-light .quick-input-widget .monaco-highlighted-label .highlight,\n.hc-light .quick-input-widget .monaco-highlighted-label .highlight {\n color: #0F4A85;\n}\n\n.monaco-keybinding > .monaco-keybinding-key {\n background-color: rgba(221, 221, 221, 0.4);\n border: solid 1px rgba(204, 204, 204, 0.4);\n border-bottom-color: rgba(187, 187, 187, 0.4);\n box-shadow: inset 0 -1px 0 rgba(187, 187, 187, 0.4);\n color: #555;\n}\n\n.hc-black .monaco-keybinding > .monaco-keybinding-key {\n background-color: transparent;\n border: solid 1px rgb(111, 195, 223);\n box-shadow: none;\n color: #fff;\n}\n\n.hc-light .monaco-keybinding > .monaco-keybinding-key {\n background-color: transparent;\n border: solid 1px #0F4A85;\n box-shadow: none;\n color: #292929;\n}\n\n.vs-dark .monaco-keybinding > .monaco-keybinding-key {\n background-color: rgba(128, 128, 128, 0.17);\n border: solid 1px rgba(51, 51, 51, 0.6);\n border-bottom-color: rgba(68, 68, 68, 0.6);\n box-shadow: inset 0 -1px 0 rgba(68, 68, 68, 0.6);\n color: #ccc;\n}\n",""]);let a=s},20517:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n\n/* Default standalone editor fonts */\n.monaco-editor {\n font-family: -apple-system, BlinkMacSystemFont, "Segoe WPC", "Segoe UI", "HelveticaNeue-Light", system-ui, "Ubuntu", "Droid Sans", sans-serif;\n --monaco-monospace-font: "SF Mono", Monaco, Menlo, Consolas, "Ubuntu Mono", "Liberation Mono", "DejaVu Sans Mono", "Courier New", monospace;\n}\n\n.monaco-menu .monaco-action-bar.vertical .action-item .action-menu-item:focus .action-label {\n stroke-width: 1.2px;\n}\n\n.monaco-editor.vs-dark .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-black .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label,\n.monaco-editor.hc-light .monaco-menu .monaco-action-bar.vertical .action-menu-item:focus .action-label {\n stroke-width: 1.2px;\n}\n\n.monaco-hover p {\n margin: 0;\n}\n\n/* See https://github.com/microsoft/monaco-editor/issues/2168#issuecomment-780078600 */\n.monaco-aria-container {\n position: absolute !important;\n top: 0; /* avoid being placed underneath a sibling element */\n height: 1px;\n width: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n clip: rect(1px, 1px, 1px, 1px);\n clip-path: inset(50%);\n}\n\n/*.monaco-editor.vs [tabindex="0"]:focus {\n outline: 1px solid rgba(0, 122, 204, 0.4);\n outline-offset: -1px;\n opacity: 1 !important;\n}\n\n.monaco-editor.vs-dark [tabindex="0"]:focus {\n outline: 1px solid rgba(14, 99, 156, 0.6);\n outline-offset: -1px;\n opacity: 1 !important;\n}*/\n',""]);let a=s},38734:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,'/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.action-widget {\n font-size: 13px;\n border-radius: 0;\n min-width: 160px;\n max-width: 500px;\n z-index: 40;\n display: block;\n width: 100%;\n border: 1px solid var(--vscode-editorWidget-border) !important;\n background-color: var(--vscode-editorWidget-background);\n color: var(--vscode-editorWidget-foreground);\n}\n\n.context-view-block {\n position: fixed;\n cursor: initial;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: -1;\n}\n\n.context-view-pointerBlock {\n position: fixed;\n cursor: initial;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n z-index: 2;\n}\n\n.action-widget .monaco-list {\n user-select: none;\n -webkit-user-select: none;\n border: none !important;\n border-width: 0 !important;\n}\n\n.action-widget .monaco-list:focus:before {\n outline: 0 !important;\n}\n\n.action-widget .monaco-list .monaco-scrollable-element {\n overflow: visible;\n}\n\n/** Styles for each row in the list element **/\n.action-widget .monaco-list .monaco-list-row {\n padding: 0 10px;\n white-space: nowrap;\n cursor: pointer;\n touch-action: none;\n width: 100%;\n}\n\n.action-widget .monaco-list .monaco-list-row.action.focused:not(.option-disabled) {\n background-color: var(--vscode-quickInputList-focusBackground) !important;\n color: var(--vscode-quickInputList-focusForeground);\n outline: 1px solid var(--vscode-menu-selectionBorder, transparent);\n outline-offset: -1px;\n}\n\n.action-widget .monaco-list-row.group-header {\n color: var(--vscode-pickerGroup-foreground) !important;\n font-weight: 600;\n}\n\n.action-widget .monaco-list .group-header,\n.action-widget .monaco-list .option-disabled,\n.action-widget .monaco-list .option-disabled:before,\n.action-widget .monaco-list .option-disabled .focused,\n.action-widget .monaco-list .option-disabled .focused:before {\n cursor: default !important;\n -webkit-touch-callout: none;\n -webkit-user-select: none;\n user-select: none;\n background-color: transparent !important;\n outline: 0 solid !important;\n}\n\n.action-widget .monaco-list-row.action {\n display: flex;\n gap: 6px;\n align-items: center;\n}\n\n.action-widget .monaco-list-row.action.option-disabled {\n color: var(--vscode-disabledForeground);\n}\n\n.action-widget .monaco-list-row.action.option-disabled .codicon {\n opacity: 0.4;\n}\n\n.action-widget .monaco-list-row.action:not(.option-disabled) .codicon {\n color: inherit;\n}\n\n.action-widget .monaco-list-row.action .title {\n flex: 1;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n/* Action bar */\n\n.action-widget .action-widget-action-bar {\n background-color: var(--vscode-editorHoverWidget-statusBarBackground);\n border-top: 1px solid var(--vscode-editorHoverWidget-border);\n}\n\n.action-widget .action-widget-action-bar::before {\n display: block;\n content: "";\n width: 100%;\n}\n\n.action-widget .action-widget-action-bar .actions-container {\n padding: 0 8px;\n}\n\n.action-widget-action-bar .action-label {\n color: var(--vscode-textLink-activeForeground);\n font-size: 12px;\n line-height: 22px;\n padding: 0;\n pointer-events: all;\n}\n\n.action-widget-action-bar .action-item {\n margin-right: 16px;\n pointer-events: none;\n}\n\n.action-widget-action-bar .action-label:hover {\n background-color: transparent !important;\n}\n',""]);let a=s},33412:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-action-bar .action-item.menu-entry .action-label.icon {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 16px;\n}\n\n.monaco-dropdown-with-default {\n display: flex !important;\n flex-direction: row;\n border-radius: 5px;\n}\n\n.monaco-dropdown-with-default > .action-container > .action-label {\n margin-right: 0;\n}\n\n.monaco-dropdown-with-default > .action-container.menu-entry > .action-label.icon {\n width: 16px;\n height: 16px;\n background-repeat: no-repeat;\n background-position: 50%;\n background-size: 16px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label .codicon[class*='codicon-'] {\n font-size: 12px;\n padding-left: 0px;\n padding-right: 0px;\n line-height: 16px;\n margin-left: -3px;\n}\n\n.monaco-dropdown-with-default > .dropdown-action-container > .monaco-dropdown > .dropdown-label > .action-label {\n display: block;\n background-size: 16px;\n background-position: center center;\n background-repeat: no-repeat;\n}\n",""]);let a=s},32781:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-link {\n color: var(--vscode-textLink-foreground);\n}\n\n.monaco-link:hover {\n color: var(--vscode-textLink-activeForeground);\n}\n\n",""]);let a=s},55016:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.quick-input-widget {\n position: absolute;\n width: 600px;\n z-index: 2550;\n left: 50%;\n margin-left: -300px;\n -webkit-app-region: no-drag;\n border-radius: 6px;\n}\n\n.quick-input-titlebar {\n display: flex;\n align-items: center;\n border-top-left-radius: 5px; /* match border radius of quick input widget */\n border-top-right-radius: 5px;\n}\n\n.quick-input-left-action-bar {\n display: flex;\n margin-left: 4px;\n flex: 1;\n}\n\n.quick-input-title {\n padding: 3px 0px;\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.quick-input-right-action-bar {\n display: flex;\n margin-right: 4px;\n flex: 1;\n}\n\n.quick-input-right-action-bar > .actions-container {\n justify-content: flex-end;\n}\n\n.quick-input-titlebar .monaco-action-bar .action-label.codicon {\n background-position: center;\n background-repeat: no-repeat;\n padding: 2px;\n}\n\n.quick-input-description {\n margin: 6px;\n}\n\n.quick-input-header .quick-input-description {\n margin: 4px 2px;\n}\n\n.quick-input-header {\n display: flex;\n padding: 8px 6px 6px 6px;\n}\n\n.quick-input-widget.hidden-input .quick-input-header {\n /* reduce margins and paddings when input box hidden */\n padding: 0;\n margin-bottom: 0;\n}\n\n.quick-input-and-message {\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n min-width: 0;\n position: relative;\n}\n\n.quick-input-check-all {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-filter {\n flex-grow: 1;\n display: flex;\n position: relative;\n}\n\n.quick-input-box {\n flex-grow: 1;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-box,\n.quick-input-widget.show-checkboxes .quick-input-message {\n margin-left: 5px;\n}\n\n.quick-input-visible-count {\n position: absolute;\n left: -10000px;\n}\n\n.quick-input-count {\n align-self: center;\n position: absolute;\n right: 4px;\n display: flex;\n align-items: center;\n}\n\n.quick-input-count .monaco-count-badge {\n vertical-align: middle;\n padding: 2px 4px;\n border-radius: 2px;\n min-height: auto;\n line-height: normal;\n}\n\n.quick-input-action {\n margin-left: 6px;\n}\n\n.quick-input-action .monaco-text-button {\n font-size: 11px;\n padding: 0 6px;\n display: flex;\n height: 25px;\n align-items: center;\n}\n\n.quick-input-message {\n margin-top: -1px;\n padding: 5px;\n overflow-wrap: break-word;\n}\n\n.quick-input-message > .codicon {\n margin: 0 0.2em;\n vertical-align: text-bottom;\n}\n\n/* Links in descriptions & validations */\n.quick-input-message a {\n color: inherit;\n}\n\n.quick-input-progress.monaco-progress-container {\n position: relative;\n}\n\n.quick-input-progress.monaco-progress-container,\n.quick-input-progress.monaco-progress-container .progress-bit {\n height: 2px;\n}\n\n.quick-input-list {\n line-height: 22px;\n}\n\n.quick-input-widget.hidden-input .quick-input-list {\n margin-top: 4px; /* reduce margins when input box hidden */\n padding-bottom: 4px;\n}\n\n.quick-input-list .monaco-list {\n overflow: hidden;\n max-height: calc(20 * 22px);\n padding-bottom: 5px;\n}\n\n.quick-input-list .monaco-scrollable-element {\n padding: 0px 5px;\n}\n\n.quick-input-list .quick-input-list-entry {\n box-sizing: border-box;\n overflow: hidden;\n display: flex;\n height: 100%;\n padding: 0 6px;\n}\n\n.quick-input-list .quick-input-list-entry.quick-input-list-separator-border {\n border-top-width: 1px;\n border-top-style: solid;\n}\n\n.quick-input-list .monaco-list-row {\n border-radius: 3px;\n}\n\n.quick-input-list .monaco-list-row[data-index=\"0\"] .quick-input-list-entry.quick-input-list-separator-border {\n border-top-style: none;\n}\n\n.quick-input-list .quick-input-list-label {\n overflow: hidden;\n display: flex;\n height: 100%;\n flex: 1;\n}\n\n.quick-input-list .quick-input-list-checkbox {\n align-self: center;\n margin: 0;\n}\n\n.quick-input-list .quick-input-list-rows {\n overflow: hidden;\n text-overflow: ellipsis;\n display: flex;\n flex-direction: column;\n height: 100%;\n flex: 1;\n margin-left: 5px;\n}\n\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-rows {\n margin-left: 10px;\n}\n\n.quick-input-widget .quick-input-list .quick-input-list-checkbox {\n display: none;\n}\n.quick-input-widget.show-checkboxes .quick-input-list .quick-input-list-checkbox {\n display: inline;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row {\n display: flex;\n align-items: center;\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label,\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .monaco-icon-label .monaco-icon-label-container > .monaco-icon-name-container {\n flex: 1; /* make sure the icon label grows within the row */\n}\n\n.quick-input-list .quick-input-list-rows > .quick-input-list-row .codicon[class*='codicon-'] {\n vertical-align: text-bottom;\n}\n\n.quick-input-list .quick-input-list-rows .monaco-highlighted-label > span {\n opacity: 1;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-keybinding {\n margin-right: 8px; /* separate from the separator label or scrollbar if any */\n}\n\n.quick-input-list .quick-input-list-label-meta {\n opacity: 0.7;\n line-height: normal;\n text-overflow: ellipsis;\n overflow: hidden;\n}\n\n.quick-input-list .monaco-highlighted-label .highlight {\n font-weight: bold;\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-separator {\n margin-right: 4px; /* separate from keybindings or actions */\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n display: flex;\n flex: 0;\n overflow: visible;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label {\n /*\n * By default, actions in the quick input action bar are hidden\n * until hovered over them or selected.\n */\n display: none;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar .action-label.codicon {\n margin-right: 4px;\n padding: 0px 2px 2px 2px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-top: 1px;\n}\n\n.quick-input-list .quick-input-list-entry-action-bar {\n margin-right: 4px; /* separate from scrollbar */\n}\n\n.quick-input-list .quick-input-list-entry .quick-input-list-entry-action-bar .action-label.always-visible,\n.quick-input-list .quick-input-list-entry:hover .quick-input-list-entry-action-bar .action-label,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry-action-bar .action-label {\n display: flex;\n}\n\n/* focused items in quick pick */\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key,\n.quick-input-list .monaco-list-row.focused .quick-input-list-entry .quick-input-list-separator {\n color: inherit\n}\n.quick-input-list .monaco-list-row.focused .monaco-keybinding-key {\n background: none;\n}\n",""]);let a=s},69730:(e,t,i)=>{"use strict";i.d(t,{Z:()=>a});var n=i(39601),r=i.n(n),o=i(82609),s=i.n(o)()(r());s.push([e.id,"/*---------------------------------------------------------------------------------------------\n * Copyright (c) Microsoft Corporation. All rights reserved.\n * Licensed under the MIT License. See License.txt in the project root for license information.\n *--------------------------------------------------------------------------------------------*/\n\n.monaco-editor .zone-widget .codicon.codicon-error,\n.markers-panel .marker-icon.error, .markers-panel .marker-icon .codicon.codicon-error,\n.text-search-provider-messages .providerMessage .codicon.codicon-error,\n.extensions-viewlet > .extensions .codicon.codicon-error,\n.extension-editor .codicon.codicon-error,\n.preferences-editor .codicon.codicon-error {\n color: var(--vscode-problemsErrorIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-warning,\n.markers-panel .marker-icon.warning, .markers-panel .marker-icon .codicon.codicon-warning,\n.text-search-provider-messages .providerMessage .codicon.codicon-warning,\n.extensions-viewlet > .extensions .codicon.codicon-warning,\n.extension-editor .codicon.codicon-warning,\n.preferences-editor .codicon.codicon-warning {\n color: var(--vscode-problemsWarningIcon-foreground);\n}\n\n.monaco-editor .zone-widget .codicon.codicon-info,\n.markers-panel .marker-icon.info, .markers-panel .marker-icon .codicon.codicon-info,\n.text-search-provider-messages .providerMessage .codicon.codicon-info,\n.extensions-viewlet > .extensions .codicon.codicon-info,\n.extension-editor .codicon.codicon-info,\n.preferences-editor .codicon.codicon-info {\n color: var(--vscode-problemsInfoIcon-foreground);\n}\n",""]);let a=s},82609:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var i="",n=void 0!==t[5];return t[4]&&(i+="@supports (".concat(t[4],") {")),t[2]&&(i+="@media ".concat(t[2]," {")),n&&(i+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),i+=e(t),n&&(i+="}"),t[2]&&(i+="}"),t[4]&&(i+="}"),i}).join("")},t.i=function(e,i,n,r,o){"string"==typeof e&&(e=[[null,e,void 0]]);var s={};if(n)for(var a=0;a0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=o),i&&(d[2]&&(d[1]="@media ".concat(d[2]," {").concat(d[1],"}")),d[2]=i),r&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=r):d[4]="".concat(r)),t.push(d))}},t}},78991:e=>{"use strict";e.exports=function(e,t){return(t||(t={}),e&&(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes))?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e}},39601:e=>{"use strict";e.exports=function(e){return e[1]}},22194:(e,t,i)=>{"use strict";i.r(t),i.d(t,{add:()=>u,addBusinessDays:()=>g,addDays:()=>a,addHours:()=>f,addISOWeekYears:()=>k,addMilliseconds:()=>p,addMinutes:()=>E,addMonths:()=>l,addQuarters:()=>L,addSeconds:()=>D,addWeeks:()=>N,addYears:()=>A,areIntervalsOverlapping:()=>T,clamp:()=>O,closestIndexTo:()=>P,closestTo:()=>R,compareAsc:()=>F,compareDesc:()=>B,daysInWeek:()=>V,daysInYear:()=>H,daysToWeeks:()=>en,differenceInBusinessDays:()=>ea,differenceInCalendarDays:()=>S,differenceInCalendarISOWeekYears:()=>el,differenceInCalendarISOWeeks:()=>eu,differenceInCalendarMonths:()=>ed,differenceInCalendarQuarters:()=>eh,differenceInCalendarWeeks:()=>eg,differenceInCalendarYears:()=>ep,differenceInDays:()=>em,differenceInHours:()=>e_,differenceInISOWeekYears:()=>eC,differenceInMilliseconds:()=>ev,differenceInMinutes:()=>eS,differenceInMonths:()=>eL,differenceInQuarters:()=>eD,differenceInSeconds:()=>eN,differenceInWeeks:()=>eA,differenceInYears:()=>eT,eachDayOfInterval:()=>eI,eachHourOfInterval:()=>eM,eachMinuteOfInterval:()=>eP,eachMonthOfInterval:()=>eR,eachQuarterOfInterval:()=>eB,eachWeekOfInterval:()=>eV,eachWeekendOfInterval:()=>eH,eachWeekendOfMonth:()=>eW,eachWeekendOfYear:()=>e$,eachYearOfInterval:()=>eq,endOfDay:()=>ex,endOfDecade:()=>eK,endOfHour:()=>eG,endOfISOWeek:()=>eY,endOfISOWeekYear:()=>eQ,endOfMinute:()=>eJ,endOfMonth:()=>ek,endOfQuarter:()=>eX,endOfSecond:()=>e0,endOfToday:()=>e1,endOfTomorrow:()=>e2,endOfWeek:()=>eZ,endOfYear:()=>ez,endOfYesterday:()=>e6,format:()=>tD,formatDistance:()=>tA,formatDistanceStrict:()=>tT,formatDistanceToNow:()=>tI,formatDistanceToNowStrict:()=>tM,formatDuration:()=>tP,formatISO:()=>tR,formatISO9075:()=>tF,formatISODuration:()=>tB,formatRFC3339:()=>tV,formatRFC7231:()=>tW,formatRelative:()=>tz,fromUnixTime:()=>tU,getDate:()=>t$,getDay:()=>tq,getDayOfYear:()=>tK,getDaysInMonth:()=>tG,getDaysInYear:()=>tY,getDecade:()=>tQ,getDefaultOptions:()=>tJ,getHours:()=>tX,getISODay:()=>t0,getISOWeek:()=>t1,getISOWeekYear:()=>y,getISOWeeksInYear:()=>t2,getMilliseconds:()=>t6,getMinutes:()=>t3,getMonth:()=>t8,getOverlappingDaysInIntervals:()=>t5,getQuarter:()=>ec,getSeconds:()=>t4,getTime:()=>t9,getUnixTime:()=>t7,getWeek:()=>ii,getWeekOfMonth:()=>ir,getWeekYear:()=>ie,getWeeksInMonth:()=>is,getYear:()=>ia,hoursToMilliseconds:()=>il,hoursToMinutes:()=>iu,hoursToSeconds:()=>id,intervalToDuration:()=>ic,intlFormat:()=>ih,intlFormatDistance:()=>ig,isAfter:()=>ip,isBefore:()=>im,isDate:()=>eo,isEqual:()=>iv,isExists:()=>ib,isFirstDayOfMonth:()=>iy,isFriday:()=>i_,isFuture:()=>iw,isLastDayOfMonth:()=>eE,isLeapYear:()=>tZ,isMatch:()=>nL,isMonday:()=>nD,isPast:()=>nN,isSameDay:()=>er,isSameHour:()=>nT,isSameISOWeek:()=>nM,isSameISOWeekYear:()=>nO,isSameMinute:()=>nP,isSameMonth:()=>nR,isSameQuarter:()=>nF,isSameSecond:()=>nV,isSameWeek:()=>nI,isSameYear:()=>nH,isSaturday:()=>h,isSunday:()=>c,isThisHour:()=>nj,isThisISOWeek:()=>nW,isThisMinute:()=>nz,isThisMonth:()=>nU,isThisQuarter:()=>n$,isThisSecond:()=>nq,isThisWeek:()=>nK,isThisYear:()=>nG,isThursday:()=>nZ,isToday:()=>nY,isTomorrow:()=>nQ,isTuesday:()=>nJ,isValid:()=>es,isWednesday:()=>nX,isWeekend:()=>d,isWithinInterval:()=>n0,isYesterday:()=>n2,lastDayOfDecade:()=>n6,lastDayOfISOWeek:()=>n8,lastDayOfISOWeekYear:()=>n5,lastDayOfMonth:()=>io,lastDayOfQuarter:()=>n4,lastDayOfWeek:()=>n3,lastDayOfYear:()=>n9,lightFormat:()=>rn,max:()=>I,maxTime:()=>j,milliseconds:()=>rr,millisecondsInHour:()=>z,millisecondsInMinute:()=>W,millisecondsInSecond:()=>U,millisecondsToHours:()=>ro,millisecondsToMinutes:()=>rs,millisecondsToSeconds:()=>ra,min:()=>M,minTime:()=>$,minutesInHour:()=>q,minutesToHours:()=>rl,minutesToMilliseconds:()=>ru,minutesToSeconds:()=>rd,monthsInQuarter:()=>K,monthsInYear:()=>G,monthsToQuarters:()=>rc,monthsToYears:()=>rh,nextDay:()=>rg,nextFriday:()=>rp,nextMonday:()=>rf,nextSaturday:()=>rm,nextSunday:()=>rv,nextThursday:()=>rb,nextTuesday:()=>ry,nextWednesday:()=>r_,parse:()=>nE,parseISO:()=>rw,parseJSON:()=>rA,previousDay:()=>rT,previousFriday:()=>rI,previousMonday:()=>rM,previousSaturday:()=>rO,previousSunday:()=>rP,previousThursday:()=>rR,previousTuesday:()=>rF,previousWednesday:()=>rB,quartersInYear:()=>Z,quartersToMonths:()=>rV,quartersToYears:()=>rH,roundToNearestMinutes:()=>rj,secondsInDay:()=>J,secondsInHour:()=>Y,secondsInMinute:()=>Q,secondsInMonth:()=>et,secondsInQuarter:()=>ei,secondsInWeek:()=>X,secondsInYear:()=>ee,secondsToHours:()=>rW,secondsToMilliseconds:()=>rz,secondsToMinutes:()=>rU,set:()=>rq,setDate:()=>rK,setDay:()=>rG,setDayOfYear:()=>rZ,setDefaultOptions:()=>rY,setHours:()=>rQ,setISODay:()=>rJ,setISOWeek:()=>rX,setISOWeekYear:()=>x,setMilliseconds:()=>r0,setMinutes:()=>r1,setMonth:()=>r$,setQuarter:()=>r2,setSeconds:()=>r6,setWeek:()=>r3,setWeekYear:()=>r8,setYear:()=>r5,startOfDay:()=>C,startOfDecade:()=>r4,startOfHour:()=>nA,startOfISOWeek:()=>b,startOfISOWeekYear:()=>_,startOfMinute:()=>eO,startOfMonth:()=>ej,startOfQuarter:()=>eF,startOfSecond:()=>nB,startOfToday:()=>r9,startOfTomorrow:()=>r7,startOfWeek:()=>v,startOfWeekYear:()=>it,startOfYear:()=>eU,startOfYesterday:()=>oe,sub:()=>oi,subBusinessDays:()=>on,subDays:()=>n1,subHours:()=>or,subISOWeekYears:()=>ew,subMilliseconds:()=>e3,subMinutes:()=>oo,subMonths:()=>ot,subQuarters:()=>os,subSeconds:()=>oa,subWeeks:()=>ol,subYears:()=>ou,toDate:()=>s,weeksToDays:()=>od,yearsToMonths:()=>oc,yearsToQuarters:()=>oh});var n=i(90929);function r(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function o(e,t){if(t.length1?"s":"")+" required, but only "+t.length+" present")}function s(e){o(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):(("string"==typeof e||"[object String]"===t)&&"undefined"!=typeof console&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(Error().stack)),new Date(NaN))}function a(e,t){o(2,arguments);var i=s(e),n=r(t);return isNaN(n)?new Date(NaN):(n&&i.setDate(i.getDate()+n),i)}function l(e,t){o(2,arguments);var i=s(e),n=r(t);if(isNaN(n))return new Date(NaN);if(!n)return i;var a=i.getDate(),l=new Date(i.getTime());return(l.setMonth(i.getMonth()+n+1,0),a>=l.getDate())?l:(i.setFullYear(l.getFullYear(),l.getMonth(),a),i)}function u(e,t){if(o(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN);var i=t.years?r(t.years):0,u=t.months?r(t.months):0,d=t.weeks?r(t.weeks):0,c=t.days?r(t.days):0,h=t.hours?r(t.hours):0,g=t.minutes?r(t.minutes):0,p=t.seconds?r(t.seconds):0,f=s(e),m=u||i?l(f,u+12*i):f,v=c||d?a(m,c+7*d):m;return new Date(v.getTime()+1e3*(p+60*(g+60*h)))}function d(e){o(1,arguments);var t=s(e).getDay();return 0===t||6===t}function c(e){return o(1,arguments),0===s(e).getDay()}function h(e){return o(1,arguments),6===s(e).getDay()}function g(e,t){o(2,arguments);var i=s(e),n=d(i),a=r(t);if(isNaN(a))return new Date(NaN);var l=i.getHours(),u=a<0?-1:1,g=r(a/5);i.setDate(i.getDate()+7*g);for(var p=Math.abs(a%5);p>0;)i.setDate(i.getDate()+u),d(i)||(p-=1);return n&&d(i)&&0!==a&&(h(i)&&i.setDate(i.getDate()+(u<0?2:-1)),c(i)&&i.setDate(i.getDate()+(u<0?1:-2))),i.setHours(l),i}function p(e,t){o(2,arguments);var i=s(e).getTime(),n=r(t);return new Date(i+n)}function f(e,t){return o(2,arguments),p(e,36e5*r(t))}var m={};function v(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getDay();return f.setDate(f.getDate()-((v=r.getTime()?i+1:t.getTime()>=l.getTime()?i:i-1}function _(e){o(1,arguments);var t=y(e),i=new Date(0);return i.setFullYear(t,0,4),i.setHours(0,0,0,0),b(i)}function w(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function C(e){o(1,arguments);var t=s(e);return t.setHours(0,0,0,0),t}function S(e,t){o(2,arguments);var i=C(e),n=C(t);return Math.round((i.getTime()-w(i)-(n.getTime()-w(n)))/864e5)}function x(e,t){o(2,arguments);var i=s(e),n=r(t),a=S(i,_(i)),l=new Date(0);return l.setFullYear(n,0,4),l.setHours(0,0,0,0),(i=_(l)).setDate(i.getDate()+a),i}function k(e,t){o(2,arguments);var i=r(t);return x(e,y(e)+i)}function E(e,t){return o(2,arguments),p(e,6e4*r(t))}function L(e,t){return o(2,arguments),l(e,3*r(t))}function D(e,t){return o(2,arguments),p(e,1e3*r(t))}function N(e,t){return o(2,arguments),a(e,7*r(t))}function A(e,t){return o(2,arguments),l(e,12*r(t))}function T(e,t,i){o(2,arguments);var n=s(null==e?void 0:e.start).getTime(),r=s(null==e?void 0:e.end).getTime(),a=s(null==t?void 0:t.start).getTime(),l=s(null==t?void 0:t.end).getTime();if(!(n<=r&&a<=l))throw RangeError("Invalid interval");return null!=i&&i.inclusive?n<=l&&a<=r:nt||isNaN(t.getDate()))&&(i=t)}),i||new Date(NaN)}function O(e,t){var i=t.start,n=t.end;return o(2,arguments),M([I([e,i]),n])}function P(e,t){o(2,arguments);var i,n,r=s(e);if(isNaN(Number(r)))return NaN;var a=r.getTime();return(null==t?[]:"function"==typeof t.forEach?t:Array.prototype.slice.call(t)).forEach(function(e,t){var r=s(e);if(isNaN(Number(r))){i=NaN,n=NaN;return}var o=Math.abs(a-r.getTime());(null==i||o0?1:r}function B(e,t){o(2,arguments);var i=s(e),n=s(t),r=i.getTime()-n.getTime();return r>0?-1:r<0?1:r}var V=7,H=365.2425,j=864e13,W=6e4,z=36e5,U=1e3,$=-864e13,q=60,K=3,G=12,Z=4,Y=3600,Q=60,J=86400,X=604800,ee=31556952,et=2629746,ei=7889238;function en(e){return o(1,arguments),Math.floor(e/V)}function er(e,t){o(2,arguments);var i=C(e),n=C(t);return i.getTime()===n.getTime()}function eo(e){return o(1,arguments),e instanceof Date||"object"===(0,n.Z)(e)&&"[object Date]"===Object.prototype.toString.call(e)}function es(e){return o(1,arguments),(!!eo(e)||"number"==typeof e)&&!isNaN(Number(s(e)))}function ea(e,t){o(2,arguments);var i=s(e),n=s(t);if(!es(i)||!es(n))return NaN;var l=S(i,n),u=l<0?-1:1,c=r(l/7),h=5*c;for(n=a(n,7*c);!er(i,n);)h+=d(n)?0:u,n=a(n,u);return 0===h?0:h}function el(e,t){return o(2,arguments),y(e)-y(t)}function eu(e,t){o(2,arguments);var i=b(e),n=b(t);return Math.round((i.getTime()-w(i)-(n.getTime()-w(n)))/6048e5)}function ed(e,t){o(2,arguments);var i=s(e),n=s(t);return 12*(i.getFullYear()-n.getFullYear())+(i.getMonth()-n.getMonth())}function ec(e){return o(1,arguments),Math.floor(s(e).getMonth()/3)+1}function eh(e,t){o(2,arguments);var i=s(e),n=s(t);return 4*(i.getFullYear()-n.getFullYear())+(ec(i)-ec(n))}function eg(e,t,i){o(2,arguments);var n=v(e,i),r=v(t,i);return Math.round((n.getTime()-w(n)-(r.getTime()-w(r)))/6048e5)}function ep(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getFullYear()-n.getFullYear()}function ef(e,t){var i=e.getFullYear()-t.getFullYear()||e.getMonth()-t.getMonth()||e.getDate()-t.getDate()||e.getHours()-t.getHours()||e.getMinutes()-t.getMinutes()||e.getSeconds()-t.getSeconds()||e.getMilliseconds()-t.getMilliseconds();return i<0?-1:i>0?1:i}function em(e,t){o(2,arguments);var i=s(e),n=s(t),r=ef(i,n),a=Math.abs(S(i,n));i.setDate(i.getDate()-r*a);var l=Number(ef(i,n)===-r),u=r*(a-l);return 0===u?0:u}function ev(e,t){return o(2,arguments),s(e).getTime()-s(t).getTime()}var eb={ceil:Math.ceil,round:Math.round,floor:Math.floor,trunc:function(e){return e<0?Math.ceil(e):Math.floor(e)}};function ey(e){return e?eb[e]:eb.trunc}function e_(e,t,i){o(2,arguments);var n=ev(e,t)/z;return ey(null==i?void 0:i.roundingMethod)(n)}function ew(e,t){return o(2,arguments),k(e,-r(t))}function eC(e,t){o(2,arguments);var i=s(e),n=s(t),r=F(i,n),a=Math.abs(el(i,n)),l=Number(F(i=ew(i,r*a),n)===-r),u=r*(a-l);return 0===u?0:u}function eS(e,t,i){o(2,arguments);var n=ev(e,t)/W;return ey(null==i?void 0:i.roundingMethod)(n)}function ex(e){o(1,arguments);var t=s(e);return t.setHours(23,59,59,999),t}function ek(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(23,59,59,999),t}function eE(e){o(1,arguments);var t=s(e);return ex(t).getTime()===ek(t).getTime()}function eL(e,t){o(2,arguments);var i,n=s(e),r=s(t),a=F(n,r),l=Math.abs(ed(n,r));if(l<1)i=0;else{1===n.getMonth()&&n.getDate()>27&&n.setDate(30),n.setMonth(n.getMonth()-a*l);var u=F(n,r)===-a;eE(s(e))&&1===l&&1===F(e,r)&&(u=!1),i=a*(l-Number(u))}return 0===i?0:i}function eD(e,t,i){o(2,arguments);var n=eL(e,t)/3;return ey(null==i?void 0:i.roundingMethod)(n)}function eN(e,t,i){o(2,arguments);var n=ev(e,t)/1e3;return ey(null==i?void 0:i.roundingMethod)(n)}function eA(e,t,i){o(2,arguments);var n=em(e,t)/7;return ey(null==i?void 0:i.roundingMethod)(n)}function eT(e,t){o(2,arguments);var i=s(e),n=s(t),r=F(i,n),a=Math.abs(ep(i,n));i.setFullYear(1584),n.setFullYear(1584);var l=F(i,n)===-r,u=r*(a-Number(l));return 0===u?0:u}function eI(e,t){o(1,arguments);var i,n=e||{},r=s(n.start),a=s(n.end).getTime();if(!(r.getTime()<=a))throw RangeError("Invalid interval");var l=[];r.setHours(0,0,0,0);var u=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(u<1||isNaN(u))throw RangeError("`options.step` must be a number greater than 1");for(;r.getTime()<=a;)l.push(s(r)),r.setDate(r.getDate()+u),r.setHours(0,0,0,0);return l}function eM(e,t){o(1,arguments);var i,n=e||{},r=s(n.start),a=s(n.end),l=r.getTime(),u=a.getTime();if(!(l<=u))throw RangeError("Invalid interval");var d=[],c=r;c.setMinutes(0,0,0);var h=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(h<1||isNaN(h))throw RangeError("`options.step` must be a number greater than 1");for(;c.getTime()<=u;)d.push(s(c)),c=f(c,h);return d}function eO(e){o(1,arguments);var t=s(e);return t.setSeconds(0,0),t}function eP(e,t){o(1,arguments);var i,n=eO(s(e.start)),r=s(e.end),a=n.getTime(),l=r.getTime();if(a>=l)throw RangeError("Invalid interval");var u=[],d=n,c=Number(null!==(i=null==t?void 0:t.step)&&void 0!==i?i:1);if(c<1||isNaN(c))throw RangeError("`options.step` must be a number equal to or greater than 1");for(;d.getTime()<=l;)u.push(s(d)),d=E(d,c);return u}function eR(e){o(1,arguments);var t=e||{},i=s(t.start),n=s(t.end).getTime(),r=[];if(!(i.getTime()<=n))throw RangeError("Invalid interval");for(i.setHours(0,0,0,0),i.setDate(1);i.getTime()<=n;)r.push(s(i)),i.setMonth(i.getMonth()+1);return r}function eF(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setMonth(i-i%3,1),t.setHours(0,0,0,0),t}function eB(e){o(1,arguments);var t=e||{},i=s(t.start),n=s(t.end),r=n.getTime();if(!(i.getTime()<=r))throw RangeError("Invalid interval");var a=eF(i);r=eF(n).getTime();for(var l=[],u=a;u.getTime()<=r;)l.push(s(u)),u=L(u,1);return l}function eV(e,t){o(1,arguments);var i=e||{},n=s(i.start),r=s(i.end),a=r.getTime();if(!(n.getTime()<=a))throw RangeError("Invalid interval");var l=v(n,t),u=v(r,t);l.setHours(15),u.setHours(15),a=u.getTime();for(var d=[],c=l;c.getTime()<=a;)c.setHours(0),d.push(s(c)),(c=N(c,1)).setHours(15);return d}function eH(e){o(1,arguments);for(var t=eI(e),i=[],n=0;n=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getDay();return f.setDate(f.getDate()+((v=r.getTime()?i+1:t.getTime()>=l.getTime()?i:i-1}function e4(e){o(1,arguments);var t=s(e);return Math.round((e8(t).getTime()-(function(e){o(1,arguments);var t=e5(e),i=new Date(0);return i.setUTCFullYear(t,0,4),i.setUTCHours(0,0,0,0),e8(i)})(t).getTime())/6048e5)+1}function e9(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=s(e),v=f.getUTCDay();return f.setUTCDate(f.getUTCDate()-((v=1&&v<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var b=new Date(0);b.setUTCFullYear(p+1,0,v),b.setUTCHours(0,0,0,0);var y=e9(b,t),_=new Date(0);_.setUTCFullYear(p,0,v),_.setUTCHours(0,0,0,0);var w=e9(_,t);return g.getTime()>=y.getTime()?p+1:g.getTime()>=w.getTime()?p:p-1}function te(e,t){o(1,arguments);var i=s(e);return Math.round((e9(i,t).getTime()-(function(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==s?s:h.firstWeekContainsDate)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:1),p=e7(e,t),f=new Date(0);return f.setUTCFullYear(p,0,g),f.setUTCHours(0,0,0,0),e9(f,t)})(i,t).getTime())/6048e5)+1}function tt(e,t){for(var i=Math.abs(e).toString();i.length0?i:1-i;return tt("yy"===t?n%100:n,t.length)},M:function(e,t){var i=e.getUTCMonth();return"M"===t?String(i+1):tt(i+1,2)},d:function(e,t){return tt(e.getUTCDate(),t.length)},a:function(e,t){var i=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:function(e,t){return tt(e.getUTCHours()%12||12,t.length)},H:function(e,t){return tt(e.getUTCHours(),t.length)},m:function(e,t){return tt(e.getUTCMinutes(),t.length)},s:function(e,t){return tt(e.getUTCSeconds(),t.length)},S:function(e,t){var i=t.length;return tt(Math.floor(e.getUTCMilliseconds()*Math.pow(10,i-3)),t.length)}};var tn={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"};function tr(e,t){var i=e>0?"-":"+",n=Math.abs(e),r=Math.floor(n/60),o=n%60;return 0===o?i+String(r):i+String(r)+(t||"")+tt(o,2)}function to(e,t){return e%60==0?(e>0?"-":"+")+tt(Math.abs(e)/60,2):ts(e,t)}function ts(e,t){var i=e>0?"-":"+",n=Math.abs(e);return i+tt(Math.floor(n/60),2)+(t||"")+tt(n%60,2)}let ta={G:function(e,t,i){var n=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});default:return i.era(n,{width:"wide"})}},y:function(e,t,i){if("yo"===t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return i.ordinalNumber(r,{unit:"year"})}return ti.y(e,t)},Y:function(e,t,i,n){var r=e7(e,n),o=r>0?r:1-r;return"YY"===t?tt(o%100,2):"Yo"===t?i.ordinalNumber(o,{unit:"year"}):tt(o,t.length)},R:function(e,t){return tt(e5(e),t.length)},u:function(e,t){return tt(e.getUTCFullYear(),t.length)},Q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return tt(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,i){var n=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return tt(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,i){var n=e.getUTCMonth();switch(t){case"M":case"MM":return ti.M(e,t);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,i){var n=e.getUTCMonth();switch(t){case"L":return String(n+1);case"LL":return tt(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,i,n){var r=te(e,n);return"wo"===t?i.ordinalNumber(r,{unit:"week"}):tt(r,t.length)},I:function(e,t,i){var n=e4(e);return"Io"===t?i.ordinalNumber(n,{unit:"week"}):tt(n,t.length)},d:function(e,t,i){return"do"===t?i.ordinalNumber(e.getUTCDate(),{unit:"date"}):ti.d(e,t)},D:function(e,t,i){var n=function(e){o(1,arguments);var t=s(e),i=t.getTime();return t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0),Math.floor((i-t.getTime())/864e5)+1}(e);return"Do"===t?i.ordinalNumber(n,{unit:"dayOfYear"}):tt(n,t.length)},E:function(e,t,i){var n=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,i,n){var r=e.getUTCDay(),o=(r-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(o);case"ee":return tt(o,2);case"eo":return i.ordinalNumber(o,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(e,t,i,n){var r=e.getUTCDay(),o=(r-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(o);case"cc":return tt(o,t.length);case"co":return i.ordinalNumber(o,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(e,t,i){var n=e.getUTCDay(),r=0===n?7:n;switch(t){case"i":return String(r);case"ii":return tt(r,t.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,i){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,i){var n,r=e.getUTCHours();switch(n=12===r?tn.noon:0===r?tn.midnight:r/12>=1?"pm":"am",t){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,i){var n,r=e.getUTCHours();switch(n=r>=17?tn.evening:r>=12?tn.afternoon:r>=4?tn.morning:tn.night,t){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,i){if("ho"===t){var n=e.getUTCHours()%12;return 0===n&&(n=12),i.ordinalNumber(n,{unit:"hour"})}return ti.h(e,t)},H:function(e,t,i){return"Ho"===t?i.ordinalNumber(e.getUTCHours(),{unit:"hour"}):ti.H(e,t)},K:function(e,t,i){var n=e.getUTCHours()%12;return"Ko"===t?i.ordinalNumber(n,{unit:"hour"}):tt(n,t.length)},k:function(e,t,i){var n=e.getUTCHours();return(0===n&&(n=24),"ko"===t)?i.ordinalNumber(n,{unit:"hour"}):tt(n,t.length)},m:function(e,t,i){return"mo"===t?i.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):ti.m(e,t)},s:function(e,t,i){return"so"===t?i.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):ti.s(e,t)},S:function(e,t){return ti.S(e,t)},X:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return to(r);case"XXXX":case"XX":return ts(r);default:return ts(r,":")}},x:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"x":return to(r);case"xxxx":case"xx":return ts(r);default:return ts(r,":")}},O:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+tr(r,":");default:return"GMT"+ts(r,":")}},z:function(e,t,i,n){var r=(n._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+tr(r,":");default:return"GMT"+ts(r,":")}},t:function(e,t,i,n){return tt(Math.floor((n._originalDate||e).getTime()/1e3),t.length)},T:function(e,t,i,n){return tt((n._originalDate||e).getTime(),t.length)}};var tl=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},tu=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}};let td={p:tu,P:function(e,t){var i,n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return tl(e,t);switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",tl(r,t)).replace("{{time}}",tu(o,t))}};var tc=["D","DD"],th=["YY","YYYY"];function tg(e){return -1!==tc.indexOf(e)}function tp(e){return -1!==th.indexOf(e)}function tf(e,t,i){if("YYYY"===e)throw RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var tm={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function tv(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=t.width?String(t.width):e.defaultWidth;return e.formats[i]||e.formats[e.defaultWidth]}}var tb={date:tv({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:tv({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:tv({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},ty={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function t_(e){return function(t,i){var n;if("formatting"===(null!=i&&i.context?String(i.context):"standalone")&&e.formattingValues){var r=e.defaultFormattingWidth||e.defaultWidth,o=null!=i&&i.width?String(i.width):r;n=e.formattingValues[o]||e.formattingValues[r]}else{var s=e.defaultWidth,a=null!=i&&i.width?String(i.width):e.defaultWidth;n=e.values[a]||e.values[s]}return n[e.argumentCallback?e.argumentCallback(t):t]}}function tw(e){return function(t){var i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],s=t.match(o);if(!s)return null;var a=s[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],u=Array.isArray(l)?function(e,t){for(var i=0;i0?"in "+n:n+" ago":n},formatLong:tb,formatRelative:function(e,t,i,n){return ty[e]},localize:{ordinalNumber:function(e,t){var i=Number(e),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:t_({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:t_({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:t_({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:t_({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:t_({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(e){return function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var r=n[0],o=t.match(e.parsePattern);if(!o)return null;var s=e.valueCallback?e.valueCallback(o[0]):o[0];return{value:s=i.valueCallback?i.valueCallback(s):s,rest:t.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}}),era:tw({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:tw({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:tw({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:tw({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:tw({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var tS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tx=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,tk=/^'([^]*?)'?$/,tE=/''/g,tL=/[a-zA-Z]/;function tD(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p,f,v,b,y,_,C,S,x,k,E=String(t),L=m,D=null!==(n=null!==(a=null==i?void 0:i.locale)&&void 0!==a?a:L.locale)&&void 0!==n?n:tC,N=r(null!==(l=null!==(u=null!==(d=null!==(c=null==i?void 0:i.firstWeekContainsDate)&&void 0!==c?c:null==i?void 0:null===(h=i.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==d?d:L.firstWeekContainsDate)&&void 0!==u?u:null===(p=L.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==l?l:1);if(!(N>=1&&N<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var A=r(null!==(v=null!==(b=null!==(y=null!==(_=null==i?void 0:i.weekStartsOn)&&void 0!==_?_:null==i?void 0:null===(C=i.locale)||void 0===C?void 0:null===(S=C.options)||void 0===S?void 0:S.weekStartsOn)&&void 0!==y?y:L.weekStartsOn)&&void 0!==b?b:null===(x=L.locale)||void 0===x?void 0:null===(k=x.options)||void 0===k?void 0:k.weekStartsOn)&&void 0!==v?v:0);if(!(A>=0&&A<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!D.localize)throw RangeError("locale must contain localize property");if(!D.formatLong)throw RangeError("locale must contain formatLong property");var T=s(e);if(!es(T))throw RangeError("Invalid time value");var I=w(T),M=e3(T,I),O={firstWeekContainsDate:N,weekStartsOn:A,locale:D,_originalDate:T};return E.match(tx).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,td[t])(e,D.formatLong):e}).join("").match(tS).map(function(n){if("''"===n)return"'";var r,o=n[0];if("'"===o)return(r=n.match(tk))?r[1].replace(tE,"'"):n;var s=ta[o];if(s)return!(null!=i&&i.useAdditionalWeekYearTokens)&&tp(n)&&tf(n,t,String(e)),!(null!=i&&i.useAdditionalDayOfYearTokens)&&tg(n)&&tf(n,t,String(e)),s(M,n,D.localize,O);if(o.match(tL))throw RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return n}).join("")}function tN(e,t){if(null==e)throw TypeError("assign requires that input parameter not be null or undefined");for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}function tA(e,t,i){o(2,arguments);var n,r,a,l,u,d=m,c=null!==(n=null!==(r=null==i?void 0:i.locale)&&void 0!==r?r:d.locale)&&void 0!==n?n:tC;if(!c.formatDistance)throw RangeError("locale must contain formatDistance property");var h=F(e,t);if(isNaN(h))throw RangeError("Invalid time value");var g=tN(tN({},i),{addSuffix:!!(null==i?void 0:i.addSuffix),comparison:h});h>0?(a=s(t),l=s(e)):(a=s(e),l=s(t));var p=eN(l,a),f=Math.round((p-(w(l)-w(a))/1e3)/60);if(f<2)return null!=i&&i.includeSeconds?p<5?c.formatDistance("lessThanXSeconds",5,g):p<10?c.formatDistance("lessThanXSeconds",10,g):p<20?c.formatDistance("lessThanXSeconds",20,g):p<40?c.formatDistance("halfAMinute",0,g):p<60?c.formatDistance("lessThanXMinutes",1,g):c.formatDistance("xMinutes",1,g):0===f?c.formatDistance("lessThanXMinutes",1,g):c.formatDistance("xMinutes",f,g);if(f<45)return c.formatDistance("xMinutes",f,g);if(f<90)return c.formatDistance("aboutXHours",1,g);if(f<1440){var v=Math.round(f/60);return c.formatDistance("aboutXHours",v,g)}if(f<2520)return c.formatDistance("xDays",1,g);if(f<43200){var b=Math.round(f/1440);return c.formatDistance("xDays",b,g)}if(f<86400)return u=Math.round(f/43200),c.formatDistance("aboutXMonths",u,g);if((u=eL(l,a))<12){var y=Math.round(f/43200);return c.formatDistance("xMonths",y,g)}var _=u%12,C=Math.floor(u/12);return _<3?c.formatDistance("aboutXYears",C,g):_<9?c.formatDistance("overXYears",C,g):c.formatDistance("almostXYears",C+1,g)}function tT(e,t,i){o(2,arguments);var n,r,a,l,u,d,c,h=m,g=null!==(n=null!==(r=null==i?void 0:i.locale)&&void 0!==r?r:h.locale)&&void 0!==n?n:tC;if(!g.formatDistance)throw RangeError("locale must contain localize.formatDistance property");var p=F(e,t);if(isNaN(p))throw RangeError("Invalid time value");var f=tN(tN({},i),{addSuffix:!!(null==i?void 0:i.addSuffix),comparison:p});p>0?(l=s(t),u=s(e)):(l=s(e),u=s(t));var v=String(null!==(a=null==i?void 0:i.roundingMethod)&&void 0!==a?a:"round");if("floor"===v)d=Math.floor;else if("ceil"===v)d=Math.ceil;else if("round"===v)d=Math.round;else throw RangeError("roundingMethod must be 'floor', 'ceil' or 'round'");var b=u.getTime()-l.getTime(),y=b/6e4,_=(b-(w(u)-w(l)))/6e4,C=null==i?void 0:i.unit;if("second"===(c=C?String(C):y<1?"second":y<60?"minute":y<1440?"hour":_<43200?"day":_<525600?"month":"year")){var S=d(b/1e3);return g.formatDistance("xSeconds",S,f)}if("minute"===c){var x=d(y);return g.formatDistance("xMinutes",x,f)}if("hour"===c){var k=d(y/60);return g.formatDistance("xHours",k,f)}if("day"===c){var E=d(_/1440);return g.formatDistance("xDays",E,f)}if("month"===c){var L=d(_/43200);return 12===L&&"month"!==C?g.formatDistance("xYears",1,f):g.formatDistance("xMonths",L,f)}if("year"===c){var D=d(_/525600);return g.formatDistance("xYears",D,f)}throw RangeError("unit must be 'second', 'minute', 'hour', 'day', 'month' or 'year'")}function tI(e,t){return o(1,arguments),tA(e,Date.now(),t)}function tM(e,t){return o(1,arguments),tT(e,Date.now(),t)}var tO=["years","months","weeks","days","hours","minutes","seconds"];function tP(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only ".concat(arguments.length," present"));var i,n,r,o,s,a=m,l=null!==(i=null!==(n=null==t?void 0:t.locale)&&void 0!==n?n:a.locale)&&void 0!==i?i:tC,u=null!==(r=null==t?void 0:t.format)&&void 0!==r?r:tO,d=null!==(o=null==t?void 0:t.zero)&&void 0!==o&&o,c=null!==(s=null==t?void 0:t.delimiter)&&void 0!==s?s:" ";return l.formatDistance?u.reduce(function(t,i){var n="x".concat(i.replace(/(^.)/,function(e){return e.toUpperCase()})),r=e[i];return"number"==typeof r&&(d||e[i])?t.concat(l.formatDistance(n,r)):t},[]).join(c):""}function tR(e,t){o(1,arguments);var i,n,r=s(e);if(isNaN(r.getTime()))throw RangeError("Invalid time value");var a=String(null!==(i=null==t?void 0:t.format)&&void 0!==i?i:"extended"),l=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete");if("extended"!==a&&"basic"!==a)throw RangeError("format must be 'extended' or 'basic'");if("date"!==l&&"time"!==l&&"complete"!==l)throw RangeError("representation must be 'date', 'time', or 'complete'");var u="",d="",c="extended"===a?"-":"";if("time"!==l){var h=tt(r.getDate(),2),g=tt(r.getMonth()+1,2),p=tt(r.getFullYear(),4);u="".concat(p).concat(c).concat(g).concat(c).concat(h)}if("date"!==l){var f=r.getTimezoneOffset();if(0!==f){var m=Math.abs(f),v=tt(Math.floor(m/60),2),b=tt(m%60,2);d="".concat(f<0?"+":"-").concat(v,":").concat(b)}else d="Z";var y=tt(r.getHours(),2),_=tt(r.getMinutes(),2),w=tt(r.getSeconds(),2),C=""===u?"":"T",S=[y,_,w].join("extended"===a?":":"");u="".concat(u).concat(C).concat(S).concat(d)}return u}function tF(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only ".concat(arguments.length," present"));var i,n,r=s(e);if(!es(r))throw RangeError("Invalid time value");var o=String(null!==(i=null==t?void 0:t.format)&&void 0!==i?i:"extended"),a=String(null!==(n=null==t?void 0:t.representation)&&void 0!==n?n:"complete");if("extended"!==o&&"basic"!==o)throw RangeError("format must be 'extended' or 'basic'");if("date"!==a&&"time"!==a&&"complete"!==a)throw RangeError("representation must be 'date', 'time', or 'complete'");var l="",u="extended"===o?"-":"",d="extended"===o?":":"";if("time"!==a){var c=tt(r.getDate(),2),h=tt(r.getMonth()+1,2),g=tt(r.getFullYear(),4);l="".concat(g).concat(u).concat(h).concat(u).concat(c)}if("date"!==a){var p=tt(r.getHours(),2),f=tt(r.getMinutes(),2),m=tt(r.getSeconds(),2),v=""===l?"":" ";l="".concat(l).concat(v).concat(p).concat(d).concat(f).concat(d).concat(m)}return l}function tB(e){if(o(1,arguments),"object"!==(0,n.Z)(e))throw Error("Duration must be an object");var t=e.years,i=e.months,r=void 0===i?0:i,s=e.days,a=void 0===s?0:s,l=e.hours,u=void 0===l?0:l,d=e.minutes,c=void 0===d?0:d,h=e.seconds,g=void 0===h?0:h;return"P".concat(void 0===t?0:t,"Y").concat(r,"M").concat(a,"DT").concat(u,"H").concat(c,"M").concat(g,"S")}function tV(e,t){if(arguments.length<1)throw TypeError("1 arguments required, but only ".concat(arguments.length," present"));var i,n=s(e);if(!es(n))throw RangeError("Invalid time value");var o=Number(null!==(i=null==t?void 0:t.fractionDigits)&&void 0!==i?i:0);if(!(o>=0&&o<=3))throw RangeError("fractionDigits must be between 0 and 3 inclusively");var a=tt(n.getDate(),2),l=tt(n.getMonth()+1,2),u=n.getFullYear(),d=tt(n.getHours(),2),c=tt(n.getMinutes(),2),h=tt(n.getSeconds(),2),g="";o>0&&(g="."+tt(Math.floor(n.getMilliseconds()*Math.pow(10,o-3)),o));var p="",f=n.getTimezoneOffset();if(0!==f){var m=Math.abs(f),v=tt(r(m/60),2),b=tt(m%60,2);p="".concat(f<0?"+":"-").concat(v,":").concat(b)}else p="Z";return"".concat(u,"-").concat(l,"-").concat(a,"T").concat(d,":").concat(c,":").concat(h).concat(g).concat(p)}var tH=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],tj=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function tW(e){if(arguments.length<1)throw TypeError("1 arguments required, but only ".concat(arguments.length," present"));var t=s(e);if(!es(t))throw RangeError("Invalid time value");var i=tH[t.getUTCDay()],n=tt(t.getUTCDate(),2),r=tj[t.getUTCMonth()],o=t.getUTCFullYear(),a=tt(t.getUTCHours(),2),l=tt(t.getUTCMinutes(),2),u=tt(t.getUTCSeconds(),2);return"".concat(i,", ").concat(n," ").concat(r," ").concat(o," ").concat(a,":").concat(l,":").concat(u," GMT")}function tz(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p,f,v=s(e),b=s(t),y=m,_=null!==(n=null!==(a=null==i?void 0:i.locale)&&void 0!==a?a:y.locale)&&void 0!==n?n:tC,C=r(null!==(l=null!==(u=null!==(d=null!==(c=null==i?void 0:i.weekStartsOn)&&void 0!==c?c:null==i?void 0:null===(h=i.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==d?d:y.weekStartsOn)&&void 0!==u?u:null===(p=y.locale)||void 0===p?void 0:null===(f=p.options)||void 0===f?void 0:f.weekStartsOn)&&void 0!==l?l:0);if(!_.localize)throw RangeError("locale must contain localize property");if(!_.formatLong)throw RangeError("locale must contain formatLong property");if(!_.formatRelative)throw RangeError("locale must contain formatRelative property");var x=S(v,b);if(isNaN(x))throw RangeError("Invalid time value");var k=e3(v,w(v)),E=e3(b,w(b));return tD(v,_.formatRelative(x<-6?"other":x<-1?"lastWeek":x<0?"yesterday":x<1?"today":x<2?"tomorrow":x<7?"nextWeek":"other",k,E,{locale:_,weekStartsOn:C}),{locale:_,weekStartsOn:C})}function tU(e){return o(1,arguments),s(1e3*r(e))}function t$(e){return o(1,arguments),s(e).getDate()}function tq(e){return o(1,arguments),s(e).getDay()}function tK(e){o(1,arguments);var t=s(e);return S(t,eU(t))+1}function tG(e){o(1,arguments);var t=s(e),i=t.getFullYear(),n=t.getMonth(),r=new Date(0);return r.setFullYear(i,n+1,0),r.setHours(0,0,0,0),r.getDate()}function tZ(e){o(1,arguments);var t=s(e).getFullYear();return t%400==0||t%4==0&&t%100!=0}function tY(e){o(1,arguments);var t=s(e);return"Invalid Date"===String(new Date(t))?NaN:tZ(t)?366:365}function tQ(e){return o(1,arguments),10*Math.floor(s(e).getFullYear()/10)}function tJ(){return tN({},m)}function tX(e){return o(1,arguments),s(e).getHours()}function t0(e){o(1,arguments);var t=s(e).getDay();return 0===t&&(t=7),t}function t1(e){o(1,arguments);var t=s(e);return Math.round((b(t).getTime()-_(t).getTime())/6048e5)+1}function t2(e){o(1,arguments);var t=_(e);return Math.round((_(N(t,60)).valueOf()-t.valueOf())/6048e5)}function t6(e){return o(1,arguments),s(e).getMilliseconds()}function t3(e){return o(1,arguments),s(e).getMinutes()}function t8(e){return o(1,arguments),s(e).getMonth()}function t5(e,t){o(2,arguments);var i=e||{},n=t||{},r=s(i.start).getTime(),a=s(i.end).getTime(),l=s(n.start).getTime(),u=s(n.end).getTime();if(!(r<=a&&l<=u))throw RangeError("Invalid interval");return ra?a:u)-(l=1&&b<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var y=new Date(0);y.setFullYear(p+1,0,b),y.setHours(0,0,0,0);var _=v(y,t),w=new Date(0);w.setFullYear(p,0,b),w.setHours(0,0,0,0);var C=v(w,t);return g.getTime()>=_.getTime()?p+1:g.getTime()>=C.getTime()?p:p-1}function it(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==s?s:h.firstWeekContainsDate)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==i?i:1),p=ie(e,t),f=new Date(0);return f.setFullYear(p,0,g),f.setHours(0,0,0,0),v(f,t)}function ii(e,t){o(1,arguments);var i=s(e);return Math.round((v(i,t).getTime()-it(i,t).getTime())/6048e5)+1}function ir(e,t){o(1,arguments);var i,n,s,a,l,u,d,c,h=m,g=r(null!==(i=null!==(n=null!==(s=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t?void 0:null===(l=t.locale)||void 0===l?void 0:null===(u=l.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==s?s:h.weekStartsOn)&&void 0!==n?n:null===(d=h.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==i?i:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var p=t$(e);if(isNaN(p))return NaN;var f=g-tq(ej(e));return f<=0&&(f+=7),Math.ceil((p-f)/7)+1}function io(e){o(1,arguments);var t=s(e),i=t.getMonth();return t.setFullYear(t.getFullYear(),i+1,0),t.setHours(0,0,0,0),t}function is(e,t){return o(1,arguments),eg(io(e),ej(e),t)+1}function ia(e){return o(1,arguments),s(e).getFullYear()}function il(e){return o(1,arguments),Math.floor(e*z)}function iu(e){return o(1,arguments),Math.floor(e*q)}function id(e){return o(1,arguments),Math.floor(e*Y)}function ic(e){o(1,arguments);var t=s(e.start),i=s(e.end);if(isNaN(t.getTime()))throw RangeError("Start Date is invalid");if(isNaN(i.getTime()))throw RangeError("End Date is invalid");var n={};n.years=Math.abs(eT(i,t));var r=F(i,t),a=u(t,{years:r*n.years});n.months=Math.abs(eL(i,a));var l=u(a,{months:r*n.months});n.days=Math.abs(em(i,l));var d=u(l,{days:r*n.days});n.hours=Math.abs(e_(i,d));var c=u(d,{hours:r*n.hours});n.minutes=Math.abs(eS(i,c));var h=u(c,{minutes:r*n.minutes});return n.seconds=Math.abs(eN(i,h)),n}function ih(e,t,i){var n,r;return o(1,arguments),void 0===t||"locale"in t?i=t:r=t,new Intl.DateTimeFormat(null===(n=i)||void 0===n?void 0:n.locale,r).format(e)}function ig(e,t,i){o(2,arguments);var n,r=0,a=s(e),l=s(t);if(null!=i&&i.unit)"second"===(n=null==i?void 0:i.unit)?r=eN(a,l):"minute"===n?r=eS(a,l):"hour"===n?r=e_(a,l):"day"===n?r=S(a,l):"week"===n?r=eg(a,l):"month"===n?r=ed(a,l):"quarter"===n?r=eh(a,l):"year"===n&&(r=ep(a,l));else{var u=eN(a,l);Math.abs(u)Math.abs(S(a,l))?(r=e_(a,l),n="hour"):Math.abs(u)Math.abs(r)?n="day":Math.abs(u)eh(a,l)?(r=eh(a,l),n="quarter"):(r=ep(a,l),n="year")}return new Intl.RelativeTimeFormat(null==i?void 0:i.locale,{localeMatcher:null==i?void 0:i.localeMatcher,numeric:(null==i?void 0:i.numeric)||"auto",style:null==i?void 0:i.style}).format(r,n)}function ip(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getTime()>n.getTime()}function im(e,t){o(2,arguments);var i=s(e),n=s(t);return i.getTime()Date.now()}function iC(e,t){(null==t||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:r}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){i=i.call(e)},n:function(){var e=i.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==i.return||i.return()}finally{if(a)throw o}}}}function ix(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var ik=i(74938);function iE(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,ik.Z)(e,t)}function iL(e){return(iL=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function iD(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}();return function(){var i,r=iL(e);if(t){var o=iL(this).constructor;i=Reflect.construct(r,arguments,o)}else i=r.apply(this,arguments);return function(e,t){if(t&&("object"===(0,n.Z)(t)||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return ix(e)}(this,i)}}function iN(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}var iA=i(3408);function iT(e,t){for(var i=0;i0,r=n?t:1-t;if(r<=50)i=e||100;else{var o=r+50;i=e+100*Math.floor(o/100)-(e>=o%100?100:0)}return n?i:1-i}function iZ(e){return e%400==0||e%4==0&&e%100!=0}var iY=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o0}},{key:"set",value:function(e,t,i){var n=e.getUTCFullYear();if(i.isTwoDigitYear){var r=iG(i.year,n);return e.setUTCFullYear(r,0,1),e.setUTCHours(0,0,0,0),e}var o="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(o,0,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),iQ=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o0}},{key:"set",value:function(e,t,i,n){var r=e7(e,n);if(i.isTwoDigitYear){var o=iG(i.year,r);return e.setUTCFullYear(o,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),e9(e,n)}var s="era"in t&&1!==t.era?1-i.year:i.year;return e.setUTCFullYear(s,0,n.firstWeekContainsDate),e.setUTCHours(0,0,0,0),e9(e,n)}}]),i}(iF),iJ=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth((i-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i1=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=4}},{key:"set",value:function(e,t,i){return e.setUTCMonth((i-1)*3,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i2=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i6=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.setUTCMonth(i,1),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i3=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,i,n){return e9(function(e,t,i){o(2,arguments);var n=s(e),a=r(t),l=te(n,i)-a;return n.setUTCDate(n.getUTCDate()-7*l),n}(e,i,n),n)}}]),i}(iF),i8=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=53}},{key:"set",value:function(e,t,i){return e8(function(e,t){o(2,arguments);var i=s(e),n=r(t),a=e4(i)-n;return i.setUTCDate(i.getUTCDate()-7*a),i}(e,i))}}]),i}(iF),i5=[31,28,31,30,31,30,31,31,30,31,30,31],i4=[31,29,31,30,31,30,31,31,30,31,30,31],i9=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=i4[n]:t>=1&&t<=i5[n]}},{key:"set",value:function(e,t,i){return e.setUTCDate(i),e.setUTCHours(0,0,0,0),e}}]),i}(iF),i7=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,i){return e.setUTCMonth(0,i),e.setUTCHours(0,0,0,0),e}}]),i}(iF);function ne(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p=m,f=r(null!==(n=null!==(a=null!==(l=null!==(u=null==i?void 0:i.weekStartsOn)&&void 0!==u?u:null==i?void 0:null===(d=i.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==l?l:p.weekStartsOn)&&void 0!==a?a:null===(h=p.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.weekStartsOn)&&void 0!==n?n:0);if(!(f>=0&&f<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=s(e),b=r(t),y=v.getUTCDay();return v.setUTCDate(v.getUTCDate()+(((b%7+7)%7=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),ni=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),nn=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=6}},{key:"set",value:function(e,t,i,n){return(e=ne(e,i,n)).setUTCHours(0,0,0,0),e}}]),i}(iF),nr=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=7}},{key:"set",value:function(e,t,i){return(e=function(e,t){o(2,arguments);var i=r(t);i%7==0&&(i-=7);var n=s(e),a=((i%7+7)%7<1?7:0)+i-n.getUTCDay();return n.setUTCDate(n.getUTCDate()+a),n}(e,i)).setUTCHours(0,0,0,0),e}}]),i}(iF),no=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=12}},{key:"set",value:function(e,t,i){var n=e.getUTCHours()>=12;return n&&i<12?e.setUTCHours(i+12,0,0,0):n||12!==i?e.setUTCHours(i,0,0,0):e.setUTCHours(0,0,0,0),e}}]),i}(iF),nu=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=23}},{key:"set",value:function(e,t,i){return e.setUTCHours(i,0,0,0),e}}]),i}(iF),nd=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=11}},{key:"set",value:function(e,t,i){return e.getUTCHours()>=12&&i<12?e.setUTCHours(i+12,0,0,0):e.setUTCHours(i,0,0,0),e}}]),i}(iF),nc=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&t<=24}},{key:"set",value:function(e,t,i){var n=i<=24?i%24:i;return e.setUTCHours(n,0,0,0),e}}]),i}(iF),nh=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCMinutes(i,0,0),e}}]),i}(iF),ng=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=0&&t<=59}},{key:"set",value:function(e,t,i){return e.setUTCSeconds(i,0),e}}]),i}(iF),np=function(e){iE(i,e);var t=iD(i);function i(){var e;iN(this,i);for(var n=arguments.length,r=Array(n),o=0;o=1&&h<=7))throw RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var g=r(null!==(E=null!==(L=null!==(D=null!==(N=null==a?void 0:a.weekStartsOn)&&void 0!==N?N:null==a?void 0:null===(A=a.locale)||void 0===A?void 0:null===(T=A.options)||void 0===T?void 0:T.weekStartsOn)&&void 0!==D?D:d.weekStartsOn)&&void 0!==L?L:null===(I=d.locale)||void 0===I?void 0:null===(M=I.options)||void 0===M?void 0:M.weekStartsOn)&&void 0!==E?E:0);if(!(g>=0&&g<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===u)return""===l?s(i):new Date(NaN);var p,f,v,b,y,_,C,S,x,k,E,L,D,N,A,T,I,M,O,P={firstWeekContainsDate:h,weekStartsOn:g,locale:c},R=[new iR],F=u.match(nw).map(function(e){var t=e[0];return t in td?(0,td[t])(e,c.formatLong):e}).join("").match(n_),B=[],V=iS(F);try{for(V.s();!(O=V.n()).done;){var H=function(){var t=O.value;!(null!=a&&a.useAdditionalWeekYearTokens)&&tp(t)&&tf(t,u,e),!(null!=a&&a.useAdditionalDayOfYearTokens)&&tg(t)&&tf(t,u,e);var i=t[0],n=ny[i];if(n){var r=n.incompatibleTokens;if(Array.isArray(r)){var o=B.find(function(e){return r.includes(e.token)||e.token===i});if(o)throw RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===n.incompatibleTokens&&B.length>0)throw RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));B.push({token:i,fullToken:t});var s=n.run(l,t,c.match,P);if(!s)return{v:new Date(NaN)};R.push(s.setter),l=s.rest}else{if(i.match(nk))throw RangeError("Format string contains an unescaped latin alphabet character `"+i+"`");if("''"===t?t="'":"'"===i&&(t=t.match(nC)[1].replace(nS,"'")),0!==l.indexOf(t))return{v:new Date(NaN)};l=l.slice(t.length)}}();if("object"===(0,n.Z)(H))return H.v}}catch(e){V.e(e)}finally{V.f()}if(l.length>0&&nx.test(l))return new Date(NaN);var j=R.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,i){return i.indexOf(e)===t}).map(function(e){return R.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),W=s(i);if(isNaN(W.getTime()))return new Date(NaN);var z,U=e3(W,w(W)),$={},q=iS(j);try{for(q.s();!(z=q.n()).done;){var K=z.value;if(!K.validate(U,P))return new Date(NaN);var G=K.set(U,$,P);Array.isArray(G)?(U=G[0],tN($,G[1])):U=G}}catch(e){q.e(e)}finally{q.f()}return U}function nL(e,t,i){return o(2,arguments),es(nE(e,t,new Date,i))}function nD(e){return o(1,arguments),1===s(e).getDay()}function nN(e){return o(1,arguments),s(e).getTime()=n&&i<=r}function n1(e,t){return o(2,arguments),a(e,-r(t))}function n2(e){return o(1,arguments),er(e,n1(Date.now(),1))}function n6(e){o(1,arguments);var t=s(e),i=t.getFullYear();return t.setFullYear(9+10*Math.floor(i/10)+1,0,0),t.setHours(0,0,0,0),t}function n3(e,t){o(1,arguments);var i,n,a,l,u,d,c,h,g=m,p=r(null!==(i=null!==(n=null!==(a=null!==(l=null==t?void 0:t.weekStartsOn)&&void 0!==l?l:null==t?void 0:null===(u=t.locale)||void 0===u?void 0:null===(d=u.options)||void 0===d?void 0:d.weekStartsOn)&&void 0!==a?a:g.weekStartsOn)&&void 0!==n?n:null===(c=g.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==i?i:0);if(!(p>=0&&p<=6))throw RangeError("weekStartsOn must be between 0 and 6");var f=s(e),v=f.getDay();return f.setHours(0,0,0,0),f.setDate(f.getDate()+((v2)return i;if(/:/.test(n[0])?t=n[0]:(i.date=n[0],t=n[1],rC.timeZoneDelimiter.test(i.date)&&(i.date=e.split(rC.timeZoneDelimiter)[0],t=e.substr(i.date.length,e.length))),t){var r=rC.timezone.exec(t);r?(i.time=t.replace(r[1],""),i.timezone=r[1]):i.time=t}return i}(e);if(l.date){var u=function(e,t){var i=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),n=e.match(i);if(!n)return{year:NaN,restDateString:""};var r=n[1]?parseInt(n[1]):null,o=n[2]?parseInt(n[2]):null;return{year:null===o?r:100*o,restDateString:e.slice((n[1]||n[2]).length)}}(l.date,a);n=function(e,t){if(null===t)return new Date(NaN);var i,n,r=e.match(rS);if(!r)return new Date(NaN);var o=!!r[4],s=rE(r[1]),a=rE(r[2])-1,l=rE(r[3]),u=rE(r[4]),d=rE(r[5])-1;if(o)return u>=1&&u<=53&&d>=0&&d<=6?((i=new Date(0)).setUTCFullYear(t,0,4),n=i.getUTCDay()||7,i.setUTCDate(i.getUTCDate()+((u-1)*7+d+1-n)),i):new Date(NaN);var c=new Date(0);return a>=0&&a<=11&&l>=1&&l<=(rD[a]||(rN(t)?29:28))&&s>=1&&s<=(rN(t)?366:365)?(c.setUTCFullYear(t,a,Math.max(s,l)),c):new Date(NaN)}(u.restDateString,u.year)}if(!n||isNaN(n.getTime()))return new Date(NaN);var d=n.getTime(),c=0;if(l.time&&isNaN(c=function(e){var t=e.match(rx);if(!t)return NaN;var i=rL(t[1]),n=rL(t[2]),r=rL(t[3]);return(24===i?0===n&&0===r:r>=0&&r<60&&n>=0&&n<60&&i>=0&&i<25)?i*z+n*W+1e3*r:NaN}(l.time)))return new Date(NaN);if(l.timezone){if(isNaN(s=function(e){if("Z"===e)return 0;var t=e.match(rk);if(!t)return 0;var i="+"===t[1]?-1:1,n=parseInt(t[2]),r=t[3]&&parseInt(t[3])||0;return r>=0&&r<=59?i*(n*z+r*W):NaN}(l.timezone)))return new Date(NaN)}else{var h=new Date(d+c),g=new Date(0);return g.setFullYear(h.getUTCFullYear(),h.getUTCMonth(),h.getUTCDate()),g.setHours(h.getUTCHours(),h.getUTCMinutes(),h.getUTCSeconds(),h.getUTCMilliseconds()),g}return new Date(d+c+s)}var rC={dateTimeDelimiter:/[T ]/,timeZoneDelimiter:/[Z ]/i,timezone:/([Z+-].*)$/},rS=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,rx=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,rk=/^([+-])(\d{2})(?::?(\d{2}))?$/;function rE(e){return e?parseInt(e):1}function rL(e){return e&&parseFloat(e.replace(",","."))||0}var rD=[31,null,31,30,31,30,31,31,30,31,30,31];function rN(e){return e%400==0||e%4==0&&e%100!=0}function rA(e){if(o(1,arguments),"string"==typeof e){var t=e.match(/(\d{4})-(\d{2})-(\d{2})[T ](\d{2}):(\d{2}):(\d{2})(?:\.(\d{0,7}))?(?:Z|(.)(\d{2}):?(\d{2})?)?/);return new Date(t?Date.UTC(+t[1],+t[2]-1,+t[3],+t[4]-(+t[9]||0)*("-"==t[8]?-1:1),+t[5]-(+t[10]||0)*("-"==t[8]?-1:1),+t[6],+((t[7]||"0")+"00").substring(0,3)):NaN)}return s(e)}function rT(e,t){o(2,arguments);var i=tq(e)-t;return i<=0&&(i+=7),n1(e,i)}function rI(e){return o(1,arguments),rT(e,5)}function rM(e){return o(1,arguments),rT(e,1)}function rO(e){return o(1,arguments),rT(e,6)}function rP(e){return o(1,arguments),rT(e,0)}function rR(e){return o(1,arguments),rT(e,4)}function rF(e){return o(1,arguments),rT(e,2)}function rB(e){return o(1,arguments),rT(e,3)}function rV(e){return o(1,arguments),Math.floor(e*K)}function rH(e){return o(1,arguments),Math.floor(e/Z)}function rj(e,t){if(arguments.length<1)throw TypeError("1 argument required, but only none provided present");var i,n=r(null!==(i=null==t?void 0:t.nearestTo)&&void 0!==i?i:1);if(n<1||n>30)throw RangeError("`options.nearestTo` must be between 1 and 30");var o=s(e),a=o.getSeconds(),l=o.getMinutes()+a/60,u=ey(null==t?void 0:t.roundingMethod)(l/n)*n,d=Math.round(l%n/n)*n;return new Date(o.getFullYear(),o.getMonth(),o.getDate(),o.getHours(),u+d)}function rW(e){return o(1,arguments),Math.floor(e/Y)}function rz(e){return o(1,arguments),e*U}function rU(e){return o(1,arguments),Math.floor(e/Q)}function r$(e,t){o(2,arguments);var i=s(e),n=r(t),a=i.getFullYear(),l=i.getDate(),u=new Date(0);u.setFullYear(a,n,15),u.setHours(0,0,0,0);var d=tG(u);return i.setMonth(n,Math.min(l,d)),i}function rq(e,t){if(o(2,arguments),"object"!==(0,n.Z)(t)||null===t)throw RangeError("values parameter must be an object");var i=s(e);return isNaN(i.getTime())?new Date(NaN):(null!=t.year&&i.setFullYear(t.year),null!=t.month&&(i=r$(i,t.month)),null!=t.date&&i.setDate(r(t.date)),null!=t.hours&&i.setHours(r(t.hours)),null!=t.minutes&&i.setMinutes(r(t.minutes)),null!=t.seconds&&i.setSeconds(r(t.seconds)),null!=t.milliseconds&&i.setMilliseconds(r(t.milliseconds)),i)}function rK(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setDate(n),i}function rG(e,t,i){o(2,arguments);var n,l,u,d,c,h,g,p,f=m,v=r(null!==(n=null!==(l=null!==(u=null!==(d=null==i?void 0:i.weekStartsOn)&&void 0!==d?d:null==i?void 0:null===(c=i.locale)||void 0===c?void 0:null===(h=c.options)||void 0===h?void 0:h.weekStartsOn)&&void 0!==u?u:f.weekStartsOn)&&void 0!==l?l:null===(g=f.locale)||void 0===g?void 0:null===(p=g.options)||void 0===p?void 0:p.weekStartsOn)&&void 0!==n?n:0);if(!(v>=0&&v<=6))throw RangeError("weekStartsOn must be between 0 and 6 inclusively");var b=s(e),y=r(t),_=b.getDay(),w=7-v;return a(b,y<0||y>6?y-(_+w)%7:((y%7+7)%7+w)%7-(_+w)%7)}function rZ(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMonth(0),i.setDate(n),i}function rY(e){o(1,arguments);var t={},i=m;for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n]);for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(void 0===e[r]?delete t[r]:t[r]=e[r]);m=t}function rQ(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setHours(n),i}function rJ(e,t){o(2,arguments);var i=s(e),n=r(t),l=t0(i);return a(i,n-l)}function rX(e,t){o(2,arguments);var i=s(e),n=r(t),a=t1(i)-n;return i.setDate(i.getDate()-7*a),i}function r0(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMilliseconds(n),i}function r1(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setMinutes(n),i}function r2(e,t){o(2,arguments);var i=s(e),n=r(t),a=Math.floor(i.getMonth()/3)+1;return r$(i,i.getMonth()+3*(n-a))}function r6(e,t){o(2,arguments);var i=s(e),n=r(t);return i.setSeconds(n),i}function r3(e,t,i){o(2,arguments);var n=s(e),a=r(t),l=ii(n,i)-a;return n.setDate(n.getDate()-7*l),n}function r8(e,t,i){o(2,arguments);var n,a,l,u,d,c,h,g,p=m,f=r(null!==(n=null!==(a=null!==(l=null!==(u=null==i?void 0:i.firstWeekContainsDate)&&void 0!==u?u:null==i?void 0:null===(d=i.locale)||void 0===d?void 0:null===(c=d.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==l?l:p.firstWeekContainsDate)&&void 0!==a?a:null===(h=p.locale)||void 0===h?void 0:null===(g=h.options)||void 0===g?void 0:g.firstWeekContainsDate)&&void 0!==n?n:1),v=s(e),b=r(t),y=S(v,it(v,i)),_=new Date(0);return _.setFullYear(b,0,f),_.setHours(0,0,0,0),(v=it(_,i)).setDate(v.getDate()+y),v}function r5(e,t){o(2,arguments);var i=s(e),n=r(t);return isNaN(i.getTime())?new Date(NaN):(i.setFullYear(n),i)}function r4(e){o(1,arguments);var t=s(e),i=t.getFullYear();return t.setFullYear(10*Math.floor(i/10),0,1),t.setHours(0,0,0,0),t}function r9(){return C(Date.now())}function r7(){var e=new Date,t=e.getFullYear(),i=e.getMonth(),n=e.getDate(),r=new Date(0);return r.setFullYear(t,i,n+1),r.setHours(0,0,0,0),r}function oe(){var e=new Date,t=e.getFullYear(),i=e.getMonth(),n=e.getDate(),r=new Date(0);return r.setFullYear(t,i,n-1),r.setHours(0,0,0,0),r}function ot(e,t){return o(2,arguments),l(e,-r(t))}function oi(e,t){if(o(2,arguments),!t||"object"!==(0,n.Z)(t))return new Date(NaN);var i=t.years?r(t.years):0,s=t.months?r(t.months):0,a=t.weeks?r(t.weeks):0,l=t.days?r(t.days):0,u=t.hours?r(t.hours):0,d=t.minutes?r(t.minutes):0,c=t.seconds?r(t.seconds):0,h=n1(ot(e,s+12*i),l+7*a);return new Date(h.getTime()-1e3*(c+60*(d+60*u)))}function on(e,t){return o(2,arguments),g(e,-r(t))}function or(e,t){return o(2,arguments),f(e,-r(t))}function oo(e,t){return o(2,arguments),E(e,-r(t))}function os(e,t){return o(2,arguments),L(e,-r(t))}function oa(e,t){return o(2,arguments),D(e,-r(t))}function ol(e,t){return o(2,arguments),N(e,-r(t))}function ou(e,t){return o(2,arguments),A(e,-r(t))}function od(e){return o(1,arguments),Math.floor(e*V)}function oc(e){return o(1,arguments),Math.floor(e*G)}function oh(e){return o(1,arguments),Math.floor(e*Z)}},36386:e=>{function t(e,t,i){function n(){var u=Date.now()-a;u=0?r=setTimeout(n,t-u):(r=null,i||(l=e.apply(s,o),s=o=null))}null==t&&(t=100);var r,o,s,a,l,u=function(){s=this,o=arguments,a=Date.now();var u=i&&!r;return r||(r=setTimeout(n,t)),u&&(l=e.apply(s,o),s=o=null),l};return u.clear=function(){r&&(clearTimeout(r),r=null)},u.flush=function(){r&&(l=e.apply(s,o),s=o=null,clearTimeout(r),r=null)},u}t.debounce=t,e.exports=t},65881:e=>{function t(e,t,i,n){return Math.round(e/i)+" "+n+(t>=1.5*i?"s":"")}e.exports=function(e,i){i=i||{};var n,r,o=typeof e;if("string"===o&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var i=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return 864e5*i;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*i;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*i;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*i;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===o&&isFinite(e))return i.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>=1e3?t(e,n,1e3,"second"):e+" ms":(r=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":r>=36e5?Math.round(e/36e5)+"h":r>=6e4?Math.round(e/6e4)+"m":r>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},25130:(e,t,i)=>{var n=i(34406);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let i="color: "+this.color;t.splice(1,0,i,"color: inherit");let n=0,r=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(r=n))}),t.splice(r,0,i)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==n&&"env"in n&&(e=n.env.DEBUG),e},t.useColors=function(){return"undefined"!=typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=i(87123)(t);let{formatters:r}=e.exports;r.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},87123:(e,t,i)=>{e.exports=function(e){function t(e){let i,r,o;let s=null;function a(...e){if(!a.enabled)return;let n=Number(new Date),r=n-(i||n);a.diff=r,a.prev=i,a.curr=n,i=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(i,n)=>{if("%%"===i)return"%";o++;let r=t.formatters[n];if("function"==typeof r){let t=e[o];i=r.call(a,t),e.splice(o,1),o--}return i}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(r!==t.namespaces&&(r=t.namespaces,o=t.enabled(e)),o),set:e=>{s=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,i){let n=t(this.namespace+(void 0===i?":":i)+e);return n.log=this.log,n}function r(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names.map(r),...t.skips.map(r).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let i;t.save(e),t.namespaces=e,t.names=[],t.skips=[];let n=("string"==typeof e?e:"").split(/[\s,]+/),r=n.length;for(i=0;i{t[i]=e[i]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let i=0;for(let t=0;t{e.exports=function e(t){Object.freeze(t);var i="function"==typeof t,n=Object.prototype.hasOwnProperty;return Object.getOwnPropertyNames(t).forEach(function(r){!n.call(t,r)||i&&("caller"===r||"callee"===r||"arguments"===r)||null===t[r]||"object"!=typeof t[r]&&"function"!=typeof t[r]||Object.isFrozen(t[r])||e(t[r])}),t}},75195:(e,t,i)=>{"use strict";var n=i(81181)(),r=i(67286),o=n&&r("%Object.defineProperty%",!0);if(o)try{o({},"a",{value:1})}catch(e){o=!1}var s=i(48342),a=i(5408),l=i(50326);e.exports=function(e,t,i){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new a("`obj` must be an object or a function`");if("string"!=typeof t&&"symbol"!=typeof t)throw new a("`property` must be a string or a symbol`");if(arguments.length>3&&"boolean"!=typeof arguments[3]&&null!==arguments[3])throw new a("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&"boolean"!=typeof arguments[4]&&null!==arguments[4])throw new a("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&"boolean"!=typeof arguments[5]&&null!==arguments[5])throw new a("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&"boolean"!=typeof arguments[6])throw new a("`loose`, if provided, must be a boolean");var n=arguments.length>3?arguments[3]:null,r=arguments.length>4?arguments[4]:null,u=arguments.length>5?arguments[5]:null,d=arguments.length>6&&arguments[6],c=!!l&&l(e,t);if(o)o(e,t,{configurable:null===u&&c?c.configurable:!u,enumerable:null===n&&c?c.enumerable:!n,value:i,writable:null===r&&c?c.writable:!r});else if(!d&&(n||r||u))throw new s("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.");else e[t]=i}},69654:e=>{"use strict";e.exports=EvalError},42321:e=>{"use strict";e.exports=Error},48205:e=>{"use strict";e.exports=RangeError},2976:e=>{"use strict";e.exports=ReferenceError},48342:e=>{"use strict";e.exports=SyntaxError},5408:e=>{"use strict";e.exports=TypeError},82885:e=>{"use strict";e.exports=URIError},82775:(e,t,i)=>{i(48834).Buffer,i(83669).keccak_256,i(6639)},1115:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.keccak512=t.keccak384=t.keccak256=t.keccak224=void 0;let n=i(73488),r=i(10144);t.keccak224=(0,r.wrapHash)(n.keccak_224),t.keccak256=(()=>{let e=(0,r.wrapHash)(n.keccak_256);return e.create=n.keccak_256.create,e})(),t.keccak384=(0,r.wrapHash)(n.keccak_384),t.keccak512=(0,r.wrapHash)(n.keccak_512)},41019:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createCurve=t.getHash=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(70520),r=i(50300),o=i(80551);function s(e){return{hash:e,hmac:(t,...i)=>(0,n.hmac)(e,t,(0,r.concatBytes)(...i)),randomBytes:r.randomBytes}}t.getHash=s,t.createCurve=function(e,t){let i=t=>(0,o.weierstrass)({...e,...s(t)});return Object.freeze({...i(t),create:i})}},7824:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validateBasic=t.wNAF=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(8767),r=i(47367),o=BigInt(0),s=BigInt(1);t.wNAF=function(e,t){let i=(e,t)=>{let i=t.negate();return e?i:t},n=e=>({windows:Math.ceil(t/e)+1,windowSize:2**(e-1)});return{constTimeNegate:i,unsafeLadder(t,i){let n=e.ZERO,r=t;for(;i>o;)i&s&&(n=n.add(r)),r=r.double(),i>>=s;return n},precomputeWindow(e,t){let{windows:i,windowSize:r}=n(t),o=[],s=e,a=s;for(let e=0;e>=g,n>l&&(n-=h,o+=s);let a=t+Math.abs(n)-1,p=e%2!=0,f=n<0;0===n?d=d.add(i(p,r[t])):u=u.add(i(f,r[a]))}return{p:u,f:d}},wNAFCached(e,t,i,n){let r=e._WINDOW_SIZE||1,o=t.get(e);return o||(o=this.precomputeWindow(e,r),1!==r&&t.set(e,n(o))),this.wNAF(r,o,i)}}},t.validateBasic=function(e){return(0,n.validateField)(e.Fp),(0,r.validateObject)(e,{n:"bigint",h:"bigint",Gx:"field",Gy:"field"},{nBitLength:"isSafeInteger",nByteLength:"isSafeInteger"}),Object.freeze({...(0,n.nLength)(e.n,e.nBitLength),...e,p:e.Fp.ORDER})}},29173:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createHasher=t.isogenyMap=t.hash_to_field=t.expand_message_xof=t.expand_message_xmd=void 0;let n=i(8767),r=i(47367),o=r.bytesToNumberBE;function s(e,t){if(e<0||e>=1<<8*t)throw Error(`bad I2OSP call: value=${e} length=${t}`);let i=Array.from({length:t}).fill(0);for(let n=t-1;n>=0;n--)i[n]=255&e,e>>>=8;return new Uint8Array(i)}function a(e){if(!(e instanceof Uint8Array))throw Error("Uint8Array expected")}function l(e){if(!Number.isSafeInteger(e))throw Error("number expected")}function u(e,t,i,n){a(e),a(t),l(i),t.length>255&&(t=n((0,r.concatBytes)((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-"),t)));let{outputLen:o,blockLen:u}=n,d=Math.ceil(i/o);if(d>255)throw Error("Invalid xmd length");let c=(0,r.concatBytes)(t,s(t.length,1)),h=s(0,u),g=s(i,2),p=Array(d),f=n((0,r.concatBytes)(h,e,g,s(0,1),c));p[0]=n((0,r.concatBytes)(f,s(1,1),c));for(let e=1;e<=d;e++){let t=[function(e,t){let i=new Uint8Array(e.length);for(let n=0;n255&&(t=o.create({dkLen:Math.ceil(2*n/8)}).update((0,r.utf8ToBytes)("H2C-OVERSIZE-DST-")).update(t).digest()),i>65535||t.length>255)throw Error("expand_message_xof: invalid lenInBytes");return o.create({dkLen:i}).update(e).update(s(i,2)).update(t).update(s(t.length,1)).digest()}function c(e,t,i){let s;(0,r.validateObject)(i,{DST:"string",p:"bigint",m:"isSafeInteger",k:"isSafeInteger",hash:"hash"});let{p:c,k:h,m:g,hash:p,expand:f,DST:m}=i;a(e),l(t);let v=function(e){if(e instanceof Uint8Array)return e;if("string"==typeof e)return(0,r.utf8ToBytes)(e);throw Error("DST must be Uint8Array or string")}(m),b=Math.ceil((c.toString(2).length+h)/8),y=t*g*b;if("xmd"===f)s=u(e,v,y,p);else if("xof"===f)s=d(e,v,y,h,p);else if("_internal_pass"===f)s=e;else throw Error('expand must be "xmd" or "xof"');let _=Array(t);for(let e=0;eArray.from(e).reverse());return(t,n)=>{let[r,o,s,a]=i.map(i=>i.reduce((i,n)=>e.add(e.mul(i,t),n)));return{x:t=e.div(r,o),y:n=e.mul(n,e.div(s,a))}}},t.createHasher=function(e,t,i){if("function"!=typeof t)throw Error("mapToCurve() must be defined");return{hashToCurve(n,r){let o=c(n,2,{...i,DST:i.DST,...r}),s=e.fromAffine(t(o[0])),a=e.fromAffine(t(o[1])),l=s.add(a).clearCofactor();return l.assertValidity(),l},encodeToCurve(n,r){let o=c(n,1,{...i,DST:i.encodeDST,...r}),s=e.fromAffine(t(o[0])).clearCofactor();return s.assertValidity(),s}}}},8767:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hashToPrivateScalar=t.FpSqrtEven=t.FpSqrtOdd=t.Field=t.nLength=t.FpIsSquare=t.FpDiv=t.FpInvertBatch=t.FpPow=t.validateField=t.isNegativeLE=t.FpSqrt=t.tonelliShanks=t.invert=t.pow2=t.pow=t.mod=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(47367),r=BigInt(0),o=BigInt(1),s=BigInt(2),a=BigInt(3),l=BigInt(4),u=BigInt(5),d=BigInt(8);function c(e,t){let i=e%t;return i>=r?i:t+i}function h(e,t,i){if(i<=r||t 0");if(i===o)return r;let n=o;for(;t>r;)t&o&&(n=n*e%i),e=e*e%i,t>>=o;return n}function g(e,t){if(e===r||t<=r)throw Error(`invert: expected positive integers, got n=${e} mod=${t}`);let i=c(e,t),n=t,s=r,a=o,l=o,u=r;for(;i!==r;){let e=n/i,t=n%i,r=s-l*e,o=a-u*e;n=i,i=t,s=l,a=u,l=r,u=o}if(n!==o)throw Error("invert: does not exist");return c(s,t)}function p(e){let t,i,n;let a=(e-o)/s;for(t=e-o,i=0;t%s===r;t/=s,i++);for(n=s;nr;)n*=n,n%=i;return n},t.invert=g,t.tonelliShanks=p,t.FpSqrt=f,t.isNegativeLE=(e,t)=>(c(e,t)&o)===o;let m=["create","isValid","is0","neg","inv","sqrt","sqr","eql","add","sub","mul","pow","div","addN","subN","mulN","sqrN"];function v(e,t,i){if(i 0");if(i===r)return e.ONE;if(i===o)return t;let n=e.ONE,s=t;for(;i>r;)i&o&&(n=e.mul(n,s)),s=e.sqr(s),i>>=o;return n}function b(e,t){let i=Array(t.length),n=t.reduce((t,n,r)=>e.is0(n)?t:(i[r]=t,e.mul(t,n)),e.ONE),r=e.inv(n);return t.reduceRight((t,n,r)=>e.is0(n)?t:(i[r]=e.mul(t,i[r]),e.mul(t,n)),r),i}function y(e,t){let i=void 0!==t?t:e.toString(2).length;return{nBitLength:i,nByteLength:Math.ceil(i/8)}}t.validateField=function(e){let t=m.reduce((e,t)=>(e[t]="function",e),{ORDER:"bigint",MASK:"bigint",BYTES:"isSafeInteger",BITS:"isSafeInteger"});return(0,n.validateObject)(e,t)},t.FpPow=v,t.FpInvertBatch=b,t.FpDiv=function(e,t,i){return e.mul(t,"bigint"==typeof i?g(i,e.ORDER):e.inv(i))},t.FpIsSquare=function(e){let t=(e.ORDER-o)/s;return i=>{let n=e.pow(i,t);return e.eql(n,e.ZERO)||e.eql(n,e.ONE)}},t.nLength=y,t.Field=function(e,t,i=!1,s={}){if(e<=r)throw Error(`Expected Fp ORDER > 0, got ${e}`);let{nBitLength:a,nByteLength:l}=y(e,t);if(l>2048)throw Error("Field lengths over 2048 bytes are not supported");let u=f(e),d=Object.freeze({ORDER:e,BITS:a,BYTES:l,MASK:(0,n.bitMask)(a),ZERO:r,ONE:o,create:t=>c(t,e),isValid:t=>{if("bigint"!=typeof t)throw Error(`Invalid field element: expected bigint, got ${typeof t}`);return r<=t&&te===r,isOdd:e=>(e&o)===o,neg:t=>c(-t,e),eql:(e,t)=>e===t,sqr:t=>c(t*t,e),add:(t,i)=>c(t+i,e),sub:(t,i)=>c(t-i,e),mul:(t,i)=>c(t*i,e),pow:(e,t)=>v(d,e,t),div:(t,i)=>c(t*g(i,e),e),sqrN:e=>e*e,addN:(e,t)=>e+t,subN:(e,t)=>e-t,mulN:(e,t)=>e*t,inv:t=>g(t,e),sqrt:s.sqrt||(e=>u(d,e)),invertBatch:e=>b(d,e),cmov:(e,t,i)=>i?t:e,toBytes:e=>i?(0,n.numberToBytesLE)(e,l):(0,n.numberToBytesBE)(e,l),fromBytes:e=>{if(e.length!==l)throw Error(`Fp.fromBytes: expected ${l}, got ${e.length}`);return i?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e)}});return Object.freeze(d)},t.FpSqrtOdd=function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);return e.isOdd(i)?i:e.neg(i)},t.FpSqrtEven=function(e,t){if(!e.isOdd)throw Error("Field doesn't have isOdd");let i=e.sqrt(t);return e.isOdd(i)?e.neg(i):i},t.hashToPrivateScalar=function(e,t,i=!1){let r=(e=(0,n.ensureBytes)("privateHash",e)).length,s=y(t).nByteLength+8;if(s<24||r1024)throw Error(`hashToPrivateScalar: expected ${s}-1024 bytes of input, got ${r}`);return c(i?(0,n.bytesToNumberLE)(e):(0,n.bytesToNumberBE)(e),t-o)+o}},47367:(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;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let i=BigInt(0),n=BigInt(1),r=BigInt(2),o=e=>e instanceof Uint8Array,s=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));function a(e){if(!o(e))throw Error("Uint8Array expected");let t="";for(let i=0;ie+t.length,0)),i=0;return e.forEach(e=>{if(!o(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t}t.bytesToHex=a,t.numberToHexUnpadded=l,t.hexToNumber=u,t.hexToBytes=d,t.bytesToNumberBE=function(e){return u(a(e))},t.bytesToNumberLE=function(e){if(!o(e))throw Error("Uint8Array expected");return u(a(Uint8Array.from(e).reverse()))},t.numberToBytesBE=c,t.numberToBytesLE=function(e,t){return c(e,t).reverse()},t.numberToVarBytesBE=function(e){return d(l(e))},t.ensureBytes=function(e,t,i){let n;if("string"==typeof t)try{n=d(t)}catch(i){throw Error(`${e} must be valid hex string, got "${t}". Cause: ${i}`)}else if(o(t))n=Uint8Array.from(t);else throw Error(`${e} must be hex string or Uint8Array`);let r=n.length;if("number"==typeof i&&r!==i)throw Error(`${e} expected ${i} bytes, got ${r}`);return n},t.concatBytes=h,t.equalBytes=function(e,t){if(e.length!==t.length)return!1;for(let i=0;ii;e>>=n,t+=1);return t},t.bitGet=function(e,t){return e>>BigInt(t)&n},t.bitSet=(e,t,r)=>e|(r?n:i)<(r<new Uint8Array(e),p=e=>Uint8Array.from(e);t.createHmacDrbg=function(e,t,i){if("number"!=typeof e||e<2)throw Error("hashLen must be a number");if("number"!=typeof t||t<2)throw Error("qByteLen must be a number");if("function"!=typeof i)throw Error("hmacFn must be a function");let n=g(e),r=g(e),o=0,s=()=>{n.fill(1),r.fill(0),o=0},a=(...e)=>i(r,n,...e),l=(e=g())=>{r=a(p([0]),e),n=a(),0!==e.length&&(r=a(p([1]),e),n=a())},u=()=>{if(o++>=1e3)throw Error("drbg: tried 1000 values");let e=0,i=[];for(;e{let i;for(s(),l(e);!(i=t(u()));)l();return s(),i}};let f={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,i={}){let n=(t,i,n)=>{let r=f[i];if("function"!=typeof r)throw Error(`Invalid validator "${i}", expected function`);let o=e[t];if((!n||void 0!==o)&&!r(o,e))throw Error(`Invalid param ${String(t)}=${o} (${typeof o}), expected ${i}`)};for(let[e,i]of Object.entries(t))n(e,i,!1);for(let[e,t]of Object.entries(i))n(e,t,!0);return e}},80551:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapToCurveSimpleSWU=t.SWUFpSqrtRatio=t.weierstrass=t.weierstrassPoints=t.DER=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(8767),r=i(47367),o=i(47367),s=i(7824),{bytesToNumberBE:a,hexToBytes:l}=r;t.DER={Err:class extends Error{constructor(e=""){super(e)}},_parseInt(e){let{Err:i}=t.DER;if(e.length<2||2!==e[0])throw new i("Invalid signature integer tag");let n=e[1],r=e.subarray(2,n+2);if(!n||r.length!==n)throw new i("Invalid signature integer: wrong length");if(128&r[0])throw new i("Invalid signature integer: negative");if(0===r[0]&&!(128&r[1]))throw new i("Invalid signature integer: unnecessary leading zero");return{d:a(r),l:e.subarray(n+2)}},toSig(e){let{Err:i}=t.DER,n="string"==typeof e?l(e):e;if(!(n instanceof Uint8Array))throw Error("ui8a expected");let r=n.length;if(r<2||48!=n[0])throw new i("Invalid signature tag");if(n[1]!==r-2)throw new i("Invalid signature: incorrect length");let{d:o,l:s}=t.DER._parseInt(n.subarray(2)),{d:a,l:u}=t.DER._parseInt(s);if(u.length)throw new i("Invalid signature: left bytes after parsing");return{r:o,s:a}},hexFromSig(e){let t=e=>8&Number.parseInt(e[0],16)?"00"+e:e,i=e=>{let t=e.toString(16);return 1&t.length?`0${t}`:t},n=t(i(e.s)),r=t(i(e.r)),o=n.length/2,s=r.length/2;return`30${i(s+o+4)}02${i(s)}${r}02${i(o)}${n}`}};let u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(3),g=BigInt(4);function p(e){let t=function(e){let t=(0,s.validateBasic)(e);r.validateObject(t,{a:"field",b:"field"},{allowedPrivateKeyLengths:"array",wrapPrivateKey:"boolean",isTorsionFree:"function",clearCofactor:"function",allowInfinityPoint:"boolean",fromBytes:"function",toBytes:"function"});let{endo:i,Fp:n,a:o}=t;if(i){if(!n.eql(o,n.ZERO))throw Error("Endomorphism can only be defined for Koblitz curves that have a=0");if("object"!=typeof i||"bigint"!=typeof i.beta||"function"!=typeof i.splitScalar)throw Error("Expected endomorphism with beta: bigint and splitScalar: function")}return Object.freeze({...t})}(e),{Fp:i}=t,a=t.toBytes||((e,t,n)=>{let o=t.toAffine();return r.concatBytes(Uint8Array.from([4]),i.toBytes(o.x),i.toBytes(o.y))}),l=t.fromBytes||(e=>{let t=e.subarray(1);return{x:i.fromBytes(t.subarray(0,i.BYTES)),y:i.fromBytes(t.subarray(i.BYTES,2*i.BYTES))}});function c(e){let{a:n,b:r}=t,o=i.sqr(e),s=i.mul(o,e);return i.add(i.add(s,i.mul(e,n)),r)}if(!i.eql(i.sqr(t.Gy),c(t.Gx)))throw Error("bad generator point: equation left != right");function g(e){return"bigint"==typeof e&&ui.eql(e,i.ZERO);return r(t)&&r(n)?b.ZERO:new b(t,n,i.ONE)}get x(){return this.toAffine().x}get y(){return this.toAffine().y}static normalizeZ(e){let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(b.fromAffine)}static fromHex(e){let t=b.fromAffine(l((0,o.ensureBytes)("pointHex",e)));return t.assertValidity(),t}static fromPrivateKey(e){return b.BASE.multiply(f(e))}_setWindowSize(e){this._WINDOW_SIZE=e,m.delete(this)}assertValidity(){if(this.is0()){if(t.allowInfinityPoint)return;throw Error("bad point: ZERO")}let{x:e,y:n}=this.toAffine();if(!i.isValid(e)||!i.isValid(n))throw Error("bad point: x or y not FE");let r=i.sqr(n),o=c(e);if(!i.eql(r,o))throw Error("bad point: equation left != right");if(!this.isTorsionFree())throw Error("bad point: not in prime-order subgroup")}hasEvenY(){let{y:e}=this.toAffine();if(i.isOdd)return!i.isOdd(e);throw Error("Field doesn't support isOdd")}equals(e){v(e);let{px:t,py:n,pz:r}=this,{px:o,py:s,pz:a}=e,l=i.eql(i.mul(t,a),i.mul(o,r)),u=i.eql(i.mul(n,a),i.mul(s,r));return l&&u}negate(){return new b(this.px,i.neg(this.py),this.pz)}double(){let{a:e,b:n}=t,r=i.mul(n,h),{px:o,py:s,pz:a}=this,l=i.ZERO,u=i.ZERO,d=i.ZERO,c=i.mul(o,o),g=i.mul(s,s),p=i.mul(a,a),f=i.mul(o,s);return f=i.add(f,f),d=i.mul(o,a),d=i.add(d,d),l=i.mul(e,d),u=i.mul(r,p),u=i.add(l,u),l=i.sub(g,u),u=i.add(g,u),u=i.mul(l,u),l=i.mul(f,l),d=i.mul(r,d),p=i.mul(e,p),f=i.sub(c,p),f=i.mul(e,f),f=i.add(f,d),d=i.add(c,c),c=i.add(d,c),c=i.add(c,p),c=i.mul(c,f),u=i.add(u,c),p=i.mul(s,a),p=i.add(p,p),c=i.mul(p,f),l=i.sub(l,c),d=i.mul(p,g),d=i.add(d,d),d=i.add(d,d),new b(l,u,d)}add(e){v(e);let{px:n,py:r,pz:o}=this,{px:s,py:a,pz:l}=e,u=i.ZERO,d=i.ZERO,c=i.ZERO,g=t.a,p=i.mul(t.b,h),f=i.mul(n,s),m=i.mul(r,a),y=i.mul(o,l),_=i.add(n,r),w=i.add(s,a);_=i.mul(_,w),w=i.add(f,m),_=i.sub(_,w),w=i.add(n,o);let C=i.add(s,l);return w=i.mul(w,C),C=i.add(f,y),w=i.sub(w,C),C=i.add(r,o),u=i.add(a,l),C=i.mul(C,u),u=i.add(m,y),C=i.sub(C,u),c=i.mul(g,w),u=i.mul(p,y),c=i.add(u,c),u=i.sub(m,c),c=i.add(m,c),d=i.mul(u,c),m=i.add(f,f),m=i.add(m,f),y=i.mul(g,y),w=i.mul(p,w),m=i.add(m,y),y=i.sub(f,y),y=i.mul(g,y),w=i.add(w,y),f=i.mul(m,w),d=i.add(d,f),f=i.mul(C,w),u=i.mul(_,u),u=i.sub(u,f),f=i.mul(_,m),c=i.mul(C,c),c=i.add(c,f),new b(u,d,c)}subtract(e){return this.add(e.negate())}is0(){return this.equals(b.ZERO)}wNAF(e){return _.wNAFCached(this,m,e,e=>{let t=i.invertBatch(e.map(e=>e.pz));return e.map((e,i)=>e.toAffine(t[i])).map(b.fromAffine)})}multiplyUnsafe(e){let n=b.ZERO;if(e===u)return n;if(p(e),e===d)return this;let{endo:r}=t;if(!r)return _.unsafeLadder(this,e);let{k1neg:o,k1:s,k2neg:a,k2:l}=r.splitScalar(e),c=n,h=n,g=this;for(;s>u||l>u;)s&d&&(c=c.add(g)),l&d&&(h=h.add(g)),g=g.double(),s>>=d,l>>=d;return o&&(c=c.negate()),a&&(h=h.negate()),h=new b(i.mul(h.px,r.beta),h.py,h.pz),c.add(h)}multiply(e){let n,r;p(e);let{endo:o}=t;if(o){let{k1neg:t,k1:s,k2neg:a,k2:l}=o.splitScalar(e),{p:u,f:d}=this.wNAF(s),{p:c,f:h}=this.wNAF(l);u=_.constTimeNegate(t,u),c=_.constTimeNegate(a,c),c=new b(i.mul(c.px,o.beta),c.py,c.pz),n=u.add(c),r=d.add(h)}else{let{p:t,f:i}=this.wNAF(e);n=t,r=i}return b.normalizeZ([n,r])[0]}multiplyAndAddUnsafe(e,t,i){let n=b.BASE,r=(e,t)=>t!==u&&t!==d&&e.equals(n)?e.multiply(t):e.multiplyUnsafe(t),o=r(this,t).add(r(e,i));return o.is0()?void 0:o}toAffine(e){let{px:t,py:n,pz:r}=this,o=this.is0();null==e&&(e=o?i.ONE:i.inv(r));let s=i.mul(t,e),a=i.mul(n,e),l=i.mul(r,e);if(o)return{x:i.ZERO,y:i.ZERO};if(!i.eql(l,i.ONE))throw Error("invZ was invalid");return{x:s,y:a}}isTorsionFree(){let{h:e,isTorsionFree:i}=t;if(e===d)return!0;if(i)return i(b,this);throw Error("isTorsionFree() has not been declared for the elliptic curve")}clearCofactor(){let{h:e,clearCofactor:i}=t;return e===d?this:i?i(b,this):this.multiplyUnsafe(t.h)}toRawBytes(e=!0){return this.assertValidity(),a(b,this,e)}toHex(e=!0){return r.bytesToHex(this.toRawBytes(e))}}b.BASE=new b(t.Gx,t.Gy,i.ONE),b.ZERO=new b(i.ZERO,i.ONE,i.ZERO);let y=t.nBitLength,_=(0,s.wNAF)(b,t.endo?Math.ceil(y/2):y);return{CURVE:t,ProjectivePoint:b,normPrivateKeyToScalar:f,weierstrassEquation:c,isWithinCurveOrder:g}}function f(e,t){let i=e.ORDER,n=u;for(let e=i-d;e%c===u;e/=c)n+=d;let r=n,o=c<{let n=f,s=e.pow(i,p),a=e.sqr(s);a=e.mul(a,i);let u=e.mul(t,a);u=e.pow(u,l),u=e.mul(u,s),s=e.mul(u,i),a=e.mul(u,t);let h=e.mul(a,s);u=e.pow(h,o);let g=e.eql(u,e.ONE);s=e.mul(a,m),u=e.mul(h,n),a=e.cmov(s,a,g),h=e.cmov(u,h,g);for(let t=r;t>d;t--){let i=t-c;i=c<{let o=e.sqr(r),s=e.mul(t,r);o=e.mul(o,s);let a=e.pow(o,i);a=e.mul(a,s);let l=e.mul(a,n),u=e.mul(e.sqr(a),r),d=e.eql(u,t),c=e.cmov(l,a,d);return{isValid:d,value:c}}}return v}t.weierstrassPoints=p,t.weierstrass=function(e){let i;let a=(i=(0,s.validateBasic)(e),r.validateObject(i,{hash:"hash",hmac:"function",randomBytes:"function"},{bits2int:"function",bits2int_modN:"function",lowS:"boolean"}),Object.freeze({lowS:!0,...i})),{Fp:l,n:c}=a,h=l.BYTES+1,g=2*l.BYTES+1;function f(e){return n.mod(e,c)}function m(e){return n.invert(e,c)}let{ProjectivePoint:v,normPrivateKeyToScalar:b,weierstrassEquation:y,isWithinCurveOrder:_}=p({...a,toBytes(e,t,i){let n=t.toAffine(),o=l.toBytes(n.x),s=r.concatBytes;return i?s(Uint8Array.from([t.hasEvenY()?2:3]),o):s(Uint8Array.from([4]),o,l.toBytes(n.y))},fromBytes(e){let t=e.length,i=e[0],n=e.subarray(1);if(t===h&&(2===i||3===i)){let e=r.bytesToNumberBE(n);if(!(ur.bytesToHex(r.numberToBytesBE(e,a.nByteLength)),C=(e,t,i)=>r.bytesToNumberBE(e.slice(t,i));class S{constructor(e,t,i){this.r=e,this.s=t,this.recovery=i,this.assertValidity()}static fromCompact(e){let t=a.nByteLength;return e=(0,o.ensureBytes)("compactSignature",e,2*t),new S(C(e,0,t),C(e,t,2*t))}static fromDER(e){let{r:i,s:n}=t.DER.toSig((0,o.ensureBytes)("DER",e));return new S(i,n)}assertValidity(){if(!_(this.r))throw Error("r must be 0 < r < CURVE.n");if(!_(this.s))throw Error("s must be 0 < s < CURVE.n")}addRecoveryBit(e){return new S(this.r,this.s,e)}recoverPublicKey(e){let{r:t,s:i,recovery:n}=this,r=E((0,o.ensureBytes)("msgHash",e));if(null==n||![0,1,2,3].includes(n))throw Error("recovery id invalid");let s=2===n||3===n?t+a.n:t;if(s>=l.ORDER)throw Error("recovery id 2 or 3 invalid");let u=(1&n)==0?"02":"03",d=v.fromHex(u+w(s)),c=m(s),h=f(-r*c),g=f(i*c),p=v.BASE.multiplyAndAddUnsafe(d,h,g);if(!p)throw Error("point at infinify");return p.assertValidity(),p}hasHighS(){return this.s>c>>d}normalizeS(){return this.hasHighS()?new S(this.r,f(-this.s),this.recovery):this}toDERRawBytes(){return r.hexToBytes(this.toDERHex())}toDERHex(){return t.DER.hexFromSig({r:this.r,s:this.s})}toCompactRawBytes(){return r.hexToBytes(this.toCompactHex())}toCompactHex(){return w(this.r)+w(this.s)}}function x(e){let t=e instanceof Uint8Array,i="string"==typeof e,n=(t||i)&&e.length;return t?n===h||n===g:i?n===2*h||n===2*g:e instanceof v}let k=a.bits2int||function(e){let t=r.bytesToNumberBE(e),i=8*e.length-a.nBitLength;return i>0?t>>BigInt(i):t},E=a.bits2int_modN||function(e){return f(k(e))},L=r.bitMask(a.nBitLength);function D(e){if("bigint"!=typeof e)throw Error("bigint expected");if(!(u<=e&&ee in i))throw Error("sign() legacy options not supported");let{hash:n,randomBytes:s}=a,{lowS:h,prehash:g,extraEntropy:p}=i;null==h&&(h=!0),e=(0,o.ensureBytes)("msgHash",e),g&&(e=(0,o.ensureBytes)("prehashed msgHash",n(e)));let y=E(e),w=b(t),C=[D(w),D(y)];if(null!=p){let e=!0===p?s(l.BYTES):p;C.push((0,o.ensureBytes)("extraEntropy",e,l.BYTES))}return{seed:r.concatBytes(...C),k2sig:function(e){let t=k(e);if(!_(t))return;let i=m(t),n=v.BASE.multiply(t).toAffine(),r=f(n.x);if(r===u)return;let o=f(i*f(y+r*w));if(o===u)return;let s=(n.x===r?0:2)|Number(n.y&d),a=o;return h&&o>c>>d&&(a=o>c>>d?f(-o):o,s^=1),new S(r,a,s)}}}(e,t,i);return r.createHmacDrbg(a.hash.outputLen,a.nByteLength,a.hmac)(n,s)},verify:function(e,i,n,r=A){let s,l;if(i=(0,o.ensureBytes)("msgHash",i),n=(0,o.ensureBytes)("publicKey",n),"strict"in r)throw Error("options.strict was renamed to lowS");let{lowS:u,prehash:d}=r;try{if("string"==typeof e||e instanceof Uint8Array)try{l=S.fromDER(e)}catch(i){if(!(i instanceof t.DER.Err))throw i;l=S.fromCompact(e)}else if("object"==typeof e&&"bigint"==typeof e.r&&"bigint"==typeof e.s){let{r:t,s:i}=e;l=new S(t,i)}else throw Error("PARSE");s=v.fromHex(n)}catch(e){if("PARSE"===e.message)throw Error("signature must be Signature instance, Uint8Array or hex string");return!1}if(u&&l.hasHighS())return!1;d&&(i=a.hash(i));let{r:c,s:h}=l,g=E(i),p=m(h),b=f(g*p),y=f(c*p),_=v.BASE.multiplyAndAddUnsafe(s,b,y)?.toAffine();return!!_&&f(_.x)===c},ProjectivePoint:v,Signature:S,utils:{isValidPrivateKey(e){try{return b(e),!0}catch(e){return!1}},normPrivateKeyToScalar:b,randomPrivateKey:()=>{let e=a.randomBytes(l.BYTES+8),t=n.hashToPrivateScalar(e,c);return r.numberToBytesBE(t,a.nByteLength)},precompute:(e=8,t=v.BASE)=>(t._setWindowSize(e),t.multiply(BigInt(3)),t)}}},t.SWUFpSqrtRatio=f,t.mapToCurveSimpleSWU=function(e,t){if(n.validateField(e),!e.isValid(t.A)||!e.isValid(t.B)||!e.isValid(t.Z))throw Error("mapToCurveSimpleSWU: invalid opts");let i=f(e,t.Z);if(!e.isOdd)throw Error("Fp.isOdd is not implemented!");return n=>{let r,o,s,a,l,u,d,c;r=e.sqr(n),r=e.mul(r,t.Z),o=e.sqr(r),o=e.add(o,r),s=e.add(o,e.ONE),s=e.mul(s,t.B),a=e.cmov(t.Z,e.neg(o),!e.eql(o,e.ZERO)),a=e.mul(a,t.A),o=e.sqr(s),u=e.sqr(a),l=e.mul(u,t.A),o=e.add(o,l),o=e.mul(o,s),u=e.mul(u,a),l=e.mul(u,t.B),o=e.add(o,l),d=e.mul(r,s);let{isValid:h,value:g}=i(o,u);c=e.mul(r,n),c=e.mul(c,g),d=e.cmov(d,s,h),c=e.cmov(c,g,h);let p=e.isOdd(n)===e.isOdd(c);return c=e.cmov(e.neg(c),c,p),{x:d=e.div(d,a),y:c}}}},22934:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.encodeToCurve=t.hashToCurve=t.schnorr=t.secp256k1=void 0;/*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */let n=i(13426),r=i(50300),o=i(8767),s=i(80551),a=i(47367),l=i(29173),u=i(41019),d=BigInt("0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffffc2f"),c=BigInt("0xfffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141"),h=BigInt(1),g=BigInt(2),p=(e,t)=>(e+t/g)/t;function f(e){let t=BigInt(3),i=BigInt(6),n=BigInt(11),r=BigInt(22),s=BigInt(23),a=BigInt(44),l=BigInt(88),u=e*e*e%d,c=u*u*e%d,h=(0,o.pow2)(c,t,d)*c%d,p=(0,o.pow2)(h,t,d)*c%d,f=(0,o.pow2)(p,g,d)*u%d,v=(0,o.pow2)(f,n,d)*f%d,b=(0,o.pow2)(v,r,d)*v%d,y=(0,o.pow2)(b,a,d)*b%d,_=(0,o.pow2)(y,l,d)*y%d,w=(0,o.pow2)(_,a,d)*b%d,C=(0,o.pow2)(w,t,d)*c%d,S=(0,o.pow2)(C,s,d)*v%d,x=(0,o.pow2)(S,i,d)*u%d,k=(0,o.pow2)(x,g,d);if(!m.eql(m.sqr(k),e))throw Error("Cannot find square root");return k}let m=(0,o.Field)(d,void 0,void 0,{sqrt:f});t.secp256k1=(0,u.createCurve)({a:BigInt(0),b:BigInt(7),Fp:m,n:c,Gx:BigInt("55066263022277343669578718895168534326250603453777594175500187360389116729240"),Gy:BigInt("32670510020758816978083085130507043184471273380659243275938904335757337482424"),h:BigInt(1),lowS:!0,endo:{beta:BigInt("0x7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee"),splitScalar:e=>{let t=BigInt("0x3086d221a7d46bcde86c90e49284eb15"),i=-h*BigInt("0xe4437ed6010e88286f547fa90abfe4c3"),n=BigInt("0x114ca50f7a8e2f3f657c1108d9d44cfd8"),r=BigInt("0x100000000000000000000000000000000"),s=p(t*e,c),a=p(-i*e,c),l=(0,o.mod)(e-s*t-a*n,c),u=(0,o.mod)(-s*i-a*t,c),d=l>r,g=u>r;if(d&&(l=c-l),g&&(u=c-u),l>r||u>r)throw Error("splitScalar: Endomorphism failed, k="+e);return{k1neg:d,k1:l,k2neg:g,k2:u}}}},n.sha256);let v=BigInt(0),b=e=>"bigint"==typeof e&&v"bigint"==typeof e&&ve.charCodeAt(0)));i=(0,a.concatBytes)(t,t),_[e]=i}return(0,n.sha256)((0,a.concatBytes)(i,...t))}let C=e=>e.toRawBytes(!0).slice(1),S=e=>(0,a.numberToBytesBE)(e,32),x=e=>(0,o.mod)(e,d),k=e=>(0,o.mod)(e,c),E=t.secp256k1.ProjectivePoint,L=(e,t,i)=>E.BASE.multiplyAndAddUnsafe(e,t,i);function D(e){let i=t.secp256k1.utils.normPrivateKeyToScalar(e),n=E.fromPrivateKey(i);return{scalar:n.hasEvenY()?i:k(-i),bytes:C(n)}}function N(e){if(!b(e))throw Error("bad x: need 0 < x < p");let t=x(e*e),i=f(x(t*e+BigInt(7)));i%g!==v&&(i=x(-i));let n=new E(e,i,h);return n.assertValidity(),n}function A(...e){return k((0,a.bytesToNumberBE)(w("BIP0340/challenge",...e)))}function T(e,t,i){let n=(0,a.ensureBytes)("signature",e,64),r=(0,a.ensureBytes)("message",t),o=(0,a.ensureBytes)("publicKey",i,32);try{let e=N((0,a.bytesToNumberBE)(o)),t=(0,a.bytesToNumberBE)(n.subarray(0,32));if(!b(t))return!1;let i=(0,a.bytesToNumberBE)(n.subarray(32,64));if(!y(i))return!1;let s=A(S(t),C(e),r),l=L(e,i,k(-s));if(!l||!l.hasEvenY()||l.toAffine().x!==t)return!1;return!0}catch(e){return!1}}t.schnorr={getPublicKey:function(e){return D(e).bytes},sign:function(e,t,i=(0,r.randomBytes)(32)){let n=(0,a.ensureBytes)("message",e),{bytes:o,scalar:s}=D(t),l=(0,a.ensureBytes)("auxRand",i,32),u=S(s^(0,a.bytesToNumberBE)(w("BIP0340/aux",l))),d=w("BIP0340/nonce",u,o,n),c=k((0,a.bytesToNumberBE)(d));if(c===v)throw Error("sign failed: k is zero");let{bytes:h,scalar:g}=D(c),p=A(h,o,n),f=new Uint8Array(64);if(f.set(h,0),f.set(S(k(g+p*s)),32),!T(f,n,o))throw Error("sign: Invalid signature produced");return f},verify:T,utils:{randomPrivateKey:t.secp256k1.utils.randomPrivateKey,lift_x:N,pointToBytes:C,numberToBytesBE:a.numberToBytesBE,bytesToNumberBE:a.bytesToNumberBE,taggedHash:w,mod:o.mod}};let I=(0,l.isogenyMap)(m,[["0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa8c7","0x7d3d4c80bc321d5b9f315cea7fd44c5d595d2fc0bf63b92dfff1044f17c6581","0x534c328d23f234e6e2a413deca25caece4506144037c40314ecbd0b53d9dd262","0x8e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38e38daaaaa88c"],["0xd35771193d94918a9ca34ccbb7b640dd86cd409542f8487d9fe6b745781eb49b","0xedadc6f64383dc1df7c4b2d51b54225406d36b641f5e41bbc52a56612a8c6d14","0x0000000000000000000000000000000000000000000000000000000000000001"],["0x4bda12f684bda12f684bda12f684bda12f684bda12f684bda12f684b8e38e23c","0xc75e0c32d5cb7c0fa9d0a54b12a0a6d5647ab046d686da6fdffc90fc201d71a3","0x29a6194691f91a73715209ef6512e576722830a201be2018a765e85a9ecee931","0x2f684bda12f684bda12f684bda12f684bda12f684bda12f684bda12f38e38d84"],["0xfffffffffffffffffffffffffffffffffffffffffffffffffffffffefffff93b","0x7a06534bb8bdb49fd5e9e6632722c2989467c1bfc8e8d978dfb425d2685c2573","0x6484aa716545ca2cf3a70c3fa8fe337e0a3d21162f0d6299a7bf8192bfd2a76f","0x0000000000000000000000000000000000000000000000000000000000000001"]].map(e=>e.map(e=>BigInt(e)))),M=(0,s.mapToCurveSimpleSWU)(m,{A:BigInt("0x3f8731abdd661adca08a5558f0f5d272e953d363cb6f0e5d405447c01a444533"),B:BigInt("1771"),Z:m.create(BigInt("-11"))}),O=(0,l.createHasher)(t.secp256k1.ProjectivePoint,e=>{let{x:t,y:i}=M(m.create(e[0]));return I(t,i)},{DST:"secp256k1_XMD:SHA-256_SSWU_RO_",encodeDST:"secp256k1_XMD:SHA-256_SSWU_NU_",p:m.ORDER,m:1,k:128,expand:"xmd",hash:n.sha256});t.hashToCurve=O.hashToCurve,t.encodeToCurve=O.encodeToCurve},91839:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteger(e)||e<0)throw Error(`Wrong positive integer: ${e}`)}function n(e){if("boolean"!=typeof e)throw Error(`Expected boolean, not ${e}`)}function r(e,...t){if(!(e instanceof Uint8Array))throw Error("Expected Uint8Array");if(t.length>0&&!t.includes(e.length))throw Error(`Expected Uint8Array of length ${t}, not of length=${e.length}`)}function o(e){if("function"!=typeof e||"function"!=typeof e.create)throw Error("Hash should be wrapped by utils.wrapConstructor");i(e.outputLen),i(e.blockLen)}function s(e,t=!0){if(e.destroyed)throw Error("Hash instance has been destroyed");if(t&&e.finished)throw Error("Hash#digest() has already been called")}function a(e,t){r(e);let i=t.outputLen;if(e.length{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SHA2=void 0;let n=i(91839),r=i(50300);class o extends r.Hash{constructor(e,t,i,n){super(),this.blockLen=e,this.outputLen=t,this.padOffset=i,this.isLE=n,this.finished=!1,this.length=0,this.pos=0,this.destroyed=!1,this.buffer=new Uint8Array(e),this.view=(0,r.createView)(this.buffer)}update(e){n.default.exists(this);let{view:t,buffer:i,blockLen:o}=this,s=(e=(0,r.toBytes)(e)).length;for(let n=0;no-a&&(this.process(i,0),a=0);for(let e=a;e>r&o),a=Number(i&o),l=n?4:0,u=n?0:4;e.setUint32(t+l,s,n),e.setUint32(t+u,a,n)}(i,o-8,BigInt(8*this.length),s),this.process(i,0);let l=(0,r.createView)(e),u=this.outputLen;if(u%4)throw Error("_sha2: outputLen should be aligned to 32bit");let d=u/4,c=this.get();if(d>c.length)throw Error("_sha2: outputLen bigger than state");for(let e=0;e{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.add=t.toBig=t.split=t.fromBig=void 0;let i=BigInt(4294967295),n=BigInt(32);function r(e,t=!1){return t?{h:Number(e&i),l:Number(e>>n&i)}:{h:0|Number(e>>n&i),l:0|Number(e&i)}}function o(e,t=!1){let i=new Uint32Array(e.length),n=new Uint32Array(e.length);for(let o=0;o>>0)+(n>>>0);return{h:e+i+(r/4294967296|0)|0,l:0|r}}t.fromBig=r,t.split=o,t.toBig=(e,t)=>BigInt(e>>>0)<>>0),t.add=s;let a={fromBig:r,split:o,toBig:t.toBig,shrSH:(e,t,i)=>e>>>i,shrSL:(e,t,i)=>e<<32-i|t>>>i,rotrSH:(e,t,i)=>e>>>i|t<<32-i,rotrSL:(e,t,i)=>e<<32-i|t>>>i,rotrBH:(e,t,i)=>e<<64-i|t>>>i-32,rotrBL:(e,t,i)=>e>>>i-32|t<<64-i,rotr32H:(e,t)=>t,rotr32L:(e,t)=>e,rotlSH:(e,t,i)=>e<>>32-i,rotlSL:(e,t,i)=>t<>>32-i,rotlBH:(e,t,i)=>t<>>64-i,rotlBL:(e,t,i)=>e<>>64-i,add:s,add3L:(e,t,i)=>(e>>>0)+(t>>>0)+(i>>>0),add3H:(e,t,i,n)=>t+i+n+(e/4294967296|0)|0,add4L:(e,t,i,n)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0),add4H:(e,t,i,n,r)=>t+i+n+r+(e/4294967296|0)|0,add5H:(e,t,i,n,r,o)=>t+i+n+r+o+(e/4294967296|0)|0,add5L:(e,t,i,n,r)=>(e>>>0)+(t>>>0)+(i>>>0)+(n>>>0)+(r>>>0)};t.default=a},44937:(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},70520:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hmac=t.HMAC=void 0;let n=i(91839),r=i(50300);class o extends r.Hash{constructor(e,t){super(),this.finished=!1,this.destroyed=!1,n.default.hash(e);let i=(0,r.toBytes)(t);if(this.iHash=e.create(),"function"!=typeof this.iHash.update)throw Error("Expected instance of class which extends utils.Hash");this.blockLen=this.iHash.blockLen,this.outputLen=this.iHash.outputLen;let o=this.blockLen,s=new Uint8Array(o);s.set(i.length>o?e.create().update(i).digest():i);for(let e=0;enew o(e,t).update(i).digest(),t.hmac.create=(e,t)=>new o(e,t)},13426:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.sha224=t.sha256=void 0;let n=i(36214),r=i(50300),o=(e,t,i)=>e&t^~e&i,s=(e,t,i)=>e&t^e&i^t&i,a=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]),l=new Uint32Array([1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225]),u=new Uint32Array(64);class d extends n.SHA2{constructor(){super(64,32,8,!1),this.A=0|l[0],this.B=0|l[1],this.C=0|l[2],this.D=0|l[3],this.E=0|l[4],this.F=0|l[5],this.G=0|l[6],this.H=0|l[7]}get(){let{A:e,B:t,C:i,D:n,E:r,F:o,G:s,H:a}=this;return[e,t,i,n,r,o,s,a]}set(e,t,i,n,r,o,s,a){this.A=0|e,this.B=0|t,this.C=0|i,this.D=0|n,this.E=0|r,this.F=0|o,this.G=0|s,this.H=0|a}process(e,t){for(let i=0;i<16;i++,t+=4)u[i]=e.getUint32(t,!1);for(let e=16;e<64;e++){let t=u[e-15],i=u[e-2],n=(0,r.rotr)(t,7)^(0,r.rotr)(t,18)^t>>>3,o=(0,r.rotr)(i,17)^(0,r.rotr)(i,19)^i>>>10;u[e]=o+u[e-7]+n+u[e-16]|0}let{A:i,B:n,C:l,D:d,E:c,F:h,G:g,H:p}=this;for(let e=0;e<64;e++){let t=p+((0,r.rotr)(c,6)^(0,r.rotr)(c,11)^(0,r.rotr)(c,25))+o(c,h,g)+a[e]+u[e]|0,f=((0,r.rotr)(i,2)^(0,r.rotr)(i,13)^(0,r.rotr)(i,22))+s(i,n,l)|0;p=g,g=h,h=c,c=d+t|0,d=l,l=n,n=i,i=t+f|0}i=i+this.A|0,n=n+this.B|0,l=l+this.C|0,d=d+this.D|0,c=c+this.E|0,h=h+this.F|0,g=g+this.G|0,p=p+this.H|0,this.set(i,n,l,d,c,h,g,p)}roundClean(){u.fill(0)}destroy(){this.set(0,0,0,0,0,0,0,0),this.buffer.fill(0)}}class c extends d{constructor(){super(),this.A=-1056596264,this.B=914150663,this.C=812702999,this.D=-150054599,this.E=-4191439,this.F=1750603025,this.G=1694076839,this.H=-1090891868,this.outputLen=28}}t.sha256=(0,r.wrapConstructor)(()=>new d),t.sha224=(0,r.wrapConstructor)(()=>new c)},73488:(e,t,i)=>{"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;let n=i(91839),r=i(2426),o=i(50300),[s,a,l]=[[],[],[]],u=BigInt(0),d=BigInt(1),c=BigInt(2),h=BigInt(7),g=BigInt(256),p=BigInt(113);for(let e=0,t=d,i=1,n=0;e<24;e++){[i,n]=[n,(2*i+3*n)%5],s.push(2*(5*n+i)),a.push((e+1)*(e+2)/2%64);let r=u;for(let e=0;e<7;e++)(t=(t<>h)*p)%g)&c&&(r^=d<<(d<i>32?r.default.rotlBH(e,t,i):r.default.rotlSH(e,t,i),b=(e,t,i)=>i>32?r.default.rotlBL(e,t,i):r.default.rotlSL(e,t,i);function y(e,t=24){let i=new Uint32Array(10);for(let n=24-t;n<24;n++){for(let t=0;t<10;t++)i[t]=e[t]^e[t+10]^e[t+20]^e[t+30]^e[t+40];for(let t=0;t<10;t+=2){let n=(t+8)%10,r=(t+2)%10,o=i[r],s=i[r+1],a=v(o,s,1)^i[n],l=b(o,s,1)^i[n+1];for(let i=0;i<50;i+=10)e[t+i]^=a,e[t+i+1]^=l}let t=e[2],r=e[3];for(let i=0;i<24;i++){let n=a[i],o=v(t,r,n),l=b(t,r,n),u=s[i];t=e[u],r=e[u+1],e[u]=o,e[u+1]=l}for(let t=0;t<50;t+=10){for(let n=0;n<10;n++)i[n]=e[t+n];for(let n=0;n<10;n++)e[t+n]^=~i[(n+2)%10]&i[(n+4)%10]}e[0]^=f[n],e[1]^=m[n]}i.fill(0)}t.keccakP=y;class _ extends o.Hash{constructor(e,t,i,r=!1,s=24){if(super(),this.blockLen=e,this.suffix=t,this.outputLen=i,this.enableXOF=r,this.rounds=s,this.pos=0,this.posOut=0,this.finished=!1,this.destroyed=!1,n.default.number(i),0>=this.blockLen||this.blockLen>=200)throw Error("Sha3 supports only keccak-f1600 function");this.state=new Uint8Array(200),this.state32=(0,o.u32)(this.state)}keccak(){y(this.state32,this.rounds),this.posOut=0,this.pos=0}update(e){n.default.exists(this);let{blockLen:t,state:i}=this,r=(e=(0,o.toBytes)(e)).length;for(let n=0;n=i&&this.keccak();let o=Math.min(i-this.posOut,r-n);e.set(t.subarray(this.posOut,this.posOut+o),n),this.posOut+=o,n+=o}return e}xofInto(e){if(!this.enableXOF)throw Error("XOF is not possible for this instance");return this.writeInto(e)}xof(e){return n.default.number(e),this.xofInto(new Uint8Array(e))}digestInto(e){if(n.default.output(e,this),this.finished)throw 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){let{blockLen:t,suffix:i,outputLen:n,rounds:r,enableXOF:o}=this;return e||(e=new _(t,i,n,o,r)),e.state32.set(this.state32),e.pos=this.pos,e.posOut=this.posOut,e.finished=this.finished,e.rounds=r,e.suffix=i,e.outputLen=n,e.enableXOF=o,e.destroyed=this.destroyed,e}}t.Keccak=_;let w=(e,t,i)=>(0,o.wrapConstructor)(()=>new _(t,e,i));t.sha3_224=w(6,144,28),t.sha3_256=w(6,136,32),t.sha3_384=w(6,104,48),t.sha3_512=w(6,72,64),t.keccak_224=w(1,144,28),t.keccak_256=w(1,136,32),t.keccak_384=w(1,104,48),t.keccak_512=w(1,72,64);let C=(e,t,i)=>(0,o.wrapXOFConstructorWithOpts)((n={})=>new _(t,e,void 0===n.dkLen?i:n.dkLen,!0));t.shake128=C(31,168,16),t.shake256=C(31,136,32)},50300:(e,t,i)=>{"use strict";/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */Object.defineProperty(t,"__esModule",{value:!0}),t.randomBytes=t.wrapXOFConstructorWithOpts=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;let n=i(44937),r=e=>e instanceof Uint8Array;if(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),t.rotr=(e,t)=>e<<32-t|e>>>t,t.isLE=68===new Uint8Array(new Uint32Array([287454020]).buffer)[0],!t.isLE)throw Error("Non little-endian hardware is not supported");let o=Array.from({length:256},(e,t)=>t.toString(16).padStart(2,"0"));t.bytesToHex=function(e){if(!r(e))throw Error("Uint8Array expected");let t="";for(let i=0;i{};async function a(e,i,n){let r=Date.now();for(let o=0;o=0&&ee+t.length,0)),i=0;return e.forEach(e=>{if(!r(e))throw Error("Uint8Array expected");t.set(e,i),i+=e.length}),t},t.Hash=class{clone(){return this._cloneInto()}};let d=e=>"[object Object]"===Object.prototype.toString.call(e)&&e.constructor===Object;t.checkOpts=function(e,t){if(void 0!==t&&("object"!=typeof t||!d(t)))throw Error("Options should be object or undefined");return Object.assign(e,t)},t.wrapConstructor=function(e){let t=t=>e().update(u(t)).digest(),i=e();return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=()=>e(),t},t.wrapConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.wrapXOFConstructorWithOpts=function(e){let t=(t,i)=>e(i).update(u(t)).digest(),i=e({});return t.outputLen=i.outputLen,t.blockLen=i.blockLen,t.create=t=>e(t),t},t.randomBytes=function(e=32){if(n.crypto&&"function"==typeof n.crypto.getRandomValues)return n.crypto.getRandomValues(new Uint8Array(e));throw Error("crypto.getRandomValues must be defined")}},80101:(e,t,i)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.secp256k1=void 0;var n=i(22934);Object.defineProperty(t,"secp256k1",{enumerable:!0,get:function(){return n.secp256k1}})},10144:function(e,t,i){"use strict";let n,r;e=i.nmd(e);var o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.crypto=t.wrapHash=t.equalsBytes=t.hexToBytes=t.bytesToUtf8=t.utf8ToBytes=t.createView=t.concatBytes=t.toHex=t.bytesToHex=t.assertBytes=t.assertBool=void 0;let s=o(i(91839)),a=i(50300),l=s.default.bool;t.assertBool=l;let u=s.default.bytes;t.assertBytes=u;var d=i(50300);Object.defineProperty(t,"bytesToHex",{enumerable:!0,get:function(){return d.bytesToHex}}),Object.defineProperty(t,"toHex",{enumerable:!0,get:function(){return d.bytesToHex}}),Object.defineProperty(t,"concatBytes",{enumerable:!0,get:function(){return d.concatBytes}}),Object.defineProperty(t,"createView",{enumerable:!0,get:function(){return d.createView}}),Object.defineProperty(t,"utf8ToBytes",{enumerable:!0,get:function(){return d.utf8ToBytes}}),t.bytesToUtf8=function(e){if(!(e instanceof Uint8Array))throw TypeError(`bytesToUtf8 expected Uint8Array, got ${typeof e}`);return new TextDecoder().decode(e)},t.hexToBytes=function(e){let t=e.startsWith("0x")?e.substring(2):e;return(0,a.hexToBytes)(t)},t.equalsBytes=function(e,t){if(e.length!==t.length)return!1;for(let i=0;i(s.default.bytes(t),e(t))},t.crypto=(n="object"==typeof globalThis&&"crypto"in globalThis?globalThis.crypto:void 0,{node:(r="function"==typeof e.require&&e.require.bind(e))&&!n?r("crypto"):void 0,web:n})},22699:e=>{"use strict";var t,i="object"==typeof Reflect?Reflect:null,n=i&&"function"==typeof i.apply?i.apply:function(e,t,i){return Function.prototype.apply.call(e,t,i)};t=i&&"function"==typeof i.ownKeys?i.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var r=Number.isNaN||function(e){return e!=e};function o(){o.init.call(this)}e.exports=o,e.exports.once=function(e,t){return new Promise(function(i,n){function r(i){e.removeListener(t,o),n(i)}function o(){"function"==typeof e.removeListener&&e.removeListener("error",r),i([].slice.call(arguments))}f(e,t,o,{once:!0}),"error"!==t&&"function"==typeof e.on&&f(e,"error",r,{once:!0})})},o.EventEmitter=o,o.prototype._events=void 0,o.prototype._eventsCount=0,o.prototype._maxListeners=void 0;var s=10;function a(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?o.defaultMaxListeners:e._maxListeners}function u(e,t,i,n){if(a(i),void 0===(o=e._events)?(o=e._events=Object.create(null),e._eventsCount=0):(void 0!==o.newListener&&(e.emit("newListener",t,i.listener?i.listener:i),o=e._events),s=o[t]),void 0===s)s=o[t]=i,++e._eventsCount;else if("function"==typeof s?s=o[t]=n?[i,s]:[s,i]:n?s.unshift(i):s.push(i),(r=l(e))>0&&s.length>r&&!s.warned){s.warned=!0;var r,o,s,u=Error("Possible EventEmitter memory leak detected. "+s.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=s.length,console&&console.warn&&console.warn(u)}return e}function d(){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 c(e,t,i){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:i},r=d.bind(n);return r.listener=i,n.wrapFn=r,r}function h(e,t,i){var n=e._events;if(void 0===n)return[];var r=n[t];return void 0===r?[]:"function"==typeof r?i?[r.listener||r]:[r]:i?function(e){for(var t=Array(e.length),i=0;i0&&(s=t[0]),s instanceof Error)throw s;var s,a=Error("Unhandled error."+(s?" ("+s.message+")":""));throw a.context=s,a}var l=o[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else for(var u=l.length,d=p(l,u),i=0;i=0;o--)if(i[o]===t||i[o].listener===t){s=i[o].listener,r=o;break}if(r<0)return this;0===r?i.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},o.prototype.listeners=function(e){return h(this,e,!0)},o.prototype.rawListeners=function(e){return h(this,e,!1)},o.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):g.call(e,t)},o.prototype.listenerCount=g,o.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},69378:e=>{"use strict";e.exports=function e(t,i){if(t===i)return!0;if(t&&i&&"object"==typeof t&&"object"==typeof i){if(t.constructor!==i.constructor)return!1;if(Array.isArray(t)){if((n=t.length)!=i.length)return!1;for(r=n;0!=r--;)if(!e(t[r],i[r]))return!1;return!0}if(t.constructor===RegExp)return t.source===i.source&&t.flags===i.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===i.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===i.toString();if((n=(o=Object.keys(t)).length)!==Object.keys(i).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(i,o[r]))return!1;for(r=n;0!=r--;){var n,r,o,s=o[r];if(!e(t[s],i[s]))return!1}return!0}return t!=t&&i!=i}},77847:e=>{e.exports=s,s.default=s,s.stable=u,s.stableStringify=u;var t="[...]",i="[Circular]",n=[],r=[];function o(){return{depthLimit:Number.MAX_SAFE_INTEGER,edgesLimit:Number.MAX_SAFE_INTEGER}}function s(e,s,l,u){void 0===u&&(u=o()),function e(n,r,o,s,l,u,d){if(u+=1,"object"==typeof n&&null!==n){for(c=0;cd.depthLimit||void 0!==d.edgesLimit&&o+1>d.edgesLimit){a(t,n,r,l);return}if(s.push(n),Array.isArray(n))for(c=0;ct?1:0}function u(e,s,u,c){void 0===c&&(c=o());var h,g=function e(r,o,s,u,d,c,h){if(c+=1,"object"==typeof r&&null!==r){for(g=0;gh.depthLimit||void 0!==h.edgesLimit&&s+1>h.edgesLimit){a(t,r,o,d);return}if(u.push(r),Array.isArray(r))for(g=0;g0)for(var n=0;n{"use strict";var n=i(9680),r=Object.prototype.toString,o=Object.prototype.hasOwnProperty,s=function(e,t,i){for(var n=0,r=e.length;n=3&&(o=i),"[object Array]"===r.call(e)?s(e,t,o):"string"==typeof e?a(e,t,o):l(e,t,o)}},71416:(e,t,i)=>{"use strict";i.d(t,{y:()=>y});var n=i(99724),r=i(89738),o=i(21778),s=i(2466),a=i(85285);function l({duration:e=300,keyframes:t,times:i,ease:l="easeInOut"}){let u=(0,r.N)(l)?l.map(o.R):(0,o.R)(l),d={done:!1,value:t[0]},c=(i&&i.length===t.length?i:(0,a.Y)(t)).map(t=>t*e),h=(0,s.s)(c,t,{ease:Array.isArray(u)?u:t.map(()=>u||n.mZ).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(d.value=h(t),d.done=t>=e,d)}}var u=i(10913),d=i(77977);function c({keyframes:e,velocity:t=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:c=.5,restSpeed:h}){let g,p;let f=e[0],m={done:!1,value:f},v=e=>void 0!==a&&el,b=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)-y*Math.exp(-e/n),S=e=>w+C(e),x=e=>{let t=C(e),i=S(e);m.done=Math.abs(t)<=c,m.value=m.done?w:i},k=e=>{v(m.value)&&(g=e,p=(0,u.S)({keyframes:[m.value,b(m.value)],velocity:(0,d.P)(S,e,m.value),damping:r,stiffness:o,restDelta:c,restSpeed:h}))};return k(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==g||(t=!0,x(e),k(e)),void 0!==g&&e>g)?p.next(e-g):(t||x(e),m)}}}var h=i(2885),g=i(96002);let p=e=>{let t=({timestamp:t})=>e(t);return{start:()=>h.Wi.update(t,!0),stop:()=>(0,h.Pn)(t),now:()=>g.frameData.isProcessing?g.frameData.timestamp:performance.now()}};var f=i(53913),m=i(84657),v=i(91887);let b={decay:c,inertia:c,tween:l,keyframes:l,spring:u.S};function y({autoplay:e=!0,delay:t=0,driver:i=p,keyframes:n,type:r="keyframes",repeat:o=0,repeatDelay:a=0,repeatType:u="loop",onPlay:d,onStop:c,onComplete:h,onUpdate:g,...y}){let _,w,C,S,x,k=1,E=!1,L=()=>{_&&_(),w=new Promise(e=>{_=e})};L();let D=b[r]||l;D!==l&&"number"!=typeof n[0]&&(S=(0,s.s)([0,100],n,{clamp:!1}),n=[0,100]);let N=D({...y,keyframes:n});"mirror"===u&&(x=D({...y,keyframes:[...n].reverse(),velocity:-(y.velocity||0)}));let A="idle",T=null,I=null,M=null;null===N.calculatedDuration&&o&&(N.calculatedDuration=(0,v.i)(N));let{calculatedDuration:O}=N,P=1/0,R=1/0;null!==O&&(R=(P=O+a)*(o+1)-a);let F=0,B=e=>{if(null===I)return;k>0&&(I=Math.min(I,e));let i=(F=null!==T?T:(e-I)*k)-t,r=i<0;F=Math.max(i,0),"finished"===A&&null===T&&(F=R);let s=F,l=N;if(o){let e=F/P,t=Math.floor(e),i=e%1;!i&&e>=1&&(i=1),1===i&&t--;let n=!!((t=Math.min(t,o+1))%2);n&&("reverse"===u?(i=1-i,a&&(i-=a/P)):"mirror"===u&&(l=x));let r=(0,f.u)(0,1,i);F>R&&(r="reverse"===u&&n?1:0),s=r*P}let d=r?{done:!1,value:n[0]}:l.next(s);S&&(d.value=S(d.value));let{done:c}=d;r||null===O||(c=F>=R);let h=null===T&&("finished"===A||"running"===A&&c||k<0&&F<=0);return g&&g(d.value),h&&j(),d},V=()=>{C&&C.stop(),C=void 0},H=()=>{A="idle",V(),L(),I=M=null},j=()=>{A="finished",h&&h(),V(),L()},W=()=>{if(E)return;C||(C=i(B));let e=C.now();d&&d(),null!==T?I=e-T:I&&"finished"!==A||(I=e),M=I,T=null,A="running",C.start()};e&&W();let z={then:(e,t)=>w.then(e,t),get time(){return(0,m.X)(F)},set time(newTime){F=newTime=(0,m.w)(newTime),null===T&&C&&0!==k?I=C.now()-newTime/k:T=newTime},get duration(){let e=null===N.calculatedDuration?(0,v.i)(N):N.calculatedDuration;return(0,m.X)(e)},get speed(){return k},set speed(newSpeed){if(newSpeed===k||!C)return;k=newSpeed,z.time=(0,m.X)(F)},get state(){return A},play:W,pause:()=>{A="paused",T=F},stop:()=>{E=!0,"idle"!==A&&(A="idle",c&&c(),H())},cancel:()=>{null!==M&&B(M),H()},complete:()=>{A="finished"},sample:e=>(I=0,B(e))};return z}},59513:(e,t,i)=>{"use strict";i.d(t,{hR:()=>r,eB:()=>a});let n=e=>Array.isArray(e)&&"number"==typeof e[0];function r(e){return!!(!e||"string"==typeof e&&s[e]||n(e)||Array.isArray(e)&&e.every(r))}let o=([e,t,i,n])=>`cubic-bezier(${e}, ${t}, ${i}, ${n})`,s={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:o([0,.65,.55,1]),circOut:o([.55,0,1,.45]),backIn:o([.31,.01,.66,-.59]),backOut:o([.33,1.53,.69,.99])};function a(e){if(e)return n(e)?o(e):Array.isArray(e)?e.map(a):s[e]}},72620:(e,t,i)=>{"use strict";i.d(t,{p:()=>r});var n=i(59513);function r(e,t,i,{delay:r=0,duration:o,repeat:s=0,repeatType:a="loop",ease:l,times:u}={}){let d={[t]:i};u&&(d.offset=u);let c=(0,n.eB)(l);return Array.isArray(c)&&(d.easing=c),e.animate(d,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"})}},10913:(e,t,i)=>{"use strict";i.d(t,{S:()=>c});var n=i(84657),r=i(77977),o=i(33029),s=i(53913);function a(e,t){return e*Math.sqrt(1-t*t)}let l=["duration","bounce"],u=["stiffness","damping","mass"];function d(e,t){return t.some(t=>void 0!==e[t])}function c({keyframes:e,restDelta:t,restSpeed:i,...c}){let h;let g=e[0],p=e[e.length-1],f={done:!1,value:g},{stiffness:m,damping:v,mass:b,velocity:y,duration:_,isResolvedFromDuration:w}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!d(e,u)&&d(e,l)){let i=function({duration:e=800,bounce:t=.25,velocity:i=0,mass:r=1}){let l,u;(0,o.K)(e<=(0,n.w)(10),"Spring duration must be 10 seconds or less");let d=1-t;d=(0,s.u)(.05,1,d),e=(0,s.u)(.01,10,(0,n.X)(e)),d<1?(l=t=>{let n=t*d,r=n*e;return .001-(n-i)/a(t,d)*Math.exp(-r)},u=t=>{let n=t*d*e,r=Math.pow(d,2)*Math.pow(t,2)*e,o=a(Math.pow(t,2),d);return(-l(t)+.001>0?-1:1)*((n*i+i-r)*Math.exp(-n))/o}):(l=t=>-.001+Math.exp(-t*e)*((t-i)*e+1),u=t=>Math.exp(-t*e)*((i-t)*(e*e)));let c=function(e,t,i){let n=i;for(let i=1;i<12;i++)n-=e(n)/t(n);return n}(l,u,5/e);if(e=(0,n.w)(e),isNaN(c))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(c,2)*r;return{stiffness:t,damping:2*d*Math.sqrt(r*t),duration:e}}}(e);(t={...t,...i,velocity:0,mass:1}).isResolvedFromDuration=!0}return t}(c),C=y?-(0,n.X)(y):0,S=v/(2*Math.sqrt(m*b)),x=p-g,k=(0,n.X)(Math.sqrt(m/b)),E=5>Math.abs(x);if(i||(i=E?.01:2),t||(t=E?.005:.5),S<1){let e=a(k,S);h=t=>p-Math.exp(-S*k*t)*((C+S*k*x)/e*Math.sin(e*t)+x*Math.cos(e*t))}else if(1===S)h=e=>p-Math.exp(-k*e)*(x+(C+k*x)*e);else{let e=k*Math.sqrt(S*S-1);h=t=>{let i=Math.exp(-S*k*t),n=Math.min(e*t,300);return p-i*((C+S*k*x)*Math.sinh(n)+e*x*Math.cosh(n))/e}}return{calculatedDuration:w&&_||null,next:e=>{let n=h(e);if(w)f.done=e>=_;else{let o=C;0!==e&&(o=S<1?(0,r.P)(h,e,n):0);let s=Math.abs(o)<=i,a=Math.abs(p-n)<=t;f.done=s&&a}return f.value=f.done?p:n,f}}}},91887:(e,t,i)=>{"use strict";i.d(t,{E:()=>n,i:()=>r});let n=2e4;function r(e){let t=0,i=e.next(t);for(;!i.done&&t=n?1/0:t}},77977:(e,t,i)=>{"use strict";i.d(t,{P:()=>r});var n=i(32369);function r(e,t,i){let r=Math.max(t-5,0);return(0,n.R)(i-e(r),t-r)}},17985:(e,t,i)=>{"use strict";i.d(t,{v:()=>L});var n=i(33029),r=i(84657),o=i(37981),s=i(2885),a=i(72620),l=i(59513);let u={waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate")},d={},c={};for(let e in u)c[e]=()=>(void 0===d[e]&&(d[e]=u[e]()),d[e]);var h=i(71416);let g=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),p=(e,t)=>"spring"===t.type||"backgroundColor"===e||!(0,l.hR)(t.ease);var f=i(606),m=i(67188);let v={type:"spring",stiffness:500,damping:25,restSpeed:10},b=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),y={type:"keyframes",duration:.8},_={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},w=(e,{keyframes:t})=>t.length>2?y:m.G.has(e)?e.startsWith("scale")?b(t[1]):v:_;var C=i(99514);let S=(e,t)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(C.P.test(t)||"0"===t)&&!t.startsWith("url("));var x=i(51997),k=i(65508),E=i(98548);let L=(e,t,i,l={})=>u=>{let d=(0,E.e)(l,e)||{},m=d.delay||l.delay||0,{elapsed:v=0}=l;v-=(0,r.w)(m);let b=function(e,t,i,n){let r,o;let s=S(t,i);r=Array.isArray(i)?[...i]:[null,i];let a=void 0!==n.from?n.from:e.get(),l=[];for(let e=0;e{t.set(e),d.onUpdate&&d.onUpdate(e)},onComplete:()=>{u(),d.onComplete&&d.onComplete()}};if((0,E.r)(d)||(D={...D,...w(e,D)}),D.duration&&(D.duration=(0,r.w)(D.duration)),D.repeatDelay&&(D.repeatDelay=(0,r.w)(D.repeatDelay)),!C||!L||o.c.current||!1===d.type)return function({keyframes:e,delay:t,onUpdate:i,onComplete:n}){let r=()=>(i&&i(e[e.length-1]),n&&n(),{time:0,speed:1,duration:0,play:f.Z,pause:f.Z,stop:f.Z,then:e=>(e(),Promise.resolve()),cancel:f.Z,complete:f.Z});return t?(0,h.y)({keyframes:[0,1],duration:0,delay:t,onComplete:r}):r()}(D);if(t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate){let i=function(e,t,{onUpdate:i,onComplete:n,...o}){let l,u;if(!(c.waapi()&&g.has(t)&&!o.repeatDelay&&"mirror"!==o.repeatType&&0!==o.damping&&"inertia"!==o.type))return!1;let d=!1,f=()=>{u=new Promise(e=>{l=e})};f();let{keyframes:m,duration:v=300,ease:b,times:y}=o;if(p(t,o)){let e=(0,h.y)({...o,repeat:0,delay:0}),t={done:!1,value:m[0]},i=[],n=0;for(;!t.done&&n<2e4;)i.push((t=e.sample(n)).value),n+=10;y=void 0,m=i,v=n-10,b="linear"}let _=(0,a.p)(e.owner.current,t,m,{...o,duration:v,ease:b,times:y}),w=()=>_.cancel(),C=()=>{s.Wi.update(w),l(),f()};return _.onfinish=()=>{e.set(function(e,{repeat:t,repeatType:i="loop"}){let n=t&&"loop"!==i&&t%2==1?0:e.length-1;return e[n]}(m,o)),n&&n(),C()},{then:(e,t)=>u.then(e,t),get time(){return(0,r.X)(_.currentTime||0)},set time(newTime){_.currentTime=(0,r.w)(newTime)},get speed(){return _.playbackRate},set speed(newSpeed){_.playbackRate=newSpeed},get duration(){return(0,r.X)(v)},play:()=>{d||(_.play(),(0,s.Pn)(w))},pause:()=>_.pause(),stop:()=>{if(d=!0,"idle"===_.playState)return;let{currentTime:t}=_;if(t){let i=(0,h.y)({...o,autoplay:!1});e.setWithVelocity(i.sample(t-10).value,i.sample(t).value,10)}C()},complete:()=>_.finish(),cancel:C}}(t,e,D);if(i)return i}return(0,h.y)(D)}},62037:(e,t,i)=>{"use strict";i.d(t,{D:()=>s});var n=i(17985),r=i(7881),o=i(8423);function s(e,t,i){let s=(0,o.i)(e)?e:(0,r.B)(e);return s.start((0,n.v)("",s,t,i)),s.animation}},63741:(e,t,i)=>{"use strict";i.d(t,{w:()=>u});var n=i(2885),r=i(67188),o=i(51556),s=i(17985),a=i(64595),l=i(51527);function u(e,t,{delay:i=0,transitionOverride:u,type:d}={}){let{transition:c=e.getDefaultTransition(),transitionEnd:h,...g}=e.makeTargetAnimatable(t),p=e.getValue("willChange");u&&(c=u);let f=[],m=d&&e.animationState&&e.animationState.getState()[d];for(let t in g){let l=e.getValue(t),u=g[t];if(!l||void 0===u||m&&function({protectedKeys:e,needsAnimating:t},i){let n=e.hasOwnProperty(i)&&!0!==t[i];return t[i]=!1,n}(m,t))continue;let d={delay:i,elapsed:0,...c};if(window.HandoffAppearAnimations&&!l.hasAnimated){let i=e.getProps()[o.M];i&&(d.elapsed=window.HandoffAppearAnimations(i,t,l,n.Wi))}l.start((0,s.v)(t,l,u,e.shouldReduceMotion&&r.G.has(t)?{type:!1}:d));let h=l.animation;(0,a.L)(p)&&(p.add(t),h.then(()=>p.remove(t))),f.push(h)}return h&&Promise.all(f).then(()=>{h&&(0,l.CD)(e,h)}),f}},99519:(e,t,i)=>{"use strict";i.d(t,{d:()=>a});var n=i(66968),r=i(63741);function o(e,t,i={}){let a=(0,n.x)(e,t,i.custom),{transition:l=e.getDefaultTransition()||{}}=a||{};i.transitionOverride&&(l=i.transitionOverride);let u=a?()=>Promise.all((0,r.w)(e,a,i)):()=>Promise.resolve(),d=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:a,staggerDirection:u}=l;return function(e,t,i=0,n=0,r=1,a){let l=[],u=(e.variantChildren.size-1)*n,d=1===r?(e=0)=>e*n:(e=0)=>u-e*n;return Array.from(e.variantChildren).sort(s).forEach((e,n)=>{e.notify("AnimationStart",t),l.push(o(e,t,{...a,delay:i+d(n)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(l)}(e,t,r+n,a,u,i)}:()=>Promise.resolve(),{when:c}=l;if(!c)return Promise.all([u(),d(i.delay)]);{let[e,t]="beforeChildren"===c?[u,d]:[d,u];return e().then(()=>t())}}function s(e,t){return e.sortNodePosition(t)}function a(e,t,i={}){let s;if(e.notify("AnimationStart",t),Array.isArray(t))s=Promise.all(t.map(t=>o(e,t,i)));else if("string"==typeof t)s=o(e,t,i);else{let o="function"==typeof t?(0,n.x)(e,t,i.custom):t;s=Promise.all((0,r.w)(e,o,i))}return s.then(()=>e.notify("AnimationComplete",t))}},51556:(e,t,i)=>{"use strict";i.d(t,{M:()=>o,t:()=>r});var n=i(52069);let r="framerAppearId",o="data-"+(0,n.D)(r)},91129:(e,t,i)=>{"use strict";function n(e){return"object"==typeof e&&"function"==typeof e.start}i.d(t,{H:()=>n})},54365:(e,t,i)=>{"use strict";i.d(t,{C:()=>n});let n=e=>Array.isArray(e)},98548:(e,t,i)=>{"use strict";function n({when:e,delay:t,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}function r(e,t){return e[t]||e.default||e}i.d(t,{e:()=>r,r:()=>n})},82988:(e,t,i)=>{"use strict";i.d(t,{M:()=>v});var n=i(2784),r=i(58550),o=i(85632),s=i(49501),a=i(75248);class l extends n.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){let i=(0,n.useId)(),r=(0,n.useRef)(null),o=(0,n.useRef)({width:0,height:0,top:0,left:0});return(0,n.useInsertionEffect)(()=>{let{width:e,height:n,top:s,left:a}=o.current;if(t||!r.current||!e||!n)return;r.current.dataset.motionPopId=i;let l=document.createElement("style");return document.head.appendChild(l),l.sheet&&l.sheet.insertRule(` [data-motion-pop-id="${i}"] { position: absolute !important; width: ${e}px !important; @@ -2362,15 +2362,15 @@ zoo`.split("\n")},1162:(e,t)=>{"use strict";function i(e){if(!Number.isSafeInteg top: ${s}px !important; left: ${a}px !important; } - `),()=>{document.head.removeChild(l)}},[t]),n.createElement(l,{isPresent:t,childRef:r,sizeRef:o},n.cloneElement(e,{ref:r}))}let d=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:o,presenceAffectsLayout:l,mode:d})=>{let h=(0,a.h)(c),g=(0,n.useId)(),p=(0,n.useMemo)(()=>({id:g,initial:t,isPresent:i,custom:o,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;r&&r()},register:e=>(h.set(e,!1),()=>h.delete(e))}),l?void 0:[i]);return(0,n.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[i]),n.useEffect(()=>{i||h.size||!r||r()},[i]),"popLayout"===d&&(e=n.createElement(u,{isPresent:i},e)),n.createElement(s.O.Provider,{value:p},e)};function c(){return new Map}var h=i(30200),g=i(53072),p=i(55212),f=i(33029);let m=e=>e.key||"",v=({children:e,custom:t,initial:i=!0,onExitComplete:s,exitBeforeEnter:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,f.k)(!a,"Replace exitBeforeEnter with mode='wait'");let c=(0,n.useContext)(h.p).forceRender||(0,r.N)()[0],v=(0,o.t)(),b=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),y=b,_=(0,n.useRef)(new Map).current,w=(0,n.useRef)(y),C=(0,n.useRef)(new Map).current,S=(0,n.useRef)(!0);if((0,g.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let i=m(e);t.set(i,e)})}(b,C),w.current=y}),(0,p.z)(()=>{S.current=!0,C.clear(),_.clear()}),S.current)return n.createElement(n.Fragment,null,y.map(e=>n.createElement(d,{key:m(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:l,mode:u},e)));y=[...y];let x=w.current.map(m),k=b.map(m),E=x.length;for(let e=0;e{if(-1!==k.indexOf(i))return;let r=C.get(i);if(!r)return;let o=x.indexOf(i),a=e;a||(a=n.createElement(d,{key:m(r),isPresent:!1,onExitComplete:()=>{C.delete(i),_.delete(i);let e=w.current.findIndex(e=>e.key===i);if(w.current.splice(e,1),!_.size){if(w.current=b,!1===v.current)return;c(),s&&s()}},custom:t,presenceAffectsLayout:l,mode:u},r),_.set(i,a)),y.splice(o,0,a)}),y=y.map(e=>{let t=e.key;return _.has(t)?e:n.createElement(d,{key:m(e),isPresent:!0,presenceAffectsLayout:l,mode:u},e)}),n.createElement(n.Fragment,null,_.size?y:y.map(e=>(0,n.cloneElement)(e)))}},32565:(e,t,i)=>{"use strict";i.d(t,{hO:()=>s,oO:()=>o});var n=i(2784),r=i(49501);function o(){let e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:i,register:o}=e,s=(0,n.useId)();return(0,n.useEffect)(()=>o(s),[]),!t&&i?[!1,()=>i&&i(s)]:[!0]}function s(){var e;return null===(e=(0,n.useContext)(r.O))||e.isPresent}},30200:(e,t,i)=>{"use strict";i.d(t,{p:()=>n});let n=(0,i(2784).createContext)({})},75902:(e,t,i)=>{"use strict";i.d(t,{u:()=>n});let n=(0,i(2784).createContext)({strict:!1})},75045:(e,t,i)=>{"use strict";i.d(t,{_:()=>n});let n=(0,i(2784).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},58456:(e,t,i)=>{"use strict";i.d(t,{v:()=>n});let n=(0,i(2784).createContext)({})},49501:(e,t,i)=>{"use strict";i.d(t,{O:()=>n});let n=(0,i(2784).createContext)(null)},71633:(e,t,i)=>{"use strict";i.d(t,{g:()=>n});let n=(0,i(2784).createContext)({})},19647:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(98210);let r=e=>(e*=2)<1?.5*(0,n.G2)(e):.5*(2-Math.pow(2,-10*(e-1)))},98210:(e,t,i)=>{"use strict";i.d(t,{CG:()=>s,G2:()=>a,XL:()=>l});var n=i(19325),r=i(67210),o=i(21509);let s=(0,n._)(.33,1.53,.69,.99),a=(0,o.M)(s),l=(0,r.o)(a)},72375:(e,t,i)=>{"use strict";i.d(t,{Bn:()=>s,X7:()=>a,Z7:()=>o});var n=i(67210),r=i(21509);let o=e=>1-Math.sin(Math.acos(e)),s=(0,r.M)(o),a=(0,n.o)(s)},19325:(e,t,i)=>{"use strict";i.d(t,{_:()=>o});var n=i(606);let r=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function o(e,t,i,o){if(e===t&&i===o)return n.Z;let s=t=>(function(e,t,i,n,o){let s,a;let l=0;do(s=r(a=t+(i-t)/2,n,o)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++l<12)return a})(t,0,1,e,i);return e=>0===e||1===e?e:r(s(e),t,o)}},99724:(e,t,i)=>{"use strict";i.d(t,{Vv:()=>o,YQ:()=>r,mZ:()=>s});var n=i(19325);let r=(0,n._)(.42,0,1,1),o=(0,n._)(0,0,.58,1),s=(0,n._)(.42,0,.58,1)},67210:(e,t,i)=>{"use strict";i.d(t,{o:()=>n});let n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},21509:(e,t,i)=>{"use strict";i.d(t,{M:()=>n});let n=e=>t=>1-e(1-t)},89738:(e,t,i)=>{"use strict";i.d(t,{N:()=>n});let n=e=>Array.isArray(e)&&"number"!=typeof e[0]},21778:(e,t,i)=>{"use strict";i.d(t,{R:()=>c});var n=i(33029),r=i(19325),o=i(606),s=i(99724),a=i(72375),l=i(98210),u=i(19647);let d={linear:o.Z,easeIn:s.YQ,easeInOut:s.mZ,easeOut:s.Vv,circIn:a.Z7,circInOut:a.X7,circOut:a.Bn,backIn:l.G2,backInOut:l.XL,backOut:l.CG,anticipate:u.L},c=e=>{if(Array.isArray(e)){(0,n.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,o,s]=e;return(0,r._)(t,i,o,s)}return"string"==typeof e?((0,n.k)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}},44925:(e,t,i)=>{"use strict";function n(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}i.d(t,{E:()=>n})},52813:(e,t,i)=>{"use strict";i.d(t,{a:()=>o});var n=i(44925),r=i(93273);function o(e,t,i,o){return(0,n.E)(e,t,(0,r.s)(i),o)}},93273:(e,t,i)=>{"use strict";i.d(t,{Q:()=>r,s:()=>o});var n=i(52894);function r(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let o=e=>t=>(0,n.D)(t)&&e(t,r(t))},52894:(e,t,i)=>{"use strict";i.d(t,{D:()=>n});let n=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary},96002:(e,t,i)=>{"use strict";i.d(t,{frameData:()=>n});let n={delta:0,timestamp:0,isProcessing:!1}},2885:(e,t,i)=>{"use strict";i.d(t,{Pn:()=>h,Wi:()=>c,S6:()=>a,BS:()=>s});var n=i(96002);let r=!0,o=!1,s=["read","update","preRender","render","postRender"],a=s.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;io=!0),e),{}),l=e=>a[e].process(n.frameData),u=e=>{o=!1,n.frameData.delta=r?1e3/60:Math.max(Math.min(e-n.frameData.timestamp,40),1),n.frameData.timestamp=e,n.frameData.isProcessing=!0,s.forEach(l),n.frameData.isProcessing=!1,o&&(r=!1,requestAnimationFrame(u))},d=()=>{o=!0,r=!0,n.frameData.isProcessing||requestAnimationFrame(u)},c=s.reduce((e,t)=>{let i=a[t];return e[t]=(e,t=!1,n=!1)=>(o||d(),i.schedule(e,t,n)),e},{});function h(e){s.forEach(t=>a[t].cancel(e))}},86321:(e,t,i)=>{"use strict";function n(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}i.d(t,{fJ:()=>s,gD:()=>a});let r=n("dragHorizontal"),o=n("dragVertical");function s(e){let t=!1;if("y"===e)t=o();else if("x"===e)t=r();else{let e=r(),i=o();e&&i?t=()=>{e(),i()}:(e&&e(),i&&i())}return t}function a(){let e=s(!0);return!e||(e(),!1)}},84392:(e,t,i)=>{"use strict";let n,r;i.r(t),i.d(t,{AnimatePresence:()=>u.M,AnimateSharedLayout:()=>t3,DeprecatedLayoutGroupContext:()=>_,DragControls:()=>tm,FlatTree:()=>tK.E,LayoutGroup:()=>k,LayoutGroupContext:()=>y.p,LazyMotion:()=>v,MotionConfig:()=>p,MotionConfigContext:()=>c._,MotionContext:()=>tU.v,MotionValue:()=>M.H,PresenceContext:()=>t$.O,Reorder:()=>q,SwitchLayoutGroupContext:()=>tq.g,VisualElement:()=>tk.l,addPointerEvent:()=>ig.a,addPointerInfo:()=>ip.s,addScaleCorrector:()=>tE.B,animate:()=>ts,animateValue:()=>et.y,animateVisualElement:()=>eq.d,animationControls:()=>eK,animations:()=>K.s,anticipate:()=>t7.L,backIn:()=>ie.G2,backInOut:()=>ie.XL,backOut:()=>ie.CG,buildTransform:()=>tM.P,calcLength:()=>ic.JO,cancelFrame:()=>V.Pn,cancelSync:()=>id,checkTargetForNewValues:()=>e$.GJ,circIn:()=>it.Z7,circInOut:()=>it.X7,circOut:()=>it.Bn,clamp:()=>t4.u,color:()=>tR.$,complex:()=>tP.P,createBox:()=>tZ.dO,createDomMotionComponent:()=>o.F,createMotionComponent:()=>tw.F,createScopedAnimate:()=>to,cubicBezier:()=>ir._,delay:()=>ia.g,distance:()=>il.T,distance2D:()=>il.y,domAnimation:()=>Z,domMax:()=>J,easeIn:()=>ii.YQ,easeInOut:()=>ii.mZ,easeOut:()=>ii.Vv,filterProps:()=>h.L,frame:()=>V.Wi,frameData:()=>ei.frameData,inView:()=>tp,interpolate:()=>P.s,invariant:()=>E.k,isBrowser:()=>im.j,isDragActive:()=>ih.gD,isMotionComponent:()=>tS,isMotionValue:()=>U.i,isValidMotionProp:()=>tc.Z,m:()=>l,makeUseVisualState:()=>tG.t,mirrorEasing:()=>io.o,mix:()=>N.C,motion:()=>o.E,motionValue:()=>M.B,optimizedAppearDataAttribute:()=>tV.M,pipe:()=>t9.z,progress:()=>eh.Y,px:()=>tO.px,resolveMotionValue:()=>ee.b,reverseEasing:()=>is.M,scroll:()=>eD,spring:()=>e2.S,stagger:()=>t5,startOptimizedAppearAnimation:()=>tz,steps:()=>V.S6,stepsOrder:()=>V.BS,sync:()=>iu,transform:()=>B,unwrapMotionComponent:()=>tx,useAnimate:()=>ta,useAnimation:()=>tu,useAnimationControls:()=>tl,useAnimationFrame:()=>eR,useCycle:()=>td,useDeprecatedAnimatedState:()=>tX,useDeprecatedInvertedScale:()=>t2,useDomEvent:()=>t_,useDragControls:()=>tb,useElementScroll:()=>eI,useForceUpdate:()=>w.N,useInView:()=>tf,useInstantLayoutTransition:()=>tD,useInstantTransition:()=>tT,useIsPresent:()=>th.hO,useIsomorphicLayoutEffect:()=>H.L,useMotionTemplate:()=>X,useMotionValue:()=>R,useMotionValueEvent:()=>eo,usePresence:()=>th.oO,useReducedMotion:()=>ez,useReducedMotionConfig:()=>eU,useResetProjection:()=>tI,useScroll:()=>eT,useSpring:()=>er,useTime:()=>eP,useTransform:()=>j,useUnmountEffect:()=>eG.z,useVelocity:()=>es,useViewportScroll:()=>eM,useWillChange:()=>eH,visualElementStore:()=>eZ.R,warning:()=>E.K,wrap:()=>e5});var o=i(40836),s=i(66314),a=i(48318);let l=(0,s.D)(a.w);var u=i(82988),d=i(2784),c=i(75045),h=i(11852),g=i(75248);function p({children:e,isValidProp:t,...i}){t&&(0,h.K)(t),(i={...(0,d.useContext)(c._),...i}).isStatic=(0,g.h)(()=>i.isStatic);let n=(0,d.useMemo)(()=>i,[JSON.stringify(i.transition),i.transformPagePoint,i.reducedMotion]);return d.createElement(c._.Provider,{value:n},e)}var f=i(75902),m=i(35288);function v({children:e,features:t,strict:i=!1}){let[,n]=(0,d.useState)(!b(t)),r=(0,d.useRef)(void 0);if(!b(t)){let{renderer:e,...i}=t;r.current=e,(0,m.K)(i)}return(0,d.useEffect)(()=>{b(t)&&t().then(({renderer:e,...t})=>{(0,m.K)(t),r.current=e,n(!0)})},[]),d.createElement(f.u.Provider,{value:{renderer:r.current,strict:i}},e)}function b(e){return"function"==typeof e}var y=i(30200);let _=(0,d.createContext)(null);var w=i(58550);let C=e=>!e.isLayoutDirty&&e.willUpdate(!1),S=e=>!0===e,x=e=>S(!0===e)||"id"===e,k=({children:e,id:t,inherit:i=!0})=>{let n=(0,d.useContext)(y.p),r=(0,d.useContext)(_),[o,s]=(0,w.N)(),a=(0,d.useRef)(null),l=n.id||r;null===a.current&&(x(i)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:S(i)&&n.group||function(){let e=new Set,t=new WeakMap,i=()=>e.forEach(C);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",i))},remove:n=>{e.delete(n);let r=t.get(n);r&&(r(),t.delete(n)),i()},dirty:i}}()});let u=(0,d.useMemo)(()=>({...a.current,forceRender:o}),[s]);return d.createElement(y.p.Provider,{value:u},e)};var E=i(33029);let L=(0,d.createContext)(null);var D=i(59738),N=i(51413);let A=(0,d.forwardRef)(function({children:e,as:t="ul",axis:i="y",onReorder:n,values:r,...s},a){let l=(0,g.h)(()=>(0,o.E)(t)),u=[],c=(0,d.useRef)(!1);return(0,E.k)(!!r,"Reorder.Group must be provided a values prop"),(0,d.useEffect)(()=>{c.current=!1}),d.createElement(l,{...s,ref:a,ignoreStrict:!0},d.createElement(L.Provider,{value:{axis:i,registerItem:(e,t)=>{t&&-1===u.findIndex(t=>e===t.value)&&(u.push({value:e,layout:t[i]}),u.sort(I))},updateOrder:(e,t,i)=>{if(c.current)return;let o=function(e,t,i,n){if(!n)return e;let r=e.findIndex(e=>e.value===t);if(-1===r)return e;let o=n>0?1:-1,s=e[r+o];if(!s)return e;let a=e[r],l=s.layout,u=(0,N.C)(l.min,l.max,.5);return 1===o&&a.layout.max+i>u||-1===o&&a.layout.min+i-1!==r.indexOf(e))))}}},e))});function T(e){return e.value}function I(e,t){return e.layout.min-t.layout.min}var M=i(7881);function R(e){let t=(0,g.h)(()=>(0,M.B)(e)),{isStatic:i}=(0,d.useContext)(c._);if(i){let[,i]=(0,d.useState)(e);(0,d.useEffect)(()=>t.on("change",i),[])}return t}var P=i(2466);let O=e=>"object"==typeof e&&e.mix,F=e=>O(e)?e.mix:void 0;function B(...e){let t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],r=e[1+i],o=e[2+i],s=e[3+i],a=(0,P.s)(r,o,{mixer:F(o[0]),...s});return t?a(n):a}var V=i(2885),H=i(53072);function W(e,t){let i=R(t()),n=()=>i.set(t());return n(),(0,H.L)(()=>{let t=()=>V.Wi.update(n,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),(0,V.Pn)(n)}}),i}function j(e,t,i,n){let r="function"==typeof t?t:B(t,i,n);return Array.isArray(e)?z(e,r):z([e],([e])=>r(e))}function z(e,t){let i=(0,g.h)(()=>[]);return W(e,()=>{i.length=0;let n=e.length;for(let t=0;t(0,o.E)(n)),c=(0,d.useContext)(L),h={x:$(t.x),y:$(t.y)},p=j([h.x,h.y],([e,t])=>e||t?1:"unset"),f=(0,d.useRef)(null);(0,E.k)(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:m,registerItem:v,updateOrder:b}=c;return(0,d.useEffect)(()=>{v(i,f.current)},[c]),d.createElement(u,{drag:m,...a,dragSnapToOrigin:!0,style:{...t,x:h.x,y:h.y,zIndex:p},layout:s,onDrag:(e,t)=>{let{velocity:n}=t;n[m]&&b(i,h[m].get(),n[m]),r&&r(e,t)},onLayoutMeasure:e=>{f.current=e},ref:l,ignoreStrict:!0},e)})};var K=i(17276),G=i(80181);let Z={renderer:i(75432).b,...K.s,...G.E};var Y=i(49289),Q=i(87608);let J={...Z,...Y.o,...Q.b};function X(e,...t){let i=e.length;return W(t.filter(U.i),function(){let n="";for(let r=0;r{n.current&&n.current.stop()};return(0,d.useInsertionEffect)(()=>r.attach((e,s)=>{if(i)return s(e);if(o(),n.current=(0,et.y)({keyframes:[r.get(),e],velocity:r.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s}),!ei.frameData.isProcessing){let e=performance.now()-ei.frameData.timestamp;e<30&&(n.current.time=(0,en.X)(e))}return r.get()},o),[JSON.stringify(t)]),(0,H.L)(()=>{if((0,U.i)(e))return e.on("change",e=>r.set(parseFloat(e)))},[r]),r}function eo(e,t,i){(0,d.useInsertionEffect)(()=>e.on(t,i),[e,t,i])}function es(e){let t=R(e.getVelocity());return eo(e,"velocityChange",e=>{t.set(e)}),t}function ea(e,t,i){var n;if("string"==typeof e){let r=document;t&&((0,E.k)(!!t.current,"Scope provided, but no element detected."),r=t.current),i?(null!==(n=i[e])&&void 0!==n||(i[e]=r.querySelectorAll(e)),e=i[e]):e=r.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}let el=new WeakMap;function eu({target:e,contentRect:t,borderBoxSize:i}){var n;null===(n=el.get(e))||void 0===n||n.forEach(n=>{n({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:i}=t[0];return{width:e,height:i}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,i)}})})}function ed(e){e.forEach(eu)}let ec=new Set;var eh=i(38172),eg=i(32369);let ep=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ef=()=>({time:0,x:ep(),y:ep()}),em={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ev(e,t,i,n){let r=i[t],{length:o,position:s}=em[t],a=r.current,l=i.time;r.current=e["scroll"+s],r.scrollLength=e["scroll"+o]-e["client"+o],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,eh.Y)(0,r.scrollLength,r.current);let u=n-l;r.velocity=u>50?0:(0,eg.R)(r.current-a,u)}let eb={All:[[0,0],[1,1]]},ey={start:0,center:.5,end:1};function e_(e,t,i=0){let n=0;if(void 0!==ey[e]&&(e=ey[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),i+n}let ew=[0,0];var eC=i(85285);let eS={x:0,y:0},ex=new WeakMap,ek=new WeakMap,eE=new WeakMap,eL=e=>e===document.documentElement?window:e;function eD(e,{container:t=document.documentElement,...i}={}){let o=eE.get(t);o||(o=new Set,eE.set(t,o));let s=function(e,t,i,n={}){return{measure:()=>(function(e,t=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=t===e?t.scrollWidth:t.clientWidth,i.y.targetLength=t===e?t.scrollHeight:t.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight})(e,n.target,i),update:t=>{ev(e,"x",i,t),ev(e,"y",i,t),i.time=t,(n.offset||n.target)&&function(e,t,i){let{offset:n=eb.All}=i,{target:r=e,axis:o="y"}=i,s="y"===o?"height":"width",a=r!==e?function(e,t){let i={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:e,left:t}=n.getBBox();for(i.x+=t,i.y+=e;n&&"svg"!==n.tagName;)n=n.parentNode}return i}(r,e):eS,l=r===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:r.clientWidth,height:r.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let d=!t[o].interpolate,c=n.length;for(let e=0;et(i)}}(t,e,ef(),i);if(o.add(s),!ex.has(t)){let e,i=()=>{for(let e of o)e.measure()},s=()=>{for(let e of o)e.update(ei.frameData.timestamp)},a=()=>{for(let e of o)e.notify()},l=()=>{V.Wi.read(i,!1,!0),V.Wi.update(s,!1,!0),V.Wi.update(a,!1,!0)};ex.set(t,l);let u=eL(t);window.addEventListener("resize",l,{passive:!0}),t!==document.documentElement&&ek.set(t,"function"==typeof t?(ec.add(t),r||(r=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ec.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{ec.delete(t),!ec.size&&r&&(r=void 0)}):(n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(ed)),(e=ea(t)).forEach(e=>{let t=el.get(e);t||(t=new Set,el.set(e,t)),t.add(l),null==n||n.observe(e)}),()=>{e.forEach(e=>{let t=el.get(e);null==t||t.delete(l),(null==t?void 0:t.size)||null==n||n.unobserve(e)})})),u.addEventListener("scroll",l,{passive:!0})}let a=ex.get(t);return V.Wi.read(a,!1,!0),()=>{var e;(0,V.Pn)(a);let i=eE.get(t);if(!i||(i.delete(s),i.size))return;let n=ex.get(t);ex.delete(t),n&&(eL(t).removeEventListener("scroll",n),null===(e=ek.get(t))||void 0===e||e(),window.removeEventListener("resize",n))}}function eN(e,t){(0,E.K)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let eA=()=>({scrollX:(0,M.B)(0),scrollY:(0,M.B)(0),scrollXProgress:(0,M.B)(0),scrollYProgress:(0,M.B)(0)});function eT({container:e,target:t,layoutEffect:i=!0,...n}={}){let r=(0,g.h)(eA);return(i?H.L:d.useEffect)(()=>(eN("target",t),eN("container",e),eD(({x:e,y:t})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(t.current),r.scrollYProgress.set(t.progress)},{...n,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[]),r}function eI(e){return eT({container:e})}function eM(){return eT()}function eR(e){let t=(0,d.useRef)(0),{isStatic:i}=(0,d.useContext)(c._);(0,d.useEffect)(()=>{if(i)return;let n=({timestamp:i,delta:n})=>{t.current||(t.current=i),e(i-t.current,n)};return V.Wi.update(n,!0),()=>(0,V.Pn)(n)},[e])}function eP(){let e=R(0);return eR(t=>e.set(t)),e}var eO=i(77881),eF=i(67188),eB=i(52069);class eV extends M.H{constructor(){super(...arguments),this.members=[],this.transforms=new Set}add(e){let t;eF.G.has(e)?(this.transforms.add(e),t="transform"):e.startsWith("origin")||(0,eO.f9)(e)||"willChange"===e||(t=(0,eB.D)(e)),t&&((0,D.y4)(this.members,t),this.update())}remove(e){eF.G.has(e)?(this.transforms.delete(e),this.transforms.size||(0,D.cl)(this.members,"transform")):(0,D.cl)(this.members,(0,eB.D)(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function eH(){return(0,g.h)(()=>new eV("auto"))}var eW=i(72796),ej=i(98201);function ez(){ej.O.current||(0,eW.A)();let[e]=(0,d.useState)(ej.n.current);return e}function eU(){let e=ez(),{reducedMotion:t}=(0,d.useContext)(c._);return"never"!==t&&("always"===t||e)}var e$=i(51527),eq=i(99519);function eK(){let e=!1,t=new Set,i={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(i,n){(0,E.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return t.forEach(e=>{r.push((0,eq.d)(e,i,{transitionOverride:n}))}),Promise.all(r)},set:i=>((0,E.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{(0,e$.gg)(e,i)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,i.stop()})};return i}var eG=i(55212),eZ=i(88568);class eY{constructor(e){this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let i=0;it[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}var eQ=i(63741),eJ=i(58895),eX=i(6776),e0=i(74558),e1=i(62037),e2=i(10913),e6=i(91887),e3=i(65673);function e8(e,t,i,n){var r;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?i:null!==(r=n.get(t))&&void 0!==r?r:e}let e5=(e,t,i)=>{let n=t-e;return((i-e)%n+n)%n+e};var e4=i(89738);function e9(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function e7(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function te(e,t){return t[e]||(t[e]=[]),t[e]}let tt=e=>"number"==typeof e,ti=e=>e.every(tt);function tn(e,t,i,n){let r=ea(e,n),o=r.length;(0,E.k)(!!o,"No valid element provided.");let s=[];for(let e=0;eArray.isArray(e)&&Array.isArray(e[0]),to=e=>function(t,i,n){let r,o;return r=tr(t)?(o=[],(function(e,{defaultTransition:t={},...i}={},n){let r=t.duration||.3,o=new Map,s=new Map,a={},l=new Map,u=0,d=0,c=0;for(let i=0;i{let a=Array.isArray(e)?e:[e],{delay:l=0,times:u=(0,eC.Y)(a),type:h="keyframes",...g}=i,{ease:p=t.ease||"easeOut",duration:m}=i,v="function"==typeof l?l(o,s):l,b=a.length;if(b<=2&&"spring"===h){let e=100;2===b&&ti(a)&&(e=Math.abs(a[1]-a[0]));let t={...g};void 0!==m&&(t.duration=(0,en.w)(m));let i=function(e,t=100){let i=(0,e2.S)({keyframes:[0,t],...e}),n=Math.min((0,e6.i)(i),e6.E);return{type:"keyframes",ease:e=>i.next(n*e).value/t,duration:(0,en.X)(n)}}(t,e);p=i.ease,m=i.duration}null!=m||(m=r);let y=d+v,_=y+m;1===u.length&&0===u[0]&&(u[1]=1);let w=u.length-a.length;w>0&&(0,e3.c)(u,w),1===a.length&&a.unshift(null),function(e,t,i,n,r,o){!function(e,t,i){for(let n=0;nt&&r.at{for(let r in e){let s=e[r];s.sort(e9);let a=[],l=[],u=[];for(let e=0;e{let n;n=(0,U.i)(i)?(0,e1.D)(i,e.default,t.default):tn(i,e,t),o.push(n)}),new eY(o)):"object"!=typeof i||Array.isArray(i)?(0,e1.D)(t,i,n):tn(t,i,n,e),e&&e.animations.push(r),r},ts=to();function ta(){let e=(0,g.h)(()=>({current:null,animations:[]})),t=(0,g.h)(()=>to(e));return(0,eG.z)(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}function tl(){let e=(0,g.h)(eK);return(0,H.L)(e.mount,[]),e}let tu=tl;function td(...e){let t=(0,d.useRef)(0),[i,n]=(0,d.useState)(e[t.current]);return[i,(0,d.useCallback)(i=>{t.current="number"!=typeof i?e5(0,e.length,t.current+1):i,n(e[t.current])},[e.length,...e])]}var tc=i(48188),th=i(32565);let tg={any:0,all:1};function tp(e,t,{root:i,margin:n,amount:r="any"}={}){let o=ea(e),s=new WeakMap,a=new IntersectionObserver(e=>{e.forEach(e=>{let i=s.get(e.target);if(!!i!==e.isIntersecting){if(e.isIntersecting){let i=t(e);"function"==typeof i?s.set(e.target,i):a.unobserve(e.target)}else i&&(i(e),s.delete(e.target))}})},{root:i,rootMargin:n,threshold:"number"==typeof r?r:tg[r]});return o.forEach(e=>a.observe(e)),()=>a.disconnect()}function tf(e,{root:t,margin:i,amount:n,once:r=!1}={}){let[o,s]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(!e.current||r&&o)return;let a={root:t&&t.current||void 0,margin:i,amount:"some"===n?"any":n};return tp(e.current,()=>(s(!0),r?void 0:()=>s(!1)),a)},[t,e,i,r]),o}class tm{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(i=>{i.start(e.nativeEvent||e,t)})}}let tv=()=>new tm;function tb(){return(0,g.h)(tv)}var ty=i(44925);function t_(e,t,i,n){(0,d.useEffect)(()=>{let r=e.current;if(i&&r)return(0,ty.E)(r,t,i,n)},[e,t,i,n])}var tw=i(3276),tC=i(48496);function tS(e){return null!==e&&"object"==typeof e&&tC.a in e}function tx(e){if(tS(e))return e[tC.a]}var tk=i(54188),tE=i(2340),tL=i(62122);function tD(){return tN}function tN(e){tL.J.current&&(tL.J.current.isUpdating=!1,tL.J.current.blockUpdate(),e&&e())}var tA=i(37981);function tT(){let[e,t]=(0,w.N)();return(0,d.useEffect)(()=>{V.Wi.postRender(()=>V.Wi.postRender(()=>tA.c.current=!1))},[t]),t=>{tN(()=>{tA.c.current=!0,e(),t()})}}function tI(){return d.useCallback(()=>{let e=tL.J.current;e&&e.resetTree()},[])}var tM=i(10455),tR=i(98172),tP=i(99514),tO=i(44841);let tF=(e,t)=>`${e}: ${t}`;var tB=i(72620),tV=i(51556);let tH=new Map;function tW(e,t,i,n){let r=tF(e,eF.G.has(t)?"transform":t),o=tH.get(r);if(!o)return 0;let{animation:s,startTime:a}=o,l=()=>{tH.delete(r);try{s.cancel()}catch(e){}};if(null===a)return l(),0;{let e=performance.now();return n.update(()=>{i.animation&&(i.animation.time=(0,en.X)(performance.now()-e))}),n.render(l),e-a||0}}var tj=i(606);function tz(e,t,i,n,r){let o=e.dataset[tV.t];if(!o)return;window.HandoffAppearAnimations=tW;let s=tF(o,t),a=(0,tB.p)(e,t,[i[0],i[0]],{duration:1e4,ease:"linear"});tH.set(s,{animation:a,startTime:null});let l=()=>{a.cancel();let o=(0,tB.p)(e,t,i,n);document.timeline&&(o.startTime=document.timeline.currentTime),tH.set(s,{animation:o,startTime:performance.now()}),r&&r(o)};a.ready?a.ready.then(l).catch(tj.Z):l()}var tU=i(58456),t$=i(49501),tq=i(71633),tK=i(85842),tG=i(10667),tZ=i(57346);let tY=()=>({});class tQ extends tk.l{build(){}measureInstanceViewportBox(){return(0,tZ.dO)()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return tY()}getBaseTargetFromProps(){}readValueFromInstance(e,t,i){return i.initialState[t]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i}){let n=(0,e$.P$)(i,e||{},this);return(0,e$.GJ)(this,i,n),{transition:e,transitionEnd:t,...i}}}let tJ=(0,tG.t)({scrapeMotionValuesFromProps:tY,createRenderState:tY});function tX(e){let[t,i]=(0,d.useState)(e),n=tJ({},!1),r=(0,g.h)(()=>new tQ({props:{},visualState:n,presenceContext:null},{initialState:e}));return(0,d.useEffect)(()=>(r.mount({}),()=>r.unmount()),[r]),(0,d.useEffect)(()=>{r.update({onUpdate:e=>{i({...e})}},null)},[i,r]),[t,(0,g.h)(()=>e=>(0,eq.d)(r,e))]}let t0=e=>e>.001?1/e:1e5,t1=!1;function t2(e){let t=R(1),i=R(1),{visualElement:n}=(0,d.useContext)(tU.v);return(0,E.k)(!!(e||n),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),(0,E.K)(t1,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),t1=!0,e?(t=e.scaleX||t,i=e.scaleY||i):n&&(t=n.getValue("scaleX",1),i=n.getValue("scaleY",1)),{scaleX:j(t,t0),scaleY:j(i,t0)}}let t6=0,t3=({children:e})=>(d.useEffect(()=>{(0,E.k)(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),d.createElement(k,{id:(0,g.h)(()=>`asl-${t6++}`)},e));var t8=i(21778);function t5(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(r,o)=>{let s=e*Math.abs(("number"==typeof i?i:function(e,t){if("first"===e)return 0;{let i=t-1;return"last"===e?i:i/2}}(i,o))-r);if(n){let t=o*e;s=(0,t8.R)(n)(s/t)*t}return t+s}}var t4=i(53913),t9=i(19106),t7=i(19647),ie=i(98210),it=i(72375),ii=i(99724),ir=i(19325),io=i(67210),is=i(21509),ia=i(97246),il=i(61285);let iu=V.Wi,id=V.BS.reduce((e,t)=>(e[t]=e=>(0,V.Pn)(e),e),{});var ic=i(40304),ih=i(86321),ig=i(52813),ip=i(93273),im=i(70908)},54734:(e,t,i)=>{"use strict";i.d(t,{L:()=>n});class n{constructor(e){this.isMounted=!1,this.node=e}update(){}}},17276:(e,t,i)=>{"use strict";i.d(t,{s:()=>v});var n=i(91129),r=i(54365);function o(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;nPromise.all(t.map(({animation:t,options:i})=>(0,u.d)(e,t,i))),i={animate:h(!0),whileInView:h(),whileHover:h(),whileTap:h(),whileDrag:h(),whileFocus:h(),exit:h()},l=!0,g=(t,i)=>{let n=(0,a.x)(e,i);if(n){let{transition:e,transitionEnd:i,...r}=n;t={...t,...r,...i}}return t};function p(a,u){let h=e.getProps(),p=e.getVariantContext(!0)||{},f=[],m=new Set,v={},b=1/0;for(let t=0;tb&&C,L=Array.isArray(w)?w:[w],D=L.reduce(g,{});!1===S&&(D={});let{prevResolvedValues:N={}}=_,A={...N,...D},T=e=>{E=!0,m.delete(e),_.needsAnimating[e]=!0};for(let e in A){let t=D[e],i=N[e];v.hasOwnProperty(e)||(t!==i?(0,r.C)(t)&&(0,r.C)(i)?!o(t,i)||k?T(e):_.protectedKeys[e]=!0:void 0!==t?T(e):m.add(e):void 0!==t&&m.has(e)?T(e):_.protectedKeys[e]=!0)}_.prevProp=w,_.prevResolvedValues=D,_.isActive&&(v={...v,...D}),l&&e.blockInitialAnimation&&(E=!1),E&&!x&&f.push(...L.map(e=>({animation:e,options:{type:c,...a}})))}if(m.size){let t={};m.forEach(i=>{let n=e.getBaseTarget(i);void 0!==n&&(t[i]=n)}),f.push({animation:t})}let _=!!f.length;return l&&!1===h.initial&&!e.manuallyAnimateOnMount&&(_=!1),l=!1,_?t(f):Promise.resolve()}return{animateChanges:p,setActive:function(t,n,r){var o;if(i[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var i;return null===(i=e.animationState)||void 0===i?void 0:i.setActive(t,n)}),i[t].isActive=n;let s=p(r,t);for(let e in i)i[e].protectedKeys={};return s},setAnimateFunction:function(i){t=i(e)},getState:()=>i}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,n.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let f=0;class m extends g.L{constructor(){super(...arguments),this.id=f++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:i}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e,{custom:null!=i?i:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let v={animation:{Feature:p},exit:{Feature:m}}},50341:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let e in n)r[e]={isEnabled:t=>n[e].some(e=>!!t[e])}},49289:(e,t,i)=>{"use strict";i.d(t,{o:()=>z});var n=i(54734),r=i(606),o=i(33029),s=i(93273),a=i(2885),l=i(84657),u=i(52813),d=i(19106),c=i(61285),h=i(96002),g=i(52894);class p{constructor(e,t,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=v(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,i=(0,c.y)(e.offset,{x:0,y:0})>=3;if(!t&&!i)return;let{point:n}=e,{timestamp:r}=h.frameData;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=f(t,this.transformPagePoint),a.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:n}=this.handlers,r=v("pointercancel"===e.type?this.lastMoveEventInfo:f(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,r),n&&n(e,r)},!(0,g.D)(e))return;this.handlers=t,this.transformPagePoint=i;let n=f((0,s.Q)(e),this.transformPagePoint),{point:r}=n,{timestamp:o}=h.frameData;this.history=[{...r,timestamp:o}];let{onSessionStart:l}=t;l&&l(e,v(n,this.history)),this.removeListeners=(0,d.z)((0,u.a)(window,"pointermove",this.handlePointerMove),(0,u.a)(window,"pointerup",this.handlePointerUp),(0,u.a)(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,a.Pn)(this.updatePoint)}}function f(e,t){return t?{point:t(e.point)}:e}function m(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v({point:e},t){return{point:e,delta:m(e,b(t)),offset:m(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=b(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>(0,l.w)(.1)));)i--;if(!n)return{x:0,y:0};let o=(0,l.X)(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function b(e){return e[e.length-1]}var y=i(86321),_=i(73271),w=i(38172),C=i(40304),S=i(53913),x=i(51413);function k(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function E(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min{this.stopAnimation(),t&&this.snapToCursor((0,s.Q)(e,"page").point)},onStart:(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,y.fJ)(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,A.U)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(R.aQ.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=(0,C.JO)(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&a.Wi.update(()=>r(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&a.Wi.update(()=>r(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!B(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:i},n){return void 0!==t&&ei&&(e=n?(0,x.C)(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:i}=this.visualElement.projection||{},n=this.constraints;e&&(0,_.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:k(e.x,i,r),y:k(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:L(e,"left","right"),y:L(e,"top","bottom")}}(t),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,A.U)(e=>{var t,n;let r;this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!(0,_.I)(t))return!1;let n=t.current;(0,o.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,T.z)(n,r.root,this.visualElement.getTransformPagePoint()),a={x:E((e=r.layout.layoutBox).x,s.x),y:E(e.y,s.y)};if(i){let e=i((0,I.z2)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,I.i8)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all((0,A.U)(s=>{if(!B(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return i.start((0,P.v)(e,i,0,t))}stopAnimation(){(0,A.U)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){(0,A.U)(t=>{let{drag:i}=this.getProps();if(!B(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[t];r.set(e[t]-(0,x.C)(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,_.I)(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,A.U)(e=>{let t=this.getAxisMotionValue(e);if(t){var i,r;let o,s,a,l=t.get();n[e]=(i={min:l,max:l},r=this.constraints[e],o=.5,s=(0,C.JO)(i),(a=(0,C.JO)(r))>s?o=(0,w.Y)(r.min,r.max-s,i.min):s>a&&(o=(0,w.Y)(i.min,i.max-a,r.min)),(0,S.u)(0,1,o))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,A.U)(t=>{if(!B(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set((0,x.C)(r,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;O.set(this.visualElement,this);let e=this.visualElement.current,t=(0,u.a)(e,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),i=()=>{let{dragConstraints:e}=this.getProps();(0,_.I)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),i();let o=(0,M.E)(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,A.U)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function B(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class V extends n.L{constructor(e){super(e),this.removeGroupControls=r.Z,this.removeListeners=r.Z,this.controls=new F(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let H=e=>(t,i)=>{e&&a.Wi.update(()=>e(t,i))};class W extends n.L{constructor(){super(...arguments),this.removePointerDownListener=r.Z}onPointerDown(e){this.session=new p(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:H(e),onStart:H(t),onMove:i,onEnd:(e,t)=>{delete this.session,n&&a.Wi.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=(0,u.a)(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var j=i(61741);let z={pan:{Feature:W},drag:{Feature:V,ProjectionNode:i(62122).u,MeasureLayout:j.q}}},80181:(e,t,i)=>{"use strict";i.d(t,{E:()=>S});var n=i(52813),r=i(19106),o=i(86321),s=i(54734),a=i(2885);function l(e,t){let i="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return(0,n.a)(e.current,i,(i,n)=>{if("touch"===i.type||(0,o.gD)())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&a.Wi.update(()=>s[r](i,n))},{passive:!e.getProps()[r]})}class u extends s.L{mount(){this.unmount=(0,r.z)(l(this.node,!0),l(this.node,!1))}unmount(){}}var d=i(44925);class c extends s.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,r.z)((0,d.E)(this.node.current,"focus",()=>this.onFocus()),(0,d.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var h=i(93273);let g=(e,t)=>!!t&&(e===t||g(e,t.parentElement));var p=i(606);function f(e,t){if(!t)return;let i=new PointerEvent("pointer"+e);t(i,(0,h.Q)(i))}class m extends s.L{constructor(){super(...arguments),this.removeStartListeners=p.Z,this.removeEndListeners=p.Z,this.removeAccessibleListeners=p.Z,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let i=this.node.getProps(),o=(0,n.a)(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n}=this.node.getProps();a.Wi.update(()=>{g(this.node.current,e.target)?i&&i(e,t):n&&n(e,t)})},{passive:!(i.onTap||i.onPointerUp)}),s=(0,n.a)(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,r.z)(o,s),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=(0,d.E)(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,d.E)(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&f("up",(e,t)=>{let{onTap:i}=this.node.getProps();i&&a.Wi.update(()=>i(e,t))})}),f("down",(e,t)=>{this.startPress(e,t)}))}),t=(0,d.E)(this.node.current,"blur",()=>{this.isPressing&&f("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,r.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&a.Wi.update(()=>i(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,o.gD)()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&a.Wi.update(()=>i(e,t))}mount(){let e=this.node.getProps(),t=(0,n.a)(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=(0,d.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,r.z)(t,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let v=new WeakMap,b=new WeakMap,y=e=>{let t=v.get(e.target);t&&t(e)},_=e=>{e.forEach(y)},w={some:0,all:1};class C extends s.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof o?o:w[o]};return e=this.node.current,t=function({root:e,...t}){let i=e||document;b.has(i)||b.set(i,{});let n=b.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(_,{root:e,...t})),n[r]}(a),v.set(e,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)}),t.observe(e),()=>{v.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let S={inView:{Feature:C},tap:{Feature:m},focus:{Feature:c},hover:{Feature:u}}},87608:(e,t,i)=>{"use strict";i.d(t,{b:()=>o});var n=i(62122),r=i(61741);let o={layout:{ProjectionNode:n.u,MeasureLayout:r.q}}},61741:(e,t,i)=>{"use strict";i.d(t,{q:()=>m});var n=i(2885),r=i(2784),o=i(32565),s=i(30200),a=i(71633),l=i(88617),u=i(44841);function d(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let c={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!u.px.test(e))return e;e=parseFloat(e)}return`${d(e,t.target.x)}% ${d(e,t.target.y)}%`}};var h=i(51413),g=i(99514),p=i(2340);class f extends r.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;(0,p.B)(v),r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),l.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:o}=this.props,s=i.projection;return s&&(s.isPresent=o,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===o||(o?s.promote():s.relegate()||n.Wi.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function m(e){let[t,i]=(0,o.oO)(),n=(0,r.useContext)(s.p);return r.createElement(f,{...e,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(a.g),isPresent:t,safeToRemove:i})}let v={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=g.P.parse(e);if(n.length>5)return e;let r=g.P.createTransformer(e),o="number"!=typeof n[0]?1:0,s=i.x.scale*t.x,a=i.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=(0,h.C)(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}}},35288:(e,t,i)=>{"use strict";i.d(t,{K:()=>r});var n=i(50341);function r(e){for(let t in e)n.A[t]={...n.A[t],...e[t]}}},3276:(e,t,i)=>{"use strict";i.d(t,{F:()=>b});var n=i(2784),r=i(75045),o=i(58456),s=i(49501),a=i(53072),l=i(75902),u=i(73271),d=i(90026),c=i(4060);function h(e){return Array.isArray(e)?e.join(" "):e}var g=i(35288),p=i(70908),f=i(30200),m=i(71633),v=i(48496);function b({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:b,Component:y}){e&&(0,g.K)(e);let _=(0,n.forwardRef)(function(g,v){var _;let w;let C={...(0,n.useContext)(r._),...g,layoutId:function({layoutId:e}){let t=(0,n.useContext)(f.p).id;return t&&void 0!==e?t+"-"+e:e}(g)},{isStatic:S}=C,x=function(e){let{initial:t,animate:i}=function(e,t){if((0,c.G)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,d.$)(t)?t:void 0,animate:(0,d.$)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(o.v));return(0,n.useMemo)(()=>({initial:t,animate:i}),[h(t),h(i)])}(g),k=b(g,S);if(!S&&p.j){x.visualElement=function(e,t,i,u){let{visualElement:d}=(0,n.useContext)(o.v),c=(0,n.useContext)(l.u),h=(0,n.useContext)(s.O),g=(0,n.useContext)(r._).reducedMotion,p=(0,n.useRef)();u=u||c.renderer,!p.current&&u&&(p.current=u(e,{visualState:t,parent:d,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:g}));let f=p.current;return(0,n.useInsertionEffect)(()=>{f&&f.update(i,h)}),(0,a.L)(()=>{f&&f.render()}),(0,n.useEffect)(()=>{f&&f.updateFeatures()}),(window.HandoffAppearAnimations?a.L:n.useEffect)(()=>{f&&f.animationState&&f.animationState.animateChanges()}),f}(y,k,C,t);let i=(0,n.useContext)(m.g),u=(0,n.useContext)(l.u).strict;x.visualElement&&(w=x.visualElement.loadFeatures(C,u,e,i))}return n.createElement(o.v.Provider,{value:x},w&&x.visualElement?n.createElement(w,{visualElement:x.visualElement,...C}):null,i(y,g,(_=x.visualElement,(0,n.useCallback)(e=>{e&&k.mount&&k.mount(e),_&&(e?_.mount(e):_.unmount()),v&&("function"==typeof v?v(e):(0,u.I)(v)&&(v.current=e))},[_])),k,S,x.visualElement))});return _[v.a]=y,_}},6780:(e,t,i)=>{"use strict";i.d(t,{j:()=>o});var n=i(2340),r=i(67188);function o(e,{layout:t,layoutId:i}){return r.G.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!n.P[e]||"opacity"===e)}},48496:(e,t,i)=>{"use strict";i.d(t,{a:()=>n});let n=Symbol.for("motionComponentSymbol")},10667:(e,t,i)=>{"use strict";i.d(t,{t:()=>c});var n=i(2784),r=i(91129),o=i(49501),s=i(70645),a=i(75248),l=i(93920),u=i(58456),d=i(4060);let c=e=>(t,i)=>{let c=(0,n.useContext)(u.v),h=(0,n.useContext)(o.O),g=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,o,a){let u={latestValues:function(e,t,i,n){let o={},a=n(e,{});for(let e in a)o[e]=(0,l.b)(a[e]);let{initial:u,animate:c}=e,h=(0,d.G)(e),g=(0,d.M)(e);t&&g&&!h&&!1!==e.inherit&&(void 0===u&&(u=t.initial),void 0===c&&(c=t.animate));let p=!!i&&!1===i.initial,f=(p=p||!1===u)?c:u;return f&&"boolean"!=typeof f&&!(0,r.H)(f)&&(Array.isArray(f)?f:[f]).forEach(t=>{let i=(0,s.o)(e,t);if(!i)return;let{transitionEnd:n,transition:r,...a}=i;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=p?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let e in n)o[e]=n[e]}),o}(n,o,a,e),renderState:t()};return i&&(u.mount=e=>i(n,e,u)),u})(e,t,c,h);return i?g():(0,a.h)(g)}},48188:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});let n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function r(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||n.has(e)}},61532:(e,t,i)=>{"use strict";function n({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function r({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function o(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(t,{d7:()=>o,i8:()=>n,z2:()=>r})},84410:(e,t,i)=>{"use strict";i.d(t,{D2:()=>f,YY:()=>u,am:()=>c,o2:()=>l,q2:()=>o});var n=i(51413),r=i(53933);function o(e,t,i){return i+t*(e-i)}function s(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function a(e,t=0,i=1,n,r){e.min=s(e.min,t,i,n,r),e.max=s(e.max,t,i,n,r)}function l(e,{x:t,y:i}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,i.translate,i.scale,i.originPoint)}function u(e,t,i,n=!1){let o,s;let a=i.length;if(a){t.x=t.y=1;for(let u=0;u1.0000000000001||e<.999999999999?e:1}function c(e,t){e.min=e.min+t,e.max=e.max+t}function h(e,t,[i,r,o]){let s=void 0!==t[o]?t[o]:.5,l=(0,n.C)(e.min,e.max,s);a(e,t[i],t[r],l,t.scale)}let g=["x","scaleX","originX"],p=["y","scaleY","originY"];function f(e,t){h(e.x,t,g),h(e.y,t,p)}},40304:(e,t,i)=>{"use strict";i.d(t,{JO:()=>r,b3:()=>c,tf:()=>u,wS:()=>o,y$:()=>a});var n=i(51413);function r(e){return e.max-e.min}function o(e,t=0,i=.01){return Math.abs(e-t)<=i}function s(e,t,i,s=.5){e.origin=s,e.originPoint=(0,n.C)(t.min,t.max,e.origin),e.scale=r(i)/r(t),(o(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,n.C)(i.min,i.max,e.origin)-e.originPoint,(o(e.translate)||isNaN(e.translate))&&(e.translate=0)}function a(e,t,i,n){s(e.x,t.x,i.x,n?n.originX:void 0),s(e.y,t.y,i.y,n?n.originY:void 0)}function l(e,t,i){e.min=i.min+t.min,e.max=e.min+r(t)}function u(e,t,i){l(e.x,t.x,i.x),l(e.y,t.y,i.y)}function d(e,t,i){e.min=t.min-i.min,e.max=e.min+r(t)}function c(e,t,i){d(e.x,t.x,i.x),d(e.y,t.y,i.y)}},57346:(e,t,i)=>{"use strict";i.d(t,{dO:()=>s,wc:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})},62122:(e,t,i)=>{"use strict";i.d(t,{u:()=>ev,J:()=>em});var n=i(2885),r=i(71905),o=i(72375),s=i(38172),a=i(51413),l=i(606),u=i(44841);let d=["TopLeft","TopRight","BottomLeft","BottomRight"],c=d.length,h=e=>"string"==typeof e?parseFloat(e):e,g=e=>"number"==typeof e||u.px.test(e);function p(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let f=v(0,.5,o.Bn),m=v(.5,.95,l.Z);function v(e,t,i){return n=>nt?1:i((0,s.Y)(e,t,n))}function b(e,t){e.min=t.min,e.max=t.max}function y(e,t){b(e.x,t.x),b(e.y,t.y)}var _=i(84410),w=i(40304);function C(e,t,i,n,r){return e-=t,e=(0,_.q2)(e,1/i,n),void 0!==r&&(e=(0,_.q2)(e,1/r,n)),e}function S(e,t,[i,n,r],o,s){!function(e,t=0,i=1,n=.5,r,o=e,s=e){if(u.aQ.test(t)&&(t=parseFloat(t),t=(0,a.C)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let l=(0,a.C)(o.min,o.max,n);e===o&&(l-=t),e.min=C(e.min,t,i,l,r),e.max=C(e.max,t,i,l,r)}(e,t[i],t[n],t[r],t.scale,o,s)}let x=["x","scaleX","originX"],k=["y","scaleY","originY"];function E(e,t,i,n){S(e.x,t,x,i?i.x:void 0,n?n.x:void 0),S(e.y,t,k,i?i.y:void 0,n?n.y:void 0)}var L=i(57346),D=i(98548);function N(e){return 0===e.translate&&1===e.scale}function A(e){return N(e.x)&&N(e.y)}function T(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function I(e){return(0,w.JO)(e.x)/(0,w.JO)(e.y)}var M=i(59738);class R{constructor(){this.members=[]}add(e){(0,M.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,M.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var P=i(2340);function O(e,t,i){let n="",r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{rotate:e,rotateX:t,rotateY:r}=i;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),r&&(n+=`rotateY(${r}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==s||1!==a)&&(n+=`scale(${s}, ${a})`),n||"none"}var F=i(23814),B=i(53933),V=i(85842),H=i(93920),W=i(88617),j=i(97246),z=i(58895),U=i(62037),$=i(96002);let q=["","X","Y","Z"],K=0,G={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Z({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:o,resetTransform:s}){return class{constructor(e={},i=null==t?void 0:t()){this.id=K++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{G.totalNodes=G.resolvedTargetDeltas=G.recalculatedProjection=0,this.nodes.forEach(J),this.nodes.forEach(er),this.nodes.forEach(eo),this.nodes.forEach(X),window.MotionDebug&&window.MotionDebug.record(G)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=(0,j.g)(n,250),W.V.hasAnimatedSinceResize&&(W.V.hasAnimatedSinceResize=!1,this.nodes.forEach(en))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||ec,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!T(this.targetLayout,n)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,D.e)(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||en(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,n.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(es),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;ethis.update()))}clearAllSnapshots(){this.nodes.forEach(ee),this.sharedNodes.forEach(ea)}scheduleUpdateProjection(){n.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){n.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e{var n,b;let S=t/1e3;el(s.x,e.x,S),el(s.y,e.y,S),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,w.b3)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,b=this.relativeTargetOrigin,eu(n.x,b.x,l.x,S),eu(n.y,b.y,l.y,S),i&&T(this.relativeTarget,i)&&(this.isProjectionDirty=!1),i||(i=(0,L.dO)()),y(i,this.relativeTarget)),v&&(this.animationValues=o,function(e,t,i,n,r,o){r?(e.opacity=(0,a.C)(0,void 0!==i.opacity?i.opacity:1,f(n)),e.opacityExit=(0,a.C)(void 0!==t.opacity?t.opacity:1,0,m(n))):o&&(e.opacity=(0,a.C)(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r{W.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,U.D)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&eg(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,L.dO)();let t=(0,w.JO)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=(0,w.JO)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}y(t,i),(0,_.D2)(t,r),(0,w.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new R),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(et),this.root.sharedNodes.clear()}}}function Y(e){e.updateLayout()}function Q(e){var t;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,o=i.source!==e.layout.source;"size"===r?(0,F.U)(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=(0,w.JO)(n);n.min=t[e].min,n.max=n.min+r}):eg(r,i.layoutBox,t)&&(0,F.U)(n=>{let r=o?i.measuredBox[n]:i.layoutBox[n],s=(0,w.JO)(t[n]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=(0,L.wc)();(0,w.y$)(s,t,i.layoutBox);let a=(0,L.wc)();o?(0,w.y$)(a,e.applyTransform(n,!0),i.measuredBox):(0,w.y$)(a,t,i.layoutBox);let l=!A(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=(0,L.dO)();(0,w.b3)(s,i.layoutBox,r.layoutBox);let a=(0,L.dO)();(0,w.b3)(a,t,o.layoutBox),T(s,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function J(e){G.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function X(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ee(e){e.clearSnapshot()}function et(e){e.clearMeasurements()}function ei(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function en(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function er(e){e.resolveTargetDelta()}function eo(e){e.calcProjection()}function es(e){e.resetRotation()}function ea(e){e.removeLeadSnapshot()}function el(e,t,i){e.translate=(0,a.C)(t.translate,0,i),e.scale=(0,a.C)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eu(e,t,i,n){e.min=(0,a.C)(t.min,i.min,n),e.max=(0,a.C)(t.max,i.max,n)}function ed(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ec={duration:.45,ease:[.4,0,.1,1]};function eh(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function eg(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,w.wS)(I(t),I(i),.2)}var ep=i(44925);let ef=Z({attachResizeListener:(e,t)=>(0,ep.E)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),em={current:void 0},ev=Z({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!em.current){let e=new ef({});e.mount(window),e.setOptions({layoutScroll:!0}),em.current=e}return em.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},88617:(e,t,i)=>{"use strict";i.d(t,{V:()=>n});let n={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},2340:(e,t,i)=>{"use strict";i.d(t,{B:()=>r,P:()=>n});let n={};function r(e){Object.assign(n,e)}},23814:(e,t,i)=>{"use strict";function n(e){return[e("x"),e("y")]}i.d(t,{U:()=>n})},53933:(e,t,i)=>{"use strict";function n(e){return void 0===e||1===e}function r({scale:e,scaleX:t,scaleY:i}){return!n(e)||!n(t)||!n(i)}function o(e){return r(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY}function s(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}i.d(t,{D_:()=>s,Lj:()=>r,ud:()=>o})},26255:(e,t,i)=>{"use strict";i.d(t,{J:()=>o,z:()=>s});var n=i(61532),r=i(84410);function o(e,t){return(0,n.i8)((0,n.d7)(e.getBoundingClientRect(),t))}function s(e,t,i){let n=o(e,i),{scroll:s}=t;return s&&((0,r.am)(n.x,s.offset.x),(0,r.am)(n.y,s.offset.y)),n}},54188:(e,t,i)=>{"use strict";i.d(t,{l:()=>S});var n=i(2885),r=i(57346),o=i(73271),s=i(72796),a=i(98201),l=i(71905),u=i(7881),d=i(64595),c=i(8423),h=i(67188),g=i(4060),p=i(90026),f=i(70645),m=i(50341),v=i(97131),b=i(88568);let y=Object.keys(m.A),_=y.length,w=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C=v.V.length;class S{constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>n.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=(0,g.G)(t),this.isVariantNode=(0,g.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(t,{});for(let e in h){let t=h[e];void 0!==a[e]&&(0,c.i)(t)&&(t.set(a[e],!1),(0,d.L)(u)&&u.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,b.R.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),a.O.current||(0,s.A)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||a.n.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in b.R.delete(this.current),this.projection&&this.projection.unmount(),(0,n.Pn)(this.notifyUpdate),(0,n.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let i=h.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&n.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},i,n,r){let s,a;for(let e=0;e<_;e++){let i=y[e],{isEnabled:n,Feature:r,ProjectionNode:o,MeasureLayout:l}=m.A[i];o&&(s=o),n(t)&&(!this.features[i]&&r&&(this.features[i]=new r(this)),l&&(a=l))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:i,drag:n,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;this.projection.setOptions({layoutId:e,layout:i,alwaysMeasureLayout:!!n||a&&(0,o.I)(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,r.dO)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=(0,u.B)(t,{owner:this}),this.addValue(e,i)),i}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(t=(0,f.o)(this.props,i))||void 0===t?void 0:t[e]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,c.i)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new l.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}},32663:(e,t,i)=>{"use strict";i.d(t,{J:()=>L});var n=i(51527),r=i(33029),o=i(77881);let s=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function a(e,t,i=1){(0,r.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,l]=function(e){let t=s.exec(e);if(!t)return[,];let[,i,n]=t;return[i,n]}(e);if(!n)return;let u=window.getComputedStyle(t).getPropertyValue(n);return u?u.trim():(0,o.tm)(l)?a(l,t,i+1):l}var l=i(54365),u=i(67188),d=i(70071),c=i(70908),h=i(8888),g=i(44841);let p=new Set(["width","height","top","left","right","bottom","x","y"]),f=e=>p.has(e),m=e=>Object.keys(e).some(f),v=e=>e===h.Rx||e===g.px,b=(e,t)=>parseFloat(e.split(", ")[t]),y=(e,t)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return b(r[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?b(t[1],e):0}},_=new Set(["x","y","z"]),w=u._.filter(e=>!_.has(e)),C={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:y(4,13),y:y(5,14)},S=(e,t,i)=>{let n=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),i.forEach(e=>{a[e]=C[e](n,o)}),t.render();let l=t.measureViewportBox();return i.forEach(i=>{let n=t.getValue(i);n&&n.jump(a[i]),e[i]=C[i](l,o)}),e},x=(e,t,i={},n={})=>{t={...t},n={...n};let o=Object.keys(t).filter(f),s=[],a=!1,u=[];if(o.forEach(o=>{let c;let h=e.getValue(o);if(!e.hasValue(o))return;let p=i[o],f=(0,d.C)(p),m=t[o];if((0,l.C)(m)){let e=m.length,t=null===m[0]?1:0;p=m[t],f=(0,d.C)(p);for(let i=t;i{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),u.push(o),n[o]=void 0!==n[o]?n[o]:t[o],h.jump(m))}}),!u.length)return{target:t,transitionEnd:n};{let i=u.indexOf("height")>=0?window.pageYOffset:null,r=S(t,e,u);return s.length&&s.forEach(([t,i])=>{e.getValue(t).set(i)}),e.render(),c.j&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},k=(e,t,i,n)=>{let r=function(e,{...t},i){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};for(let r in i&&(i={...i}),e.values.forEach(e=>{let t=e.get();if(!(0,o.tm)(t))return;let i=a(t,n);i&&e.set(i)}),t){let e=t[r];if(!(0,o.tm)(e))continue;let s=a(e,n);s&&(t[r]=s,i||(i={}),void 0===i[r]&&(i[r]=e))}return{target:t,transitionEnd:i}}(e,t,n);return function(e,t,i,n){return m(t)?x(e,t,i,n):{target:t,transitionEnd:n}}(e,t=r.target,i,n=r.transitionEnd)};var E=i(54188);class L extends E.l{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i},{transformValues:r},o){let s=(0,n.P$)(i,e||{},this);if(r&&(t&&(t=r(t)),i&&(i=r(i)),s&&(s=r(s))),o){(0,n.GJ)(this,i,s);let e=k(this,i,s,t);t=e.transitionEnd,i=e.target}return{transition:e,transitionEnd:t,...i}}}},75432:(e,t,i)=>{"use strict";i.d(t,{b:()=>s});var n=i(74558),r=i(6776),o=i(14361);let s=(e,t)=>(0,o.q)(e)?new r.e(t,{enableHardwareAcceleration:!1}):new n.W(t,{enableHardwareAcceleration:!0})},66314:(e,t,i)=>{"use strict";i.d(t,{D:()=>r});var n=i(3276);function r(e){function t(t,i={}){return(0,n.F)(e(t,i))}if("undefined"==typeof Proxy)return t;let i=new Map;return new Proxy(t,{get:(e,n)=>(i.has(n)||i.set(n,t(n)),i.get(n))})}},40836:(e,t,i)=>{"use strict";i.d(t,{E:()=>h,F:()=>g});var n=i(3276),r=i(66314),o=i(48318),s=i(80181),a=i(17276),l=i(49289),u=i(75432),d=i(87608);let c={...a.s,...s.E,...l.o,...d.b},h=(0,r.D)((e,t)=>(0,o.w)(e,t,c,u.b));function g(e){return(0,n.F)((0,o.w)(e,{forwardMotionProps:!1},c,u.b))}},52069:(e,t,i)=>{"use strict";i.d(t,{D:()=>n});let n=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},48318:(e,t,i)=>{"use strict";i.d(t,{w:()=>_});var n=i(14361),r=i(2784),o=i(6780),s=i(8423),a=i(66052);let l=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u(e,t,i){for(let n in t)(0,s.i)(t[n])||(0,o.j)(n,i)||(e[n]=t[n])}var d=i(11852),c=i(84030);let h=()=>({...l(),attrs:{}});var g=i(91709),p=i(30342),f=i(14819),m=i(10667);let v={useVisualState:(0,m.t)({scrapeMotionValuesFromProps:f.U,createRenderState:h,onMount:(e,t,{renderState:i,latestValues:n})=>{try{i.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){i.dimensions={x:0,y:0,width:0,height:0}}(0,c.i)(i,n,{enableHardwareAcceleration:!1},(0,g.a)(t.tagName),e.transformTemplate),(0,p.K)(t,i)}})};var b=i(90428);let y={useVisualState:(0,m.t)({scrapeMotionValuesFromProps:b.U,createRenderState:l})};function _(e,{forwardMotionProps:t=!1},i,o){return{...(0,n.q)(e)?v:y,preloadedFeatures:i,useRender:function(e=!1){return(t,i,o,{latestValues:p},f)=>{let m=((0,n.q)(t)?function(e,t,i,n){let o=(0,r.useMemo)(()=>{let i=h();return(0,c.i)(i,t,{enableHardwareAcceleration:!1},(0,g.a)(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};u(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t,i){let n;let o={},s=(u(n={},e.style||{},e),Object.assign(n,function({transformTemplate:e},t,i){return(0,r.useMemo)(()=>{let n=l();return(0,a.r)(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}(e,t,i)),e.transformValues?e.transformValues(n):n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=s,o})(i,p,f,t),v={...(0,d.L)(i,"string"==typeof t,e),...m,ref:o},{children:b}=i,y=(0,r.useMemo)(()=>(0,s.i)(b)?b.get():b,[b]);return(0,r.createElement)(t,{...v,children:y})}}(t),createVisualElement:o,Component:e}}},11852:(e,t,i)=>{"use strict";i.d(t,{K:()=>o,L:()=>s});var n=i(48188);let r=e=>!(0,n.Z)(e);function o(e){e&&(r=t=>t.startsWith("on")?!(0,n.Z)(t):e(t))}try{o(i(47229).Z)}catch(e){}function s(e,t,i){let o={};for(let s in e)("values"!==s||"object"!=typeof e.values)&&(r(s)||!0===i&&(0,n.Z)(s)||!t&&!(0,n.Z)(s)||e.draggable&&s.startsWith("onDrag"))&&(o[s]=e[s]);return o}},77881:(e,t,i)=>{"use strict";i.d(t,{Xp:()=>s,f9:()=>r,tm:()=>o});let n=e=>t=>"string"==typeof t&&t.startsWith(e),r=n("--"),o=n("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},14361:(e,t,i)=>{"use strict";i.d(t,{q:()=>r});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}},58895:(e,t,i)=>{"use strict";function n(e){return e instanceof SVGElement&&"svg"!==e.tagName}i.d(t,{v:()=>n})},51997:(e,t,i)=>{"use strict";i.d(t,{T:()=>s});var n=i(99514),r=i(32004),o=i(75942);function s(e,t){let i=(0,o.A)(e);return i!==r.h&&(i=n.P),i.getAnimatableNone?i.getAnimatableNone(t):void 0}},75942:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(98172),r=i(32004);let o={...i(23280).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},s=e=>o[e]},70071:(e,t,i)=>{"use strict";i.d(t,{$:()=>s,C:()=>a});var n=i(8888),r=i(44841),o=i(195);let s=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find((0,o.l)(e))},23280:(e,t,i)=>{"use strict";i.d(t,{j:()=>s});var n=i(8888),r=i(44841);let o={...n.Rx,transform:Math.round},s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:o,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:o}},195:(e,t,i)=>{"use strict";i.d(t,{l:()=>n});let n=e=>t=>t.test(e)},74558:(e,t,i)=>{"use strict";i.d(t,{W:()=>h});var n=i(66052),r=i(77881),o=i(67188),s=i(90428),a=i(12228),l=i(75942),u=i(26255),d=i(32663),c=i(8423);class h extends d.J{readValueFromInstance(e,t){if(o.G.has(t)){let e=(0,l.A)(t);return e&&e.default||0}{let i=window.getComputedStyle(e),n=((0,r.f9)(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,u.J)(e,t)}build(e,t,i,r){(0,n.r)(e,t,i,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return(0,s.U)(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,c.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,i,n){(0,a.N)(e,t,i,n)}}},66052:(e,t,i)=>{"use strict";i.d(t,{r:()=>l});var n=i(10455),r=i(77881),o=i(67188);let s=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var a=i(23280);function l(e,t,i,l){let{style:u,vars:d,transform:c,transformOrigin:h}=e,g=!1,p=!1,f=!0;for(let e in t){let i=t[e];if((0,r.f9)(e)){d[e]=i;continue}let n=a.j[e],l=s(i,n);if(o.G.has(e)){if(g=!0,c[e]=l,!f)continue;i!==(n.default||0)&&(f=!1)}else e.startsWith("origin")?(p=!0,h[e]=l):u[e]=l}if(!t.transform&&(g||l?u.transform=(0,n.P)(e.transform,i,f,l):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:i=0}=h;u.transformOrigin=`${e} ${t} ${i}`}}},10455:(e,t,i)=>{"use strict";i.d(t,{P:()=>s});var n=i(67188);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=n._.length;function s(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},s,a){let l="";for(let t=0;t{"use strict";function n(e,{style:t,vars:i},n,r){for(let o in Object.assign(e.style,t,r&&r.getProjectionStyles(n)),i)e.style.setProperty(o,i[o])}i.d(t,{N:()=>n})},90428:(e,t,i)=>{"use strict";i.d(t,{U:()=>o});var n=i(6780),r=i(8423);function o(e,t){let{style:i}=e,o={};for(let s in i)((0,r.i)(i[s])||t.style&&(0,r.i)(t.style[s])||(0,n.j)(s,e))&&(o[s]=i[s]);return o}},67188:(e,t,i)=>{"use strict";i.d(t,{G:()=>r,_:()=>n});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},88568:(e,t,i)=>{"use strict";i.d(t,{R:()=>n});let n=new WeakMap},6776:(e,t,i)=>{"use strict";i.d(t,{e:()=>g});var n=i(14819),r=i(32663),o=i(84030),s=i(52069),a=i(56928),l=i(67188),u=i(30342),d=i(75942),c=i(57346),h=i(91709);class g extends r.J{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.G.has(t)){let e=(0,d.A)(t);return e&&e.default||0}return t=a.s.has(t)?t:(0,s.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return(0,c.dO)()}scrapeMotionValuesFromProps(e,t){return(0,n.U)(e,t)}build(e,t,i,n){(0,o.i)(e,t,i,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,i,n){(0,u.K)(e,t,i,n)}mount(e){this.isSVGTag=(0,h.a)(e.tagName),super.mount(e)}}},84030:(e,t,i)=>{"use strict";i.d(t,{i:()=>l});var n=i(66052),r=i(44841);function o(e,t,i){return"string"==typeof e?e:r.px.transform(t+i*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:i,attrScale:l,originX:u,originY:d,pathLength:c,pathSpacing:h=1,pathOffset:g=0,...p},f,m,v){if((0,n.r)(e,p,f,v),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:b,style:y,dimensions:_}=e;b.transform&&(_&&(y.transform=b.transform),delete b.transform),_&&(void 0!==u||void 0!==d||y.transform)&&(y.transformOrigin=`${o(void 0!==u?u:.5,_.x,_.width)} ${o(void 0!==d?d:.5,_.y,_.height)}`),void 0!==t&&(b.x=t),void 0!==i&&(b.y=i),void 0!==l&&(b.scale=l),void 0!==c&&function(e,t,i=1,n=0,o=!0){e.pathLength=1;let l=o?s:a;e[l.offset]=r.px.transform(-n);let u=r.px.transform(t),d=r.px.transform(i);e[l.array]=`${u} ${d}`}(b,c,h,g,!1)}},56928:(e,t,i)=>{"use strict";i.d(t,{s:()=>n});let n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},91709:(e,t,i)=>{"use strict";i.d(t,{a:()=>n});let n=e=>"string"==typeof e&&"svg"===e.toLowerCase()},30342:(e,t,i)=>{"use strict";i.d(t,{K:()=>s});var n=i(52069),r=i(12228),o=i(56928);function s(e,t,i,s){for(let i in(0,r.N)(e,t,void 0,s),t.attrs)e.setAttribute(o.s.has(i)?i:(0,n.D)(i),t.attrs[i])}},14819:(e,t,i)=>{"use strict";i.d(t,{U:()=>s});var n=i(8423),r=i(90428),o=i(67188);function s(e,t){let i=(0,r.U)(e,t);for(let r in e)((0,n.i)(e[r])||(0,n.i)(t[r]))&&(i[-1!==o._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}},85842:(e,t,i)=>{"use strict";i.d(t,{E:()=>o});var n=i(59738);let r=(e,t)=>e.depth-t.depth;class o{constructor(){this.children=[],this.isDirty=!1}add(e){(0,n.y4)(this.children,e),this.isDirty=!0}remove(e){(0,n.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r),this.isDirty=!1,this.children.forEach(e)}}},4060:(e,t,i)=>{"use strict";i.d(t,{G:()=>s,M:()=>a});var n=i(91129),r=i(90026),o=i(97131);function s(e){return(0,n.H)(e.animate)||o.V.some(t=>(0,r.$)(e[t]))}function a(e){return!!(s(e)||e.variants)}},90026:(e,t,i)=>{"use strict";function n(e){return"string"==typeof e||Array.isArray(e)}i.d(t,{$:()=>n})},66968:(e,t,i)=>{"use strict";i.d(t,{x:()=>r});var n=i(70645);function r(e,t,i){let r,o,s=e.getProps();return(0,n.o)(s,t,void 0!==i?i:s.custom,(r={},e.values.forEach((e,t)=>r[t]=e.get()),r),(o={},e.values.forEach((e,t)=>o[t]=e.getVelocity()),o))}},70645:(e,t,i)=>{"use strict";function n(e,t,i,n={},r={}){return"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),t}i.d(t,{o:()=>n})},51527:(e,t,i)=>{"use strict";i.d(t,{GJ:()=>b,P$:()=>y,CD:()=>f,gg:()=>v});let n=e=>/^\-?\d*\.?\d+$/.test(e);var r=i(65508),o=i(9627),s=i(7881),a=i(99514),l=i(51997),u=i(98172),d=i(70071),c=i(195);let h=[...d.$,u.$,a.P],g=e=>h.find((0,c.l)(e));var p=i(66968);function f(e,t){let i=(0,p.x)(e,t),{transitionEnd:n={},transition:r={},...a}=i?e.makeTargetAnimatable(i,!1):{};for(let t in a={...a,...n}){let i=(0,o.Y)(a[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,s.B)(i))}}function m(e,t){[...t].reverse().forEach(i=>{let n=e.getVariant(i);n&&f(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{m(e,t)})})}function v(e,t){return Array.isArray(t)?m(e,t):"string"==typeof t?m(e,[t]):void f(e,t)}function b(e,t,i){var o,u;let d=Object.keys(t).filter(t=>!e.hasValue(t)),c=d.length;if(c)for(let h=0;h{"use strict";i.d(t,{V:()=>r,e:()=>n});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},59738:(e,t,i)=>{"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function o([...e],t,i){let n=t<0?e.length+t:t;if(n>=0&&nr,uo:()=>o,y4:()=>n})},53913:(e,t,i)=>{"use strict";i.d(t,{u:()=>n});let n=(e,t,i)=>Math.min(Math.max(i,e),t)},97246:(e,t,i)=>{"use strict";i.d(t,{g:()=>r});var n=i(2885);function r(e,t){let i=performance.now(),r=({timestamp:o})=>{let s=o-i;s>=t&&((0,n.Pn)(r),e(s-t))};return n.Wi.read(r,!0),()=>(0,n.Pn)(r)}},61285:(e,t,i)=>{"use strict";i.d(t,{T:()=>n,y:()=>r});let n=(e,t)=>Math.abs(e-t);function r(e,t){return Math.sqrt(n(e.x,t.x)**2+n(e.y,t.y)**2)}},33029:(e,t,i)=>{"use strict";i.d(t,{K:()=>r,k:()=>o});var n=i(606);let r=n.Z,o=n.Z},2466:(e,t,i)=>{"use strict";i.d(t,{s:()=>E});var n=i(33029),r=i(98172),o=i(53913),s=i(51413);function a(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var l=i(86652),u=i(25727),d=i(17041);let c=(e,t,i)=>{let n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},h=[l.$,u.m,d.J],g=e=>h.find(t=>t.test(e));function p(e){let t=g(e);(0,n.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===d.J&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,l=2*i-n;r=a(l,n,e+1/3),o=a(l,n,e),s=a(l,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let f=(e,t)=>{let i=p(e),n=p(t),r={...i};return e=>(r.red=c(i.red,n.red,e),r.green=c(i.green,n.green,e),r.blue=c(i.blue,n.blue,e),r.alpha=(0,s.C)(i.alpha,n.alpha,e),u.m.transform(r))};var m=i(19106),v=i(99514);let b=(e,t)=>i=>`${i>0?t:e}`;function y(e,t){return"number"==typeof e?i=>(0,s.C)(e,t,i):r.$.test(e)?f(e,t):e.startsWith("var(")?b(e,t):C(e,t)}let _=(e,t)=>{let i=[...e],n=i.length,r=e.map((e,i)=>y(e,t[i]));return e=>{for(let t=0;t{let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=y(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}},C=(e,t)=>{let i=v.P.createTransformer(t),r=(0,v.V)(e),o=(0,v.V)(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?(0,m.z)(_(r.values,o.values),i):((0,n.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),b(e,t))};var S=i(38172),x=i(606);let k=(e,t)=>i=>(0,s.C)(e,t,i);function E(e,t,{clamp:i=!0,ease:s,mixer:a}={}){let l=e.length;if((0,n.k)(l===t.length,"Both input and output ranges must be the same length"),1===l)return()=>t[0];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());let u=function(e,t,i){let n=[],o=i||function(e){if("number"==typeof e);else if("string"==typeof e)return r.$.test(e)?f:C;else if(Array.isArray(e))return _;else if("object"==typeof e)return w;return k}(e[0]),s=e.length-1;for(let i=0;i{let i=0;if(d>1)for(;ic((0,o.u)(e[0],e[l-1],t)):c}},70908:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});let n="undefined"!=typeof document},73271:(e,t,i)=>{"use strict";function n(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}i.d(t,{I:()=>n})},65508:(e,t,i)=>{"use strict";i.d(t,{W:()=>n});let n=e=>/^0[^.\s]+$/.test(e)},51413:(e,t,i)=>{"use strict";i.d(t,{C:()=>n});let n=(e,t,i)=>-i*e+i*t+e},606:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});let n=e=>e},85285:(e,t,i)=>{"use strict";i.d(t,{Y:()=>r});var n=i(65673);function r(e){let t=[0];return(0,n.c)(t,e.length-1),t}},65673:(e,t,i)=>{"use strict";i.d(t,{c:()=>o});var n=i(51413),r=i(38172);function o(e,t){let i=e[e.length-1];for(let o=1;o<=t;o++){let s=(0,r.Y)(0,t,o);e.push((0,n.C)(i,1,s))}}},19106:(e,t,i)=>{"use strict";i.d(t,{z:()=>r});let n=(e,t)=>i=>t(e(i)),r=(...e)=>e.reduce(n)},38172:(e,t,i)=>{"use strict";i.d(t,{Y:()=>n});let n=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n}},72796:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(70908),r=i(98201);function o(){if(r.O.current=!0,n.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>r.n.current=e.matches;e.addListener(t),t()}else r.n.current=!1}}},98201:(e,t,i)=>{"use strict";i.d(t,{O:()=>r,n:()=>n});let n={current:null},r={current:!1}},9627:(e,t,i)=>{"use strict";i.d(t,{Y:()=>o,p:()=>r});var n=i(54365);let r=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,n.C)(e)?e[e.length-1]||0:e},71905:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(59738);class r{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r{"use strict";i.d(t,{X:()=>r,w:()=>n});let n=e=>1e3*e,r=e=>e/1e3},75248:(e,t,i)=>{"use strict";i.d(t,{h:()=>r});var n=i(2784);function r(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58550:(e,t,i)=>{"use strict";i.d(t,{N:()=>s});var n=i(2885),r=i(2784),o=i(85632);function s(){let e=(0,o.t)(),[t,i]=(0,r.useState)(0),s=(0,r.useCallback)(()=>{e.current&&i(t+1)},[t]);return[(0,r.useCallback)(()=>n.Wi.postRender(s),[s]),t]}},37981:(e,t,i)=>{"use strict";i.d(t,{c:()=>n});let n={current:!1}},85632:(e,t,i)=>{"use strict";i.d(t,{t:()=>o});var n=i(2784),r=i(53072);function o(){let e=(0,n.useRef)(!1);return(0,r.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},53072:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(2784);let r=i(70908).j?n.useLayoutEffect:n.useEffect},55212:(e,t,i)=>{"use strict";i.d(t,{z:()=>r});var n=i(2784);function r(e){return(0,n.useEffect)(()=>()=>e(),[])}},32369:(e,t,i)=>{"use strict";function n(e,t){return t?e*(1e3/t):0}i.d(t,{R:()=>n})},7881:(e,t,i)=>{"use strict";i.d(t,{B:()=>u,H:()=>l});var n=i(96002),r=i(2885),o=i(71905),s=i(32369);let a=e=>!isNaN(parseFloat(e));class l{constructor(e,t={}){this.version="10.12.12",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:i,timestamp:o}=n.frameData;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,r.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>r.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=a(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new o.L);let i=this.events[e].add(t);return"change"===e?()=>{i(),r.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=e,this.timeDelta=i}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,s.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},86652:(e,t,i)=>{"use strict";i.d(t,{$:()=>r});var n=i(25727);let r={test:(0,i(95610).i)("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},17041:(e,t,i)=>{"use strict";i.d(t,{J:()=>a});var n=i(8888),r=i(44841),o=i(32860),s=i(95610);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+r.aQ.transform((0,o.Nw)(t))+", "+r.aQ.transform((0,o.Nw)(i))+", "+(0,o.Nw)(n.Fq.transform(s))+")"}},98172:(e,t,i)=>{"use strict";i.d(t,{$:()=>a});var n=i(32860),r=i(86652),o=i(17041),s=i(25727);let a={test:e=>s.m.test(e)||r.$.test(e)||o.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):o.J.test(e)?o.J.parse(e):r.$.parse(e),transform:e=>(0,n.HD)(e)?e:e.hasOwnProperty("red")?s.m.transform(e):o.J.transform(e)}},25727:(e,t,i)=>{"use strict";i.d(t,{m:()=>u});var n=i(53913),r=i(8888),o=i(32860),s=i(95610);let a=e=>(0,n.u)(0,255,e),l={...r.Rx,transform:e=>Math.round(a(e))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(i)+", "+(0,o.Nw)(r.Fq.transform(n))+")"}},95610:(e,t,i)=>{"use strict";i.d(t,{d:()=>o,i:()=>r});var n=i(32860);let r=(e,t)=>i=>!!((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),o=(e,t,i)=>r=>{if(!(0,n.HD)(r))return r;let[o,s,a,l]=r.match(n.KP);return{[e]:parseFloat(o),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},32004:(e,t,i)=>{"use strict";i.d(t,{h:()=>l});var n=i(99514),r=i(32860);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(r.KP)||[];if(!n)return e;let s=i.replace(n,""),a=o.has(t)?1:0;return n!==i&&(a*=100),t+"("+a+s+")"}let a=/([a-z-]*)\(.*?\)/g,l={...n.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(s).join(" "):e}}},99514:(e,t,i)=>{"use strict";i.d(t,{P:()=>m,V:()=>h});var n=i(77881),r=i(606),o=i(98172),s=i(8888),a=i(32860);let l={regex:n.Xp,countKey:"Vars",token:"${v}",parse:r.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},d={regex:a.KP,countKey:"Numbers",token:"${n}",parse:s.Rx.parse};function c(e,{regex:t,countKey:i,token:n,parse:r}){let o=e.tokenised.match(t);o&&(e["num"+i]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(r)))}function h(e){let t=e.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&c(i,l),c(i,u),c(i,d),i}function g(e){return h(e).values}function p(e){let{values:t,numColors:i,numVars:n,tokenised:r}=h(e),s=t.length;return e=>{let t=r;for(let r=0;r"number"==typeof e?0:e,m={test:function(e){var t,i;return isNaN(e)&&(0,a.HD)(e)&&((null===(t=e.match(a.KP))||void 0===t?void 0:t.length)||0)+((null===(i=e.match(a.dA))||void 0===i?void 0:i.length)||0)>0},parse:g,createTransformer:p,getAnimatableNone:function(e){let t=g(e);return p(e)(t.map(f))}}},8888:(e,t,i)=>{"use strict";i.d(t,{Fq:()=>o,Rx:()=>r,bA:()=>s});var n=i(53913);let r={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...r,transform:e=>(0,n.u)(0,1,e)},s={...r,default:1}},44841:(e,t,i)=>{"use strict";i.d(t,{$C:()=>d,RW:()=>o,aQ:()=>s,px:()=>a,vh:()=>l,vw:()=>u});var n=i(32860);let r=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=r("deg"),s=r("%"),a=r("px"),l=r("vh"),u=r("vw"),d={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},32860:(e,t,i)=>{"use strict";i.d(t,{HD:()=>a,KP:()=>r,Nw:()=>n,dA:()=>o,mj:()=>s});let n=e=>Math.round(1e5*e)/1e5,r=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(e){return"string"==typeof e}},64595:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(8423);function r(e){return!!((0,n.i)(e)&&e.add)}},8423:(e,t,i)=>{"use strict";i.d(t,{i:()=>n});let n=e=>!!(e&&e.getVelocity)},93920:(e,t,i)=>{"use strict";i.d(t,{b:()=>o});var n=i(9627),r=i(8423);function o(e){let t=(0,r.i)(e)?e.get():e;return(0,n.p)(t)?t.toValue():t}},37795:e=>{"use strict";var t=Object.prototype.toString,i=Math.max,n=function(e,t){for(var i=[],n=0;n{"use strict";var n=i(37795);e.exports=Function.prototype.bind||n},67286:(e,t,i)=>{"use strict";var n,r=i(42321),o=i(69654),s=i(48205),a=i(2976),l=i(48342),u=i(5408),d=i(82885),c=Function,h=function(e){try{return c('"use strict"; return ('+e+").constructor;")()}catch(e){}},g=Object.getOwnPropertyDescriptor;if(g)try{g({},"")}catch(e){g=null}var p=function(){throw new u},f=g?function(){try{return arguments.callee,p}catch(e){try{return g(arguments,"callee").get}catch(e){return p}}}():p,m=i(32636)(),v=i(18486)(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},_="undefined"!=typeof Uint8Array&&b?b(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":m&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&b?b(b([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&b?b(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&b?b(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&b?b(""[Symbol.iterator]()):n,"%Symbol%":m?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":_,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(b)try{null.error}catch(e){var C=b(b(e));w["%Error.prototype%"]=C}var S=function e(t){var i;if("%AsyncFunction%"===t)i=h("async function () {}");else if("%GeneratorFunction%"===t)i=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)i=h("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&b&&(i=b(r.prototype))}return w[t]=i,i},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=i(4090),E=i(72196),L=k.call(Function.call,Array.prototype.concat),D=k.call(Function.apply,Array.prototype.splice),N=k.call(Function.call,String.prototype.replace),A=k.call(Function.call,String.prototype.slice),T=k.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,R=function(e){var t=A(e,0,1),i=A(e,-1);if("%"===t&&"%"!==i)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return N(e,I,function(e,t,i,r){n[n.length]=i?N(r,M,"$1"):t||e}),n},P=function(e,t){var i,n=e;if(E(x,n)&&(n="%"+(i=x[n])[0]+"%"),E(w,n)){var r=w[n];if(r===y&&(r=S(n)),void 0===r&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:r}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=R(e),n=i.length>0?i[0]:"",r=P("%"+n+"%",t),o=r.name,s=r.value,a=!1,d=r.alias;d&&(n=d[0],D(i,L([0,1],d)));for(var c=1,h=!0;c=i.length){var v=g(s,p);s=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[p]}else h=E(s,p),s=s[p];h&&!a&&(w[o]=s)}}return s}},50326:(e,t,i)=>{"use strict";var n=i(67286)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},81181:(e,t,i)=>{"use strict";var n=i(67286)("%Object.defineProperty%",!0),r=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},18486:e=>{"use strict";var t={foo:{}},i=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(({__proto__:null})instanceof i)}},32636:(e,t,i)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,r=i(66679);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&r()}},66679:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),i=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},67226:(e,t,i)=>{"use strict";var n=i(66679);e.exports=function(){return n()&&!!Symbol.toStringTag}},72196:(e,t,i)=>{"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=i(4090);e.exports=o.call(n,r)},30361:function(e,t,i){var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A;(e=i.nmd(e))&&e.exports,(r="object"==typeof i.g&&i.g).global===r||r.window,o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,a=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","\uD835\uDD33":"vfr","\uD835\uDD67":"vopf","\uD835\uDCCB":"vscr","\uD835\uDD19":"Vfr","\uD835\uDD4D":"Vopf","\uD835\uDCB1":"Vscr","\uD835\uDD68":"wopf","\uD835\uDCCC":"wscr","\uD835\uDD34":"wfr","\uD835\uDCB2":"Wscr","\uD835\uDD4E":"Wopf","\uD835\uDD1A":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","\uD835\uDD35":"xfr","\uD835\uDCCD":"xscr","\uD835\uDD69":"xopf","\uD835\uDD4F":"Xopf","\uD835\uDD1B":"Xfr","\uD835\uDCB3":"Xscr","\uD835\uDD36":"yfr","\uD835\uDCCE":"yscr","\uD835\uDD6A":"yopf","\uD835\uDCB4":"Yscr","\uD835\uDD1C":"Yfr","\uD835\uDD50":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,c={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,f={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},m={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},b=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],y=String.fromCharCode,_=({}).hasOwnProperty,w=function(e,t){return _.call(e,t)},C=function(e,t){for(var i=-1,n=e.length;++i=55296&&e<=57343||e>1114111?(t&&L("character reference outside the permissible Unicode range"),"�"):w(v,e)?(t&&L("disallowed character reference"),v[e]):(t&&C(b,e)&&L("disallowed character reference"),e>65535&&(e-=65536,i+=y(e>>>10&1023|55296),e=56320|1023&e),i+=y(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},E=function(e){return"&#"+e+";"},L=function(e){throw Error("Parse error: "+e)},(D=function(e,t){(t=S(t,D.options)).strict&&g.test(e)&&L("forbidden code point");var i=t.encodeEverything,n=t.useNamedReferences,r=t.allowUnsafeSymbols,c=t.decimal?E:k,h=function(e){return c(e.charCodeAt(0))};return i?(e=e.replace(s,function(e){return n&&w(u,e)?"&"+u[e]+";":h(e)}),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,function(e){return"&"+u[e]+";"}))):n?(r||(e=e.replace(d,function(e){return"&"+u[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+u[e]+";"})):r||(e=e.replace(d,h)),e.replace(o,function(e){return c((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(a,h)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(N=function(e,t){var i=(t=S(t,N.options)).strict;return i&&h.test(e)&&L("malformed character reference"),e.replace(p,function(e,n,r,o,s,a,l,u,d){var c,h;return n?f[h=n]:r?(h=r,o&&t.isAttributeValue)?(i&&"="==o&&L("`&` did not start a character reference"),e):(i&&L("named character reference was not terminated by a semicolon"),m[h]+(o||"")):s?(c=a,i&&!c&&L("character reference was not terminated by a semicolon"),x(parseInt(s,10),i)):l?(c=u,i&&!c&&L("character reference was not terminated by a semicolon"),x(parseInt(l,16),i)):(i&&L("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},A={version:"1.2.0",encode:D,decode:N,escape:function(e){return e.replace(d,function(e){return c[e]})},unescape:N},void 0!==(n=(function(){return A}).call(t,i,t,e))&&(e.exports=n)},73463:(e,t,i)=>{"use strict";var n=i(48570),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?s:a[e.$$typeof]||r}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var u=Object.defineProperty,d=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,i,n){if("string"!=typeof i){if(p){var r=g(i);r&&r!==p&&e(t,r,n)}var s=d(i);c&&(s=s.concat(c(i)));for(var a=l(t),f=l(i),m=0;m\\$%@ءؤة\"'^|~⦅⦆・ゥャ\xa2\xa3\xac\xa6\xa5₩│←↑→↓■○𐐨𐐩𐐪𐐫𐐬𐐭𐐮𐐯𐐰𐐱𐐲𐐳𐐴𐐵𐐶𐐷𐐸𐐹𐐺𐐻𐐼𐐽𐐾𐐿𐑀𐑁𐑂𐑃𐑄𐑅𐑆𐑇𐑈𐑉𐑊𐑋𐑌𐑍𐑎𐑏𐓘𐓙𐓚𐓛𐓜𐓝𐓞𐓟𐓠𐓡𐓢𐓣𐓤𐓥𐓦𐓧𐓨𐓩𐓪𐓫𐓬𐓭𐓮𐓯𐓰𐓱𐓲𐓳𐓴𐓵𐓶𐓷𐓸𐓹𐓺𐓻𐳀𐳁𐳂𐳃𐳄𐳅𐳆𐳇𐳈𐳉𐳊𐳋𐳌𐳍𐳎𐳏𐳐𐳑𐳒𐳓𐳔𐳕𐳖𐳗𐳘𐳙𐳚𐳛𐳜𐳝𐳞𐳟𐳠𐳡𐳢𐳣𐳤𐳥𐳦𐳧𐳨𐳩𐳪𐳫𐳬𐳭𐳮𐳯𐳰𐳱𐳲𑣀𑣁𑣂𑣃𑣄𑣅𑣆𑣇𑣈𑣉𑣊𑣋𑣌𑣍𑣎𑣏𑣐𑣑𑣒𑣓𑣔𑣕𑣖𑣗𑣘𑣙𑣚𑣛𑣜𑣝𑣞𑣟ıȷ∇∂𞤢𞤣𞤤𞤥𞤦𞤧𞤨𞤩𞤪𞤫𞤬𞤭𞤮𞤯𞤰𞤱𞤲𞤳𞤴𞤵𞤶𞤷𞤸𞤹𞤺𞤻𞤼𞤽𞤾𞤿𞥀𞥁𞥂𞥃ٮڡٯ字双多解交映無前後再新初終販声吹演投捕遊指禁空合満申割営配得可丽丸乁𠄢你侻倂偺備像㒞𠘺兔兤具𠔜㒹內𠕋冗冤仌冬𩇟刃㓟刻剆剷㔕包匆卉博即卽卿𠨬灰及叟𠭣叫叱吆咞吸呈周咢哶唐啓啣善喫喳嗂圖圗噑噴壮城埴堍型堲報墬𡓤売壷夆夢奢𡚨𡛪姬娛娧姘婦㛮嬈嬾𡧈寃寘寳𡬘寿将㞁屠峀岍𡷤嵃𡷦嵮嵫嵼巡巢㠯巽帨帽幩㡢𢆃㡼庰庳庶𪎒𢌱舁弢㣇𣊸𦇚形彫㣣徚忍志忹悁㤺㤜𢛔惇慈慌慺憲憤憯懞戛扝抱拔捐𢬌挽拼捨掃揤𢯱搢揅掩㨮摩摾撝摷㩬敬𣀊旣書晉㬙㬈㫤冒冕最暜肭䏙朡杞杓𣏃㭉柺枅桒𣑭梎栟椔楂榣槪檨𣚣櫛㰘次𣢧歔㱎歲殟殻𣪍𡴋𣫺汎𣲼沿泍汧洖派浩浸涅𣴞洴港湮㴳滇𣻑淹潮𣽞𣾎濆瀹瀛㶖灊災灷炭𠔥煅𤉣熜爨牐𤘈犀犕𤜵𤠔獺王㺬玥㺸瑇瑜璅瓊㼛甤𤰶甾𤲒𢆟瘐𤾡𤾸𥁄㿼䀈𥃳𥃲𥄙𥄳眞真瞋䁆䂖𥐝硎䃣𥘦𥚚𥛅秫䄯穊穏𥥼𥪧䈂𥮫篆築䈧𥲀糒䊠糨糣紀𥾆絣䌁緇縂繅䌴𦈨𦉇䍙𦋙罺𦌾羕翺𦓚𦔣聠𦖨聰𣍟䏕育脃䐋脾媵𦞧𦞵𣎓𣎜舄辞䑫芑芋芝劳花芳芽苦𦬼茝荣莭茣莽菧荓菊菌菜𦰶𦵫𦳕䔫蓱蓳蔖𧏊蕤𦼬䕝䕡𦾱𧃒䕫虐虧虩蚩蚈蜎蛢蜨蝫螆蟡蠁䗹衠𧙧裗裞䘵裺㒻𧢮𧥦䚾䛇誠𧲨貫賁贛起𧼯𠠄跋趼跰𠣞軔𨗒𨗭邔郱鄑𨜮鄛鈸鋗鋘鉼鏹鐕𨯺開䦕閷𨵷䧦雃嶲霣𩅅𩈚䩮䩶韠𩐊䪲𩒖頩𩖶飢䬳餩馧駂駾䯎𩬰鱀鳽䳎䳭鵧𪃎䳸𪄅𪈎𪊑䵖黾鼅鼏鼖𪘀",mapChar:function(i){return i>=196608?i>=917760&&i<=917999?18874368:0:e[t[i>>4]][15&i]}}},void 0!==(i=(function(){return n()}).apply(t,[]))&&(e.exports=i)},68988:e=>{"use strict";let t=/^xn--/,i=/[^\0-\x7E]/,n=/[\x2E\u3002\uFF0E\uFF61]/g,r={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},o=Math.floor,s=String.fromCharCode;function a(e){throw RangeError(r[e])}function l(e,t){let i=e.split("@"),r="";return i.length>1&&(r=i[0]+"@",e=i[1]),r+(function(e,t){let i=[],n=e.length;for(;n--;)i[n]=t(e[n]);return i})((e=e.replace(n,".")).split("."),t).join(".")}function u(e){let t=[],i=0,n=e.length;for(;i=55296&&r<=56319&&i>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(n+36*e/(e+38))},h=function(e){let t=[],i=e.length,n=0,r=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i=128&&a("not-basic"),t.push(e.charCodeAt(i));for(let d=l>0?l+1:0;d=i&&a("invalid-input");let l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(l>=36||l>o((2147483647-n)/t))&&a("overflow"),n+=l*t;let c=r<=s?1:r>=s+26?26:r-s;if(lo(2147483647/h)&&a("overflow"),t*=h}let h=t.length+1;s=c(n-l,h,0==l),o(n/h)>2147483647-r&&a("overflow"),r+=o(n/h),n%=h,t.splice(n++,0,r)}return String.fromCodePoint(...t)},g=function(e){let t=[],i=(e=u(e)).length,n=128,r=0,l=72;for(let i of e)i<128&&t.push(s(i));let h=t.length,g=h;for(h&&t.push("-");g=n&&to((2147483647-r)/u)&&a("overflow"),r+=(i-n)*u,n=i,e))if(p2147483647&&a("overflow"),p==n){let e=r;for(let i=36;;i+=36){let n=i<=l?1:i>=l+26?26:i-l;if(eString.fromCodePoint(...e)},decode:h,encode:g,toASCII:function(e){return l(e,function(e){return i.test(e)?"xn--"+g(e):e})},toUnicode:function(e){return l(e,function(e){return t.test(e)?h(e.slice(4).toLowerCase()):e})}}},6639:function(e,t,i){var n,r;r=function(e,t){function i(i,n,r){for(var o=[],s=e.ucs2.decode(i),a=0;a>23,h=d>>21&3,g=d>>5&65535,p=31&d,f=t.mapStr.substr(g,p);if(0===h||n&&1&c)throw Error("Illegal char "+u);1===h?o.push(f):2===h?o.push(r?f:u):3===h&&o.push(u)}return o.join("").normalize("NFC")}function n(t,n,o){void 0===o&&(o=!1);var s=i(t,o,n).split(".");return(s=s.map(function(t){return t.startsWith("xn--")?r(t=e.decode(t.substring(4)),o,!1):r(t,o,n),t})).join(".")}function r(e,n,r){if("-"===e[2]&&"-"===e[3]||e.startsWith("-")||e.endsWith("-")||e.includes(".")||i(e,n,r)!==e)throw Error("Failed to validate "+e);var o=e.codePointAt(0);if(16777216&t.mapChar(o))throw Error("Label contains illegal character: "+o)}return{toUnicode:function(e,t){return void 0===t&&(t={}),n(e,!1,"useStd3ASCII"in t&&t.useStd3ASCII)},toAscii:function(t,i){void 0===i&&(i={});var r,o=!("transitional"in i)||i.transitional,s="useStd3ASCII"in i&&i.useStd3ASCII,a="verifyDnsLength"in i&&i.verifyDnsLength,l=n(t,o,s).split(".").map(e.toASCII),u=l.join(".");if(a){if(u.length<1||u.length>253)throw Error("DNS name has wrong length: "+u);for(r=0;r63)throw Error("DNS label has wrong length: "+d)}}return u}}},void 0!==(n=(function(e,t){return r(e,t)}).apply(t,[i(68988),i(74596)]))&&(e.exports=n)},62333:(e,t)=>{t.read=function(e,t,i,n,r){var o,s,a=8*r-n-1,l=(1<>1,d=-7,c=i?r-1:0,h=i?-1:1,g=e[t+c];for(c+=h,o=g&(1<<-d)-1,g>>=-d,d+=a;d>0;o=256*o+e[t+c],c+=h,d-=8);for(s=o&(1<<-d)-1,o>>=-d,d+=n;d>0;s=256*s+e[t+c],c+=h,d-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:(g?-1:1)*(1/0);s+=Math.pow(2,n),o-=u}return(g?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,i,n,r,o){var s,a,l,u=8*o-r-1,d=(1<>1,h=23===r?5960464477539062e-23:0,g=n?0:o-1,p=n?1:-1,f=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+c>=1?t+=h/l:t+=h*Math.pow(2,1-c),t*l>=2&&(s++,l/=2),s+c>=d?(a=0,s=d):s+c>=1?(a=(t*l-1)*Math.pow(2,r),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,r),s=0));r>=8;e[i+g]=255&a,g+=p,a/=256,r-=8);for(s=s<0;e[i+g]=255&s,g+=p,s/=256,u-=8);e[i+g-p]|=128*f}},3873:(e,t,i)=>{"use strict";function n(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:g(e)?2:p(e)?3:0}function u(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){return 2===l(e)?e.get(t):e[t]}function c(e,t,i){var n=l(e);2===n?e.set(t,i):3===n?e.add(i):e[t]=i}function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e){return z&&e instanceof Map}function p(e){return U&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[G];for(var i=Y(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=b),Object.freeze(e),t&&a(e,function(e,t){return v(t,!0)},!0)),e}function b(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=J[e];return t||n(18,e),t}function w(e,t){t&&(_("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){S(e),e.p.forEach(k),e.p=null}function S(e){e===W&&(W=e.l)}function x(e){return W={p:[],l:W,h:e,m:!0,_:0}}function k(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function E(e,t){t._=t.p.length;var i=t.p[0],r=void 0!==e&&e!==i;return t.h.O||_("ES5").S(t,e,r),r?(i[G].P&&(C(t),n(4)),o(e)&&(e=L(t,e),t.l||N(t,e)),t.u&&_("Patches").M(i[G].t,e,t.u,t.s)):e=L(t,i,[]),C(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function L(e,t,i){if(y(t))return t;var n=t[G];if(!n)return a(t,function(r,o){return D(e,n,t,r,o,i)},!0),t;if(n.A!==e)return t;if(!n.P)return N(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=m(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),a(o,function(t,o){return D(e,n,r,t,o,i,s)}),N(e,r,!1),i&&e.u&&_("Patches").N(n,i,e.u,e.s)}return n.o}function D(e,t,i,n,s,a,l){if(r(s)){var d=L(e,s,a&&t&&3!==t.i&&!u(t.R,n)?a.concat(n):void 0);if(c(i,n,d),!r(d))return;e.m=!1}else l&&i.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e._<1)return;L(e,s),t&&t.A.l||N(e,s)}}function N(e,t,i){void 0===i&&(i=!1),!e.l&&e.h.D&&e.m&&v(t,i)}function A(e,t){var i=e[G];return(i?f(i):e)[t]}function T(e,t){if(t in e)for(var i=Object.getPrototypeOf(e);i;){var n=Object.getOwnPropertyDescriptor(i,t);if(n)return n;i=Object.getPrototypeOf(i)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function M(e){e.o||(e.o=m(e.t))}function R(e,t,i){var n,r,o,s,a,l,u,d=g(t)?_("MapSet").F(t,i):p(t)?_("MapSet").T(t,i):e.O?(o=r={i:(n=Array.isArray(t))?1:0,A:i?i.A:W,P:!1,I:!1,R:{},l:i,t:t,k:null,o:null,j:null,C:!1},s=X,n&&(o=[r],s=ee),l=(a=Proxy.revocable(o,s)).revoke,u=a.proxy,r.k=u,r.j=l,u):_("ES5").J(t,i);return(i?i.A:W).p.push(d),d}function P(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var i,n=t[G],r=l(t);if(n){if(!n.P&&(n.i<4||!_("ES5").K(n)))return n.t;n.I=!0,i=O(t,r),n.I=!1}else i=O(t,r);return a(i,function(t,r){n&&d(n.t,t)===r||c(i,t,e(r))}),3===r?new Set(i):i}(e)}function O(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function F(){function e(e,t){var i=o[e];return i?i.enumerable=t:o[e]=i={configurable:!0,enumerable:t,get:function(){var t=this[G];return X.get(t,e)},set:function(t){var i=this[G];X.set(i,e,t)}},i}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][G];if(!r.P)switch(r.i){case 5:n(r)&&I(r);break;case 4:i(r)&&I(r)}}}function i(e){for(var t=e.t,i=e.k,n=Y(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==G){var s=t[o];if(void 0===s&&!u(t,o))return!0;var a=i[o],l=a&&a[G];if(l?l.t!==s:!h(a,s))return!0}}var d=!!t[G];return n.length!==Y(t).length+(d?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var i=Object.getOwnPropertyDescriptor(t,t.length-1);if(i&&!i.get)return!0;for(var n=0;ns,QE:()=>er,Uy:()=>ei,Vk:()=>P,ZP:()=>eo,aS:()=>en,cA:()=>V,mv:()=>r,o$:()=>o,pV:()=>F,vI:()=>B,vV:()=>v});var H,W,j="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),z="undefined"!=typeof Map,U="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=j?Symbol.for("immer-nothing"):((H={})["immer-nothing"]=!0,H),K=j?Symbol.for("immer-draftable"):"__$immer_draftable",G=j?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(i){t[i]=Object.getOwnPropertyDescriptor(e,i)}),t},J={},X={get:function(e,t){if(t===G)return e;var i,n,r=f(e);if(!u(r,t))return(n=T(r,t))?"value"in n?n.value:null===(i=n.get)||void 0===i?void 0:i.call(e.k):void 0;var s=r[t];return e.I||!o(s)?s:s===A(e.t,t)?(M(e),e.o[t]=R(e.A.h,s,e)):s},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,i){var n=T(f(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,i),!0;if(!e.P){var r=A(f(e),t),o=null==r?void 0:r[G];if(o&&o.t===i)return e.o[t]=i,e.R[t]=!1,!0;if(h(i,r)&&(void 0!==i||u(e.t,t)))return!0;M(e),I(e)}return e.o[t]===i&&(void 0!==i||t in e.o)||Number.isNaN(i)&&Number.isNaN(e.o[t])||(e.o[t]=i,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.R[t]=!1,M(e),I(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var i=f(e),n=Reflect.getOwnPropertyDescriptor(i,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:i[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},ee={};a(X,function(e,t){ee[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ee.deleteProperty=function(e,t){return ee.set.call(this,e,t,void 0)},ee.set=function(e,t,i){return X.set.call(this,e[0],t,i,e[0])};var et=new(function(){function e(e){var t=this;this.O=$,this.D=!0,this.produce=function(e,i,r){if("function"==typeof e&&"function"!=typeof i){var s,a=i;return i=e,function(e){var n=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),s=1;s1?n-1:0),o=1;o=0;i--){var i,n=t[i];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}i>-1&&(t=t.slice(i+1));var o=_("Patches").$;return r(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}()),ei=et.produce,en=et.produceWithPatches.bind(et),er=(et.setAutoFreeze.bind(et),et.setUseProxies.bind(et),et.applyPatches.bind(et));et.createDraft.bind(et),et.finishDraft.bind(et);let eo=ei},91285:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},52635:(e,t,i)=>{"use strict";var n=i(67226)(),r=i(62680)("Object.prototype.toString"),o=function(e){return(!n||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r(e)&&"[object Function]"===r(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=a?o:s},9680:e=>{"use strict";var t,i,n=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw i}}),i={},r(function(){throw 42},null,t)}catch(e){e!==i&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},a=function(e){try{if(s(e))return!1;return n.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),c=function(){return!1};if("object"==typeof document){var h=document.all;l.call(h)===l.call(document.all)&&(c=function(e){if((d||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=r?function(e){if(c(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{r(e,null,t)}catch(e){if(e!==i)return!1}return!s(e)&&a(e)}:function(e){if(c(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(u)return a(e);if(s(e))return!1;var t=l.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&a(e)}},43138:(e,t,i)=>{"use strict";var n,r=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=i(67226)(),l=Object.getPrototypeOf,u=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(s.test(o.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===r.call(e);if(!l)return!1;if(void 0===n){var t=u();n=!!t&&l(t)}return l(e)===n}},38320:e=>{e.exports=function(e){if("string"!=typeof e)throw Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},50198:(e,t,i)=>{"use strict";var n=i(83243),r=i(10711),o=i(62680),s=o("Object.prototype.toString"),a=i(67226)(),l=i(50326),u="undefined"==typeof globalThis?i.g:globalThis,d=r(),c=o("Array.prototype.indexOf",!0)||function(e,t){for(var i=0;i-1)}},83669:(e,t,i)=>{var n=i(34406);!/** + `),()=>{document.head.removeChild(l)}},[t]),n.createElement(l,{isPresent:t,childRef:r,sizeRef:o},n.cloneElement(e,{ref:r}))}let d=({children:e,initial:t,isPresent:i,onExitComplete:r,custom:o,presenceAffectsLayout:l,mode:d})=>{let h=(0,a.h)(c),g=(0,n.useId)(),p=(0,n.useMemo)(()=>({id:g,initial:t,isPresent:i,custom:o,onExitComplete:e=>{for(let t of(h.set(e,!0),h.values()))if(!t)return;r&&r()},register:e=>(h.set(e,!1),()=>h.delete(e))}),l?void 0:[i]);return(0,n.useMemo)(()=>{h.forEach((e,t)=>h.set(t,!1))},[i]),n.useEffect(()=>{i||h.size||!r||r()},[i]),"popLayout"===d&&(e=n.createElement(u,{isPresent:i},e)),n.createElement(s.O.Provider,{value:p},e)};function c(){return new Map}var h=i(30200),g=i(53072),p=i(55212),f=i(33029);let m=e=>e.key||"",v=({children:e,custom:t,initial:i=!0,onExitComplete:s,exitBeforeEnter:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,f.k)(!a,"Replace exitBeforeEnter with mode='wait'");let c=(0,n.useContext)(h.p).forceRender||(0,r.N)()[0],v=(0,o.t)(),b=function(e){let t=[];return n.Children.forEach(e,e=>{(0,n.isValidElement)(e)&&t.push(e)}),t}(e),y=b,_=(0,n.useRef)(new Map).current,w=(0,n.useRef)(y),C=(0,n.useRef)(new Map).current,S=(0,n.useRef)(!0);if((0,g.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let i=m(e);t.set(i,e)})}(b,C),w.current=y}),(0,p.z)(()=>{S.current=!0,C.clear(),_.clear()}),S.current)return n.createElement(n.Fragment,null,y.map(e=>n.createElement(d,{key:m(e),isPresent:!0,initial:!!i&&void 0,presenceAffectsLayout:l,mode:u},e)));y=[...y];let x=w.current.map(m),k=b.map(m),E=x.length;for(let e=0;e{if(-1!==k.indexOf(i))return;let r=C.get(i);if(!r)return;let o=x.indexOf(i),a=e;a||(a=n.createElement(d,{key:m(r),isPresent:!1,onExitComplete:()=>{C.delete(i),_.delete(i);let e=w.current.findIndex(e=>e.key===i);if(w.current.splice(e,1),!_.size){if(w.current=b,!1===v.current)return;c(),s&&s()}},custom:t,presenceAffectsLayout:l,mode:u},r),_.set(i,a)),y.splice(o,0,a)}),y=y.map(e=>{let t=e.key;return _.has(t)?e:n.createElement(d,{key:m(e),isPresent:!0,presenceAffectsLayout:l,mode:u},e)}),n.createElement(n.Fragment,null,_.size?y:y.map(e=>(0,n.cloneElement)(e)))}},32565:(e,t,i)=>{"use strict";i.d(t,{hO:()=>s,oO:()=>o});var n=i(2784),r=i(49501);function o(){let e=(0,n.useContext)(r.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:i,register:o}=e,s=(0,n.useId)();return(0,n.useEffect)(()=>o(s),[]),!t&&i?[!1,()=>i&&i(s)]:[!0]}function s(){var e;return null===(e=(0,n.useContext)(r.O))||e.isPresent}},30200:(e,t,i)=>{"use strict";i.d(t,{p:()=>n});let n=(0,i(2784).createContext)({})},75902:(e,t,i)=>{"use strict";i.d(t,{u:()=>n});let n=(0,i(2784).createContext)({strict:!1})},75045:(e,t,i)=>{"use strict";i.d(t,{_:()=>n});let n=(0,i(2784).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},58456:(e,t,i)=>{"use strict";i.d(t,{v:()=>n});let n=(0,i(2784).createContext)({})},49501:(e,t,i)=>{"use strict";i.d(t,{O:()=>n});let n=(0,i(2784).createContext)(null)},71633:(e,t,i)=>{"use strict";i.d(t,{g:()=>n});let n=(0,i(2784).createContext)({})},19647:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(98210);let r=e=>(e*=2)<1?.5*(0,n.G2)(e):.5*(2-Math.pow(2,-10*(e-1)))},98210:(e,t,i)=>{"use strict";i.d(t,{CG:()=>s,G2:()=>a,XL:()=>l});var n=i(19325),r=i(67210),o=i(21509);let s=(0,n._)(.33,1.53,.69,.99),a=(0,o.M)(s),l=(0,r.o)(a)},72375:(e,t,i)=>{"use strict";i.d(t,{Bn:()=>s,X7:()=>a,Z7:()=>o});var n=i(67210),r=i(21509);let o=e=>1-Math.sin(Math.acos(e)),s=(0,r.M)(o),a=(0,n.o)(s)},19325:(e,t,i)=>{"use strict";i.d(t,{_:()=>o});var n=i(606);let r=(e,t,i)=>(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e;function o(e,t,i,o){if(e===t&&i===o)return n.Z;let s=t=>(function(e,t,i,n,o){let s,a;let l=0;do(s=r(a=t+(i-t)/2,n,o)-e)>0?i=a:t=a;while(Math.abs(s)>1e-7&&++l<12)return a})(t,0,1,e,i);return e=>0===e||1===e?e:r(s(e),t,o)}},99724:(e,t,i)=>{"use strict";i.d(t,{Vv:()=>o,YQ:()=>r,mZ:()=>s});var n=i(19325);let r=(0,n._)(.42,0,1,1),o=(0,n._)(0,0,.58,1),s=(0,n._)(.42,0,.58,1)},67210:(e,t,i)=>{"use strict";i.d(t,{o:()=>n});let n=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2},21509:(e,t,i)=>{"use strict";i.d(t,{M:()=>n});let n=e=>t=>1-e(1-t)},89738:(e,t,i)=>{"use strict";i.d(t,{N:()=>n});let n=e=>Array.isArray(e)&&"number"!=typeof e[0]},21778:(e,t,i)=>{"use strict";i.d(t,{R:()=>c});var n=i(33029),r=i(19325),o=i(606),s=i(99724),a=i(72375),l=i(98210),u=i(19647);let d={linear:o.Z,easeIn:s.YQ,easeInOut:s.mZ,easeOut:s.Vv,circIn:a.Z7,circInOut:a.X7,circOut:a.Bn,backIn:l.G2,backInOut:l.XL,backOut:l.CG,anticipate:u.L},c=e=>{if(Array.isArray(e)){(0,n.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,i,o,s]=e;return(0,r._)(t,i,o,s)}return"string"==typeof e?((0,n.k)(void 0!==d[e],`Invalid easing type '${e}'`),d[e]):e}},44925:(e,t,i)=>{"use strict";function n(e,t,i,n={passive:!0}){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i)}i.d(t,{E:()=>n})},52813:(e,t,i)=>{"use strict";i.d(t,{a:()=>o});var n=i(44925),r=i(93273);function o(e,t,i,o){return(0,n.E)(e,t,(0,r.s)(i),o)}},93273:(e,t,i)=>{"use strict";i.d(t,{Q:()=>r,s:()=>o});var n=i(52894);function r(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let o=e=>t=>(0,n.D)(t)&&e(t,r(t))},52894:(e,t,i)=>{"use strict";i.d(t,{D:()=>n});let n=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary},96002:(e,t,i)=>{"use strict";i.d(t,{frameData:()=>n});let n={delta:0,timestamp:0,isProcessing:!1}},2885:(e,t,i)=>{"use strict";i.d(t,{Pn:()=>h,Wi:()=>c,S6:()=>a,BS:()=>s});var n=i(96002);let r=!0,o=!1,s=["read","update","preRender","render","postRender"],a=s.reduce((e,t)=>(e[t]=function(e){let t=[],i=[],n=0,r=!1,o=!1,s=new WeakSet,a={schedule:(e,o=!1,a=!1)=>{let l=a&&r,u=l?t:i;return o&&s.add(e),-1===u.indexOf(e)&&(u.push(e),l&&r&&(n=t.length)),e},cancel:e=>{let t=i.indexOf(e);-1!==t&&i.splice(t,1),s.delete(e)},process:l=>{if(r){o=!0;return}if(r=!0,[t,i]=[i,t],i.length=0,n=t.length)for(let i=0;io=!0),e),{}),l=e=>a[e].process(n.frameData),u=e=>{o=!1,n.frameData.delta=r?1e3/60:Math.max(Math.min(e-n.frameData.timestamp,40),1),n.frameData.timestamp=e,n.frameData.isProcessing=!0,s.forEach(l),n.frameData.isProcessing=!1,o&&(r=!1,requestAnimationFrame(u))},d=()=>{o=!0,r=!0,n.frameData.isProcessing||requestAnimationFrame(u)},c=s.reduce((e,t)=>{let i=a[t];return e[t]=(e,t=!1,n=!1)=>(o||d(),i.schedule(e,t,n)),e},{});function h(e){s.forEach(t=>a[t].cancel(e))}},86321:(e,t,i)=>{"use strict";function n(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}i.d(t,{fJ:()=>s,gD:()=>a});let r=n("dragHorizontal"),o=n("dragVertical");function s(e){let t=!1;if("y"===e)t=o();else if("x"===e)t=r();else{let e=r(),i=o();e&&i?t=()=>{e(),i()}:(e&&e(),i&&i())}return t}function a(){let e=s(!0);return!e||(e(),!1)}},84392:(e,t,i)=>{"use strict";let n,r;i.r(t),i.d(t,{AnimatePresence:()=>u.M,AnimateSharedLayout:()=>t3,DeprecatedLayoutGroupContext:()=>_,DragControls:()=>tm,FlatTree:()=>tK.E,LayoutGroup:()=>k,LayoutGroupContext:()=>y.p,LazyMotion:()=>v,MotionConfig:()=>p,MotionConfigContext:()=>c._,MotionContext:()=>tU.v,MotionValue:()=>M.H,PresenceContext:()=>t$.O,Reorder:()=>q,SwitchLayoutGroupContext:()=>tq.g,VisualElement:()=>tk.l,addPointerEvent:()=>ig.a,addPointerInfo:()=>ip.s,addScaleCorrector:()=>tE.B,animate:()=>ts,animateValue:()=>et.y,animateVisualElement:()=>eq.d,animationControls:()=>eK,animations:()=>K.s,anticipate:()=>t7.L,backIn:()=>ie.G2,backInOut:()=>ie.XL,backOut:()=>ie.CG,buildTransform:()=>tM.P,calcLength:()=>ic.JO,cancelFrame:()=>V.Pn,cancelSync:()=>id,checkTargetForNewValues:()=>e$.GJ,circIn:()=>it.Z7,circInOut:()=>it.X7,circOut:()=>it.Bn,clamp:()=>t4.u,color:()=>tO.$,complex:()=>tP.P,createBox:()=>tZ.dO,createDomMotionComponent:()=>o.F,createMotionComponent:()=>tw.F,createScopedAnimate:()=>to,cubicBezier:()=>ir._,delay:()=>ia.g,distance:()=>il.T,distance2D:()=>il.y,domAnimation:()=>Z,domMax:()=>J,easeIn:()=>ii.YQ,easeInOut:()=>ii.mZ,easeOut:()=>ii.Vv,filterProps:()=>h.L,frame:()=>V.Wi,frameData:()=>ei.frameData,inView:()=>tp,interpolate:()=>P.s,invariant:()=>E.k,isBrowser:()=>im.j,isDragActive:()=>ih.gD,isMotionComponent:()=>tS,isMotionValue:()=>U.i,isValidMotionProp:()=>tc.Z,m:()=>l,makeUseVisualState:()=>tG.t,mirrorEasing:()=>io.o,mix:()=>N.C,motion:()=>o.E,motionValue:()=>M.B,optimizedAppearDataAttribute:()=>tV.M,pipe:()=>t9.z,progress:()=>eh.Y,px:()=>tR.px,resolveMotionValue:()=>ee.b,reverseEasing:()=>is.M,scroll:()=>eD,spring:()=>e2.S,stagger:()=>t5,startOptimizedAppearAnimation:()=>tz,steps:()=>V.S6,stepsOrder:()=>V.BS,sync:()=>iu,transform:()=>B,unwrapMotionComponent:()=>tx,useAnimate:()=>ta,useAnimation:()=>tu,useAnimationControls:()=>tl,useAnimationFrame:()=>eO,useCycle:()=>td,useDeprecatedAnimatedState:()=>tX,useDeprecatedInvertedScale:()=>t2,useDomEvent:()=>t_,useDragControls:()=>tb,useElementScroll:()=>eI,useForceUpdate:()=>w.N,useInView:()=>tf,useInstantLayoutTransition:()=>tD,useInstantTransition:()=>tT,useIsPresent:()=>th.hO,useIsomorphicLayoutEffect:()=>H.L,useMotionTemplate:()=>X,useMotionValue:()=>O,useMotionValueEvent:()=>eo,usePresence:()=>th.oO,useReducedMotion:()=>ez,useReducedMotionConfig:()=>eU,useResetProjection:()=>tI,useScroll:()=>eT,useSpring:()=>er,useTime:()=>eP,useTransform:()=>W,useUnmountEffect:()=>eG.z,useVelocity:()=>es,useViewportScroll:()=>eM,useWillChange:()=>eH,visualElementStore:()=>eZ.R,warning:()=>E.K,wrap:()=>e5});var o=i(40836),s=i(66314),a=i(48318);let l=(0,s.D)(a.w);var u=i(82988),d=i(2784),c=i(75045),h=i(11852),g=i(75248);function p({children:e,isValidProp:t,...i}){t&&(0,h.K)(t),(i={...(0,d.useContext)(c._),...i}).isStatic=(0,g.h)(()=>i.isStatic);let n=(0,d.useMemo)(()=>i,[JSON.stringify(i.transition),i.transformPagePoint,i.reducedMotion]);return d.createElement(c._.Provider,{value:n},e)}var f=i(75902),m=i(35288);function v({children:e,features:t,strict:i=!1}){let[,n]=(0,d.useState)(!b(t)),r=(0,d.useRef)(void 0);if(!b(t)){let{renderer:e,...i}=t;r.current=e,(0,m.K)(i)}return(0,d.useEffect)(()=>{b(t)&&t().then(({renderer:e,...t})=>{(0,m.K)(t),r.current=e,n(!0)})},[]),d.createElement(f.u.Provider,{value:{renderer:r.current,strict:i}},e)}function b(e){return"function"==typeof e}var y=i(30200);let _=(0,d.createContext)(null);var w=i(58550);let C=e=>!e.isLayoutDirty&&e.willUpdate(!1),S=e=>!0===e,x=e=>S(!0===e)||"id"===e,k=({children:e,id:t,inherit:i=!0})=>{let n=(0,d.useContext)(y.p),r=(0,d.useContext)(_),[o,s]=(0,w.N)(),a=(0,d.useRef)(null),l=n.id||r;null===a.current&&(x(i)&&l&&(t=t?l+"-"+t:l),a.current={id:t,group:S(i)&&n.group||function(){let e=new Set,t=new WeakMap,i=()=>e.forEach(C);return{add:n=>{e.add(n),t.set(n,n.addEventListener("willUpdate",i))},remove:n=>{e.delete(n);let r=t.get(n);r&&(r(),t.delete(n)),i()},dirty:i}}()});let u=(0,d.useMemo)(()=>({...a.current,forceRender:o}),[s]);return d.createElement(y.p.Provider,{value:u},e)};var E=i(33029);let L=(0,d.createContext)(null);var D=i(59738),N=i(51413);let A=(0,d.forwardRef)(function({children:e,as:t="ul",axis:i="y",onReorder:n,values:r,...s},a){let l=(0,g.h)(()=>(0,o.E)(t)),u=[],c=(0,d.useRef)(!1);return(0,E.k)(!!r,"Reorder.Group must be provided a values prop"),(0,d.useEffect)(()=>{c.current=!1}),d.createElement(l,{...s,ref:a,ignoreStrict:!0},d.createElement(L.Provider,{value:{axis:i,registerItem:(e,t)=>{t&&-1===u.findIndex(t=>e===t.value)&&(u.push({value:e,layout:t[i]}),u.sort(I))},updateOrder:(e,t,i)=>{if(c.current)return;let o=function(e,t,i,n){if(!n)return e;let r=e.findIndex(e=>e.value===t);if(-1===r)return e;let o=n>0?1:-1,s=e[r+o];if(!s)return e;let a=e[r],l=s.layout,u=(0,N.C)(l.min,l.max,.5);return 1===o&&a.layout.max+i>u||-1===o&&a.layout.min+i-1!==r.indexOf(e))))}}},e))});function T(e){return e.value}function I(e,t){return e.layout.min-t.layout.min}var M=i(7881);function O(e){let t=(0,g.h)(()=>(0,M.B)(e)),{isStatic:i}=(0,d.useContext)(c._);if(i){let[,i]=(0,d.useState)(e);(0,d.useEffect)(()=>t.on("change",i),[])}return t}var P=i(2466);let R=e=>"object"==typeof e&&e.mix,F=e=>R(e)?e.mix:void 0;function B(...e){let t=!Array.isArray(e[0]),i=t?0:-1,n=e[0+i],r=e[1+i],o=e[2+i],s=e[3+i],a=(0,P.s)(r,o,{mixer:F(o[0]),...s});return t?a(n):a}var V=i(2885),H=i(53072);function j(e,t){let i=O(t()),n=()=>i.set(t());return n(),(0,H.L)(()=>{let t=()=>V.Wi.update(n,!1,!0),i=e.map(e=>e.on("change",t));return()=>{i.forEach(e=>e()),(0,V.Pn)(n)}}),i}function W(e,t,i,n){let r="function"==typeof t?t:B(t,i,n);return Array.isArray(e)?z(e,r):z([e],([e])=>r(e))}function z(e,t){let i=(0,g.h)(()=>[]);return j(e,()=>{i.length=0;let n=e.length;for(let t=0;t(0,o.E)(n)),c=(0,d.useContext)(L),h={x:$(t.x),y:$(t.y)},p=W([h.x,h.y],([e,t])=>e||t?1:"unset"),f=(0,d.useRef)(null);(0,E.k)(!!c,"Reorder.Item must be a child of Reorder.Group");let{axis:m,registerItem:v,updateOrder:b}=c;return(0,d.useEffect)(()=>{v(i,f.current)},[c]),d.createElement(u,{drag:m,...a,dragSnapToOrigin:!0,style:{...t,x:h.x,y:h.y,zIndex:p},layout:s,onDrag:(e,t)=>{let{velocity:n}=t;n[m]&&b(i,h[m].get(),n[m]),r&&r(e,t)},onLayoutMeasure:e=>{f.current=e},ref:l,ignoreStrict:!0},e)})};var K=i(17276),G=i(80181);let Z={renderer:i(75432).b,...K.s,...G.E};var Y=i(49289),Q=i(87608);let J={...Z,...Y.o,...Q.b};function X(e,...t){let i=e.length;return j(t.filter(U.i),function(){let n="";for(let r=0;r{n.current&&n.current.stop()};return(0,d.useInsertionEffect)(()=>r.attach((e,s)=>{if(i)return s(e);if(o(),n.current=(0,et.y)({keyframes:[r.get(),e],velocity:r.getVelocity(),type:"spring",restDelta:.001,restSpeed:.01,...t,onUpdate:s}),!ei.frameData.isProcessing){let e=performance.now()-ei.frameData.timestamp;e<30&&(n.current.time=(0,en.X)(e))}return r.get()},o),[JSON.stringify(t)]),(0,H.L)(()=>{if((0,U.i)(e))return e.on("change",e=>r.set(parseFloat(e)))},[r]),r}function eo(e,t,i){(0,d.useInsertionEffect)(()=>e.on(t,i),[e,t,i])}function es(e){let t=O(e.getVelocity());return eo(e,"velocityChange",e=>{t.set(e)}),t}function ea(e,t,i){var n;if("string"==typeof e){let r=document;t&&((0,E.k)(!!t.current,"Scope provided, but no element detected."),r=t.current),i?(null!==(n=i[e])&&void 0!==n||(i[e]=r.querySelectorAll(e)),e=i[e]):e=r.querySelectorAll(e)}else e instanceof Element&&(e=[e]);return Array.from(e||[])}let el=new WeakMap;function eu({target:e,contentRect:t,borderBoxSize:i}){var n;null===(n=el.get(e))||void 0===n||n.forEach(n=>{n({target:e,contentSize:t,get size(){return function(e,t){if(t){let{inlineSize:e,blockSize:i}=t[0];return{width:e,height:i}}return e instanceof SVGElement&&"getBBox"in e?e.getBBox():{width:e.offsetWidth,height:e.offsetHeight}}(e,i)}})})}function ed(e){e.forEach(eu)}let ec=new Set;var eh=i(38172),eg=i(32369);let ep=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),ef=()=>({time:0,x:ep(),y:ep()}),em={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}};function ev(e,t,i,n){let r=i[t],{length:o,position:s}=em[t],a=r.current,l=i.time;r.current=e["scroll"+s],r.scrollLength=e["scroll"+o]-e["client"+o],r.offset.length=0,r.offset[0]=0,r.offset[1]=r.scrollLength,r.progress=(0,eh.Y)(0,r.scrollLength,r.current);let u=n-l;r.velocity=u>50?0:(0,eg.R)(r.current-a,u)}let eb={All:[[0,0],[1,1]]},ey={start:0,center:.5,end:1};function e_(e,t,i=0){let n=0;if(void 0!==ey[e]&&(e=ey[e]),"string"==typeof e){let t=parseFloat(e);e.endsWith("px")?n=t:e.endsWith("%")?e=t/100:e.endsWith("vw")?n=t/100*document.documentElement.clientWidth:e.endsWith("vh")?n=t/100*document.documentElement.clientHeight:e=t}return"number"==typeof e&&(n=t*e),i+n}let ew=[0,0];var eC=i(85285);let eS={x:0,y:0},ex=new WeakMap,ek=new WeakMap,eE=new WeakMap,eL=e=>e===document.documentElement?window:e;function eD(e,{container:t=document.documentElement,...i}={}){let o=eE.get(t);o||(o=new Set,eE.set(t,o));let s=function(e,t,i,n={}){return{measure:()=>(function(e,t=e,i){if(i.x.targetOffset=0,i.y.targetOffset=0,t!==e){let n=t;for(;n&&n!==e;)i.x.targetOffset+=n.offsetLeft,i.y.targetOffset+=n.offsetTop,n=n.offsetParent}i.x.targetLength=t===e?t.scrollWidth:t.clientWidth,i.y.targetLength=t===e?t.scrollHeight:t.clientHeight,i.x.containerLength=e.clientWidth,i.y.containerLength=e.clientHeight})(e,n.target,i),update:t=>{ev(e,"x",i,t),ev(e,"y",i,t),i.time=t,(n.offset||n.target)&&function(e,t,i){let{offset:n=eb.All}=i,{target:r=e,axis:o="y"}=i,s="y"===o?"height":"width",a=r!==e?function(e,t){let i={x:0,y:0},n=e;for(;n&&n!==t;)if(n instanceof HTMLElement)i.x+=n.offsetLeft,i.y+=n.offsetTop,n=n.offsetParent;else if(n instanceof SVGGraphicsElement&&"getBBox"in n){let{top:e,left:t}=n.getBBox();for(i.x+=t,i.y+=e;n&&"svg"!==n.tagName;)n=n.parentNode}return i}(r,e):eS,l=r===e?{width:e.scrollWidth,height:e.scrollHeight}:{width:r.clientWidth,height:r.clientHeight},u={width:e.clientWidth,height:e.clientHeight};t[o].offset.length=0;let d=!t[o].interpolate,c=n.length;for(let e=0;et(i)}}(t,e,ef(),i);if(o.add(s),!ex.has(t)){let e,i=()=>{for(let e of o)e.measure()},s=()=>{for(let e of o)e.update(ei.frameData.timestamp)},a=()=>{for(let e of o)e.notify()},l=()=>{V.Wi.read(i,!1,!0),V.Wi.update(s,!1,!0),V.Wi.update(a,!1,!0)};ex.set(t,l);let u=eL(t);window.addEventListener("resize",l,{passive:!0}),t!==document.documentElement&&ek.set(t,"function"==typeof t?(ec.add(t),r||(r=()=>{let e={width:window.innerWidth,height:window.innerHeight},t={target:window,size:e,contentSize:e};ec.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{ec.delete(t),!ec.size&&r&&(r=void 0)}):(n||"undefined"==typeof ResizeObserver||(n=new ResizeObserver(ed)),(e=ea(t)).forEach(e=>{let t=el.get(e);t||(t=new Set,el.set(e,t)),t.add(l),null==n||n.observe(e)}),()=>{e.forEach(e=>{let t=el.get(e);null==t||t.delete(l),(null==t?void 0:t.size)||null==n||n.unobserve(e)})})),u.addEventListener("scroll",l,{passive:!0})}let a=ex.get(t);return V.Wi.read(a,!1,!0),()=>{var e;(0,V.Pn)(a);let i=eE.get(t);if(!i||(i.delete(s),i.size))return;let n=ex.get(t);ex.delete(t),n&&(eL(t).removeEventListener("scroll",n),null===(e=ek.get(t))||void 0===e||e(),window.removeEventListener("resize",n))}}function eN(e,t){(0,E.K)(!!(!t||t.current),`You have defined a ${e} options but the provided ref is not yet hydrated, probably because it's defined higher up the tree. Try calling useScroll() in the same component as the ref, or setting its \`layoutEffect: false\` option.`)}let eA=()=>({scrollX:(0,M.B)(0),scrollY:(0,M.B)(0),scrollXProgress:(0,M.B)(0),scrollYProgress:(0,M.B)(0)});function eT({container:e,target:t,layoutEffect:i=!0,...n}={}){let r=(0,g.h)(eA);return(i?H.L:d.useEffect)(()=>(eN("target",t),eN("container",e),eD(({x:e,y:t})=>{r.scrollX.set(e.current),r.scrollXProgress.set(e.progress),r.scrollY.set(t.current),r.scrollYProgress.set(t.progress)},{...n,container:(null==e?void 0:e.current)||void 0,target:(null==t?void 0:t.current)||void 0})),[]),r}function eI(e){return eT({container:e})}function eM(){return eT()}function eO(e){let t=(0,d.useRef)(0),{isStatic:i}=(0,d.useContext)(c._);(0,d.useEffect)(()=>{if(i)return;let n=({timestamp:i,delta:n})=>{t.current||(t.current=i),e(i-t.current,n)};return V.Wi.update(n,!0),()=>(0,V.Pn)(n)},[e])}function eP(){let e=O(0);return eO(t=>e.set(t)),e}var eR=i(77881),eF=i(67188),eB=i(52069);class eV extends M.H{constructor(){super(...arguments),this.members=[],this.transforms=new Set}add(e){let t;eF.G.has(e)?(this.transforms.add(e),t="transform"):e.startsWith("origin")||(0,eR.f9)(e)||"willChange"===e||(t=(0,eB.D)(e)),t&&((0,D.y4)(this.members,t),this.update())}remove(e){eF.G.has(e)?(this.transforms.delete(e),this.transforms.size||(0,D.cl)(this.members,"transform")):(0,D.cl)(this.members,(0,eB.D)(e)),this.update()}update(){this.set(this.members.length?this.members.join(", "):"auto")}}function eH(){return(0,g.h)(()=>new eV("auto"))}var ej=i(72796),eW=i(98201);function ez(){eW.O.current||(0,ej.A)();let[e]=(0,d.useState)(eW.n.current);return e}function eU(){let e=ez(),{reducedMotion:t}=(0,d.useContext)(c._);return"never"!==t&&("always"===t||e)}var e$=i(51527),eq=i(99519);function eK(){let e=!1,t=new Set,i={subscribe:e=>(t.add(e),()=>void t.delete(e)),start(i,n){(0,E.k)(e,"controls.start() should only be called after a component has mounted. Consider calling within a useEffect hook.");let r=[];return t.forEach(e=>{r.push((0,eq.d)(e,i,{transitionOverride:n}))}),Promise.all(r)},set:i=>((0,E.k)(e,"controls.set() should only be called after a component has mounted. Consider calling within a useEffect hook."),t.forEach(e=>{(0,e$.gg)(e,i)})),stop(){t.forEach(e=>{!function(e){e.values.forEach(e=>e.stop())}(e)})},mount:()=>(e=!0,()=>{e=!1,i.stop()})};return i}var eG=i(55212),eZ=i(88568);class eY{constructor(e){this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let i=0;it[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}stop(){this.runAll("stop")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}var eQ=i(63741),eJ=i(58895),eX=i(6776),e0=i(74558),e1=i(62037),e2=i(10913),e6=i(91887),e3=i(65673);function e8(e,t,i,n){var r;return"number"==typeof t?t:t.startsWith("-")||t.startsWith("+")?Math.max(0,e+parseFloat(t)):"<"===t?i:null!==(r=n.get(t))&&void 0!==r?r:e}let e5=(e,t,i)=>{let n=t-e;return((i-e)%n+n)%n+e};var e4=i(89738);function e9(e,t){return e.at!==t.at?e.at-t.at:null===e.value?1:null===t.value?-1:0}function e7(e,t){return t.has(e)||t.set(e,{}),t.get(e)}function te(e,t){return t[e]||(t[e]=[]),t[e]}let tt=e=>"number"==typeof e,ti=e=>e.every(tt);function tn(e,t,i,n){let r=ea(e,n),o=r.length;(0,E.k)(!!o,"No valid element provided.");let s=[];for(let e=0;eArray.isArray(e)&&Array.isArray(e[0]),to=e=>function(t,i,n){let r,o;return r=tr(t)?(o=[],(function(e,{defaultTransition:t={},...i}={},n){let r=t.duration||.3,o=new Map,s=new Map,a={},l=new Map,u=0,d=0,c=0;for(let i=0;i{let a=Array.isArray(e)?e:[e],{delay:l=0,times:u=(0,eC.Y)(a),type:h="keyframes",...g}=i,{ease:p=t.ease||"easeOut",duration:m}=i,v="function"==typeof l?l(o,s):l,b=a.length;if(b<=2&&"spring"===h){let e=100;2===b&&ti(a)&&(e=Math.abs(a[1]-a[0]));let t={...g};void 0!==m&&(t.duration=(0,en.w)(m));let i=function(e,t=100){let i=(0,e2.S)({keyframes:[0,t],...e}),n=Math.min((0,e6.i)(i),e6.E);return{type:"keyframes",ease:e=>i.next(n*e).value/t,duration:(0,en.X)(n)}}(t,e);p=i.ease,m=i.duration}null!=m||(m=r);let y=d+v,_=y+m;1===u.length&&0===u[0]&&(u[1]=1);let w=u.length-a.length;w>0&&(0,e3.c)(u,w),1===a.length&&a.unshift(null),function(e,t,i,n,r,o){!function(e,t,i){for(let n=0;nt&&r.at{for(let r in e){let s=e[r];s.sort(e9);let a=[],l=[],u=[];for(let e=0;e{let n;n=(0,U.i)(i)?(0,e1.D)(i,e.default,t.default):tn(i,e,t),o.push(n)}),new eY(o)):"object"!=typeof i||Array.isArray(i)?(0,e1.D)(t,i,n):tn(t,i,n,e),e&&e.animations.push(r),r},ts=to();function ta(){let e=(0,g.h)(()=>({current:null,animations:[]})),t=(0,g.h)(()=>to(e));return(0,eG.z)(()=>{e.animations.forEach(e=>e.stop())}),[e,t]}function tl(){let e=(0,g.h)(eK);return(0,H.L)(e.mount,[]),e}let tu=tl;function td(...e){let t=(0,d.useRef)(0),[i,n]=(0,d.useState)(e[t.current]);return[i,(0,d.useCallback)(i=>{t.current="number"!=typeof i?e5(0,e.length,t.current+1):i,n(e[t.current])},[e.length,...e])]}var tc=i(48188),th=i(32565);let tg={any:0,all:1};function tp(e,t,{root:i,margin:n,amount:r="any"}={}){let o=ea(e),s=new WeakMap,a=new IntersectionObserver(e=>{e.forEach(e=>{let i=s.get(e.target);if(!!i!==e.isIntersecting){if(e.isIntersecting){let i=t(e);"function"==typeof i?s.set(e.target,i):a.unobserve(e.target)}else i&&(i(e),s.delete(e.target))}})},{root:i,rootMargin:n,threshold:"number"==typeof r?r:tg[r]});return o.forEach(e=>a.observe(e)),()=>a.disconnect()}function tf(e,{root:t,margin:i,amount:n,once:r=!1}={}){let[o,s]=(0,d.useState)(!1);return(0,d.useEffect)(()=>{if(!e.current||r&&o)return;let a={root:t&&t.current||void 0,margin:i,amount:"some"===n?"any":n};return tp(e.current,()=>(s(!0),r?void 0:()=>s(!1)),a)},[t,e,i,r]),o}class tm{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(i=>{i.start(e.nativeEvent||e,t)})}}let tv=()=>new tm;function tb(){return(0,g.h)(tv)}var ty=i(44925);function t_(e,t,i,n){(0,d.useEffect)(()=>{let r=e.current;if(i&&r)return(0,ty.E)(r,t,i,n)},[e,t,i,n])}var tw=i(3276),tC=i(48496);function tS(e){return null!==e&&"object"==typeof e&&tC.a in e}function tx(e){if(tS(e))return e[tC.a]}var tk=i(54188),tE=i(2340),tL=i(62122);function tD(){return tN}function tN(e){tL.J.current&&(tL.J.current.isUpdating=!1,tL.J.current.blockUpdate(),e&&e())}var tA=i(37981);function tT(){let[e,t]=(0,w.N)();return(0,d.useEffect)(()=>{V.Wi.postRender(()=>V.Wi.postRender(()=>tA.c.current=!1))},[t]),t=>{tN(()=>{tA.c.current=!0,e(),t()})}}function tI(){return d.useCallback(()=>{let e=tL.J.current;e&&e.resetTree()},[])}var tM=i(10455),tO=i(98172),tP=i(99514),tR=i(44841);let tF=(e,t)=>`${e}: ${t}`;var tB=i(72620),tV=i(51556);let tH=new Map;function tj(e,t,i,n){let r=tF(e,eF.G.has(t)?"transform":t),o=tH.get(r);if(!o)return 0;let{animation:s,startTime:a}=o,l=()=>{tH.delete(r);try{s.cancel()}catch(e){}};if(null===a)return l(),0;{let e=performance.now();return n.update(()=>{i.animation&&(i.animation.time=(0,en.X)(performance.now()-e))}),n.render(l),e-a||0}}var tW=i(606);function tz(e,t,i,n,r){let o=e.dataset[tV.t];if(!o)return;window.HandoffAppearAnimations=tj;let s=tF(o,t),a=(0,tB.p)(e,t,[i[0],i[0]],{duration:1e4,ease:"linear"});tH.set(s,{animation:a,startTime:null});let l=()=>{a.cancel();let o=(0,tB.p)(e,t,i,n);document.timeline&&(o.startTime=document.timeline.currentTime),tH.set(s,{animation:o,startTime:performance.now()}),r&&r(o)};a.ready?a.ready.then(l).catch(tW.Z):l()}var tU=i(58456),t$=i(49501),tq=i(71633),tK=i(85842),tG=i(10667),tZ=i(57346);let tY=()=>({});class tQ extends tk.l{build(){}measureInstanceViewportBox(){return(0,tZ.dO)()}resetTransform(){}restoreTransform(){}removeValueFromRenderState(){}renderInstance(){}scrapeMotionValuesFromProps(){return tY()}getBaseTargetFromProps(){}readValueFromInstance(e,t,i){return i.initialState[t]||0}sortInstanceNodePosition(){return 0}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i}){let n=(0,e$.P$)(i,e||{},this);return(0,e$.GJ)(this,i,n),{transition:e,transitionEnd:t,...i}}}let tJ=(0,tG.t)({scrapeMotionValuesFromProps:tY,createRenderState:tY});function tX(e){let[t,i]=(0,d.useState)(e),n=tJ({},!1),r=(0,g.h)(()=>new tQ({props:{},visualState:n,presenceContext:null},{initialState:e}));return(0,d.useEffect)(()=>(r.mount({}),()=>r.unmount()),[r]),(0,d.useEffect)(()=>{r.update({onUpdate:e=>{i({...e})}},null)},[i,r]),[t,(0,g.h)(()=>e=>(0,eq.d)(r,e))]}let t0=e=>e>.001?1/e:1e5,t1=!1;function t2(e){let t=O(1),i=O(1),{visualElement:n}=(0,d.useContext)(tU.v);return(0,E.k)(!!(e||n),"If no scale values are provided, useInvertedScale must be used within a child of another motion component."),(0,E.K)(t1,"useInvertedScale is deprecated and will be removed in 3.0. Use the layout prop instead."),t1=!0,e?(t=e.scaleX||t,i=e.scaleY||i):n&&(t=n.getValue("scaleX",1),i=n.getValue("scaleY",1)),{scaleX:W(t,t0),scaleY:W(i,t0)}}let t6=0,t3=({children:e})=>(d.useEffect(()=>{(0,E.k)(!1,"AnimateSharedLayout is deprecated: https://www.framer.com/docs/guide-upgrade/##shared-layout-animations")},[]),d.createElement(k,{id:(0,g.h)(()=>`asl-${t6++}`)},e));var t8=i(21778);function t5(e=.1,{startDelay:t=0,from:i=0,ease:n}={}){return(r,o)=>{let s=e*Math.abs(("number"==typeof i?i:function(e,t){if("first"===e)return 0;{let i=t-1;return"last"===e?i:i/2}}(i,o))-r);if(n){let t=o*e;s=(0,t8.R)(n)(s/t)*t}return t+s}}var t4=i(53913),t9=i(19106),t7=i(19647),ie=i(98210),it=i(72375),ii=i(99724),ir=i(19325),io=i(67210),is=i(21509),ia=i(97246),il=i(61285);let iu=V.Wi,id=V.BS.reduce((e,t)=>(e[t]=e=>(0,V.Pn)(e),e),{});var ic=i(40304),ih=i(86321),ig=i(52813),ip=i(93273),im=i(70908)},54734:(e,t,i)=>{"use strict";i.d(t,{L:()=>n});class n{constructor(e){this.isMounted=!1,this.node=e}update(){}}},17276:(e,t,i)=>{"use strict";i.d(t,{s:()=>v});var n=i(91129),r=i(54365);function o(e,t){if(!Array.isArray(t))return!1;let i=t.length;if(i!==e.length)return!1;for(let n=0;nPromise.all(t.map(({animation:t,options:i})=>(0,u.d)(e,t,i))),i={animate:h(!0),whileInView:h(),whileHover:h(),whileTap:h(),whileDrag:h(),whileFocus:h(),exit:h()},l=!0,g=(t,i)=>{let n=(0,a.x)(e,i);if(n){let{transition:e,transitionEnd:i,...r}=n;t={...t,...r,...i}}return t};function p(a,u){let h=e.getProps(),p=e.getVariantContext(!0)||{},f=[],m=new Set,v={},b=1/0;for(let t=0;tb&&C,L=Array.isArray(w)?w:[w],D=L.reduce(g,{});!1===S&&(D={});let{prevResolvedValues:N={}}=_,A={...N,...D},T=e=>{E=!0,m.delete(e),_.needsAnimating[e]=!0};for(let e in A){let t=D[e],i=N[e];v.hasOwnProperty(e)||(t!==i?(0,r.C)(t)&&(0,r.C)(i)?!o(t,i)||k?T(e):_.protectedKeys[e]=!0:void 0!==t?T(e):m.add(e):void 0!==t&&m.has(e)?T(e):_.protectedKeys[e]=!0)}_.prevProp=w,_.prevResolvedValues=D,_.isActive&&(v={...v,...D}),l&&e.blockInitialAnimation&&(E=!1),E&&!x&&f.push(...L.map(e=>({animation:e,options:{type:c,...a}})))}if(m.size){let t={};m.forEach(i=>{let n=e.getBaseTarget(i);void 0!==n&&(t[i]=n)}),f.push({animation:t})}let _=!!f.length;return l&&!1===h.initial&&!e.manuallyAnimateOnMount&&(_=!1),l=!1,_?t(f):Promise.resolve()}return{animateChanges:p,setActive:function(t,n,r){var o;if(i[t].isActive===n)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach(e=>{var i;return null===(i=e.animationState)||void 0===i?void 0:i.setActive(t,n)}),i[t].isActive=n;let s=p(r,t);for(let e in i)i[e].protectedKeys={};return s},setAnimateFunction:function(i){t=i(e)},getState:()=>i}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),(0,n.H)(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let f=0;class m extends g.L{constructor(){super(...arguments),this.id=f++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t,custom:i}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let r=this.node.animationState.setActive("exit",!e,{custom:null!=i?i:this.node.getProps().custom});t&&!e&&r.then(()=>t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let v={animation:{Feature:p},exit:{Feature:m}}},50341:(e,t,i)=>{"use strict";i.d(t,{A:()=>r});let n={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},r={};for(let e in n)r[e]={isEnabled:t=>n[e].some(e=>!!t[e])}},49289:(e,t,i)=>{"use strict";i.d(t,{o:()=>z});var n=i(54734),r=i(606),o=i(33029),s=i(93273),a=i(2885),l=i(84657),u=i(52813),d=i(19106),c=i(61285),h=i(96002),g=i(52894);class p{constructor(e,t,{transformPagePoint:i}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let e=v(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,i=(0,c.y)(e.offset,{x:0,y:0})>=3;if(!t&&!i)return;let{point:n}=e,{timestamp:r}=h.frameData;this.history.push({...n,timestamp:r});let{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=f(t,this.transformPagePoint),a.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{if(this.end(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let{onEnd:i,onSessionEnd:n}=this.handlers,r=v("pointercancel"===e.type?this.lastMoveEventInfo:f(t,this.transformPagePoint),this.history);this.startEvent&&i&&i(e,r),n&&n(e,r)},!(0,g.D)(e))return;this.handlers=t,this.transformPagePoint=i;let n=f((0,s.Q)(e),this.transformPagePoint),{point:r}=n,{timestamp:o}=h.frameData;this.history=[{...r,timestamp:o}];let{onSessionStart:l}=t;l&&l(e,v(n,this.history)),this.removeListeners=(0,d.z)((0,u.a)(window,"pointermove",this.handlePointerMove),(0,u.a)(window,"pointerup",this.handlePointerUp),(0,u.a)(window,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,a.Pn)(this.updatePoint)}}function f(e,t){return t?{point:t(e.point)}:e}function m(e,t){return{x:e.x-t.x,y:e.y-t.y}}function v({point:e},t){return{point:e,delta:m(e,b(t)),offset:m(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let i=e.length-1,n=null,r=b(e);for(;i>=0&&(n=e[i],!(r.timestamp-n.timestamp>(0,l.w)(.1)));)i--;if(!n)return{x:0,y:0};let o=(0,l.X)(r.timestamp-n.timestamp);if(0===o)return{x:0,y:0};let s={x:(r.x-n.x)/o,y:(r.y-n.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(t,0)}}function b(e){return e[e.length-1]}var y=i(86321),_=i(73271),w=i(38172),C=i(40304),S=i(53913),x=i(51413);function k(e,t,i){return{min:void 0!==t?e.min+t:void 0,max:void 0!==i?e.max+i-(e.max-e.min):void 0}}function E(e,t){let i=t.min-e.min,n=t.max-e.max;return t.max-t.min{this.stopAnimation(),t&&this.snapToCursor((0,s.Q)(e,"page").point)},onStart:(e,t)=>{let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=(0,y.fJ)(i),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),(0,A.U)(e=>{let t=this.getAxisMotionValue(e).get()||0;if(O.aQ.test(t)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[e];n&&(t=(0,C.JO)(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),r&&a.Wi.update(()=>r(e,t),!1,!0);let{animationState:o}=this.visualElement;o&&o.setActive("whileDrag",!0)},onMove:(e,t)=>{let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:o}=this.getProps();if(!i&&!this.openGlobalLock)return;let{offset:s}=t;if(n&&null===this.currentDirection){this.currentDirection=function(e,t=10){let i=null;return Math.abs(e.y)>t?i="y":Math.abs(e.x)>t&&(i="x"),i}(s),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t)},{transformPagePoint:this.visualElement.getTransformPagePoint()}))}stop(e,t){let i=this.isDragging;if(this.cancel(),!i)return;let{velocity:n}=t;this.startAnimation(n);let{onDragEnd:r}=this.getProps();r&&a.Wi.update(()=>r(e,t))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,i){let{drag:n}=this.getProps();if(!i||!B(e,n,this.currentDirection))return;let r=this.getAxisMotionValue(e),o=this.originPoint[e]+i[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:i},n){return void 0!==t&&ei&&(e=n?(0,x.C)(i,e,n.max):Math.min(e,i)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),{layout:i}=this.visualElement.projection||{},n=this.constraints;e&&(0,_.I)(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&i?this.constraints=function(e,{top:t,left:i,bottom:n,right:r}){return{x:k(e.x,i,r),y:k(e.y,t,n)}}(i.layoutBox,e):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:L(e,"left","right"),y:L(e,"top","bottom")}}(t),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&(0,A.U)(e=>{var t,n;let r;this.getAxisMotionValue(e)&&(this.constraints[e]=(t=i.layoutBox[e],n=this.constraints[e],r={},void 0!==n.min&&(r.min=n.min-t.min),void 0!==n.max&&(r.max=n.max-t.min),r))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:i}=this.getProps();if(!t||!(0,_.I)(t))return!1;let n=t.current;(0,o.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=(0,T.z)(n,r.root,this.visualElement.getTransformPagePoint()),a={x:E((e=r.layout.layoutBox).x,s.x),y:E(e.y,s.y)};if(i){let e=i((0,I.z2)(a));this.hasMutatedConstraints=!!e,e&&(a=(0,I.i8)(e))}return a}startAnimation(e){let{drag:t,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{};return Promise.all((0,A.U)(s=>{if(!B(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});let u={type:"inertia",velocity:i?e[s]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,u)})).then(s)}startAxisValueAnimation(e,t){let i=this.getAxisMotionValue(e);return i.start((0,P.v)(e,i,0,t))}stopAnimation(){(0,A.U)(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),i=this.visualElement.getProps();return i[t]||this.visualElement.getValue(e,(i.initial?i.initial[e]:void 0)||0)}snapToCursor(e){(0,A.U)(t=>{let{drag:i}=this.getProps();if(!B(t,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(t);if(n&&n.layout){let{min:i,max:o}=n.layout.layoutBox[t];r.set(e[t]-(0,x.C)(i,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:i}=this.visualElement;if(!(0,_.I)(t)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};(0,A.U)(e=>{let t=this.getAxisMotionValue(e);if(t){var i,r;let o,s,a,l=t.get();n[e]=(i={min:l,max:l},r=this.constraints[e],o=.5,s=(0,C.JO)(i),(a=(0,C.JO)(r))>s?o=(0,w.Y)(r.min,r.max-s,i.min):s>a&&(o=(0,w.Y)(i.min,i.max-a,r.min)),(0,S.u)(0,1,o))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),(0,A.U)(t=>{if(!B(t,e,null))return;let i=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];i.set((0,x.C)(r,o,n[t]))})}addListeners(){if(!this.visualElement.current)return;R.set(this.visualElement,this);let e=this.visualElement.current,t=(0,u.a)(e,"pointerdown",e=>{let{drag:t,dragListener:i=!0}=this.getProps();t&&i&&this.start(e)}),i=()=>{let{dragConstraints:e}=this.getProps();(0,_.I)(e)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",i);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),i();let o=(0,M.E)(window,"resize",()=>this.scalePositionWithinConstraints()),s=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&((0,A.U)(t=>{let i=this.getAxisMotionValue(t);i&&(this.originPoint[t]+=e[t].translate,i.set(i.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),t(),r(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:o=.35,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function B(e,t,i){return(!0===t||t===e)&&(null===i||i===e)}class V extends n.L{constructor(e){super(e),this.removeGroupControls=r.Z,this.removeListeners=r.Z,this.controls=new F(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||r.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let H=e=>(t,i)=>{e&&a.Wi.update(()=>e(t,i))};class j extends n.L{constructor(){super(...arguments),this.removePointerDownListener=r.Z}onPointerDown(e){this.session=new p(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint()})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:H(e),onStart:H(t),onMove:i,onEnd:(e,t)=>{delete this.session,n&&a.Wi.update(()=>n(e,t))}}}mount(){this.removePointerDownListener=(0,u.a)(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}var W=i(61741);let z={pan:{Feature:j},drag:{Feature:V,ProjectionNode:i(62122).u,MeasureLayout:W.q}}},80181:(e,t,i)=>{"use strict";i.d(t,{E:()=>S});var n=i(52813),r=i(19106),o=i(86321),s=i(54734),a=i(2885);function l(e,t){let i="pointer"+(t?"enter":"leave"),r="onHover"+(t?"Start":"End");return(0,n.a)(e.current,i,(i,n)=>{if("touch"===i.type||(0,o.gD)())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&a.Wi.update(()=>s[r](i,n))},{passive:!e.getProps()[r]})}class u extends s.L{mount(){this.unmount=(0,r.z)(l(this.node,!0),l(this.node,!1))}unmount(){}}var d=i(44925);class c extends s.L{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=(0,r.z)((0,d.E)(this.node.current,"focus",()=>this.onFocus()),(0,d.E)(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var h=i(93273);let g=(e,t)=>!!t&&(e===t||g(e,t.parentElement));var p=i(606);function f(e,t){if(!t)return;let i=new PointerEvent("pointer"+e);t(i,(0,h.Q)(i))}class m extends s.L{constructor(){super(...arguments),this.removeStartListeners=p.Z,this.removeEndListeners=p.Z,this.removeAccessibleListeners=p.Z,this.startPointerPress=(e,t)=>{if(this.removeEndListeners(),this.isPressing)return;let i=this.node.getProps(),o=(0,n.a)(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:i,onTapCancel:n}=this.node.getProps();a.Wi.update(()=>{g(this.node.current,e.target)?i&&i(e,t):n&&n(e,t)})},{passive:!(i.onTap||i.onPointerUp)}),s=(0,n.a)(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(i.onTapCancel||i.onPointerCancel)});this.removeEndListeners=(0,r.z)(o,s),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=(0,d.E)(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=(0,d.E)(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&f("up",(e,t)=>{let{onTap:i}=this.node.getProps();i&&a.Wi.update(()=>i(e,t))})}),f("down",(e,t)=>{this.startPress(e,t)}))}),t=(0,d.E)(this.node.current,"blur",()=>{this.isPressing&&f("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=(0,r.z)(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:i,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),i&&a.Wi.update(()=>i(e,t))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!(0,o.gD)()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:i}=this.node.getProps();i&&a.Wi.update(()=>i(e,t))}mount(){let e=this.node.getProps(),t=(0,n.a)(this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),i=(0,d.E)(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=(0,r.z)(t,i)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let v=new WeakMap,b=new WeakMap,y=e=>{let t=v.get(e.target);t&&t(e)},_=e=>{e.forEach(y)},w={some:0,all:1};class C extends s.L{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var e;let t;this.unmount();let{viewport:i={}}=this.node.getProps(),{root:n,margin:r,amount:o="some",once:s}=i,a={root:n?n.current:void 0,rootMargin:r,threshold:"number"==typeof o?o:w[o]};return e=this.node.current,t=function({root:e,...t}){let i=e||document;b.has(i)||b.set(i,{});let n=b.get(i),r=JSON.stringify(t);return n[r]||(n[r]=new IntersectionObserver(_,{root:e,...t})),n[r]}(a),v.set(e,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,s&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),r=t?i:n;r&&r(e)}),t.observe(e),()=>{v.delete(e),t.unobserve(e)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return i=>e[i]!==t[i]}(e,t))&&this.startObserver()}unmount(){}}let S={inView:{Feature:C},tap:{Feature:m},focus:{Feature:c},hover:{Feature:u}}},87608:(e,t,i)=>{"use strict";i.d(t,{b:()=>o});var n=i(62122),r=i(61741);let o={layout:{ProjectionNode:n.u,MeasureLayout:r.q}}},61741:(e,t,i)=>{"use strict";i.d(t,{q:()=>m});var n=i(2885),r=i(2784),o=i(32565),s=i(30200),a=i(71633),l=i(88617),u=i(44841);function d(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let c={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!u.px.test(e))return e;e=parseFloat(e)}return`${d(e,t.target.x)}% ${d(e,t.target.y)}%`}};var h=i(51413),g=i(99514),p=i(2340);class f extends r.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=e;(0,p.B)(v),r&&(t.group&&t.group.add(r),i&&i.register&&n&&i.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),l.V.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:i,drag:r,isPresent:o}=this.props,s=i.projection;return s&&(s.isPresent=o,r||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===o||(o?s.promote():s.relegate()||n.Wi.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:i}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function m(e){let[t,i]=(0,o.oO)(),n=(0,r.useContext)(s.p);return r.createElement(f,{...e,layoutGroup:n,switchLayoutGroup:(0,r.useContext)(a.g),isPresent:t,safeToRemove:i})}let v={borderRadius:{...c,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:c,borderTopRightRadius:c,borderBottomLeftRadius:c,borderBottomRightRadius:c,boxShadow:{correct:(e,{treeScale:t,projectionDelta:i})=>{let n=g.P.parse(e);if(n.length>5)return e;let r=g.P.createTransformer(e),o="number"!=typeof n[0]?1:0,s=i.x.scale*t.x,a=i.y.scale*t.y;n[0+o]/=s,n[1+o]/=a;let l=(0,h.C)(s,a,.5);return"number"==typeof n[2+o]&&(n[2+o]/=l),"number"==typeof n[3+o]&&(n[3+o]/=l),r(n)}}}},35288:(e,t,i)=>{"use strict";i.d(t,{K:()=>r});var n=i(50341);function r(e){for(let t in e)n.A[t]={...n.A[t],...e[t]}}},3276:(e,t,i)=>{"use strict";i.d(t,{F:()=>b});var n=i(2784),r=i(75045),o=i(58456),s=i(49501),a=i(53072),l=i(75902),u=i(73271),d=i(90026),c=i(4060);function h(e){return Array.isArray(e)?e.join(" "):e}var g=i(35288),p=i(70908),f=i(30200),m=i(71633),v=i(48496);function b({preloadedFeatures:e,createVisualElement:t,useRender:i,useVisualState:b,Component:y}){e&&(0,g.K)(e);let _=(0,n.forwardRef)(function(g,v){var _;let w;let C={...(0,n.useContext)(r._),...g,layoutId:function({layoutId:e}){let t=(0,n.useContext)(f.p).id;return t&&void 0!==e?t+"-"+e:e}(g)},{isStatic:S}=C,x=function(e){let{initial:t,animate:i}=function(e,t){if((0,c.G)(e)){let{initial:t,animate:i}=e;return{initial:!1===t||(0,d.$)(t)?t:void 0,animate:(0,d.$)(i)?i:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(o.v));return(0,n.useMemo)(()=>({initial:t,animate:i}),[h(t),h(i)])}(g),k=b(g,S);if(!S&&p.j){x.visualElement=function(e,t,i,u){let{visualElement:d}=(0,n.useContext)(o.v),c=(0,n.useContext)(l.u),h=(0,n.useContext)(s.O),g=(0,n.useContext)(r._).reducedMotion,p=(0,n.useRef)();u=u||c.renderer,!p.current&&u&&(p.current=u(e,{visualState:t,parent:d,props:i,presenceContext:h,blockInitialAnimation:!!h&&!1===h.initial,reducedMotionConfig:g}));let f=p.current;return(0,n.useInsertionEffect)(()=>{f&&f.update(i,h)}),(0,a.L)(()=>{f&&f.render()}),(0,n.useEffect)(()=>{f&&f.updateFeatures()}),(window.HandoffAppearAnimations?a.L:n.useEffect)(()=>{f&&f.animationState&&f.animationState.animateChanges()}),f}(y,k,C,t);let i=(0,n.useContext)(m.g),u=(0,n.useContext)(l.u).strict;x.visualElement&&(w=x.visualElement.loadFeatures(C,u,e,i))}return n.createElement(o.v.Provider,{value:x},w&&x.visualElement?n.createElement(w,{visualElement:x.visualElement,...C}):null,i(y,g,(_=x.visualElement,(0,n.useCallback)(e=>{e&&k.mount&&k.mount(e),_&&(e?_.mount(e):_.unmount()),v&&("function"==typeof v?v(e):(0,u.I)(v)&&(v.current=e))},[_])),k,S,x.visualElement))});return _[v.a]=y,_}},6780:(e,t,i)=>{"use strict";i.d(t,{j:()=>o});var n=i(2340),r=i(67188);function o(e,{layout:t,layoutId:i}){return r.G.has(e)||e.startsWith("origin")||(t||void 0!==i)&&(!!n.P[e]||"opacity"===e)}},48496:(e,t,i)=>{"use strict";i.d(t,{a:()=>n});let n=Symbol.for("motionComponentSymbol")},10667:(e,t,i)=>{"use strict";i.d(t,{t:()=>c});var n=i(2784),r=i(91129),o=i(49501),s=i(70645),a=i(75248),l=i(93920),u=i(58456),d=i(4060);let c=e=>(t,i)=>{let c=(0,n.useContext)(u.v),h=(0,n.useContext)(o.O),g=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:i},n,o,a){let u={latestValues:function(e,t,i,n){let o={},a=n(e,{});for(let e in a)o[e]=(0,l.b)(a[e]);let{initial:u,animate:c}=e,h=(0,d.G)(e),g=(0,d.M)(e);t&&g&&!h&&!1!==e.inherit&&(void 0===u&&(u=t.initial),void 0===c&&(c=t.animate));let p=!!i&&!1===i.initial,f=(p=p||!1===u)?c:u;return f&&"boolean"!=typeof f&&!(0,r.H)(f)&&(Array.isArray(f)?f:[f]).forEach(t=>{let i=(0,s.o)(e,t);if(!i)return;let{transitionEnd:n,transition:r,...a}=i;for(let e in a){let t=a[e];if(Array.isArray(t)){let e=p?t.length-1:0;t=t[e]}null!==t&&(o[e]=t)}for(let e in n)o[e]=n[e]}),o}(n,o,a,e),renderState:t()};return i&&(u.mount=e=>i(n,e,u)),u})(e,t,c,h);return i?g():(0,a.h)(g)}},48188:(e,t,i)=>{"use strict";i.d(t,{Z:()=>r});let n=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","ignoreStrict","viewport"]);function r(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||n.has(e)}},61532:(e,t,i)=>{"use strict";function n({top:e,left:t,right:i,bottom:n}){return{x:{min:t,max:i},y:{min:e,max:n}}}function r({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function o(e,t){if(!t)return e;let i=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}i.d(t,{d7:()=>o,i8:()=>n,z2:()=>r})},84410:(e,t,i)=>{"use strict";i.d(t,{D2:()=>f,YY:()=>u,am:()=>c,o2:()=>l,q2:()=>o});var n=i(51413),r=i(53933);function o(e,t,i){return i+t*(e-i)}function s(e,t,i,n,r){return void 0!==r&&(e=n+r*(e-n)),n+i*(e-n)+t}function a(e,t=0,i=1,n,r){e.min=s(e.min,t,i,n,r),e.max=s(e.max,t,i,n,r)}function l(e,{x:t,y:i}){a(e.x,t.translate,t.scale,t.originPoint),a(e.y,i.translate,i.scale,i.originPoint)}function u(e,t,i,n=!1){let o,s;let a=i.length;if(a){t.x=t.y=1;for(let u=0;u1.0000000000001||e<.999999999999?e:1}function c(e,t){e.min=e.min+t,e.max=e.max+t}function h(e,t,[i,r,o]){let s=void 0!==t[o]?t[o]:.5,l=(0,n.C)(e.min,e.max,s);a(e,t[i],t[r],l,t.scale)}let g=["x","scaleX","originX"],p=["y","scaleY","originY"];function f(e,t){h(e.x,t,g),h(e.y,t,p)}},40304:(e,t,i)=>{"use strict";i.d(t,{JO:()=>r,b3:()=>c,tf:()=>u,wS:()=>o,y$:()=>a});var n=i(51413);function r(e){return e.max-e.min}function o(e,t=0,i=.01){return Math.abs(e-t)<=i}function s(e,t,i,s=.5){e.origin=s,e.originPoint=(0,n.C)(t.min,t.max,e.origin),e.scale=r(i)/r(t),(o(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=(0,n.C)(i.min,i.max,e.origin)-e.originPoint,(o(e.translate)||isNaN(e.translate))&&(e.translate=0)}function a(e,t,i,n){s(e.x,t.x,i.x,n?n.originX:void 0),s(e.y,t.y,i.y,n?n.originY:void 0)}function l(e,t,i){e.min=i.min+t.min,e.max=e.min+r(t)}function u(e,t,i){l(e.x,t.x,i.x),l(e.y,t.y,i.y)}function d(e,t,i){e.min=t.min-i.min,e.max=e.min+r(t)}function c(e,t,i){d(e.x,t.x,i.x),d(e.y,t.y,i.y)}},57346:(e,t,i)=>{"use strict";i.d(t,{dO:()=>s,wc:()=>r});let n=()=>({translate:0,scale:1,origin:0,originPoint:0}),r=()=>({x:n(),y:n()}),o=()=>({min:0,max:0}),s=()=>({x:o(),y:o()})},62122:(e,t,i)=>{"use strict";i.d(t,{u:()=>ev,J:()=>em});var n=i(2885),r=i(71905),o=i(72375),s=i(38172),a=i(51413),l=i(606),u=i(44841);let d=["TopLeft","TopRight","BottomLeft","BottomRight"],c=d.length,h=e=>"string"==typeof e?parseFloat(e):e,g=e=>"number"==typeof e||u.px.test(e);function p(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let f=v(0,.5,o.Bn),m=v(.5,.95,l.Z);function v(e,t,i){return n=>nt?1:i((0,s.Y)(e,t,n))}function b(e,t){e.min=t.min,e.max=t.max}function y(e,t){b(e.x,t.x),b(e.y,t.y)}var _=i(84410),w=i(40304);function C(e,t,i,n,r){return e-=t,e=(0,_.q2)(e,1/i,n),void 0!==r&&(e=(0,_.q2)(e,1/r,n)),e}function S(e,t,[i,n,r],o,s){!function(e,t=0,i=1,n=.5,r,o=e,s=e){if(u.aQ.test(t)&&(t=parseFloat(t),t=(0,a.C)(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let l=(0,a.C)(o.min,o.max,n);e===o&&(l-=t),e.min=C(e.min,t,i,l,r),e.max=C(e.max,t,i,l,r)}(e,t[i],t[n],t[r],t.scale,o,s)}let x=["x","scaleX","originX"],k=["y","scaleY","originY"];function E(e,t,i,n){S(e.x,t,x,i?i.x:void 0,n?n.x:void 0),S(e.y,t,k,i?i.y:void 0,n?n.y:void 0)}var L=i(57346),D=i(98548);function N(e){return 0===e.translate&&1===e.scale}function A(e){return N(e.x)&&N(e.y)}function T(e,t){return e.x.min===t.x.min&&e.x.max===t.x.max&&e.y.min===t.y.min&&e.y.max===t.y.max}function I(e){return(0,w.JO)(e.x)/(0,w.JO)(e.y)}var M=i(59738);class O{constructor(){this.members=[]}add(e){(0,M.y4)(this.members,e),e.scheduleRender()}remove(e){if((0,M.cl)(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){let t;let i=this.members.findIndex(t=>e===t);if(0===i)return!1;for(let e=i;e>=0;e--){let i=this.members[e];if(!1!==i.isPresent){t=i;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let i=this.lead;if(e!==i&&(this.prevLead=i,this.lead=e,e.show(),i)){i.instance&&i.scheduleRender(),e.scheduleRender(),e.resumeFrom=i,t&&(e.resumeFrom.preserveOpacity=!0),i.snapshot&&(e.snapshot=i.snapshot,e.snapshot.latestValues=i.animationValues||i.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:i}=e;t.onExitComplete&&t.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}var P=i(2340);function R(e,t,i){let n="",r=e.x.translate/t.x,o=e.y.translate/t.y;if((r||o)&&(n=`translate3d(${r}px, ${o}px, 0) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),i){let{rotate:e,rotateX:t,rotateY:r}=i;e&&(n+=`rotate(${e}deg) `),t&&(n+=`rotateX(${t}deg) `),r&&(n+=`rotateY(${r}deg) `)}let s=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==s||1!==a)&&(n+=`scale(${s}, ${a})`),n||"none"}var F=i(23814),B=i(53933),V=i(85842),H=i(93920),j=i(88617),W=i(97246),z=i(58895),U=i(62037),$=i(96002);let q=["","X","Y","Z"],K=0,G={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Z({attachResizeListener:e,defaultParent:t,measureScroll:i,checkIsScrollRoot:o,resetTransform:s}){return class{constructor(e={},i=null==t?void 0:t()){this.id=K++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{G.totalNodes=G.resolvedTargetDeltas=G.recalculatedProjection=0,this.nodes.forEach(J),this.nodes.forEach(er),this.nodes.forEach(eo),this.nodes.forEach(X),window.MotionDebug&&window.MotionDebug.record(G)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,i&&i(),i=(0,W.g)(n,250),j.V.hasAnimatedSinceResize&&(j.V.hasAnimatedSinceResize=!1,this.nodes.forEach(en))})}n&&this.root.registerSharedNode(n,this),!1!==this.options.animate&&o&&(n||r)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||o.getDefaultTransition()||ec,{onLayoutAnimationStart:s,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!T(this.targetLayout,n)||i,u=!t&&i;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);let t={...(0,D.e)(r,"layout"),onPlay:s,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||en(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,(0,n.Pn)(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(es),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;ethis.update()))}clearAllSnapshots(){this.nodes.forEach(ee),this.sharedNodes.forEach(ea)}scheduleUpdateProjection(){n.Wi.preRender(this.updateProjection,!1,!0)}scheduleCheckAfterUnmount(){n.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e{var n,b;let S=t/1e3;el(s.x,e.x,S),el(s.y,e.y,S),this.setTargetDelta(s),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&((0,w.b3)(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox),n=this.relativeTarget,b=this.relativeTargetOrigin,eu(n.x,b.x,l.x,S),eu(n.y,b.y,l.y,S),i&&T(this.relativeTarget,i)&&(this.isProjectionDirty=!1),i||(i=(0,L.dO)()),y(i,this.relativeTarget)),v&&(this.animationValues=o,function(e,t,i,n,r,o){r?(e.opacity=(0,a.C)(0,void 0!==i.opacity?i.opacity:1,f(n)),e.opacityExit=(0,a.C)(void 0!==t.opacity?t.opacity:1,0,m(n))):o&&(e.opacity=(0,a.C)(void 0!==t.opacity?t.opacity:1,void 0!==i.opacity?i.opacity:1,n));for(let r=0;r{j.V.hasAnimatedSinceResize=!0,this.currentAnimation=(0,U.D)(0,1e3,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:i,layout:n,latestValues:r}=e;if(t&&i&&n){if(this!==e&&this.layout&&n&&eg(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||(0,L.dO)();let t=(0,w.JO)(this.layout.layoutBox.x);i.x.min=e.target.x.min,i.x.max=i.x.min+t;let n=(0,w.JO)(this.layout.layoutBox.y);i.y.min=e.target.y.min,i.y.max=i.y.min+n}y(t,i),(0,_.D2)(t,r),(0,w.y$)(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new O),this.sharedNodes.get(e).add(t);let i=t.options.initialPromotionConfig;t.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:i}=e;if((i.rotate||i.rotateX||i.rotateY||i.rotateZ)&&(t=!0),!t)return;let n={};for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(et),this.root.sharedNodes.clear()}}}function Y(e){e.updateLayout()}function Q(e){var t;let i=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&i&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:n}=e.layout,{animationType:r}=e.options,o=i.source!==e.layout.source;"size"===r?(0,F.U)(e=>{let n=o?i.measuredBox[e]:i.layoutBox[e],r=(0,w.JO)(n);n.min=t[e].min,n.max=n.min+r}):eg(r,i.layoutBox,t)&&(0,F.U)(n=>{let r=o?i.measuredBox[n]:i.layoutBox[n],s=(0,w.JO)(t[n]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+s)});let s=(0,L.wc)();(0,w.y$)(s,t,i.layoutBox);let a=(0,L.wc)();o?(0,w.y$)(a,e.applyTransform(n,!0),i.measuredBox):(0,w.y$)(a,t,i.layoutBox);let l=!A(s),u=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:o}=n;if(r&&o){let s=(0,L.dO)();(0,w.b3)(s,i.layoutBox,r.layoutBox);let a=(0,L.dO)();(0,w.b3)(a,t,o.layoutBox),T(s,a)||(u=!0),n.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:i,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function J(e){G.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function X(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function ee(e){e.clearSnapshot()}function et(e){e.clearMeasurements()}function ei(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function en(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function er(e){e.resolveTargetDelta()}function eo(e){e.calcProjection()}function es(e){e.resetRotation()}function ea(e){e.removeLeadSnapshot()}function el(e,t,i){e.translate=(0,a.C)(t.translate,0,i),e.scale=(0,a.C)(t.scale,1,i),e.origin=t.origin,e.originPoint=t.originPoint}function eu(e,t,i,n){e.min=(0,a.C)(t.min,i.min,n),e.max=(0,a.C)(t.max,i.max,n)}function ed(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let ec={duration:.45,ease:[.4,0,.1,1]};function eh(e){e.min=Math.round(e.min),e.max=Math.round(e.max)}function eg(e,t,i){return"position"===e||"preserve-aspect"===e&&!(0,w.wS)(I(t),I(i),.2)}var ep=i(44925);let ef=Z({attachResizeListener:(e,t)=>(0,ep.E)(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),em={current:void 0},ev=Z({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!em.current){let e=new ef({});e.mount(window),e.setOptions({layoutScroll:!0}),em.current=e}return em.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position})},88617:(e,t,i)=>{"use strict";i.d(t,{V:()=>n});let n={hasAnimatedSinceResize:!0,hasEverUpdated:!1}},2340:(e,t,i)=>{"use strict";i.d(t,{B:()=>r,P:()=>n});let n={};function r(e){Object.assign(n,e)}},23814:(e,t,i)=>{"use strict";function n(e){return[e("x"),e("y")]}i.d(t,{U:()=>n})},53933:(e,t,i)=>{"use strict";function n(e){return void 0===e||1===e}function r({scale:e,scaleX:t,scaleY:i}){return!n(e)||!n(t)||!n(i)}function o(e){return r(e)||s(e)||e.z||e.rotate||e.rotateX||e.rotateY}function s(e){var t,i;return(t=e.x)&&"0%"!==t||(i=e.y)&&"0%"!==i}i.d(t,{D_:()=>s,Lj:()=>r,ud:()=>o})},26255:(e,t,i)=>{"use strict";i.d(t,{J:()=>o,z:()=>s});var n=i(61532),r=i(84410);function o(e,t){return(0,n.i8)((0,n.d7)(e.getBoundingClientRect(),t))}function s(e,t,i){let n=o(e,i),{scroll:s}=t;return s&&((0,r.am)(n.x,s.offset.x),(0,r.am)(n.y,s.offset.y)),n}},54188:(e,t,i)=>{"use strict";i.d(t,{l:()=>S});var n=i(2885),r=i(57346),o=i(73271),s=i(72796),a=i(98201),l=i(71905),u=i(7881),d=i(64595),c=i(8423),h=i(67188),g=i(4060),p=i(90026),f=i(70645),m=i(50341),v=i(97131),b=i(88568);let y=Object.keys(m.A),_=y.length,w=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],C=v.V.length;class S{constructor({parent:e,props:t,presenceContext:i,reducedMotionConfig:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.scheduleRender=()=>n.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=o;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=i,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.isControllingVariants=(0,g.G)(t),this.isVariantNode=(0,g.M)(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(t,{});for(let e in h){let t=h[e];void 0!==a[e]&&(0,c.i)(t)&&(t.set(a[e],!1),(0,d.L)(u)&&u.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,b.R.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),a.O.current||(0,s.A)(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||a.n.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in b.R.delete(this.current),this.projection&&this.projection.unmount(),(0,n.Pn)(this.notifyUpdate),(0,n.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let i=h.G.has(e),r=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&n.Wi.update(this.notifyUpdate,!1,!0),i&&this.projection&&(this.projection.isTransformDirty=!0)}),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{r(),o()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},i,n,r){let s,a;for(let e=0;e<_;e++){let i=y[e],{isEnabled:n,Feature:r,ProjectionNode:o,MeasureLayout:l}=m.A[i];o&&(s=o),n(t)&&(!this.features[i]&&r&&(this.features[i]=new r(this)),l&&(a=l))}if(!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:i,drag:n,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;this.projection.setOptions({layoutId:e,layout:i,alwaysMeasureLayout:!!n||a&&(0,o.I)(a),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:u})}return a}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):(0,r.dO)()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}makeTargetAnimatable(e,t=!0){return this.makeTargetAnimatableFromInstance(e,this.props,t)}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,t)),this.values.set(e,t),this.latestValues[e]=t.get()}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let i=this.values.get(e);return void 0===i&&void 0!==t&&(i=(0,u.B)(t,{owner:this}),this.addValue(e,i)),i}readValue(e){return void 0===this.latestValues[e]&&this.current?this.readValueFromInstance(this.current,e,this.options):this.latestValues[e]}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(t=(0,f.o)(this.props,i))||void 0===t?void 0:t[e]:void 0;if(i&&void 0!==n)return n;let r=this.getBaseTargetFromProps(this.props,e);return void 0===r||(0,c.i)(r)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new l.L),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}},32663:(e,t,i)=>{"use strict";i.d(t,{J:()=>L});var n=i(51527),r=i(33029),o=i(77881);let s=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function a(e,t,i=1){(0,r.k)(i<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);let[n,l]=function(e){let t=s.exec(e);if(!t)return[,];let[,i,n]=t;return[i,n]}(e);if(!n)return;let u=window.getComputedStyle(t).getPropertyValue(n);return u?u.trim():(0,o.tm)(l)?a(l,t,i+1):l}var l=i(54365),u=i(67188),d=i(70071),c=i(70908),h=i(8888),g=i(44841);let p=new Set(["width","height","top","left","right","bottom","x","y"]),f=e=>p.has(e),m=e=>Object.keys(e).some(f),v=e=>e===h.Rx||e===g.px,b=(e,t)=>parseFloat(e.split(", ")[t]),y=(e,t)=>(i,{transform:n})=>{if("none"===n||!n)return 0;let r=n.match(/^matrix3d\((.+)\)$/);if(r)return b(r[1],t);{let t=n.match(/^matrix\((.+)\)$/);return t?b(t[1],e):0}},_=new Set(["x","y","z"]),w=u._.filter(e=>!_.has(e)),C={width:({x:e},{paddingLeft:t="0",paddingRight:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),height:({y:e},{paddingTop:t="0",paddingBottom:i="0"})=>e.max-e.min-parseFloat(t)-parseFloat(i),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:y(4,13),y:y(5,14)},S=(e,t,i)=>{let n=t.measureViewportBox(),r=t.current,o=getComputedStyle(r),{display:s}=o,a={};"none"===s&&t.setStaticValue("display",e.display||"block"),i.forEach(e=>{a[e]=C[e](n,o)}),t.render();let l=t.measureViewportBox();return i.forEach(i=>{let n=t.getValue(i);n&&n.jump(a[i]),e[i]=C[i](l,o)}),e},x=(e,t,i={},n={})=>{t={...t},n={...n};let o=Object.keys(t).filter(f),s=[],a=!1,u=[];if(o.forEach(o=>{let c;let h=e.getValue(o);if(!e.hasValue(o))return;let p=i[o],f=(0,d.C)(p),m=t[o];if((0,l.C)(m)){let e=m.length,t=null===m[0]?1:0;p=m[t],f=(0,d.C)(p);for(let i=t;i{let n=e.getValue(i);void 0!==n&&(t.push([i,n.get()]),n.set(i.startsWith("scale")?1:0))}),t.length&&e.render(),t}(e),a=!0),u.push(o),n[o]=void 0!==n[o]?n[o]:t[o],h.jump(m))}}),!u.length)return{target:t,transitionEnd:n};{let i=u.indexOf("height")>=0?window.pageYOffset:null,r=S(t,e,u);return s.length&&s.forEach(([t,i])=>{e.getValue(t).set(i)}),e.render(),c.j&&null!==i&&window.scrollTo({top:i}),{target:r,transitionEnd:n}}},k=(e,t,i,n)=>{let r=function(e,{...t},i){let n=e.current;if(!(n instanceof Element))return{target:t,transitionEnd:i};for(let r in i&&(i={...i}),e.values.forEach(e=>{let t=e.get();if(!(0,o.tm)(t))return;let i=a(t,n);i&&e.set(i)}),t){let e=t[r];if(!(0,o.tm)(e))continue;let s=a(e,n);s&&(t[r]=s,i||(i={}),void 0===i[r]&&(i[r]=e))}return{target:t,transitionEnd:i}}(e,t,n);return function(e,t,i,n){return m(t)?x(e,t,i,n):{target:t,transitionEnd:n}}(e,t=r.target,i,n=r.transitionEnd)};var E=i(54188);class L extends E.l{sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:i}){delete t[e],delete i[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:t,...i},{transformValues:r},o){let s=(0,n.P$)(i,e||{},this);if(r&&(t&&(t=r(t)),i&&(i=r(i)),s&&(s=r(s))),o){(0,n.GJ)(this,i,s);let e=k(this,i,s,t);t=e.transitionEnd,i=e.target}return{transition:e,transitionEnd:t,...i}}}},75432:(e,t,i)=>{"use strict";i.d(t,{b:()=>s});var n=i(74558),r=i(6776),o=i(14361);let s=(e,t)=>(0,o.q)(e)?new r.e(t,{enableHardwareAcceleration:!1}):new n.W(t,{enableHardwareAcceleration:!0})},66314:(e,t,i)=>{"use strict";i.d(t,{D:()=>r});var n=i(3276);function r(e){function t(t,i={}){return(0,n.F)(e(t,i))}if("undefined"==typeof Proxy)return t;let i=new Map;return new Proxy(t,{get:(e,n)=>(i.has(n)||i.set(n,t(n)),i.get(n))})}},40836:(e,t,i)=>{"use strict";i.d(t,{E:()=>h,F:()=>g});var n=i(3276),r=i(66314),o=i(48318),s=i(80181),a=i(17276),l=i(49289),u=i(75432),d=i(87608);let c={...a.s,...s.E,...l.o,...d.b},h=(0,r.D)((e,t)=>(0,o.w)(e,t,c,u.b));function g(e){return(0,n.F)((0,o.w)(e,{forwardMotionProps:!1},c,u.b))}},52069:(e,t,i)=>{"use strict";i.d(t,{D:()=>n});let n=e=>e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},48318:(e,t,i)=>{"use strict";i.d(t,{w:()=>_});var n=i(14361),r=i(2784),o=i(6780),s=i(8423),a=i(66052);let l=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function u(e,t,i){for(let n in t)(0,s.i)(t[n])||(0,o.j)(n,i)||(e[n]=t[n])}var d=i(11852),c=i(84030);let h=()=>({...l(),attrs:{}});var g=i(91709),p=i(30342),f=i(14819),m=i(10667);let v={useVisualState:(0,m.t)({scrapeMotionValuesFromProps:f.U,createRenderState:h,onMount:(e,t,{renderState:i,latestValues:n})=>{try{i.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){i.dimensions={x:0,y:0,width:0,height:0}}(0,c.i)(i,n,{enableHardwareAcceleration:!1},(0,g.a)(t.tagName),e.transformTemplate),(0,p.K)(t,i)}})};var b=i(90428);let y={useVisualState:(0,m.t)({scrapeMotionValuesFromProps:b.U,createRenderState:l})};function _(e,{forwardMotionProps:t=!1},i,o){return{...(0,n.q)(e)?v:y,preloadedFeatures:i,useRender:function(e=!1){return(t,i,o,{latestValues:p},f)=>{let m=((0,n.q)(t)?function(e,t,i,n){let o=(0,r.useMemo)(()=>{let i=h();return(0,c.i)(i,t,{enableHardwareAcceleration:!1},(0,g.a)(n),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){let t={};u(t,e.style,e),o.style={...t,...o.style}}return o}:function(e,t,i){let n;let o={},s=(u(n={},e.style||{},e),Object.assign(n,function({transformTemplate:e},t,i){return(0,r.useMemo)(()=>{let n=l();return(0,a.r)(n,t,{enableHardwareAcceleration:!i},e),Object.assign({},n.vars,n.style)},[t])}(e,t,i)),e.transformValues?e.transformValues(n):n);return e.drag&&!1!==e.dragListener&&(o.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(o.tabIndex=0),o.style=s,o})(i,p,f,t),v={...(0,d.L)(i,"string"==typeof t,e),...m,ref:o},{children:b}=i,y=(0,r.useMemo)(()=>(0,s.i)(b)?b.get():b,[b]);return(0,r.createElement)(t,{...v,children:y})}}(t),createVisualElement:o,Component:e}}},11852:(e,t,i)=>{"use strict";i.d(t,{K:()=>o,L:()=>s});var n=i(48188);let r=e=>!(0,n.Z)(e);function o(e){e&&(r=t=>t.startsWith("on")?!(0,n.Z)(t):e(t))}try{o(i(47229).Z)}catch(e){}function s(e,t,i){let o={};for(let s in e)("values"!==s||"object"!=typeof e.values)&&(r(s)||!0===i&&(0,n.Z)(s)||!t&&!(0,n.Z)(s)||e.draggable&&s.startsWith("onDrag"))&&(o[s]=e[s]);return o}},77881:(e,t,i)=>{"use strict";i.d(t,{Xp:()=>s,f9:()=>r,tm:()=>o});let n=e=>t=>"string"==typeof t&&t.startsWith(e),r=n("--"),o=n("var(--"),s=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g},14361:(e,t,i)=>{"use strict";i.d(t,{q:()=>r});let n=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function r(e){if("string"!=typeof e||e.includes("-"));else if(n.indexOf(e)>-1||/[A-Z]/.test(e))return!0;return!1}},58895:(e,t,i)=>{"use strict";function n(e){return e instanceof SVGElement&&"svg"!==e.tagName}i.d(t,{v:()=>n})},51997:(e,t,i)=>{"use strict";i.d(t,{T:()=>s});var n=i(99514),r=i(32004),o=i(75942);function s(e,t){let i=(0,o.A)(e);return i!==r.h&&(i=n.P),i.getAnimatableNone?i.getAnimatableNone(t):void 0}},75942:(e,t,i)=>{"use strict";i.d(t,{A:()=>s});var n=i(98172),r=i(32004);let o={...i(23280).j,color:n.$,backgroundColor:n.$,outlineColor:n.$,fill:n.$,stroke:n.$,borderColor:n.$,borderTopColor:n.$,borderRightColor:n.$,borderBottomColor:n.$,borderLeftColor:n.$,filter:r.h,WebkitFilter:r.h},s=e=>o[e]},70071:(e,t,i)=>{"use strict";i.d(t,{$:()=>s,C:()=>a});var n=i(8888),r=i(44841),o=i(195);let s=[n.Rx,r.px,r.aQ,r.RW,r.vw,r.vh,{test:e=>"auto"===e,parse:e=>e}],a=e=>s.find((0,o.l)(e))},23280:(e,t,i)=>{"use strict";i.d(t,{j:()=>s});var n=i(8888),r=i(44841);let o={...n.Rx,transform:Math.round},s={borderWidth:r.px,borderTopWidth:r.px,borderRightWidth:r.px,borderBottomWidth:r.px,borderLeftWidth:r.px,borderRadius:r.px,radius:r.px,borderTopLeftRadius:r.px,borderTopRightRadius:r.px,borderBottomRightRadius:r.px,borderBottomLeftRadius:r.px,width:r.px,maxWidth:r.px,height:r.px,maxHeight:r.px,size:r.px,top:r.px,right:r.px,bottom:r.px,left:r.px,padding:r.px,paddingTop:r.px,paddingRight:r.px,paddingBottom:r.px,paddingLeft:r.px,margin:r.px,marginTop:r.px,marginRight:r.px,marginBottom:r.px,marginLeft:r.px,rotate:r.RW,rotateX:r.RW,rotateY:r.RW,rotateZ:r.RW,scale:n.bA,scaleX:n.bA,scaleY:n.bA,scaleZ:n.bA,skew:r.RW,skewX:r.RW,skewY:r.RW,distance:r.px,translateX:r.px,translateY:r.px,translateZ:r.px,x:r.px,y:r.px,z:r.px,perspective:r.px,transformPerspective:r.px,opacity:n.Fq,originX:r.$C,originY:r.$C,originZ:r.px,zIndex:o,fillOpacity:n.Fq,strokeOpacity:n.Fq,numOctaves:o}},195:(e,t,i)=>{"use strict";i.d(t,{l:()=>n});let n=e=>t=>t.test(e)},74558:(e,t,i)=>{"use strict";i.d(t,{W:()=>h});var n=i(66052),r=i(77881),o=i(67188),s=i(90428),a=i(12228),l=i(75942),u=i(26255),d=i(32663),c=i(8423);class h extends d.J{readValueFromInstance(e,t){if(o.G.has(t)){let e=(0,l.A)(t);return e&&e.default||0}{let i=window.getComputedStyle(e),n=((0,r.f9)(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return(0,u.J)(e,t)}build(e,t,i,r){(0,n.r)(e,t,i,r.transformTemplate)}scrapeMotionValuesFromProps(e,t){return(0,s.U)(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;(0,c.i)(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}renderInstance(e,t,i,n){(0,a.N)(e,t,i,n)}}},66052:(e,t,i)=>{"use strict";i.d(t,{r:()=>l});var n=i(10455),r=i(77881),o=i(67188);let s=(e,t)=>t&&"number"==typeof e?t.transform(e):e;var a=i(23280);function l(e,t,i,l){let{style:u,vars:d,transform:c,transformOrigin:h}=e,g=!1,p=!1,f=!0;for(let e in t){let i=t[e];if((0,r.f9)(e)){d[e]=i;continue}let n=a.j[e],l=s(i,n);if(o.G.has(e)){if(g=!0,c[e]=l,!f)continue;i!==(n.default||0)&&(f=!1)}else e.startsWith("origin")?(p=!0,h[e]=l):u[e]=l}if(!t.transform&&(g||l?u.transform=(0,n.P)(e.transform,i,f,l):u.transform&&(u.transform="none")),p){let{originX:e="50%",originY:t="50%",originZ:i=0}=h;u.transformOrigin=`${e} ${t} ${i}`}}},10455:(e,t,i)=>{"use strict";i.d(t,{P:()=>s});var n=i(67188);let r={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},o=n._.length;function s(e,{enableHardwareAcceleration:t=!0,allowTransformNone:i=!0},s,a){let l="";for(let t=0;t{"use strict";function n(e,{style:t,vars:i},n,r){for(let o in Object.assign(e.style,t,r&&r.getProjectionStyles(n)),i)e.style.setProperty(o,i[o])}i.d(t,{N:()=>n})},90428:(e,t,i)=>{"use strict";i.d(t,{U:()=>o});var n=i(6780),r=i(8423);function o(e,t){let{style:i}=e,o={};for(let s in i)((0,r.i)(i[s])||t.style&&(0,r.i)(t.style[s])||(0,n.j)(s,e))&&(o[s]=i[s]);return o}},67188:(e,t,i)=>{"use strict";i.d(t,{G:()=>r,_:()=>n});let n=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set(n)},88568:(e,t,i)=>{"use strict";i.d(t,{R:()=>n});let n=new WeakMap},6776:(e,t,i)=>{"use strict";i.d(t,{e:()=>g});var n=i(14819),r=i(32663),o=i(84030),s=i(52069),a=i(56928),l=i(67188),u=i(30342),d=i(75942),c=i(57346),h=i(91709);class g extends r.J{constructor(){super(...arguments),this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(l.G.has(t)){let e=(0,d.A)(t);return e&&e.default||0}return t=a.s.has(t)?t:(0,s.D)(t),e.getAttribute(t)}measureInstanceViewportBox(){return(0,c.dO)()}scrapeMotionValuesFromProps(e,t){return(0,n.U)(e,t)}build(e,t,i,n){(0,o.i)(e,t,i,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,i,n){(0,u.K)(e,t,i,n)}mount(e){this.isSVGTag=(0,h.a)(e.tagName),super.mount(e)}}},84030:(e,t,i)=>{"use strict";i.d(t,{i:()=>l});var n=i(66052),r=i(44841);function o(e,t,i){return"string"==typeof e?e:r.px.transform(t+i*e)}let s={offset:"stroke-dashoffset",array:"stroke-dasharray"},a={offset:"strokeDashoffset",array:"strokeDasharray"};function l(e,{attrX:t,attrY:i,attrScale:l,originX:u,originY:d,pathLength:c,pathSpacing:h=1,pathOffset:g=0,...p},f,m,v){if((0,n.r)(e,p,f,v),m){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:b,style:y,dimensions:_}=e;b.transform&&(_&&(y.transform=b.transform),delete b.transform),_&&(void 0!==u||void 0!==d||y.transform)&&(y.transformOrigin=`${o(void 0!==u?u:.5,_.x,_.width)} ${o(void 0!==d?d:.5,_.y,_.height)}`),void 0!==t&&(b.x=t),void 0!==i&&(b.y=i),void 0!==l&&(b.scale=l),void 0!==c&&function(e,t,i=1,n=0,o=!0){e.pathLength=1;let l=o?s:a;e[l.offset]=r.px.transform(-n);let u=r.px.transform(t),d=r.px.transform(i);e[l.array]=`${u} ${d}`}(b,c,h,g,!1)}},56928:(e,t,i)=>{"use strict";i.d(t,{s:()=>n});let n=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"])},91709:(e,t,i)=>{"use strict";i.d(t,{a:()=>n});let n=e=>"string"==typeof e&&"svg"===e.toLowerCase()},30342:(e,t,i)=>{"use strict";i.d(t,{K:()=>s});var n=i(52069),r=i(12228),o=i(56928);function s(e,t,i,s){for(let i in(0,r.N)(e,t,void 0,s),t.attrs)e.setAttribute(o.s.has(i)?i:(0,n.D)(i),t.attrs[i])}},14819:(e,t,i)=>{"use strict";i.d(t,{U:()=>s});var n=i(8423),r=i(90428),o=i(67188);function s(e,t){let i=(0,r.U)(e,t);for(let r in e)((0,n.i)(e[r])||(0,n.i)(t[r]))&&(i[-1!==o._.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return i}},85842:(e,t,i)=>{"use strict";i.d(t,{E:()=>o});var n=i(59738);let r=(e,t)=>e.depth-t.depth;class o{constructor(){this.children=[],this.isDirty=!1}add(e){(0,n.y4)(this.children,e),this.isDirty=!0}remove(e){(0,n.cl)(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(r),this.isDirty=!1,this.children.forEach(e)}}},4060:(e,t,i)=>{"use strict";i.d(t,{G:()=>s,M:()=>a});var n=i(91129),r=i(90026),o=i(97131);function s(e){return(0,n.H)(e.animate)||o.V.some(t=>(0,r.$)(e[t]))}function a(e){return!!(s(e)||e.variants)}},90026:(e,t,i)=>{"use strict";function n(e){return"string"==typeof e||Array.isArray(e)}i.d(t,{$:()=>n})},66968:(e,t,i)=>{"use strict";i.d(t,{x:()=>r});var n=i(70645);function r(e,t,i){let r,o,s=e.getProps();return(0,n.o)(s,t,void 0!==i?i:s.custom,(r={},e.values.forEach((e,t)=>r[t]=e.get()),r),(o={},e.values.forEach((e,t)=>o[t]=e.getVelocity()),o))}},70645:(e,t,i)=>{"use strict";function n(e,t,i,n={},r={}){return"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==i?i:e.custom,n,r)),t}i.d(t,{o:()=>n})},51527:(e,t,i)=>{"use strict";i.d(t,{GJ:()=>b,P$:()=>y,CD:()=>f,gg:()=>v});let n=e=>/^\-?\d*\.?\d+$/.test(e);var r=i(65508),o=i(9627),s=i(7881),a=i(99514),l=i(51997),u=i(98172),d=i(70071),c=i(195);let h=[...d.$,u.$,a.P],g=e=>h.find((0,c.l)(e));var p=i(66968);function f(e,t){let i=(0,p.x)(e,t),{transitionEnd:n={},transition:r={},...a}=i?e.makeTargetAnimatable(i,!1):{};for(let t in a={...a,...n}){let i=(0,o.Y)(a[t]);e.hasValue(t)?e.getValue(t).set(i):e.addValue(t,(0,s.B)(i))}}function m(e,t){[...t].reverse().forEach(i=>{let n=e.getVariant(i);n&&f(e,n),e.variantChildren&&e.variantChildren.forEach(e=>{m(e,t)})})}function v(e,t){return Array.isArray(t)?m(e,t):"string"==typeof t?m(e,[t]):void f(e,t)}function b(e,t,i){var o,u;let d=Object.keys(t).filter(t=>!e.hasValue(t)),c=d.length;if(c)for(let h=0;h{"use strict";i.d(t,{V:()=>r,e:()=>n});let n=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],r=["initial",...n]},59738:(e,t,i)=>{"use strict";function n(e,t){-1===e.indexOf(t)&&e.push(t)}function r(e,t){let i=e.indexOf(t);i>-1&&e.splice(i,1)}function o([...e],t,i){let n=t<0?e.length+t:t;if(n>=0&&nr,uo:()=>o,y4:()=>n})},53913:(e,t,i)=>{"use strict";i.d(t,{u:()=>n});let n=(e,t,i)=>Math.min(Math.max(i,e),t)},97246:(e,t,i)=>{"use strict";i.d(t,{g:()=>r});var n=i(2885);function r(e,t){let i=performance.now(),r=({timestamp:o})=>{let s=o-i;s>=t&&((0,n.Pn)(r),e(s-t))};return n.Wi.read(r,!0),()=>(0,n.Pn)(r)}},61285:(e,t,i)=>{"use strict";i.d(t,{T:()=>n,y:()=>r});let n=(e,t)=>Math.abs(e-t);function r(e,t){return Math.sqrt(n(e.x,t.x)**2+n(e.y,t.y)**2)}},33029:(e,t,i)=>{"use strict";i.d(t,{K:()=>r,k:()=>o});var n=i(606);let r=n.Z,o=n.Z},2466:(e,t,i)=>{"use strict";i.d(t,{s:()=>E});var n=i(33029),r=i(98172),o=i(53913),s=i(51413);function a(e,t,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?e+(t-e)*6*i:i<.5?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var l=i(86652),u=i(25727),d=i(17041);let c=(e,t,i)=>{let n=e*e;return Math.sqrt(Math.max(0,i*(t*t-n)+n))},h=[l.$,u.m,d.J],g=e=>h.find(t=>t.test(e));function p(e){let t=g(e);(0,n.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let i=t.parse(e);return t===d.J&&(i=function({hue:e,saturation:t,lightness:i,alpha:n}){e/=360,i/=100;let r=0,o=0,s=0;if(t/=100){let n=i<.5?i*(1+t):i+t-i*t,l=2*i-n;r=a(l,n,e+1/3),o=a(l,n,e),s=a(l,n,e-1/3)}else r=o=s=i;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:n}}(i)),i}let f=(e,t)=>{let i=p(e),n=p(t),r={...i};return e=>(r.red=c(i.red,n.red,e),r.green=c(i.green,n.green,e),r.blue=c(i.blue,n.blue,e),r.alpha=(0,s.C)(i.alpha,n.alpha,e),u.m.transform(r))};var m=i(19106),v=i(99514);let b=(e,t)=>i=>`${i>0?t:e}`;function y(e,t){return"number"==typeof e?i=>(0,s.C)(e,t,i):r.$.test(e)?f(e,t):e.startsWith("var(")?b(e,t):C(e,t)}let _=(e,t)=>{let i=[...e],n=i.length,r=e.map((e,i)=>y(e,t[i]));return e=>{for(let t=0;t{let i={...e,...t},n={};for(let r in i)void 0!==e[r]&&void 0!==t[r]&&(n[r]=y(e[r],t[r]));return e=>{for(let t in n)i[t]=n[t](e);return i}},C=(e,t)=>{let i=v.P.createTransformer(t),r=(0,v.V)(e),o=(0,v.V)(t);return r.numVars===o.numVars&&r.numColors===o.numColors&&r.numNumbers>=o.numNumbers?(0,m.z)(_(r.values,o.values),i):((0,n.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),b(e,t))};var S=i(38172),x=i(606);let k=(e,t)=>i=>(0,s.C)(e,t,i);function E(e,t,{clamp:i=!0,ease:s,mixer:a}={}){let l=e.length;if((0,n.k)(l===t.length,"Both input and output ranges must be the same length"),1===l)return()=>t[0];e[0]>e[l-1]&&(e=[...e].reverse(),t=[...t].reverse());let u=function(e,t,i){let n=[],o=i||function(e){if("number"==typeof e);else if("string"==typeof e)return r.$.test(e)?f:C;else if(Array.isArray(e))return _;else if("object"==typeof e)return w;return k}(e[0]),s=e.length-1;for(let i=0;i{let i=0;if(d>1)for(;ic((0,o.u)(e[0],e[l-1],t)):c}},70908:(e,t,i)=>{"use strict";i.d(t,{j:()=>n});let n="undefined"!=typeof document},73271:(e,t,i)=>{"use strict";function n(e){return"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}i.d(t,{I:()=>n})},65508:(e,t,i)=>{"use strict";i.d(t,{W:()=>n});let n=e=>/^0[^.\s]+$/.test(e)},51413:(e,t,i)=>{"use strict";i.d(t,{C:()=>n});let n=(e,t,i)=>-i*e+i*t+e},606:(e,t,i)=>{"use strict";i.d(t,{Z:()=>n});let n=e=>e},85285:(e,t,i)=>{"use strict";i.d(t,{Y:()=>r});var n=i(65673);function r(e){let t=[0];return(0,n.c)(t,e.length-1),t}},65673:(e,t,i)=>{"use strict";i.d(t,{c:()=>o});var n=i(51413),r=i(38172);function o(e,t){let i=e[e.length-1];for(let o=1;o<=t;o++){let s=(0,r.Y)(0,t,o);e.push((0,n.C)(i,1,s))}}},19106:(e,t,i)=>{"use strict";i.d(t,{z:()=>r});let n=(e,t)=>i=>t(e(i)),r=(...e)=>e.reduce(n)},38172:(e,t,i)=>{"use strict";i.d(t,{Y:()=>n});let n=(e,t,i)=>{let n=t-e;return 0===n?1:(i-e)/n}},72796:(e,t,i)=>{"use strict";i.d(t,{A:()=>o});var n=i(70908),r=i(98201);function o(){if(r.O.current=!0,n.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>r.n.current=e.matches;e.addListener(t),t()}else r.n.current=!1}}},98201:(e,t,i)=>{"use strict";i.d(t,{O:()=>r,n:()=>n});let n={current:null},r={current:!1}},9627:(e,t,i)=>{"use strict";i.d(t,{Y:()=>o,p:()=>r});var n=i(54365);let r=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),o=e=>(0,n.C)(e)?e[e.length-1]||0:e},71905:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(59738);class r{constructor(){this.subscriptions=[]}add(e){return(0,n.y4)(this.subscriptions,e),()=>(0,n.cl)(this.subscriptions,e)}notify(e,t,i){let n=this.subscriptions.length;if(n){if(1===n)this.subscriptions[0](e,t,i);else for(let r=0;r{"use strict";i.d(t,{X:()=>r,w:()=>n});let n=e=>1e3*e,r=e=>e/1e3},75248:(e,t,i)=>{"use strict";i.d(t,{h:()=>r});var n=i(2784);function r(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},58550:(e,t,i)=>{"use strict";i.d(t,{N:()=>s});var n=i(2885),r=i(2784),o=i(85632);function s(){let e=(0,o.t)(),[t,i]=(0,r.useState)(0),s=(0,r.useCallback)(()=>{e.current&&i(t+1)},[t]);return[(0,r.useCallback)(()=>n.Wi.postRender(s),[s]),t]}},37981:(e,t,i)=>{"use strict";i.d(t,{c:()=>n});let n={current:!1}},85632:(e,t,i)=>{"use strict";i.d(t,{t:()=>o});var n=i(2784),r=i(53072);function o(){let e=(0,n.useRef)(!1);return(0,r.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}},53072:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(2784);let r=i(70908).j?n.useLayoutEffect:n.useEffect},55212:(e,t,i)=>{"use strict";i.d(t,{z:()=>r});var n=i(2784);function r(e){return(0,n.useEffect)(()=>()=>e(),[])}},32369:(e,t,i)=>{"use strict";function n(e,t){return t?e*(1e3/t):0}i.d(t,{R:()=>n})},7881:(e,t,i)=>{"use strict";i.d(t,{B:()=>u,H:()=>l});var n=i(96002),r=i(2885),o=i(71905),s=i(32369);let a=e=>!isNaN(parseFloat(e));class l{constructor(e,t={}){this.version="10.12.12",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{this.prev=this.current,this.current=e;let{delta:i,timestamp:o}=n.frameData;this.lastUpdated!==o&&(this.timeDelta=i,this.lastUpdated=o,r.Wi.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>r.Wi.postRender(this.velocityCheck),this.velocityCheck=({timestamp:e})=>{e!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=a(this.current),this.owner=t.owner}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new o.L);let i=this.events[e].add(t);return"change"===e?()=>{i(),r.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,i){this.set(t),this.prev=e,this.timeDelta=i}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?(0,s.R)(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function u(e,t){return new l(e,t)}},86652:(e,t,i)=>{"use strict";i.d(t,{$:()=>r});var n=i(25727);let r={test:(0,i(95610).i)("#"),parse:function(e){let t="",i="",n="",r="";return e.length>5?(t=e.substring(1,3),i=e.substring(3,5),n=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),i=e.substring(2,3),n=e.substring(3,4),r=e.substring(4,5),t+=t,i+=i,n+=n,r+=r),{red:parseInt(t,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:n.m.transform}},17041:(e,t,i)=>{"use strict";i.d(t,{J:()=>a});var n=i(8888),r=i(44841),o=i(32860),s=i(95610);let a={test:(0,s.i)("hsl","hue"),parse:(0,s.d)("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:i,alpha:s=1})=>"hsla("+Math.round(e)+", "+r.aQ.transform((0,o.Nw)(t))+", "+r.aQ.transform((0,o.Nw)(i))+", "+(0,o.Nw)(n.Fq.transform(s))+")"}},98172:(e,t,i)=>{"use strict";i.d(t,{$:()=>a});var n=i(32860),r=i(86652),o=i(17041),s=i(25727);let a={test:e=>s.m.test(e)||r.$.test(e)||o.J.test(e),parse:e=>s.m.test(e)?s.m.parse(e):o.J.test(e)?o.J.parse(e):r.$.parse(e),transform:e=>(0,n.HD)(e)?e:e.hasOwnProperty("red")?s.m.transform(e):o.J.transform(e)}},25727:(e,t,i)=>{"use strict";i.d(t,{m:()=>u});var n=i(53913),r=i(8888),o=i(32860),s=i(95610);let a=e=>(0,n.u)(0,255,e),l={...r.Rx,transform:e=>Math.round(a(e))},u={test:(0,s.i)("rgb","red"),parse:(0,s.d)("red","green","blue"),transform:({red:e,green:t,blue:i,alpha:n=1})=>"rgba("+l.transform(e)+", "+l.transform(t)+", "+l.transform(i)+", "+(0,o.Nw)(r.Fq.transform(n))+")"}},95610:(e,t,i)=>{"use strict";i.d(t,{d:()=>o,i:()=>r});var n=i(32860);let r=(e,t)=>i=>!!((0,n.HD)(i)&&n.mj.test(i)&&i.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(i,t)),o=(e,t,i)=>r=>{if(!(0,n.HD)(r))return r;let[o,s,a,l]=r.match(n.KP);return{[e]:parseFloat(o),[t]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==l?parseFloat(l):1}}},32004:(e,t,i)=>{"use strict";i.d(t,{h:()=>l});var n=i(99514),r=i(32860);let o=new Set(["brightness","contrast","saturate","opacity"]);function s(e){let[t,i]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=i.match(r.KP)||[];if(!n)return e;let s=i.replace(n,""),a=o.has(t)?1:0;return n!==i&&(a*=100),t+"("+a+s+")"}let a=/([a-z-]*)\(.*?\)/g,l={...n.P,getAnimatableNone:e=>{let t=e.match(a);return t?t.map(s).join(" "):e}}},99514:(e,t,i)=>{"use strict";i.d(t,{P:()=>m,V:()=>h});var n=i(77881),r=i(606),o=i(98172),s=i(8888),a=i(32860);let l={regex:n.Xp,countKey:"Vars",token:"${v}",parse:r.Z},u={regex:a.dA,countKey:"Colors",token:"${c}",parse:o.$.parse},d={regex:a.KP,countKey:"Numbers",token:"${n}",parse:s.Rx.parse};function c(e,{regex:t,countKey:i,token:n,parse:r}){let o=e.tokenised.match(t);o&&(e["num"+i]=o.length,e.tokenised=e.tokenised.replace(t,n),e.values.push(...o.map(r)))}function h(e){let t=e.toString(),i={value:t,tokenised:t,values:[],numVars:0,numColors:0,numNumbers:0};return i.value.includes("var(--")&&c(i,l),c(i,u),c(i,d),i}function g(e){return h(e).values}function p(e){let{values:t,numColors:i,numVars:n,tokenised:r}=h(e),s=t.length;return e=>{let t=r;for(let r=0;r"number"==typeof e?0:e,m={test:function(e){var t,i;return isNaN(e)&&(0,a.HD)(e)&&((null===(t=e.match(a.KP))||void 0===t?void 0:t.length)||0)+((null===(i=e.match(a.dA))||void 0===i?void 0:i.length)||0)>0},parse:g,createTransformer:p,getAnimatableNone:function(e){let t=g(e);return p(e)(t.map(f))}}},8888:(e,t,i)=>{"use strict";i.d(t,{Fq:()=>o,Rx:()=>r,bA:()=>s});var n=i(53913);let r={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},o={...r,transform:e=>(0,n.u)(0,1,e)},s={...r,default:1}},44841:(e,t,i)=>{"use strict";i.d(t,{$C:()=>d,RW:()=>o,aQ:()=>s,px:()=>a,vh:()=>l,vw:()=>u});var n=i(32860);let r=e=>({test:t=>(0,n.HD)(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),o=r("deg"),s=r("%"),a=r("px"),l=r("vh"),u=r("vw"),d={...s,parse:e=>s.parse(e)/100,transform:e=>s.transform(100*e)}},32860:(e,t,i)=>{"use strict";i.d(t,{HD:()=>a,KP:()=>r,Nw:()=>n,dA:()=>o,mj:()=>s});let n=e=>Math.round(1e5*e)/1e5,r=/(-)?([\d]*\.?[\d])+/g,o=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,s=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function a(e){return"string"==typeof e}},64595:(e,t,i)=>{"use strict";i.d(t,{L:()=>r});var n=i(8423);function r(e){return!!((0,n.i)(e)&&e.add)}},8423:(e,t,i)=>{"use strict";i.d(t,{i:()=>n});let n=e=>!!(e&&e.getVelocity)},93920:(e,t,i)=>{"use strict";i.d(t,{b:()=>o});var n=i(9627),r=i(8423);function o(e){let t=(0,r.i)(e)?e.get():e;return(0,n.p)(t)?t.toValue():t}},37795:e=>{"use strict";var t=Object.prototype.toString,i=Math.max,n=function(e,t){for(var i=[],n=0;n{"use strict";var n=i(37795);e.exports=Function.prototype.bind||n},67286:(e,t,i)=>{"use strict";var n,r=i(42321),o=i(69654),s=i(48205),a=i(2976),l=i(48342),u=i(5408),d=i(82885),c=Function,h=function(e){try{return c('"use strict"; return ('+e+").constructor;")()}catch(e){}},g=Object.getOwnPropertyDescriptor;if(g)try{g({},"")}catch(e){g=null}var p=function(){throw new u},f=g?function(){try{return arguments.callee,p}catch(e){try{return g(arguments,"callee").get}catch(e){return p}}}():p,m=i(32636)(),v=i(18486)(),b=Object.getPrototypeOf||(v?function(e){return e.__proto__}:null),y={},_="undefined"!=typeof Uint8Array&&b?b(Uint8Array):n,w={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?n:ArrayBuffer,"%ArrayIteratorPrototype%":m&&b?b([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":y,"%AsyncGenerator%":y,"%AsyncGeneratorFunction%":y,"%AsyncIteratorPrototype%":y,"%Atomics%":"undefined"==typeof Atomics?n:Atomics,"%BigInt%":"undefined"==typeof BigInt?n:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?n:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":o,"%Float32Array%":"undefined"==typeof Float32Array?n:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?n:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?n:FinalizationRegistry,"%Function%":c,"%GeneratorFunction%":y,"%Int8Array%":"undefined"==typeof Int8Array?n:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?n:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":m&&b?b(b([][Symbol.iterator]())):n,"%JSON%":"object"==typeof JSON?JSON:n,"%Map%":"undefined"==typeof Map?n:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&m&&b?b(new Map()[Symbol.iterator]()):n,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?n:Promise,"%Proxy%":"undefined"==typeof Proxy?n:Proxy,"%RangeError%":s,"%ReferenceError%":a,"%Reflect%":"undefined"==typeof Reflect?n:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?n:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&m&&b?b(new Set()[Symbol.iterator]()):n,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":m&&b?b(""[Symbol.iterator]()):n,"%Symbol%":m?Symbol:n,"%SyntaxError%":l,"%ThrowTypeError%":f,"%TypedArray%":_,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?n:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?n:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?n:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?n:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?n:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?n:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?n:WeakSet};if(b)try{null.error}catch(e){var C=b(b(e));w["%Error.prototype%"]=C}var S=function e(t){var i;if("%AsyncFunction%"===t)i=h("async function () {}");else if("%GeneratorFunction%"===t)i=h("function* () {}");else if("%AsyncGeneratorFunction%"===t)i=h("async function* () {}");else if("%AsyncGenerator%"===t){var n=e("%AsyncGeneratorFunction%");n&&(i=n.prototype)}else if("%AsyncIteratorPrototype%"===t){var r=e("%AsyncGenerator%");r&&b&&(i=b(r.prototype))}return w[t]=i,i},x={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},k=i(4090),E=i(72196),L=k.call(Function.call,Array.prototype.concat),D=k.call(Function.apply,Array.prototype.splice),N=k.call(Function.call,String.prototype.replace),A=k.call(Function.call,String.prototype.slice),T=k.call(Function.call,RegExp.prototype.exec),I=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,M=/\\(\\)?/g,O=function(e){var t=A(e,0,1),i=A(e,-1);if("%"===t&&"%"!==i)throw new l("invalid intrinsic syntax, expected closing `%`");if("%"===i&&"%"!==t)throw new l("invalid intrinsic syntax, expected opening `%`");var n=[];return N(e,I,function(e,t,i,r){n[n.length]=i?N(r,M,"$1"):t||e}),n},P=function(e,t){var i,n=e;if(E(x,n)&&(n="%"+(i=x[n])[0]+"%"),E(w,n)){var r=w[n];if(r===y&&(r=S(n)),void 0===r&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:r}}throw new l("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===T(/^%?[^%]*%?$/,e))throw new l("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var i=O(e),n=i.length>0?i[0]:"",r=P("%"+n+"%",t),o=r.name,s=r.value,a=!1,d=r.alias;d&&(n=d[0],D(i,L([0,1],d)));for(var c=1,h=!0;c=i.length){var v=g(s,p);s=(h=!!v)&&"get"in v&&!("originalValue"in v.get)?v.get:s[p]}else h=E(s,p),s=s[p];h&&!a&&(w[o]=s)}}return s}},50326:(e,t,i)=>{"use strict";var n=i(67286)("%Object.getOwnPropertyDescriptor%",!0);if(n)try{n([],"length")}catch(e){n=null}e.exports=n},81181:(e,t,i)=>{"use strict";var n=i(67286)("%Object.defineProperty%",!0),r=function(){if(n)try{return n({},"a",{value:1}),!0}catch(e){}return!1};r.hasArrayLengthDefineBug=function(){if(!r())return null;try{return 1!==n([],"length",{value:1}).length}catch(e){return!0}},e.exports=r},18486:e=>{"use strict";var t={foo:{}},i=Object;e.exports=function(){return({__proto__:t}).foo===t.foo&&!(({__proto__:null})instanceof i)}},32636:(e,t,i)=>{"use strict";var n="undefined"!=typeof Symbol&&Symbol,r=i(66679);e.exports=function(){return"function"==typeof n&&"function"==typeof Symbol&&"symbol"==typeof n("foo")&&"symbol"==typeof Symbol("bar")&&r()}},66679:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),i=Object(t);if("string"==typeof t||"[object Symbol]"!==Object.prototype.toString.call(t)||"[object Symbol]"!==Object.prototype.toString.call(i))return!1;for(t in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length||"function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var n=Object.getOwnPropertySymbols(e);if(1!==n.length||n[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var r=Object.getOwnPropertyDescriptor(e,t);if(42!==r.value||!0!==r.enumerable)return!1}return!0}},67226:(e,t,i)=>{"use strict";var n=i(66679);e.exports=function(){return n()&&!!Symbol.toStringTag}},72196:(e,t,i)=>{"use strict";var n=Function.prototype.call,r=Object.prototype.hasOwnProperty,o=i(4090);e.exports=o.call(n,r)},30361:function(e,t,i){var n,r,o,s,a,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A;(e=i.nmd(e))&&e.exports,(r="object"==typeof i.g&&i.g).global===r||r.window,o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=/[\x01-\x7F]/g,a=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,u={"\xad":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot"," ":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp","\xa0":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","\xa1":"iexcl","?":"quest","\xbf":"iquest",".":"period","‥":"nldr","…":"mldr","\xb7":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","\xab":"laquo","\xbb":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","\xa7":"sect","\xb6":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","\xb4":"acute","˜":"tilde","^":"Hat","\xaf":"macr","˘":"breve","˙":"dot","\xa8":"die","˚":"ring","˝":"dblac","\xb8":"cedil","˛":"ogon",ˆ:"circ",ˇ:"caron","\xb0":"deg","\xa9":"copy","\xae":"reg","℗":"copysr",℘:"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","\xb1":"pm","\xf7":"div","\xd7":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","\xac":"not","|":"vert","\xa6":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","\xa4":"curren","\xa2":"cent",$:"dollar","\xa3":"pound","\xa5":"yen","€":"euro","\xb9":"sup1","\xbd":"half","⅓":"frac13","\xbc":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","\xb2":"sup2","⅔":"frac23","⅖":"frac25","\xb3":"sup3","\xbe":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","\uD835\uDCB6":"ascr","\uD835\uDD52":"aopf","\uD835\uDD1E":"afr","\uD835\uDD38":"Aopf","\uD835\uDD04":"Afr","\uD835\uDC9C":"Ascr",ª:"ordf",á:"aacute",Á:"Aacute",à:"agrave",À:"Agrave",ă:"abreve",Ă:"Abreve",â:"acirc",Â:"Acirc",å:"aring",Å:"angst",ä:"auml",Ä:"Auml",ã:"atilde",Ã:"Atilde",ą:"aogon",Ą:"Aogon",ā:"amacr",Ā:"Amacr",æ:"aelig",Æ:"AElig","\uD835\uDCB7":"bscr","\uD835\uDD53":"bopf","\uD835\uDD1F":"bfr","\uD835\uDD39":"Bopf",ℬ:"Bscr","\uD835\uDD05":"Bfr","\uD835\uDD20":"cfr","\uD835\uDCB8":"cscr","\uD835\uDD54":"copf",ℭ:"Cfr","\uD835\uDC9E":"Cscr",ℂ:"Copf",ć:"cacute",Ć:"Cacute",ĉ:"ccirc",Ĉ:"Ccirc",č:"ccaron",Č:"Ccaron",ċ:"cdot",Ċ:"Cdot",ç:"ccedil",Ç:"Ccedil","℅":"incare","\uD835\uDD21":"dfr",ⅆ:"dd","\uD835\uDD55":"dopf","\uD835\uDCB9":"dscr","\uD835\uDC9F":"Dscr","\uD835\uDD07":"Dfr",ⅅ:"DD","\uD835\uDD3B":"Dopf",ď:"dcaron",Ď:"Dcaron",đ:"dstrok",Đ:"Dstrok",ð:"eth",Ð:"ETH",ⅇ:"ee",ℯ:"escr","\uD835\uDD22":"efr","\uD835\uDD56":"eopf",ℰ:"Escr","\uD835\uDD08":"Efr","\uD835\uDD3C":"Eopf",é:"eacute",É:"Eacute",è:"egrave",È:"Egrave",ê:"ecirc",Ê:"Ecirc",ě:"ecaron",Ě:"Ecaron",ë:"euml",Ë:"Euml",ė:"edot",Ė:"Edot",ę:"eogon",Ę:"Eogon",ē:"emacr",Ē:"Emacr","\uD835\uDD23":"ffr","\uD835\uDD57":"fopf","\uD835\uDCBB":"fscr","\uD835\uDD09":"Ffr","\uD835\uDD3D":"Fopf",ℱ:"Fscr",ff:"fflig",ffi:"ffilig",ffl:"ffllig",fi:"filig",fj:"fjlig",fl:"fllig",ƒ:"fnof",ℊ:"gscr","\uD835\uDD58":"gopf","\uD835\uDD24":"gfr","\uD835\uDCA2":"Gscr","\uD835\uDD3E":"Gopf","\uD835\uDD0A":"Gfr",ǵ:"gacute",ğ:"gbreve",Ğ:"Gbreve",ĝ:"gcirc",Ĝ:"Gcirc",ġ:"gdot",Ġ:"Gdot",Ģ:"Gcedil","\uD835\uDD25":"hfr",ℎ:"planckh","\uD835\uDCBD":"hscr","\uD835\uDD59":"hopf",ℋ:"Hscr",ℌ:"Hfr",ℍ:"Hopf",ĥ:"hcirc",Ĥ:"Hcirc",ℏ:"hbar",ħ:"hstrok",Ħ:"Hstrok","\uD835\uDD5A":"iopf","\uD835\uDD26":"ifr","\uD835\uDCBE":"iscr",ⅈ:"ii","\uD835\uDD40":"Iopf",ℐ:"Iscr",ℑ:"Im",í:"iacute",Í:"Iacute",ì:"igrave",Ì:"Igrave",î:"icirc",Î:"Icirc",ï:"iuml",Ï:"Iuml",ĩ:"itilde",Ĩ:"Itilde",İ:"Idot",į:"iogon",Į:"Iogon",ī:"imacr",Ī:"Imacr",ij:"ijlig",IJ:"IJlig",ı:"imath","\uD835\uDCBF":"jscr","\uD835\uDD5B":"jopf","\uD835\uDD27":"jfr","\uD835\uDCA5":"Jscr","\uD835\uDD0D":"Jfr","\uD835\uDD41":"Jopf",ĵ:"jcirc",Ĵ:"Jcirc",ȷ:"jmath","\uD835\uDD5C":"kopf","\uD835\uDCC0":"kscr","\uD835\uDD28":"kfr","\uD835\uDCA6":"Kscr","\uD835\uDD42":"Kopf","\uD835\uDD0E":"Kfr",ķ:"kcedil",Ķ:"Kcedil","\uD835\uDD29":"lfr","\uD835\uDCC1":"lscr",ℓ:"ell","\uD835\uDD5D":"lopf",ℒ:"Lscr","\uD835\uDD0F":"Lfr","\uD835\uDD43":"Lopf",ĺ:"lacute",Ĺ:"Lacute",ľ:"lcaron",Ľ:"Lcaron",ļ:"lcedil",Ļ:"Lcedil",ł:"lstrok",Ł:"Lstrok",ŀ:"lmidot",Ŀ:"Lmidot","\uD835\uDD2A":"mfr","\uD835\uDD5E":"mopf","\uD835\uDCC2":"mscr","\uD835\uDD10":"Mfr","\uD835\uDD44":"Mopf",ℳ:"Mscr","\uD835\uDD2B":"nfr","\uD835\uDD5F":"nopf","\uD835\uDCC3":"nscr",ℕ:"Nopf","\uD835\uDCA9":"Nscr","\uD835\uDD11":"Nfr",ń:"nacute",Ń:"Nacute",ň:"ncaron",Ň:"Ncaron",ñ:"ntilde",Ñ:"Ntilde",ņ:"ncedil",Ņ:"Ncedil","№":"numero",ŋ:"eng",Ŋ:"ENG","\uD835\uDD60":"oopf","\uD835\uDD2C":"ofr",ℴ:"oscr","\uD835\uDCAA":"Oscr","\uD835\uDD12":"Ofr","\uD835\uDD46":"Oopf",º:"ordm",ó:"oacute",Ó:"Oacute",ò:"ograve",Ò:"Ograve",ô:"ocirc",Ô:"Ocirc",ö:"ouml",Ö:"Ouml",ő:"odblac",Ő:"Odblac",õ:"otilde",Õ:"Otilde",ø:"oslash",Ø:"Oslash",ō:"omacr",Ō:"Omacr",œ:"oelig",Œ:"OElig","\uD835\uDD2D":"pfr","\uD835\uDCC5":"pscr","\uD835\uDD61":"popf",ℙ:"Popf","\uD835\uDD13":"Pfr","\uD835\uDCAB":"Pscr","\uD835\uDD62":"qopf","\uD835\uDD2E":"qfr","\uD835\uDCC6":"qscr","\uD835\uDCAC":"Qscr","\uD835\uDD14":"Qfr",ℚ:"Qopf",ĸ:"kgreen","\uD835\uDD2F":"rfr","\uD835\uDD63":"ropf","\uD835\uDCC7":"rscr",ℛ:"Rscr",ℜ:"Re",ℝ:"Ropf",ŕ:"racute",Ŕ:"Racute",ř:"rcaron",Ř:"Rcaron",ŗ:"rcedil",Ŗ:"Rcedil","\uD835\uDD64":"sopf","\uD835\uDCC8":"sscr","\uD835\uDD30":"sfr","\uD835\uDD4A":"Sopf","\uD835\uDD16":"Sfr","\uD835\uDCAE":"Sscr","Ⓢ":"oS",ś:"sacute",Ś:"Sacute",ŝ:"scirc",Ŝ:"Scirc",š:"scaron",Š:"Scaron",ş:"scedil",Ş:"Scedil",ß:"szlig","\uD835\uDD31":"tfr","\uD835\uDCC9":"tscr","\uD835\uDD65":"topf","\uD835\uDCAF":"Tscr","\uD835\uDD17":"Tfr","\uD835\uDD4B":"Topf",ť:"tcaron",Ť:"Tcaron",ţ:"tcedil",Ţ:"Tcedil","™":"trade",ŧ:"tstrok",Ŧ:"Tstrok","\uD835\uDCCA":"uscr","\uD835\uDD66":"uopf","\uD835\uDD32":"ufr","\uD835\uDD4C":"Uopf","\uD835\uDD18":"Ufr","\uD835\uDCB0":"Uscr",ú:"uacute",Ú:"Uacute",ù:"ugrave",Ù:"Ugrave",ŭ:"ubreve",Ŭ:"Ubreve",û:"ucirc",Û:"Ucirc",ů:"uring",Ů:"Uring",ü:"uuml",Ü:"Uuml",ű:"udblac",Ű:"Udblac",ũ:"utilde",Ũ:"Utilde",ų:"uogon",Ų:"Uogon",ū:"umacr",Ū:"Umacr","\uD835\uDD33":"vfr","\uD835\uDD67":"vopf","\uD835\uDCCB":"vscr","\uD835\uDD19":"Vfr","\uD835\uDD4D":"Vopf","\uD835\uDCB1":"Vscr","\uD835\uDD68":"wopf","\uD835\uDCCC":"wscr","\uD835\uDD34":"wfr","\uD835\uDCB2":"Wscr","\uD835\uDD4E":"Wopf","\uD835\uDD1A":"Wfr",ŵ:"wcirc",Ŵ:"Wcirc","\uD835\uDD35":"xfr","\uD835\uDCCD":"xscr","\uD835\uDD69":"xopf","\uD835\uDD4F":"Xopf","\uD835\uDD1B":"Xfr","\uD835\uDCB3":"Xscr","\uD835\uDD36":"yfr","\uD835\uDCCE":"yscr","\uD835\uDD6A":"yopf","\uD835\uDCB4":"Yscr","\uD835\uDD1C":"Yfr","\uD835\uDD50":"Yopf",ý:"yacute",Ý:"Yacute",ŷ:"ycirc",Ŷ:"Ycirc",ÿ:"yuml",Ÿ:"Yuml","\uD835\uDCCF":"zscr","\uD835\uDD37":"zfr","\uD835\uDD6B":"zopf",ℨ:"Zfr",ℤ:"Zopf","\uD835\uDCB5":"Zscr",ź:"zacute",Ź:"Zacute",ž:"zcaron",Ž:"Zcaron",ż:"zdot",Ż:"Zdot",Ƶ:"imped",þ:"thorn",Þ:"THORN",ʼn:"napos",α:"alpha",Α:"Alpha",β:"beta",Β:"Beta",γ:"gamma",Γ:"Gamma",δ:"delta",Δ:"Delta",ε:"epsi",ϵ:"epsiv",Ε:"Epsilon",ϝ:"gammad",Ϝ:"Gammad",ζ:"zeta",Ζ:"Zeta",η:"eta",Η:"Eta",θ:"theta",ϑ:"thetav",Θ:"Theta",ι:"iota",Ι:"Iota",κ:"kappa",ϰ:"kappav",Κ:"Kappa",λ:"lambda",Λ:"Lambda",μ:"mu",µ:"micro",Μ:"Mu",ν:"nu",Ν:"Nu",ξ:"xi",Ξ:"Xi",ο:"omicron",Ο:"Omicron",π:"pi",ϖ:"piv",Π:"Pi",ρ:"rho",ϱ:"rhov",Ρ:"Rho",σ:"sigma",Σ:"Sigma",ς:"sigmaf",τ:"tau",Τ:"Tau",υ:"upsi",Υ:"Upsilon",ϒ:"Upsi",φ:"phi",ϕ:"phiv",Φ:"Phi",χ:"chi",Χ:"Chi",ψ:"psi",Ψ:"Psi",ω:"omega",Ω:"ohm",а:"acy",А:"Acy",б:"bcy",Б:"Bcy",в:"vcy",В:"Vcy",г:"gcy",Г:"Gcy",ѓ:"gjcy",Ѓ:"GJcy",д:"dcy",Д:"Dcy",ђ:"djcy",Ђ:"DJcy",е:"iecy",Е:"IEcy",ё:"iocy",Ё:"IOcy",є:"jukcy",Є:"Jukcy",ж:"zhcy",Ж:"ZHcy",з:"zcy",З:"Zcy",ѕ:"dscy",Ѕ:"DScy",и:"icy",И:"Icy",і:"iukcy",І:"Iukcy",ї:"yicy",Ї:"YIcy",й:"jcy",Й:"Jcy",ј:"jsercy",Ј:"Jsercy",к:"kcy",К:"Kcy",ќ:"kjcy",Ќ:"KJcy",л:"lcy",Л:"Lcy",љ:"ljcy",Љ:"LJcy",м:"mcy",М:"Mcy",н:"ncy",Н:"Ncy",њ:"njcy",Њ:"NJcy",о:"ocy",О:"Ocy",п:"pcy",П:"Pcy",р:"rcy",Р:"Rcy",с:"scy",С:"Scy",т:"tcy",Т:"Tcy",ћ:"tshcy",Ћ:"TSHcy",у:"ucy",У:"Ucy",ў:"ubrcy",Ў:"Ubrcy",ф:"fcy",Ф:"Fcy",х:"khcy",Х:"KHcy",ц:"tscy",Ц:"TScy",ч:"chcy",Ч:"CHcy",џ:"dzcy",Џ:"DZcy",ш:"shcy",Ш:"SHcy",щ:"shchcy",Щ:"SHCHcy",ъ:"hardcy",Ъ:"HARDcy",ы:"ycy",Ы:"Ycy",ь:"softcy",Ь:"SOFTcy",э:"ecy",Э:"Ecy",ю:"yucy",Ю:"YUcy",я:"yacy",Я:"YAcy",ℵ:"aleph",ℶ:"beth",ℷ:"gimel",ℸ:"daleth"},d=/["&'<>`]/g,c={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,p=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,f={aacute:"\xe1",Aacute:"\xc1",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",acy:"а",Acy:"А",aelig:"\xe6",AElig:"\xc6",af:"⁡",afr:"\uD835\uDD1E",Afr:"\uD835\uDD04",agrave:"\xe0",Agrave:"\xc0",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"\xc5",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"\uD835\uDD52",Aopf:"\uD835\uDD38",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"\xe5",Aring:"\xc5",ascr:"\uD835\uDCB6",Ascr:"\uD835\uDC9C",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"\uD835\uDD1F",Bfr:"\uD835\uDD05",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"\uD835\uDD53",Bopf:"\uD835\uDD39",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"\xa6",bscr:"\uD835\uDCB7",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"\xe7",Ccedil:"\xc7",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"\xb8",Cedilla:"\xb8",cemptyv:"⦲",cent:"\xa2",centerdot:"\xb7",CenterDot:"\xb7",cfr:"\uD835\uDD20",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"\xae",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"\uD835\uDD54",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"\xa9",COPY:"\xa9",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"\uD835\uDCB8",Cscr:"\uD835\uDC9E",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"\xa4",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"\xb0",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"\uD835\uDD21",Dfr:"\uD835\uDD07",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"\xb4",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"\xa8",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"\xf7",divide:"\xf7",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"\uD835\uDD55",Dopf:"\uD835\uDD3B",dot:"˙",Dot:"\xa8",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"\xa8",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"\uD835\uDCB9",Dscr:"\uD835\uDC9F",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"\xe9",Eacute:"\xc9",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"\xea",Ecirc:"\xca",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"\uD835\uDD22",Efr:"\uD835\uDD08",eg:"⪚",egrave:"\xe8",Egrave:"\xc8",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"\uD835\uDD56",Eopf:"\uD835\uDD3C",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"\uD835\uDD23",Ffr:"\uD835\uDD09",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"\uD835\uDD57",Fopf:"\uD835\uDD3D",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"\xbd",frac13:"⅓",frac14:"\xbc",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"\xbe",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"\uD835\uDCBB",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"\uD835\uDD24",Gfr:"\uD835\uDD0A",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"\uD835\uDD58",Gopf:"\uD835\uDD3E",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"\uD835\uDCA2",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"\xbd",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"\uD835\uDD25",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"\uD835\uDD59",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"\uD835\uDCBD",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"\xed",Iacute:"\xcd",ic:"⁣",icirc:"\xee",Icirc:"\xce",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"\xa1",iff:"⇔",ifr:"\uD835\uDD26",Ifr:"ℑ",igrave:"\xec",Igrave:"\xcc",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"\uD835\uDD5A",Iopf:"\uD835\uDD40",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"\xbf",iscr:"\uD835\uDCBE",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"\xef",Iuml:"\xcf",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"\uD835\uDD27",Jfr:"\uD835\uDD0D",jmath:"ȷ",jopf:"\uD835\uDD5B",Jopf:"\uD835\uDD41",jscr:"\uD835\uDCBF",Jscr:"\uD835\uDCA5",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"\uD835\uDD28",Kfr:"\uD835\uDD0E",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"\uD835\uDD5C",Kopf:"\uD835\uDD42",kscr:"\uD835\uDCC0",Kscr:"\uD835\uDCA6",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"\xab",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"\uD835\uDD29",Lfr:"\uD835\uDD0F",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"\uD835\uDD5D",Lopf:"\uD835\uDD43",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"\uD835\uDCC1",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"\xaf",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"\uD835\uDD2A",Mfr:"\uD835\uDD10",mho:"℧",micro:"\xb5",mid:"∣",midast:"*",midcir:"⫰",middot:"\xb7",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"\uD835\uDD5E",Mopf:"\uD835\uDD44",mp:"∓",mscr:"\uD835\uDCC2",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:"\xa0",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"\uD835\uDD2B",Nfr:"\uD835\uDD11",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:"\xa0",nopf:"\uD835\uDD5F",Nopf:"ℕ",not:"\xac",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"\uD835\uDCC3",Nscr:"\uD835\uDCA9",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"\xf1",Ntilde:"\xd1",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"\xf3",Oacute:"\xd3",oast:"⊛",ocir:"⊚",ocirc:"\xf4",Ocirc:"\xd4",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"\uD835\uDD2C",Ofr:"\uD835\uDD12",ogon:"˛",ograve:"\xf2",Ograve:"\xd2",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"\uD835\uDD60",Oopf:"\uD835\uDD46",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"\xaa",ordm:"\xba",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"\uD835\uDCAA",oslash:"\xf8",Oslash:"\xd8",osol:"⊘",otilde:"\xf5",Otilde:"\xd5",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"\xf6",Ouml:"\xd6",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"\xb6",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"\uD835\uDD2D",Pfr:"\uD835\uDD13",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"\xb1",plusmn:"\xb1",plussim:"⨦",plustwo:"⨧",pm:"\xb1",Poincareplane:"ℌ",pointint:"⨕",popf:"\uD835\uDD61",Popf:"ℙ",pound:"\xa3",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"\uD835\uDCC5",Pscr:"\uD835\uDCAB",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"\uD835\uDD2E",Qfr:"\uD835\uDD14",qint:"⨌",qopf:"\uD835\uDD62",Qopf:"ℚ",qprime:"⁗",qscr:"\uD835\uDCC6",Qscr:"\uD835\uDCAC",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"\xbb",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"\xae",REG:"\xae",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"\uD835\uDD2F",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"\uD835\uDD63",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"\uD835\uDCC7",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"\xa7",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"\uD835\uDD30",Sfr:"\uD835\uDD16",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"\xad",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"\uD835\uDD64",Sopf:"\uD835\uDD4A",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"\uD835\uDCC8",Sscr:"\uD835\uDCAE",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"\xaf",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"\xdf",Tab:" ",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"\uD835\uDD31",Tfr:"\uD835\uDD17",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"\xfe",THORN:"\xde",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"\xd7",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"\uD835\uDD65",Topf:"\uD835\uDD4B",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"\uD835\uDCC9",Tscr:"\uD835\uDCAF",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"\xfa",Uacute:"\xda",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"\xfb",Ucirc:"\xdb",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"\uD835\uDD32",Ufr:"\uD835\uDD18",ugrave:"\xf9",Ugrave:"\xd9",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"\xa8",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"\uD835\uDD66",Uopf:"\uD835\uDD4C",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"\uD835\uDCCA",Uscr:"\uD835\uDCB0",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"\xfc",Uuml:"\xdc",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"\uD835\uDD33",Vfr:"\uD835\uDD19",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"\uD835\uDD67",Vopf:"\uD835\uDD4D",vprop:"∝",vrtri:"⊳",vscr:"\uD835\uDCCB",Vscr:"\uD835\uDCB1",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"\uD835\uDD34",Wfr:"\uD835\uDD1A",wopf:"\uD835\uDD68",Wopf:"\uD835\uDD4E",wp:"℘",wr:"≀",wreath:"≀",wscr:"\uD835\uDCCC",Wscr:"\uD835\uDCB2",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"\uD835\uDD35",Xfr:"\uD835\uDD1B",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"\uD835\uDD69",Xopf:"\uD835\uDD4F",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"\uD835\uDCCD",Xscr:"\uD835\uDCB3",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"\xfd",Yacute:"\xdd",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"\xa5",yfr:"\uD835\uDD36",Yfr:"\uD835\uDD1C",yicy:"ї",YIcy:"Ї",yopf:"\uD835\uDD6A",Yopf:"\uD835\uDD50",yscr:"\uD835\uDCCE",Yscr:"\uD835\uDCB4",yucy:"ю",YUcy:"Ю",yuml:"\xff",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"\uD835\uDD37",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"\uD835\uDD6B",Zopf:"ℤ",zscr:"\uD835\uDCCF",Zscr:"\uD835\uDCB5",zwj:"‍",zwnj:"‌"},m={aacute:"\xe1",Aacute:"\xc1",acirc:"\xe2",Acirc:"\xc2",acute:"\xb4",aelig:"\xe6",AElig:"\xc6",agrave:"\xe0",Agrave:"\xc0",amp:"&",AMP:"&",aring:"\xe5",Aring:"\xc5",atilde:"\xe3",Atilde:"\xc3",auml:"\xe4",Auml:"\xc4",brvbar:"\xa6",ccedil:"\xe7",Ccedil:"\xc7",cedil:"\xb8",cent:"\xa2",copy:"\xa9",COPY:"\xa9",curren:"\xa4",deg:"\xb0",divide:"\xf7",eacute:"\xe9",Eacute:"\xc9",ecirc:"\xea",Ecirc:"\xca",egrave:"\xe8",Egrave:"\xc8",eth:"\xf0",ETH:"\xd0",euml:"\xeb",Euml:"\xcb",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe",gt:">",GT:">",iacute:"\xed",Iacute:"\xcd",icirc:"\xee",Icirc:"\xce",iexcl:"\xa1",igrave:"\xec",Igrave:"\xcc",iquest:"\xbf",iuml:"\xef",Iuml:"\xcf",laquo:"\xab",lt:"<",LT:"<",macr:"\xaf",micro:"\xb5",middot:"\xb7",nbsp:"\xa0",not:"\xac",ntilde:"\xf1",Ntilde:"\xd1",oacute:"\xf3",Oacute:"\xd3",ocirc:"\xf4",Ocirc:"\xd4",ograve:"\xf2",Ograve:"\xd2",ordf:"\xaa",ordm:"\xba",oslash:"\xf8",Oslash:"\xd8",otilde:"\xf5",Otilde:"\xd5",ouml:"\xf6",Ouml:"\xd6",para:"\xb6",plusmn:"\xb1",pound:"\xa3",quot:'"',QUOT:'"',raquo:"\xbb",reg:"\xae",REG:"\xae",sect:"\xa7",shy:"\xad",sup1:"\xb9",sup2:"\xb2",sup3:"\xb3",szlig:"\xdf",thorn:"\xfe",THORN:"\xde",times:"\xd7",uacute:"\xfa",Uacute:"\xda",ucirc:"\xfb",Ucirc:"\xdb",ugrave:"\xf9",Ugrave:"\xd9",uml:"\xa8",uuml:"\xfc",Uuml:"\xdc",yacute:"\xfd",Yacute:"\xdd",yen:"\xa5",yuml:"\xff"},v={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},b=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],y=String.fromCharCode,_=({}).hasOwnProperty,w=function(e,t){return _.call(e,t)},C=function(e,t){for(var i=-1,n=e.length;++i=55296&&e<=57343||e>1114111?(t&&L("character reference outside the permissible Unicode range"),"�"):w(v,e)?(t&&L("disallowed character reference"),v[e]):(t&&C(b,e)&&L("disallowed character reference"),e>65535&&(e-=65536,i+=y(e>>>10&1023|55296),e=56320|1023&e),i+=y(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},E=function(e){return"&#"+e+";"},L=function(e){throw Error("Parse error: "+e)},(D=function(e,t){(t=S(t,D.options)).strict&&g.test(e)&&L("forbidden code point");var i=t.encodeEverything,n=t.useNamedReferences,r=t.allowUnsafeSymbols,c=t.decimal?E:k,h=function(e){return c(e.charCodeAt(0))};return i?(e=e.replace(s,function(e){return n&&w(u,e)?"&"+u[e]+";":h(e)}),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,function(e){return"&"+u[e]+";"}))):n?(r||(e=e.replace(d,function(e){return"&"+u[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+u[e]+";"})):r||(e=e.replace(d,h)),e.replace(o,function(e){return c((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536)}).replace(a,h)}).options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1},(N=function(e,t){var i=(t=S(t,N.options)).strict;return i&&h.test(e)&&L("malformed character reference"),e.replace(p,function(e,n,r,o,s,a,l,u,d){var c,h;return n?f[h=n]:r?(h=r,o&&t.isAttributeValue)?(i&&"="==o&&L("`&` did not start a character reference"),e):(i&&L("named character reference was not terminated by a semicolon"),m[h]+(o||"")):s?(c=a,i&&!c&&L("character reference was not terminated by a semicolon"),x(parseInt(s,10),i)):l?(c=u,i&&!c&&L("character reference was not terminated by a semicolon"),x(parseInt(l,16),i)):(i&&L("named character reference was not terminated by a semicolon"),e)})}).options={isAttributeValue:!1,strict:!1},A={version:"1.2.0",encode:D,decode:N,escape:function(e){return e.replace(d,function(e){return c[e]})},unescape:N},void 0!==(n=(function(){return A}).call(t,i,t,e))&&(e.exports=n)},73463:(e,t,i)=>{"use strict";var n=i(48570),r={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};function l(e){return n.isMemo(e)?s:a[e.$$typeof]||r}a[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},a[n.Memo]=s;var u=Object.defineProperty,d=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,g=Object.getPrototypeOf,p=Object.prototype;e.exports=function e(t,i,n){if("string"!=typeof i){if(p){var r=g(i);r&&r!==p&&e(t,r,n)}var s=d(i);c&&(s=s.concat(c(i)));for(var a=l(t),f=l(i),m=0;m\\$%@ءؤة\"'^|~⦅⦆・ゥャ\xa2\xa3\xac\xa6\xa5₩│←↑→↓■○𐐨𐐩𐐪𐐫𐐬𐐭𐐮𐐯𐐰𐐱𐐲𐐳𐐴𐐵𐐶𐐷𐐸𐐹𐐺𐐻𐐼𐐽𐐾𐐿𐑀𐑁𐑂𐑃𐑄𐑅𐑆𐑇𐑈𐑉𐑊𐑋𐑌𐑍𐑎𐑏𐓘𐓙𐓚𐓛𐓜𐓝𐓞𐓟𐓠𐓡𐓢𐓣𐓤𐓥𐓦𐓧𐓨𐓩𐓪𐓫𐓬𐓭𐓮𐓯𐓰𐓱𐓲𐓳𐓴𐓵𐓶𐓷𐓸𐓹𐓺𐓻𐳀𐳁𐳂𐳃𐳄𐳅𐳆𐳇𐳈𐳉𐳊𐳋𐳌𐳍𐳎𐳏𐳐𐳑𐳒𐳓𐳔𐳕𐳖𐳗𐳘𐳙𐳚𐳛𐳜𐳝𐳞𐳟𐳠𐳡𐳢𐳣𐳤𐳥𐳦𐳧𐳨𐳩𐳪𐳫𐳬𐳭𐳮𐳯𐳰𐳱𐳲𑣀𑣁𑣂𑣃𑣄𑣅𑣆𑣇𑣈𑣉𑣊𑣋𑣌𑣍𑣎𑣏𑣐𑣑𑣒𑣓𑣔𑣕𑣖𑣗𑣘𑣙𑣚𑣛𑣜𑣝𑣞𑣟ıȷ∇∂𞤢𞤣𞤤𞤥𞤦𞤧𞤨𞤩𞤪𞤫𞤬𞤭𞤮𞤯𞤰𞤱𞤲𞤳𞤴𞤵𞤶𞤷𞤸𞤹𞤺𞤻𞤼𞤽𞤾𞤿𞥀𞥁𞥂𞥃ٮڡٯ字双多解交映無前後再新初終販声吹演投捕遊指禁空合満申割営配得可丽丸乁𠄢你侻倂偺備像㒞𠘺兔兤具𠔜㒹內𠕋冗冤仌冬𩇟刃㓟刻剆剷㔕包匆卉博即卽卿𠨬灰及叟𠭣叫叱吆咞吸呈周咢哶唐啓啣善喫喳嗂圖圗噑噴壮城埴堍型堲報墬𡓤売壷夆夢奢𡚨𡛪姬娛娧姘婦㛮嬈嬾𡧈寃寘寳𡬘寿将㞁屠峀岍𡷤嵃𡷦嵮嵫嵼巡巢㠯巽帨帽幩㡢𢆃㡼庰庳庶𪎒𢌱舁弢㣇𣊸𦇚形彫㣣徚忍志忹悁㤺㤜𢛔惇慈慌慺憲憤憯懞戛扝抱拔捐𢬌挽拼捨掃揤𢯱搢揅掩㨮摩摾撝摷㩬敬𣀊旣書晉㬙㬈㫤冒冕最暜肭䏙朡杞杓𣏃㭉柺枅桒𣑭梎栟椔楂榣槪檨𣚣櫛㰘次𣢧歔㱎歲殟殻𣪍𡴋𣫺汎𣲼沿泍汧洖派浩浸涅𣴞洴港湮㴳滇𣻑淹潮𣽞𣾎濆瀹瀛㶖灊災灷炭𠔥煅𤉣熜爨牐𤘈犀犕𤜵𤠔獺王㺬玥㺸瑇瑜璅瓊㼛甤𤰶甾𤲒𢆟瘐𤾡𤾸𥁄㿼䀈𥃳𥃲𥄙𥄳眞真瞋䁆䂖𥐝硎䃣𥘦𥚚𥛅秫䄯穊穏𥥼𥪧䈂𥮫篆築䈧𥲀糒䊠糨糣紀𥾆絣䌁緇縂繅䌴𦈨𦉇䍙𦋙罺𦌾羕翺𦓚𦔣聠𦖨聰𣍟䏕育脃䐋脾媵𦞧𦞵𣎓𣎜舄辞䑫芑芋芝劳花芳芽苦𦬼茝荣莭茣莽菧荓菊菌菜𦰶𦵫𦳕䔫蓱蓳蔖𧏊蕤𦼬䕝䕡𦾱𧃒䕫虐虧虩蚩蚈蜎蛢蜨蝫螆蟡蠁䗹衠𧙧裗裞䘵裺㒻𧢮𧥦䚾䛇誠𧲨貫賁贛起𧼯𠠄跋趼跰𠣞軔𨗒𨗭邔郱鄑𨜮鄛鈸鋗鋘鉼鏹鐕𨯺開䦕閷𨵷䧦雃嶲霣𩅅𩈚䩮䩶韠𩐊䪲𩒖頩𩖶飢䬳餩馧駂駾䯎𩬰鱀鳽䳎䳭鵧𪃎䳸𪄅𪈎𪊑䵖黾鼅鼏鼖𪘀",mapChar:function(i){return i>=196608?i>=917760&&i<=917999?18874368:0:e[t[i>>4]][15&i]}}},void 0!==(i=(function(){return n()}).apply(t,[]))&&(e.exports=i)},68988:e=>{"use strict";let t=/^xn--/,i=/[^\0-\x7E]/,n=/[\x2E\u3002\uFF0E\uFF61]/g,r={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},o=Math.floor,s=String.fromCharCode;function a(e){throw RangeError(r[e])}function l(e,t){let i=e.split("@"),r="";return i.length>1&&(r=i[0]+"@",e=i[1]),r+(function(e,t){let i=[],n=e.length;for(;n--;)i[n]=t(e[n]);return i})((e=e.replace(n,".")).split("."),t).join(".")}function u(e){let t=[],i=0,n=e.length;for(;i=55296&&r<=56319&&i>1,e+=o(e/t);e>455;n+=36)e=o(e/35);return o(n+36*e/(e+38))},h=function(e){let t=[],i=e.length,n=0,r=128,s=72,l=e.lastIndexOf("-");l<0&&(l=0);for(let i=0;i=128&&a("not-basic"),t.push(e.charCodeAt(i));for(let d=l>0?l+1:0;d=i&&a("invalid-input");let l=(u=e.charCodeAt(d++))-48<10?u-22:u-65<26?u-65:u-97<26?u-97:36;(l>=36||l>o((2147483647-n)/t))&&a("overflow"),n+=l*t;let c=r<=s?1:r>=s+26?26:r-s;if(lo(2147483647/h)&&a("overflow"),t*=h}let h=t.length+1;s=c(n-l,h,0==l),o(n/h)>2147483647-r&&a("overflow"),r+=o(n/h),n%=h,t.splice(n++,0,r)}return String.fromCodePoint(...t)},g=function(e){let t=[],i=(e=u(e)).length,n=128,r=0,l=72;for(let i of e)i<128&&t.push(s(i));let h=t.length,g=h;for(h&&t.push("-");g=n&&to((2147483647-r)/u)&&a("overflow"),r+=(i-n)*u,n=i,e))if(p2147483647&&a("overflow"),p==n){let e=r;for(let i=36;;i+=36){let n=i<=l?1:i>=l+26?26:i-l;if(eString.fromCodePoint(...e)},decode:h,encode:g,toASCII:function(e){return l(e,function(e){return i.test(e)?"xn--"+g(e):e})},toUnicode:function(e){return l(e,function(e){return t.test(e)?h(e.slice(4).toLowerCase()):e})}}},6639:function(e,t,i){var n,r;r=function(e,t){function i(i,n,r){for(var o=[],s=e.ucs2.decode(i),a=0;a>23,h=d>>21&3,g=d>>5&65535,p=31&d,f=t.mapStr.substr(g,p);if(0===h||n&&1&c)throw Error("Illegal char "+u);1===h?o.push(f):2===h?o.push(r?f:u):3===h&&o.push(u)}return o.join("").normalize("NFC")}function n(t,n,o){void 0===o&&(o=!1);var s=i(t,o,n).split(".");return(s=s.map(function(t){return t.startsWith("xn--")?r(t=e.decode(t.substring(4)),o,!1):r(t,o,n),t})).join(".")}function r(e,n,r){if("-"===e[2]&&"-"===e[3]||e.startsWith("-")||e.endsWith("-")||e.includes(".")||i(e,n,r)!==e)throw Error("Failed to validate "+e);var o=e.codePointAt(0);if(16777216&t.mapChar(o))throw Error("Label contains illegal character: "+o)}return{toUnicode:function(e,t){return void 0===t&&(t={}),n(e,!1,"useStd3ASCII"in t&&t.useStd3ASCII)},toAscii:function(t,i){void 0===i&&(i={});var r,o=!("transitional"in i)||i.transitional,s="useStd3ASCII"in i&&i.useStd3ASCII,a="verifyDnsLength"in i&&i.verifyDnsLength,l=n(t,o,s).split(".").map(e.toASCII),u=l.join(".");if(a){if(u.length<1||u.length>253)throw Error("DNS name has wrong length: "+u);for(r=0;r63)throw Error("DNS label has wrong length: "+d)}}return u}}},void 0!==(n=(function(e,t){return r(e,t)}).apply(t,[i(68988),i(74596)]))&&(e.exports=n)},62333:(e,t)=>{t.read=function(e,t,i,n,r){var o,s,a=8*r-n-1,l=(1<>1,d=-7,c=i?r-1:0,h=i?-1:1,g=e[t+c];for(c+=h,o=g&(1<<-d)-1,g>>=-d,d+=a;d>0;o=256*o+e[t+c],c+=h,d-=8);for(s=o&(1<<-d)-1,o>>=-d,d+=n;d>0;s=256*s+e[t+c],c+=h,d-=8);if(0===o)o=1-u;else{if(o===l)return s?NaN:(g?-1:1)*(1/0);s+=Math.pow(2,n),o-=u}return(g?-1:1)*s*Math.pow(2,o-n)},t.write=function(e,t,i,n,r,o){var s,a,l,u=8*o-r-1,d=(1<>1,h=23===r?5960464477539062e-23:0,g=n?0:o-1,p=n?1:-1,f=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(a=isNaN(t)?1:0,s=d):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),s+c>=1?t+=h/l:t+=h*Math.pow(2,1-c),t*l>=2&&(s++,l/=2),s+c>=d?(a=0,s=d):s+c>=1?(a=(t*l-1)*Math.pow(2,r),s+=c):(a=t*Math.pow(2,c-1)*Math.pow(2,r),s=0));r>=8;e[i+g]=255&a,g+=p,a/=256,r-=8);for(s=s<0;e[i+g]=255&s,g+=p,s/=256,u-=8);e[i+g-p]|=128*f}},3873:(e,t,i)=>{"use strict";function n(e){for(var t=arguments.length,i=Array(t>1?t-1:0),n=1;n3?t.i-4:t.i:Array.isArray(e)?1:g(e)?2:p(e)?3:0}function u(e,t){return 2===l(e)?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function d(e,t){return 2===l(e)?e.get(t):e[t]}function c(e,t,i){var n=l(e);2===n?e.set(t,i):3===n?e.add(i):e[t]=i}function h(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function g(e){return z&&e instanceof Map}function p(e){return U&&e instanceof Set}function f(e){return e.o||e.t}function m(e){if(Array.isArray(e))return Array.prototype.slice.call(e);var t=Q(e);delete t[G];for(var i=Y(t),n=0;n1&&(e.set=e.add=e.clear=e.delete=b),Object.freeze(e),t&&a(e,function(e,t){return v(t,!0)},!0)),e}function b(){n(2)}function y(e){return null==e||"object"!=typeof e||Object.isFrozen(e)}function _(e){var t=J[e];return t||n(18,e),t}function w(e,t){t&&(_("Patches"),e.u=[],e.s=[],e.v=t)}function C(e){S(e),e.p.forEach(k),e.p=null}function S(e){e===j&&(j=e.l)}function x(e){return j={p:[],l:j,h:e,m:!0,_:0}}function k(e){var t=e[G];0===t.i||1===t.i?t.j():t.g=!0}function E(e,t){t._=t.p.length;var i=t.p[0],r=void 0!==e&&e!==i;return t.h.O||_("ES5").S(t,e,r),r?(i[G].P&&(C(t),n(4)),o(e)&&(e=L(t,e),t.l||N(t,e)),t.u&&_("Patches").M(i[G].t,e,t.u,t.s)):e=L(t,i,[]),C(t),t.u&&t.v(t.u,t.s),e!==q?e:void 0}function L(e,t,i){if(y(t))return t;var n=t[G];if(!n)return a(t,function(r,o){return D(e,n,t,r,o,i)},!0),t;if(n.A!==e)return t;if(!n.P)return N(e,n.t,!0),n.t;if(!n.I){n.I=!0,n.A._--;var r=4===n.i||5===n.i?n.o=m(n.k):n.o,o=r,s=!1;3===n.i&&(o=new Set(r),r.clear(),s=!0),a(o,function(t,o){return D(e,n,r,t,o,i,s)}),N(e,r,!1),i&&e.u&&_("Patches").N(n,i,e.u,e.s)}return n.o}function D(e,t,i,n,s,a,l){if(r(s)){var d=L(e,s,a&&t&&3!==t.i&&!u(t.R,n)?a.concat(n):void 0);if(c(i,n,d),!r(d))return;e.m=!1}else l&&i.add(s);if(o(s)&&!y(s)){if(!e.h.D&&e._<1)return;L(e,s),t&&t.A.l||N(e,s)}}function N(e,t,i){void 0===i&&(i=!1),!e.l&&e.h.D&&e.m&&v(t,i)}function A(e,t){var i=e[G];return(i?f(i):e)[t]}function T(e,t){if(t in e)for(var i=Object.getPrototypeOf(e);i;){var n=Object.getOwnPropertyDescriptor(i,t);if(n)return n;i=Object.getPrototypeOf(i)}}function I(e){e.P||(e.P=!0,e.l&&I(e.l))}function M(e){e.o||(e.o=m(e.t))}function O(e,t,i){var n,r,o,s,a,l,u,d=g(t)?_("MapSet").F(t,i):p(t)?_("MapSet").T(t,i):e.O?(o=r={i:(n=Array.isArray(t))?1:0,A:i?i.A:j,P:!1,I:!1,R:{},l:i,t:t,k:null,o:null,j:null,C:!1},s=X,n&&(o=[r],s=ee),l=(a=Proxy.revocable(o,s)).revoke,u=a.proxy,r.k=u,r.j=l,u):_("ES5").J(t,i);return(i?i.A:j).p.push(d),d}function P(e){return r(e)||n(22,e),function e(t){if(!o(t))return t;var i,n=t[G],r=l(t);if(n){if(!n.P&&(n.i<4||!_("ES5").K(n)))return n.t;n.I=!0,i=R(t,r),n.I=!1}else i=R(t,r);return a(i,function(t,r){n&&d(n.t,t)===r||c(i,t,e(r))}),3===r?new Set(i):i}(e)}function R(e,t){switch(t){case 2:return new Map(e);case 3:return Array.from(e)}return m(e)}function F(){function e(e,t){var i=o[e];return i?i.enumerable=t:o[e]=i={configurable:!0,enumerable:t,get:function(){var t=this[G];return X.get(t,e)},set:function(t){var i=this[G];X.set(i,e,t)}},i}function t(e){for(var t=e.length-1;t>=0;t--){var r=e[t][G];if(!r.P)switch(r.i){case 5:n(r)&&I(r);break;case 4:i(r)&&I(r)}}}function i(e){for(var t=e.t,i=e.k,n=Y(i),r=n.length-1;r>=0;r--){var o=n[r];if(o!==G){var s=t[o];if(void 0===s&&!u(t,o))return!0;var a=i[o],l=a&&a[G];if(l?l.t!==s:!h(a,s))return!0}}var d=!!t[G];return n.length!==Y(t).length+(d?0:1)}function n(e){var t=e.k;if(t.length!==e.t.length)return!0;var i=Object.getOwnPropertyDescriptor(t,t.length-1);if(i&&!i.get)return!0;for(var n=0;ns,QE:()=>er,Uy:()=>ei,Vk:()=>P,ZP:()=>eo,aS:()=>en,cA:()=>V,mv:()=>r,o$:()=>o,pV:()=>F,vI:()=>B,vV:()=>v});var H,j,W="undefined"!=typeof Symbol&&"symbol"==typeof Symbol("x"),z="undefined"!=typeof Map,U="undefined"!=typeof Set,$="undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,q=W?Symbol.for("immer-nothing"):((H={})["immer-nothing"]=!0,H),K=W?Symbol.for("immer-draftable"):"__$immer_draftable",G=W?Symbol.for("immer-state"):"__$immer_state",Z=("undefined"!=typeof Symbol&&Symbol.iterator,""+Object.prototype.constructor),Y="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames,Q=Object.getOwnPropertyDescriptors||function(e){var t={};return Y(e).forEach(function(i){t[i]=Object.getOwnPropertyDescriptor(e,i)}),t},J={},X={get:function(e,t){if(t===G)return e;var i,n,r=f(e);if(!u(r,t))return(n=T(r,t))?"value"in n?n.value:null===(i=n.get)||void 0===i?void 0:i.call(e.k):void 0;var s=r[t];return e.I||!o(s)?s:s===A(e.t,t)?(M(e),e.o[t]=O(e.A.h,s,e)):s},has:function(e,t){return t in f(e)},ownKeys:function(e){return Reflect.ownKeys(f(e))},set:function(e,t,i){var n=T(f(e),t);if(null==n?void 0:n.set)return n.set.call(e.k,i),!0;if(!e.P){var r=A(f(e),t),o=null==r?void 0:r[G];if(o&&o.t===i)return e.o[t]=i,e.R[t]=!1,!0;if(h(i,r)&&(void 0!==i||u(e.t,t)))return!0;M(e),I(e)}return e.o[t]===i&&(void 0!==i||t in e.o)||Number.isNaN(i)&&Number.isNaN(e.o[t])||(e.o[t]=i,e.R[t]=!0),!0},deleteProperty:function(e,t){return void 0!==A(e.t,t)||t in e.t?(e.R[t]=!1,M(e),I(e)):delete e.R[t],e.o&&delete e.o[t],!0},getOwnPropertyDescriptor:function(e,t){var i=f(e),n=Reflect.getOwnPropertyDescriptor(i,t);return n?{writable:!0,configurable:1!==e.i||"length"!==t,enumerable:n.enumerable,value:i[t]}:n},defineProperty:function(){n(11)},getPrototypeOf:function(e){return Object.getPrototypeOf(e.t)},setPrototypeOf:function(){n(12)}},ee={};a(X,function(e,t){ee[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}}),ee.deleteProperty=function(e,t){return ee.set.call(this,e,t,void 0)},ee.set=function(e,t,i){return X.set.call(this,e[0],t,i,e[0])};var et=new(function(){function e(e){var t=this;this.O=$,this.D=!0,this.produce=function(e,i,r){if("function"==typeof e&&"function"!=typeof i){var s,a=i;return i=e,function(e){var n=this;void 0===e&&(e=a);for(var r=arguments.length,o=Array(r>1?r-1:0),s=1;s1?n-1:0),o=1;o=0;i--){var i,n=t[i];if(0===n.path.length&&"replace"===n.op){e=n.value;break}}i>-1&&(t=t.slice(i+1));var o=_("Patches").$;return r(e)?o(e,t):this.produce(e,function(e){return o(e,t)})},e}()),ei=et.produce,en=et.produceWithPatches.bind(et),er=(et.setAutoFreeze.bind(et),et.setUseProxies.bind(et),et.applyPatches.bind(et));et.createDraft.bind(et),et.finishDraft.bind(et);let eo=ei},91285:e=>{"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var i=function(){};i.prototype=t.prototype,e.prototype=new i,e.prototype.constructor=e}}},52635:(e,t,i)=>{"use strict";var n=i(67226)(),r=i(62680)("Object.prototype.toString"),o=function(e){return(!n||!e||"object"!=typeof e||!(Symbol.toStringTag in e))&&"[object Arguments]"===r(e)},s=function(e){return!!o(e)||null!==e&&"object"==typeof e&&"number"==typeof e.length&&e.length>=0&&"[object Array]"!==r(e)&&"[object Function]"===r(e.callee)},a=function(){return o(arguments)}();o.isLegacyArguments=s,e.exports=a?o:s},9680:e=>{"use strict";var t,i,n=Function.prototype.toString,r="object"==typeof Reflect&&null!==Reflect&&Reflect.apply;if("function"==typeof r&&"function"==typeof Object.defineProperty)try{t=Object.defineProperty({},"length",{get:function(){throw i}}),i={},r(function(){throw 42},null,t)}catch(e){e!==i&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch(e){return!1}},a=function(e){try{if(s(e))return!1;return n.call(e),!0}catch(e){return!1}},l=Object.prototype.toString,u="function"==typeof Symbol&&!!Symbol.toStringTag,d=!(0 in[,]),c=function(){return!1};if("object"==typeof document){var h=document.all;l.call(h)===l.call(document.all)&&(c=function(e){if((d||!e)&&(void 0===e||"object"==typeof e))try{var t=l.call(e);return("[object HTMLAllCollection]"===t||"[object HTML document.all class]"===t||"[object HTMLCollection]"===t||"[object Object]"===t)&&null==e("")}catch(e){}return!1})}e.exports=r?function(e){if(c(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;try{r(e,null,t)}catch(e){if(e!==i)return!1}return!s(e)&&a(e)}:function(e){if(c(e))return!0;if(!e||"function"!=typeof e&&"object"!=typeof e)return!1;if(u)return a(e);if(s(e))return!1;var t=l.call(e);return!!("[object Function]"===t||"[object GeneratorFunction]"===t||/^\[object HTML/.test(t))&&a(e)}},43138:(e,t,i)=>{"use strict";var n,r=Object.prototype.toString,o=Function.prototype.toString,s=/^\s*(?:function)?\*/,a=i(67226)(),l=Object.getPrototypeOf,u=function(){if(!a)return!1;try{return Function("return function*() {}")()}catch(e){}};e.exports=function(e){if("function"!=typeof e)return!1;if(s.test(o.call(e)))return!0;if(!a)return"[object GeneratorFunction]"===r.call(e);if(!l)return!1;if(void 0===n){var t=u();n=!!t&&l(t)}return l(e)===n}},38320:e=>{e.exports=function(e){if("string"!=typeof e)throw Error("[is-hex-prefixed] value must be type 'string', is currently type "+typeof e+", while checking isHexPrefixed.");return"0x"===e.slice(0,2)}},50198:(e,t,i)=>{"use strict";var n=i(83243),r=i(10711),o=i(62680),s=o("Object.prototype.toString"),a=i(67226)(),l=i(50326),u="undefined"==typeof globalThis?i.g:globalThis,d=r(),c=o("Array.prototype.indexOf",!0)||function(e,t){for(var i=0;i-1)}},83669:(e,t,i)=>{var n=i(34406);!/** * [js-sha3]{@link https://github.com/emn178/js-sha3} * * @version 0.5.7 * @author Chen, Yi-Cyuan [emn178@gmail.com] * @copyright Chen, Yi-Cyuan 2015-2016 * @license MIT - */function(){"use strict";var t="object"==typeof window?window:{};!t.JS_SHA3_NO_NODE_JS&&"object"==typeof n&&n.versions&&n.versions.node&&(t=i.g);for(var r=!t.JS_SHA3_NO_COMMON_JS&&e.exports,o="0123456789abcdef".split(""),s=[0,8,16,24],a=[1,0,32898,0,32906,2147483648,2147516416,2147483648,32907,0,2147483649,0,2147516545,2147483648,32777,2147483648,138,0,136,0,2147516425,0,2147483658,0,2147516555,0,139,2147483648,32905,2147483648,32771,2147483648,32770,2147483648,128,2147483648,32778,0,2147483658,2147483648,2147516545,2147483648,32896,2147483648,2147483649,0,2147516424,2147483648],l=[224,256,384,512],u=["hex","buffer","arrayBuffer","array"],d=function(e,t,i){return function(n){return new w(e,t,e).update(n)[i]()}},c=function(e,t,i){return function(n,r){return new w(e,t,r).update(n)[i]()}},h=function(e,t){var i=d(e,t,"hex");i.create=function(){return new w(e,t,e)},i.update=function(e){return i.create().update(e)};for(var n=0;n>5,this.byteCount=this.blockCount<<2,this.outputBlocks=i>>5,this.extraBytes=(31&i)>>3;for(var n=0;n<50;++n)this.s[n]=0}w.prototype.update=function(e){var t="string"!=typeof e;t&&e.constructor===ArrayBuffer&&(e=new Uint8Array(e));for(var i,n,r=e.length,o=this.blocks,a=this.byteCount,l=this.blockCount,u=0,d=this.s;u>2]|=e[u]<>2]|=n<>2]|=(192|n>>6)<=57344?o[i>>2]|=(224|n>>12)<>2]|=(240|n>>18)<>2]|=(128|n>>12&63)<>2]|=(128|n>>6&63)<>2]|=(128|63&n)<=a){for(this.start=i-a,this.block=o[l],i=0;i>2]|=this.padding[3&t],this.lastByteIndex===this.byteCount)for(t=1,e[0]=e[i];t>4&15]+o[15&e]+o[e>>12&15]+o[e>>8&15]+o[e>>20&15]+o[e>>16&15]+o[e>>28&15]+o[e>>24&15];a%t==0&&(C(i),s=0)}return r&&(e=i[s],r>0&&(l+=o[e>>4&15]+o[15&e]),r>1&&(l+=o[e>>12&15]+o[e>>8&15]),r>2&&(l+=o[e>>20&15]+o[e>>16&15])),l},w.prototype.arrayBuffer=function(){this.finalize();var e,t=this.blockCount,i=this.s,n=this.outputBlocks,r=this.extraBytes,o=0,s=0,a=this.outputBits>>3;e=new ArrayBuffer(r?n+1<<2:a);for(var l=new Uint32Array(e);s>8&255,l[e+2]=t>>16&255,l[e+3]=t>>24&255;a%i==0&&C(n)}return o&&(e=a<<2,t=n[s],o>0&&(l[e]=255&t),o>1&&(l[e+1]=t>>8&255),o>2&&(l[e+2]=t>>16&255)),l};var C=function(e){var t,i,n,r,o,s,l,u,d,c,h,g,p,f,m,v,b,y,_,w,C,S,x,k,E,L,D,N,A,T,I,M,R,P,O,F,B,V,H,W,j,z,U,$,q,K,G,Z,Y,Q,J,X,ee,et,ei,en,er,eo,es,ea,el,eu,ed;for(n=0;n<48;n+=2)r=e[0]^e[10]^e[20]^e[30]^e[40],o=e[1]^e[11]^e[21]^e[31]^e[41],s=e[2]^e[12]^e[22]^e[32]^e[42],l=e[3]^e[13]^e[23]^e[33]^e[43],u=e[4]^e[14]^e[24]^e[34]^e[44],d=e[5]^e[15]^e[25]^e[35]^e[45],c=e[6]^e[16]^e[26]^e[36]^e[46],h=e[7]^e[17]^e[27]^e[37]^e[47],g=e[8]^e[18]^e[28]^e[38]^e[48],p=e[9]^e[19]^e[29]^e[39]^e[49],t=g^(s<<1|l>>>31),i=p^(l<<1|s>>>31),e[0]^=t,e[1]^=i,e[10]^=t,e[11]^=i,e[20]^=t,e[21]^=i,e[30]^=t,e[31]^=i,e[40]^=t,e[41]^=i,t=r^(u<<1|d>>>31),i=o^(d<<1|u>>>31),e[2]^=t,e[3]^=i,e[12]^=t,e[13]^=i,e[22]^=t,e[23]^=i,e[32]^=t,e[33]^=i,e[42]^=t,e[43]^=i,t=s^(c<<1|h>>>31),i=l^(h<<1|c>>>31),e[4]^=t,e[5]^=i,e[14]^=t,e[15]^=i,e[24]^=t,e[25]^=i,e[34]^=t,e[35]^=i,e[44]^=t,e[45]^=i,t=u^(g<<1|p>>>31),i=d^(p<<1|g>>>31),e[6]^=t,e[7]^=i,e[16]^=t,e[17]^=i,e[26]^=t,e[27]^=i,e[36]^=t,e[37]^=i,e[46]^=t,e[47]^=i,t=c^(r<<1|o>>>31),i=h^(o<<1|r>>>31),e[8]^=t,e[9]^=i,e[18]^=t,e[19]^=i,e[28]^=t,e[29]^=i,e[38]^=t,e[39]^=i,e[48]^=t,e[49]^=i,f=e[0],m=e[1],K=e[11]<<4|e[10]>>>28,G=e[10]<<4|e[11]>>>28,N=e[20]<<3|e[21]>>>29,A=e[21]<<3|e[20]>>>29,ea=e[31]<<9|e[30]>>>23,el=e[30]<<9|e[31]>>>23,z=e[40]<<18|e[41]>>>14,U=e[41]<<18|e[40]>>>14,P=e[2]<<1|e[3]>>>31,O=e[3]<<1|e[2]>>>31,v=e[13]<<12|e[12]>>>20,b=e[12]<<12|e[13]>>>20,Z=e[22]<<10|e[23]>>>22,Y=e[23]<<10|e[22]>>>22,T=e[33]<<13|e[32]>>>19,I=e[32]<<13|e[33]>>>19,eu=e[42]<<2|e[43]>>>30,ed=e[43]<<2|e[42]>>>30,et=e[5]<<30|e[4]>>>2,ei=e[4]<<30|e[5]>>>2,F=e[14]<<6|e[15]>>>26,B=e[15]<<6|e[14]>>>26,y=e[25]<<11|e[24]>>>21,_=e[24]<<11|e[25]>>>21,Q=e[34]<<15|e[35]>>>17,J=e[35]<<15|e[34]>>>17,M=e[45]<<29|e[44]>>>3,R=e[44]<<29|e[45]>>>3,k=e[6]<<28|e[7]>>>4,E=e[7]<<28|e[6]>>>4,en=e[17]<<23|e[16]>>>9,er=e[16]<<23|e[17]>>>9,V=e[26]<<25|e[27]>>>7,H=e[27]<<25|e[26]>>>7,w=e[36]<<21|e[37]>>>11,C=e[37]<<21|e[36]>>>11,X=e[47]<<24|e[46]>>>8,ee=e[46]<<24|e[47]>>>8,$=e[8]<<27|e[9]>>>5,q=e[9]<<27|e[8]>>>5,L=e[18]<<20|e[19]>>>12,D=e[19]<<20|e[18]>>>12,eo=e[29]<<7|e[28]>>>25,es=e[28]<<7|e[29]>>>25,W=e[38]<<8|e[39]>>>24,j=e[39]<<8|e[38]>>>24,S=e[48]<<14|e[49]>>>18,x=e[49]<<14|e[48]>>>18,e[0]=f^~v&y,e[1]=m^~b&_,e[10]=k^~L&N,e[11]=E^~D&A,e[20]=P^~F&V,e[21]=O^~B&H,e[30]=$^~K&Z,e[31]=q^~G&Y,e[40]=et^~en&eo,e[41]=ei^~er&es,e[2]=v^~y&w,e[3]=b^~_&C,e[12]=L^~N&T,e[13]=D^~A&I,e[22]=F^~V&W,e[23]=B^~H&j,e[32]=K^~Z&Q,e[33]=G^~Y&J,e[42]=en^~eo&ea,e[43]=er^~es&el,e[4]=y^~w&S,e[5]=_^~C&x,e[14]=N^~T&M,e[15]=A^~I&R,e[24]=V^~W&z,e[25]=H^~j&U,e[34]=Z^~Q&X,e[35]=Y^~J&ee,e[44]=eo^~ea&eu,e[45]=es^~el&ed,e[6]=w^~S&f,e[7]=C^~x&m,e[16]=T^~M&k,e[17]=I^~R&E,e[26]=W^~z&P,e[27]=j^~U&O,e[36]=Q^~X&$,e[37]=J^~ee&q,e[46]=ea^~eu&et,e[47]=el^~ed&ei,e[8]=S^~f&v,e[9]=x^~m&b,e[18]=M^~k&L,e[19]=R^~E&D,e[28]=z^~P&F,e[29]=U^~O&B,e[38]=X^~$&K,e[39]=ee^~q&G,e[48]=eu^~et&en,e[49]=ed^~ei&er,e[0]^=a[n],e[1]^=a[n+1]};if(r)e.exports=p;else for(var m=0;m{function i(e,t,i){"object"==typeof i.value&&(i.value=n(i.value)),i.enumerable&&!i.get&&!i.set&&i.configurable&&i.writable&&"__proto__"!==t?e[t]=i.value:Object.defineProperty(e,t,i)}function n(e){if("object"!=typeof e)return e;var t,r,o,s=0,a=Object.prototype.toString.call(e);if("[object Object]"===a?o=Object.create(e.__proto__||null):"[object Array]"===a?o=Array(e.length):"[object Set]"===a?(o=new Set,e.forEach(function(e){o.add(n(e))})):"[object Map]"===a?(o=new Map,e.forEach(function(e,t){o.set(n(t),n(e))})):"[object Date]"===a?o=new Date(+e):"[object RegExp]"===a?o=new RegExp(e.source,e.flags):"[object DataView]"===a?o=new e.constructor(n(e.buffer)):"[object ArrayBuffer]"===a?o=e.slice(0):"Array]"===a.slice(-6)&&(o=new e.constructor(e)),o){for(r=Object.getOwnPropertySymbols(e);s{var n=0/0,r=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,d="object"==typeof self&&self&&self.Object===Object&&self,c=u||d||Function("return this")(),h=Object.prototype.toString,g=Math.max,p=Math.min,f=function(){return c.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return n;if(m(e)){var t,i="function"==typeof e.valueOf?e.valueOf():e;e=m(i)?i+"":i}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(r,"");var u=s.test(e);return u||a.test(e)?l(e.slice(2),u?2:8):o.test(e)?n:+e}e.exports=function(e,t,i){var n,r,o,s,a,l,u=0,d=!1,c=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function b(t){var i=n,o=r;return n=r=void 0,u=t,s=e.apply(o,i)}function y(e){var i=e-l,n=e-u;return void 0===l||i>=t||i<0||c&&n>=o}function _(){var e,i,n,r=f();if(y(r))return w(r);a=setTimeout(_,(e=r-l,i=r-u,n=t-e,c?p(n,o-i):n))}function w(e){return(a=void 0,h&&n)?b(e):(n=r=void 0,s)}function C(){var e,i=f(),o=y(i);if(n=arguments,r=this,l=i,o){if(void 0===a)return u=e=l,a=setTimeout(_,t),d?b(e):s;if(c)return a=setTimeout(_,t),b(l)}return void 0===a&&(a=setTimeout(_,t)),s}return t=v(t)||0,m(i)&&(d=!!i.leading,o=(c="maxWait"in i)?g(v(i.maxWait)||0,t):o,h="trailing"in i?!!i.trailing:h),C.cancel=function(){void 0!==a&&clearTimeout(a),u=0,n=l=r=a=void 0},C.flush=function(){return void 0===a?s:w(f())},C}},17089:(e,t,i)=>{var n="__lodash_hash_undefined__",r=/^\[object .+?Constructor\]$/,o="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,s="object"==typeof self&&self&&self.Object===Object&&self,a=o||s||Function("return this")(),l=Array.prototype,u=Function.prototype,d=Object.prototype,c=a["__core-js_shared__"],h=function(){var e=/[^.]+$/.exec(c&&c.keys&&c.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),g=u.toString,p=d.hasOwnProperty,f=d.toString,m=RegExp("^"+g.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),v=l.splice,b=k(a,"Map"),y=k(Object,"create");function _(e){var t=-1,i=e?e.length:0;for(this.clear();++t-1},w.prototype.set=function(e,t){var i=this.__data__,n=S(i,e);return n<0?i.push([e,t]):i[n][1]=t,this},C.prototype.clear=function(){this.__data__={hash:new _,map:new(b||w),string:new _}},C.prototype.delete=function(e){return x(this,e).delete(e)},C.prototype.get=function(e){return x(this,e).get(e)},C.prototype.has=function(e){return x(this,e).has(e)},C.prototype.set=function(e,t){return x(this,e).set(e,t),this},E.Cache=C,e.exports=E},63637:(e,t,i)=>{e=i.nmd(e);var n,r,o="__lodash_hash_undefined__",s="[object Arguments]",a="[object Function]",l="[object Object]",u=/^\[object .+?Constructor\]$/,d=/^(?:0|[1-9]\d*)$/,c={};c["[object Float32Array]"]=c["[object Float64Array]"]=c["[object Int8Array]"]=c["[object Int16Array]"]=c["[object Int32Array]"]=c["[object Uint8Array]"]=c["[object Uint8ClampedArray]"]=c["[object Uint16Array]"]=c["[object Uint32Array]"]=!0,c[s]=c["[object Array]"]=c["[object ArrayBuffer]"]=c["[object Boolean]"]=c["[object DataView]"]=c["[object Date]"]=c["[object Error]"]=c[a]=c["[object Map]"]=c["[object Number]"]=c[l]=c["[object RegExp]"]=c["[object Set]"]=c["[object String]"]=c["[object WeakMap]"]=!1;var h="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,g="object"==typeof self&&self&&self.Object===Object&&self,p=h||g||Function("return this")(),f=t&&!t.nodeType&&t,m=f&&e&&!e.nodeType&&e,v=m&&m.exports===f,b=v&&h.process,y=function(){try{var e=m&&m.require&&m.require("util").types;if(e)return e;return b&&b.binding&&b.binding("util")}catch(e){}}(),_=y&&y.isTypedArray,w=Array.prototype,C=Function.prototype,S=Object.prototype,x=p["__core-js_shared__"],k=C.toString,E=S.hasOwnProperty,L=function(){var e=/[^.]+$/.exec(x&&x.keys&&x.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),D=S.toString,N=k.call(Object),A=RegExp("^"+k.call(E).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),T=v?p.Buffer:void 0,I=p.Symbol,M=p.Uint8Array,R=T?T.allocUnsafe:void 0,P=(n=Object.getPrototypeOf,r=Object,function(e){return n(r(e))}),O=Object.create,F=S.propertyIsEnumerable,B=w.splice,V=I?I.toStringTag:void 0,H=function(){try{var e=er(Object,"defineProperty");return e({},"",{}),e}catch(e){}}(),W=T?T.isBuffer:void 0,j=Math.max,z=Date.now,U=er(p,"Map"),$=er(Object,"create"),q=function(){function e(){}return function(t){if(!em(t))return{};if(O)return O(t);e.prototype=t;var i=new e;return e.prototype=void 0,i}}();function K(e){var t=-1,i=null==e?0:e.length;for(this.clear();++t-1},G.prototype.set=function(e,t){var i=this.__data__,n=J(i,e);return n<0?(++this.size,i.push([e,t])):i[n][1]=t,this},Z.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(U||G),string:new K}},Z.prototype.delete=function(e){var t=en(this,e).delete(e);return this.size-=t?1:0,t},Z.prototype.get=function(e){return en(this,e).get(e)},Z.prototype.has=function(e){return en(this,e).has(e)},Z.prototype.set=function(e,t){var i=en(this,e),n=i.size;return i.set(e,t),this.size+=i.size==n?0:1,this},Y.prototype.clear=function(){this.__data__=new G,this.size=0},Y.prototype.delete=function(e){var t=this.__data__,i=t.delete(e);return this.size=t.size,i},Y.prototype.get=function(e){return this.__data__.get(e)},Y.prototype.has=function(e){return this.__data__.has(e)},Y.prototype.set=function(e,t){var i=this.__data__;if(i instanceof G){var n=i.__data__;if(!U||n.length<199)return n.push([e,t]),this.size=++i.size,this;i=this.__data__=new Z(n)}return i.set(e,t),this.size=i.size,this};var ee=function(e,t,i){for(var n=-1,r=Object(e),o=i(e),s=o.length;s--;){var a=o[++n];if(!1===t(r[a],a,r))break}return e};function et(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":V&&V in Object(e)?function(e){var t=E.call(e,V),i=e[V];try{e[V]=void 0;var n=!0}catch(e){}var r=D.call(e);return n&&(t?e[V]=i:delete e[V]),r}(e):D.call(e)}function ei(e){return ev(e)&&et(e)==s}function en(e,t){var i,n=e.__data__;return("string"==(i=typeof t)||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==t:null===t)?n["string"==typeof t?"string":"hash"]:n.map}function er(e,t){var i=null==e?void 0:e[t];return!(!em(i)||L&&L in i)&&(ep(i)?A:u).test(function(e){if(null!=e){try{return k.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(i))?i:void 0}function eo(e,t){var i=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==i||"symbol"!=i&&d.test(e))&&e>-1&&e%1==0&&e0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(H?function(e,t){return H(e,"toString",{configurable:!0,enumerable:!1,value:function(){return t},writable:!0})}:ew);function eu(e,t){return e===t||e!=e&&t!=t}var ed=ei(function(){return arguments}())?ei:function(e){return ev(e)&&E.call(e,"callee")&&!F.call(e,"callee")},ec=Array.isArray;function eh(e){return null!=e&&ef(e.length)&&!ep(e)}var eg=W||function(){return!1};function ep(e){if(!em(e))return!1;var t=et(e);return t==a||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}function ef(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}function em(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ev(e){return null!=e&&"object"==typeof e}var eb=_?function(e){return _(e)}:function(e){return ev(e)&&ef(e.length)&&!!c[et(e)]};function ey(e){return eh(e)?function(e,t){var i=ec(e),n=!i&&ed(e),r=!i&&!n&&eg(e),o=!i&&!n&&!r&&eb(e),s=i||n||r||o,a=s?function(e,t){for(var i=-1,n=Array(e);++i1?i[r-1]:void 0,s=r>2?i[2]:void 0;for(o=e.length>3&&"function"==typeof o?(r--,o):void 0,s&&function(e,t,i){if(!em(i))return!1;var n=typeof t;return("number"==n?!!(eh(i)&&eo(t,i.length)):"string"==n&&(t in i))&&eu(i[t],e)}(i[0],i[1],s)&&(o=r<3?void 0:o,r=1),t=Object(t);++n{var n="Expected a function",r=0/0,o=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,u=parseInt,d="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,c="object"==typeof self&&self&&self.Object===Object&&self,h=d||c||Function("return this")(),g=Object.prototype.toString,p=Math.max,f=Math.min,m=function(){return h.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function b(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==g.call(t))return r;if(v(e)){var t,i="function"==typeof e.valueOf?e.valueOf():e;e=v(i)?i+"":i}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(o,"");var n=a.test(e);return n||l.test(e)?u(e.slice(2),n?2:8):s.test(e)?r:+e}e.exports=function(e,t,i){var r=!0,o=!0;if("function"!=typeof e)throw TypeError(n);return v(i)&&(r="leading"in i?!!i.leading:r,o="trailing"in i?!!i.trailing:o),function(e,t,i){var r,o,s,a,l,u,d=0,c=!1,h=!1,g=!0;if("function"!=typeof e)throw TypeError(n);function y(t){var i=r,n=o;return r=o=void 0,d=t,a=e.apply(n,i)}function _(e){var i=e-u,n=e-d;return void 0===u||i>=t||i<0||h&&n>=s}function w(){var e,i,n,r=m();if(_(r))return C(r);l=setTimeout(w,(e=r-u,i=r-d,n=t-e,h?f(n,s-i):n))}function C(e){return(l=void 0,g&&r)?y(e):(r=o=void 0,a)}function S(){var e,i=m(),n=_(i);if(r=arguments,o=this,u=i,n){if(void 0===l)return d=e=u,l=setTimeout(w,t),c?y(e):a;if(h)return l=setTimeout(w,t),y(u)}return void 0===l&&(l=setTimeout(w,t)),a}return t=b(t)||0,v(i)&&(c=!!i.leading,s=(h="maxWait"in i)?p(b(i.maxWait)||0,t):s,g="trailing"in i?!!i.trailing:g),S.cancel=function(){void 0!==l&&clearTimeout(l),d=0,r=u=o=l=void 0},S.flush=function(){return void 0===l?a:C(m())},S}(e,t,{leading:r,maxWait:t,trailing:o})}},42973:(e,t,i)=>{"use strict";var n=i(48834).Buffer,r=i(34406);Object.defineProperty(t,"__esModule",{value:!0}),t.InvalidStatusCodeError=t.InvalidCertError=void 0;let o=Object.freeze({redirect:!0,expectStatusCode:200,headers:{},full:!1,keepAlive:!0,cors:!1,referrer:!1,sslAllowSelfSigned:!1,_redirectCount:0});class s extends Error{constructor(e,t){super(e),this.fingerprint256=t}}t.InvalidCertError=s;class a extends Error{constructor(e){super(`Request Failed. Status Code: ${e}`),this.statusCode=e}}function l(e,t){if(!t||"text"===t||"json"===t)try{let i=new TextDecoder("utf8",{fatal:!0}).decode(e);if("text"===t)return i;try{return JSON.parse(i)}catch(e){if("json"===t)throw e;return i}}catch(e){if("text"===t||"json"===t)throw e}return e}t.InvalidStatusCodeError=a;let u={},d=new Set(["Accept","Accept-Language","Content-Language","Content-Type"].map(e=>e.toLowerCase())),c=new Set(["Accept-Charset","Accept-Encoding","Access-Control-Request-Headers","Access-Control-Request-Method","Connection","Content-Length","Cookie","Cookie2","Date","DNT","Expect","Host","Keep-Alive","Origin","Referer","TE","Trailer","Transfer-Encoding","Upgrade","Via"].map(e=>e.toLowerCase()));async function h(e,t){let i={...o,...t},n=new Headers;"json"===i.type&&n.set("Content-Type","application/json");let r=new URL(e);if(r.username){let e=btoa(`${r.username}:${r.password}`);n.set("Authorization",`Basic ${e}`),r.username="",r.password=""}for(let t in e=""+r,i.headers){let e=t.toLowerCase();(d.has(e)||i.cors&&!c.has(e))&&n.set(t,i.headers[t])}let s={headers:n,redirect:i.redirect?"follow":"manual"};i.referrer||(s.referrerPolicy="no-referrer"),i.cors&&(s.mode="cors"),i.data&&(i.method||(s.method="POST"),s.body="json"===i.type?JSON.stringify(i.data):i.data);let u=await fetch(e,s);if(i.expectStatusCode&&u.status!==i.expectStatusCode)throw new a(u.status);let h=l(new Uint8Array(await u.arrayBuffer()),i.type);return i.full?{headers:Object.fromEntries(u.headers.entries()),status:u.status,body:h}:h}let g=!!("object"==typeof r&&r.versions&&r.versions.node&&r.versions.v8);t.default=function(e,t){return(g?function e(t,r){let d={...o,...r},c=i(732),h=i(99640),g=i(94087),{promisify:p}=i(43335),{resolve:f}=i(883),m=!!/^https/.test(t),v={method:d.method||"GET",headers:{"Accept-Encoding":"gzip, deflate, br"}},b=e=>e.replace(/:| /g,"").toLowerCase();if(d.keepAlive){let e=[m,m&&d.sslPinnedCertificates?.map(e=>b(e)).sort()].join();v.agent=u[e]||(u[e]=new(m?h:c).Agent({keepAlive:!0,keepAliveMsecs:3e4,maxFreeSockets:1024,maxCachedSessions:1024}))}"json"===d.type&&(v.headers["Content-Type"]="application/json"),d.data&&(d.method||(v.method="POST"),v.body="json"===d.type?JSON.stringify(d.data):d.data),v.headers={...v.headers,...d.headers},d.sslAllowSelfSigned&&(v.rejectUnauthorized=!1);let y=async i=>{let r=i.statusCode;if(d.redirect&&300<=r&&r<400&&i.headers.location){if(10==d._redirectCount)throw Error("Request failed. Too much redirects.");return d._redirectCount+=1,await e(f(t,i.headers.location),d)}if(d.expectStatusCode&&r!==d.expectStatusCode)throw i.resume(),new a(r);let o=[];for await(let e of i)o.push(e);let s=n.concat(o),u=i.headers["content-encoding"];"br"===u&&(s=await p(g.brotliDecompress)(s)),("gzip"===u||"deflate"===u)&&(s=await p(g.unzip)(s));let c=l(s,d.type);return d.full?{headers:i.headers,status:r,body:c}:c};return new Promise((i,n)=>{let r=async i=>{if(i&&"DEPTH_ZERO_SELF_SIGNED_CERT"===i.code)try{await e(t,{...d,sslAllowSelfSigned:!0,sslPinnedCertificates:[]})}catch(e){e&&e.fingerprint256&&(i=new s(`Self-signed SSL certificate: ${e.fingerprint256}`,e.fingerprint256))}n(i)},o=(m?h:c).request(t,v,e=>{e.on("error",r),(async()=>{try{i(await y(e))}catch(e){n(e)}})()});o.on("error",r);let a=d.sslPinnedCertificates?.map(e=>b(e)),l=e=>{let t=b(e.getPeerCertificate()?.fingerprint256||"");if(!(!t&&e.isSessionReused())&&!a.includes(t))return o.emit("error",new s(`Invalid SSL certificate: ${t} Expected: ${a}`,t)),o.abort()};d.sslPinnedCertificates&&o.on("socket",e=>{e.listeners("secureConnect").map(e=>(e.name||"").replace("bound ","")).includes("mfetchSecureConnect")||e.on("secureConnect",l.bind(null,e))}),d.keepAlive&&o.setNoDelay(!0),v.body&&o.write(v.body),o.end()})}:h)(e,t)}},63452:(e,t,i)=>{var n;self.MonacoEnvironment=(n={editorWorkerService:"editor.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var r=i.p,o=(r?r.replace(/\/$/,"")+"/":"")+n[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var s=String(window.location),a=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,a.length)!==a){/^(\/\/)/.test(o)&&(o=window.location.protocol+o);var l="/*"+t+'*/importScripts("'+o+'");',u=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(u)}}return o}}),i(81326),i(78788),i(87209),e.exports=i(1661),i(7481),i(28903),i(27945)},79392:(e,t,i)=>{var n;self.MonacoEnvironment=(n={editorWorkerService:"editor.worker.js",json:"json.worker.js",typescript:"ts.worker.js",javascript:"ts.worker.js"},{globalAPI:!1,getWorkerUrl:function(e,t){var r=i.p,o=(r?r.replace(/\/$/,"")+"/":"")+n[t];if(/^((http:)|(https:)|(file:)|(\/\/))/.test(o)){var s=String(window.location),a=s.substr(0,s.length-window.location.hash.length-window.location.search.length-window.location.pathname.length);if(o.substring(0,a.length)!==a){/^(\/\/)/.test(o)&&(o=window.location.protocol+o);var l="/*"+t+'*/importScripts("'+o+'");',u=new Blob([l],{type:"application/javascript"});return URL.createObjectURL(u)}}return o}}),i(81326),i(78788),i(87209),e.exports=i(27058),i(7481),i(28903),i(27945)},71488:(e,t,i)=>{"use strict";i.r(t),i.d(t,{PixelRatio:()=>u,addMatchMediaChangeListener:()=>l,getZoomFactor:()=>d,isAndroid:()=>b,isChrome:()=>p,isElectron:()=>v,isFirefox:()=>h,isSafari:()=>f,isStandalone:()=>_,isWebKit:()=>g,isWebkitWebView:()=>m});var n=i(56709),r=i(38431);class o{constructor(){this._zoomFactor=1}getZoomFactor(){return this._zoomFactor}}o.INSTANCE=new o;class s extends r.JT{constructor(){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._listener=()=>this._handleChange(!0),this._mediaQueryList=null,this._handleChange(!1)}_handleChange(e){var t;null===(t=this._mediaQueryList)||void 0===t||t.removeEventListener("change",this._listener),this._mediaQueryList=window.matchMedia(`(resolution: ${window.devicePixelRatio}dppx)`),this._mediaQueryList.addEventListener("change",this._listener),e&&this._onDidChange.fire()}}class a extends r.JT{get value(){return this._value}constructor(){super(),this._onDidChange=this._register(new n.Q5),this.onDidChange=this._onDidChange.event,this._value=this._getPixelRatio();let e=this._register(new s);this._register(e.onDidChange(()=>{this._value=this._getPixelRatio(),this._onDidChange.fire(this._value)}))}_getPixelRatio(){let e=document.createElement("canvas").getContext("2d");return(window.devicePixelRatio||1)/(e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||e.backingStorePixelRatio||1)}}function l(e,t){"string"==typeof e&&(e=window.matchMedia(e)),e.addEventListener("change",t)}let u=new class{constructor(){this._pixelRatioMonitor=null}_getOrCreatePixelRatioMonitor(){return this._pixelRatioMonitor||(this._pixelRatioMonitor=(0,r.dk)(new a)),this._pixelRatioMonitor}get value(){return this._getOrCreatePixelRatioMonitor().value}get onDidChange(){return this._getOrCreatePixelRatioMonitor().onDidChange}};function d(){return o.INSTANCE.getZoomFactor()}let c=navigator.userAgent,h=c.indexOf("Firefox")>=0,g=c.indexOf("AppleWebKit")>=0,p=c.indexOf("Chrome")>=0,f=!p&&c.indexOf("Safari")>=0,m=!p&&!f&&g,v=c.indexOf("Electron/")>=0,b=c.indexOf("Android")>=0,y=!1;if(window.matchMedia){let e=window.matchMedia("(display-mode: standalone) or (display-mode: window-controls-overlay)"),t=window.matchMedia("(display-mode: fullscreen)");y=e.matches,l(e,({matches:e})=>{y&&t.matches||(y=e)})}function _(){return y}},83092:(e,t,i)=>{"use strict";i.d(t,{D:()=>o});var n=i(71488),r=i(11138);let o={clipboard:{writeText:r.tY||document.queryCommandSupported&&document.queryCommandSupported("copy")||!!(navigator&&navigator.clipboard&&navigator.clipboard.writeText),readText:r.tY||!!(navigator&&navigator.clipboard&&navigator.clipboard.readText)},keyboard:r.tY||n.isStandalone()?0:navigator.keyboard||n.isSafari?1:2,touch:"ontouchstart"in window||navigator.maxTouchPoints>0,pointerEvents:window.PointerEvent&&("ontouchstart"in window||window.navigator.maxTouchPoints>0||navigator.maxTouchPoints>0)}},89181:(e,t,i)=>{"use strict";i.d(t,{g:()=>n});let n={RESOURCES:"ResourceURLs",DOWNLOAD_URL:"DownloadURL",FILES:"Files",TEXT:i(9161).v.text}},34441:(e,t,i)=>{"use strict";let n,r;i.d(t,{$:()=>ea,$Z:()=>eu,Ay:()=>W,Ce:()=>en,Cp:()=>ed,D6:()=>k,Dx:()=>x,FK:()=>M,Fx:()=>F,GQ:()=>C,I8:()=>T,If:()=>R,OO:()=>H,PO:()=>m,R3:()=>ei,Re:()=>G,Ro:()=>L,Uh:()=>ec,Uw:()=>v,V3:()=>eh,XT:()=>function e(t,i){if(void 0!==t){let n=t.match(/^\s*var\((.+)\)$/);if(n){let t=n[1].split(",",2);return 2===t.length&&(i=e(t[1].trim(),i)),`var(${t[0]}, ${i})`}return t}return i},_0:()=>X,_F:()=>em,_h:()=>ef,_q:()=>eb,cl:()=>Y,dS:()=>z,dp:()=>N,eg:()=>ey,fk:()=>q,go:()=>et,h:()=>ew,i:()=>A,iJ:()=>el,jL:()=>r,jg:()=>O,jt:()=>eg,lI:()=>n,mc:()=>er,mu:()=>w,nm:()=>y,sQ:()=>ev,tw:()=>Z,uN:()=>K,uU:()=>B,vL:()=>J,vY:()=>j,w:()=>I,wY:()=>ep,wn:()=>P,xQ:()=>D,zB:()=>Q});var o,s=i(71488),a=i(83092),l=i(6544),u=i(24677),d=i(20996),c=i(56709),h=i(29278),g=i(38431),p=i(5007),f=i(11138);function m(e){for(;e.firstChild;)e.firstChild.remove()}function v(e){var t;return null!==(t=null==e?void 0:e.isConnected)&&void 0!==t&&t}class b{constructor(e,t,i,n){this._node=e,this._type=t,this._handler=i,this._options=n||!1,this._node.addEventListener(this._type,this._handler,this._options)}dispose(){this._handler&&(this._node.removeEventListener(this._type,this._handler,this._options),this._node=null,this._handler=null)}}function y(e,t,i,n){return new b(e,t,i,n)}function _(e){return function(t){return e(new u.n(t))}}let w=function(e,t,i,n){let r=i;return"click"===t||"mousedown"===t?r=_(i):("keydown"===t||"keypress"===t||"keyup"===t)&&(r=function(e){return i(new l.y(e))}),y(e,t,r,n)},C=function(e,t,i){let n=_(t);return y(e,f.gn&&a.D.pointerEvents?Z.POINTER_DOWN:Z.MOUSE_DOWN,n,i)};class S{constructor(e,t=0){this._runner=e,this.priority=t,this._canceled=!1}dispose(){this._canceled=!0}execute(){if(!this._canceled)try{this._runner()}catch(e){(0,d.dL)(e)}}static sort(e,t){return t.priority-e.priority}}function x(e){return document.defaultView.getComputedStyle(e,null)}function k(e){if(e!==document.body)return new L(e.clientWidth,e.clientHeight);if(f.gn&&window.visualViewport)return new L(window.visualViewport.width,window.visualViewport.height);if(window.innerWidth&&window.innerHeight)return new L(window.innerWidth,window.innerHeight);if(document.body&&document.body.clientWidth&&document.body.clientHeight)return new L(document.body.clientWidth,document.body.clientHeight);if(document.documentElement&&document.documentElement.clientWidth&&document.documentElement.clientHeight)return new L(document.documentElement.clientWidth,document.documentElement.clientHeight);throw Error("Unable to figure out browser width and height")}!function(){let e=[],t=null,i=!1,o=!1,s=()=>{for(i=!1,t=e,e=[],o=!0;t.length>0;)t.sort(S.sort),t.shift().execute();o=!1};r=(t,n=0)=>{let r=new S(t,n);return e.push(r),i||(i=!0,requestAnimationFrame(s)),r},n=(e,i)=>{if(!o)return r(e,i);{let n=new S(e,i);return t.push(n),n}}}();class E{static convertToPixels(e,t){return parseFloat(t)||0}static getDimension(e,t,i){let n=x(e),r=n?n.getPropertyValue(t):"0";return E.convertToPixels(e,r)}static getBorderLeftWidth(e){return E.getDimension(e,"border-left-width","borderLeftWidth")}static getBorderRightWidth(e){return E.getDimension(e,"border-right-width","borderRightWidth")}static getBorderTopWidth(e){return E.getDimension(e,"border-top-width","borderTopWidth")}static getBorderBottomWidth(e){return E.getDimension(e,"border-bottom-width","borderBottomWidth")}static getPaddingLeft(e){return E.getDimension(e,"padding-left","paddingLeft")}static getPaddingRight(e){return E.getDimension(e,"padding-right","paddingRight")}static getPaddingTop(e){return E.getDimension(e,"padding-top","paddingTop")}static getPaddingBottom(e){return E.getDimension(e,"padding-bottom","paddingBottom")}static getMarginLeft(e){return E.getDimension(e,"margin-left","marginLeft")}static getMarginTop(e){return E.getDimension(e,"margin-top","marginTop")}static getMarginRight(e){return E.getDimension(e,"margin-right","marginRight")}static getMarginBottom(e){return E.getDimension(e,"margin-bottom","marginBottom")}}class L{constructor(e,t){this.width=e,this.height=t}with(e=this.width,t=this.height){return e!==this.width||t!==this.height?new L(e,t):this}static is(e){return"object"==typeof e&&"number"==typeof e.height&&"number"==typeof e.width}static lift(e){return e instanceof L?e:new L(e.width,e.height)}static equals(e,t){return e===t||!!e&&!!t&&e.width===t.width&&e.height===t.height}}function D(e){let t=e.offsetParent,i=e.offsetTop,n=e.offsetLeft;for(;null!==(e=e.parentNode)&&e!==document.body&&e!==document.documentElement;){i-=e.scrollTop;let r=V(e)?null:x(e);r&&(n-="rtl"!==r.direction?e.scrollLeft:-e.scrollLeft),e===t&&(n+=E.getBorderLeftWidth(e),i+=E.getBorderTopWidth(e)+e.offsetTop,n+=e.offsetLeft,t=e.offsetParent)}return{left:n,top:i}}function N(e,t,i){"number"==typeof t&&(e.style.width=`${t}px`),"number"==typeof i&&(e.style.height=`${i}px`)}function A(e){let t=e.getBoundingClientRect();return{left:t.left+window.scrollX,top:t.top+window.scrollY,width:t.width,height:t.height}}function T(e){let t=e,i=1;do{let e=x(t).zoom;null!=e&&"1"!==e&&(i*=e),t=t.parentElement}while(null!==t&&t!==document.documentElement)return i}function I(e){let t=E.getMarginLeft(e)+E.getMarginRight(e);return e.offsetWidth+t}function M(e){let t=E.getBorderLeftWidth(e)+E.getBorderRightWidth(e),i=E.getPaddingLeft(e)+E.getPaddingRight(e);return e.offsetWidth-t-i}function R(e){let t=E.getBorderTopWidth(e)+E.getBorderBottomWidth(e),i=E.getPaddingTop(e)+E.getPaddingBottom(e);return e.offsetHeight-t-i}function P(e){let t=E.getMarginTop(e)+E.getMarginBottom(e);return e.offsetHeight+t}function O(e,t){for(;e;){if(e===t)return!0;e=e.parentNode}return!1}function F(e,t,i){for(;e&&e.nodeType===e.ELEMENT_NODE;){if(e.classList.contains(t))return e;if(i){if("string"==typeof i){if(e.classList.contains(i))break}else if(e===i)break}e=e.parentNode}return null}function B(e,t,i){return!!F(e,t,i)}function V(e){return e&&!!e.host&&!!e.mode}function H(e){return!!W(e)}function W(e){for(;e.parentNode;){if(e===document.body)return null;e=e.parentNode}return V(e)?e:null}function j(){let e=document.activeElement;for(;null==e?void 0:e.shadowRoot;)e=e.shadowRoot.activeElement;return e}function z(e=document.getElementsByTagName("head")[0],t){let i=document.createElement("style");return i.type="text/css",i.media="screen",null==t||t(i),e.appendChild(i),i}L.None=new L(0,0);let U=null;function $(){return U||(U=z()),U}function q(e,t,i=$()){i&&t&&i.sheet.insertRule(e+"{"+t+"}",0)}function K(e,t=$()){var i,n;if(!t)return;let r=(null===(i=null==t?void 0:t.sheet)||void 0===i?void 0:i.rules)?t.sheet.rules:(null===(n=null==t?void 0:t.sheet)||void 0===n?void 0:n.cssRules)?t.sheet.cssRules:[],o=[];for(let t=0;t=0;e--)t.sheet.deleteRule(o[e])}function G(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&1===e.nodeType&&"string"==typeof e.nodeName}let Z={CLICK:"click",AUXCLICK:"auxclick",DBLCLICK:"dblclick",MOUSE_UP:"mouseup",MOUSE_DOWN:"mousedown",MOUSE_OVER:"mouseover",MOUSE_MOVE:"mousemove",MOUSE_OUT:"mouseout",MOUSE_ENTER:"mouseenter",MOUSE_LEAVE:"mouseleave",MOUSE_WHEEL:"wheel",POINTER_UP:"pointerup",POINTER_DOWN:"pointerdown",POINTER_MOVE:"pointermove",POINTER_LEAVE:"pointerleave",CONTEXT_MENU:"contextmenu",WHEEL:"wheel",KEY_DOWN:"keydown",KEY_PRESS:"keypress",KEY_UP:"keyup",LOAD:"load",BEFORE_UNLOAD:"beforeunload",UNLOAD:"unload",PAGE_SHOW:"pageshow",PAGE_HIDE:"pagehide",ABORT:"abort",ERROR:"error",RESIZE:"resize",SCROLL:"scroll",FULLSCREEN_CHANGE:"fullscreenchange",WK_FULLSCREEN_CHANGE:"webkitfullscreenchange",SELECT:"select",CHANGE:"change",SUBMIT:"submit",RESET:"reset",FOCUS:"focus",FOCUS_IN:"focusin",FOCUS_OUT:"focusout",BLUR:"blur",INPUT:"input",STORAGE:"storage",DRAG_START:"dragstart",DRAG:"drag",DRAG_ENTER:"dragenter",DRAG_LEAVE:"dragleave",DRAG_OVER:"dragover",DROP:"drop",DRAG_END:"dragend",ANIMATION_START:s.isWebKit?"webkitAnimationStart":"animationstart",ANIMATION_END:s.isWebKit?"webkitAnimationEnd":"animationend",ANIMATION_ITERATION:s.isWebKit?"webkitAnimationIteration":"animationiteration"};function Y(e){return!!(e&&"function"==typeof e.preventDefault&&"function"==typeof e.stopPropagation)}let Q={stop:(e,t)=>(e.preventDefault(),t&&e.stopPropagation(),e)};function J(e){let t=[];for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)t[i]=e.scrollTop,e=e.parentNode;return t}function X(e,t){for(let i=0;e&&e.nodeType===e.ELEMENT_NODE;i++)e.scrollTop!==t[i]&&(e.scrollTop=t[i]),e=e.parentNode}class ee extends g.JT{static hasFocusWithin(e){let t=W(e);return O(t?t.activeElement:document.activeElement,e)}constructor(e){super(),this._onDidFocus=this._register(new c.Q5),this.onDidFocus=this._onDidFocus.event,this._onDidBlur=this._register(new c.Q5),this.onDidBlur=this._onDidBlur.event;let t=ee.hasFocusWithin(e),i=!1,n=()=>{i=!1,t||(t=!0,this._onDidFocus.fire())},r=()=>{t&&(i=!0,window.setTimeout(()=>{i&&(i=!1,t=!1,this._onDidBlur.fire())},0))};this._refreshStateHandler=()=>{ee.hasFocusWithin(e)!==t&&(t?r():n())},this._register(y(e,Z.FOCUS,n,!0)),this._register(y(e,Z.BLUR,r,!0)),this._register(y(e,Z.FOCUS_IN,()=>this._refreshStateHandler())),this._register(y(e,Z.FOCUS_OUT,()=>this._refreshStateHandler()))}}function et(e){return new ee(e)}function ei(e,...t){if(e.append(...t),1===t.length&&"string"!=typeof t[0])return t[0]}function en(e,t){return e.insertBefore(t,e.firstChild),t}function er(e,...t){e.innerText="",ei(e,...t)}let eo=/([\w\-]+)?(#([\w\-]+))?((\.([\w\-]+))*)/;function es(e,t,i,...n){let r;let s=eo.exec(t);if(!s)throw Error("Bad use of emmet");let a=s[1]||"div";return r=e!==o.HTML?document.createElementNS(e,a):document.createElement(a),s[3]&&(r.id=s[3]),s[4]&&(r.className=s[4].replace(/\./g," ").trim()),i&&Object.entries(i).forEach(([e,t])=>{void 0!==t&&(/^on\w+$/.test(e)?r[e]=t:"selected"===e?t&&r.setAttribute(e,"true"):r.setAttribute(e,t))}),r.append(...n),r}function ea(e,t,...i){return es(o.HTML,e,t,...i)}function el(e,...t){e?eu(...t):ed(...t)}function eu(...e){for(let t of e)t.style.display="",t.removeAttribute("aria-hidden")}function ed(...e){for(let t of e)t.style.display="none",t.setAttribute("aria-hidden","true")}function ec(e){return Math.max(1,Math.floor(window.devicePixelRatio*e))/window.devicePixelRatio}function eh(e){window.open(e,"_blank","noopener")}function eg(e){let t=()=>{e(),i=r(t)},i=r(t);return(0,g.OF)(()=>i.dispose())}function ep(e){return e?`url('${p.Gi.uriToBrowserUri(e).toString(!0).replace(/'/g,"%27")}')`:"url('')"}function ef(e){return`'${e.replace(/'/g,"%27")}'`}function em(e,t=!1){let i=document.createElement("a");return h.v5("afterSanitizeAttributes",n=>{for(let r of["href","src"])if(n.hasAttribute(r)){let o=n.getAttribute(r);if("href"===r&&o.startsWith("#"))continue;if(i.href=o,!e.includes(i.protocol.replace(/:$/,""))){if(t&&"src"===r&&i.href.startsWith("data:"))continue;n.removeAttribute(r)}}}),(0,g.OF)(()=>{h.ok("afterSanitizeAttributes")})}!function(e){e.HTML="http://www.w3.org/1999/xhtml",e.SVG="http://www.w3.org/2000/svg"}(o||(o={})),ea.SVG=function(e,t,...i){return es(o.SVG,e,t,...i)},p.WX.setPreferredWebSchema(/^https:/.test(window.location.href)?"https":"http");let ev=Object.freeze(["a","abbr","b","bdo","blockquote","br","caption","cite","code","col","colgroup","dd","del","details","dfn","div","dl","dt","em","figcaption","figure","h1","h2","h3","h4","h5","h6","hr","i","img","ins","kbd","label","li","mark","ol","p","pre","q","rp","rt","ruby","samp","small","small","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","time","tr","tt","u","ul","var","video","wbr"]);Object.freeze({ALLOWED_TAGS:["a","button","blockquote","code","div","h1","h2","h3","h4","h5","h6","hr","input","label","li","p","pre","select","small","span","strong","textarea","ul","ol"],ALLOWED_ATTR:["href","data-href","data-command","target","title","name","src","alt","class","id","role","tabindex","style","data-code","width","height","align","x-dispatch","required","checked","placeholder","type","start"],RETURN_DOM:!1,RETURN_DOM_FRAGMENT:!1,RETURN_TRUSTED_TYPE:!0});class eb extends c.Q5{constructor(){super(),this._subscriptions=new g.SL,this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1},this._subscriptions.add(y(window,"keydown",e=>{if(e.defaultPrevented)return;let t=new l.y(e);if(6!==t.keyCode||!e.repeat){if(e.altKey&&!this._keyStatus.altKey)this._keyStatus.lastKeyPressed="alt";else if(e.ctrlKey&&!this._keyStatus.ctrlKey)this._keyStatus.lastKeyPressed="ctrl";else if(e.metaKey&&!this._keyStatus.metaKey)this._keyStatus.lastKeyPressed="meta";else if(e.shiftKey&&!this._keyStatus.shiftKey)this._keyStatus.lastKeyPressed="shift";else{if(6===t.keyCode)return;this._keyStatus.lastKeyPressed=void 0}this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyPressed&&(this._keyStatus.event=e,this.fire(this._keyStatus))}},!0)),this._subscriptions.add(y(window,"keyup",e=>{!e.defaultPrevented&&(!e.altKey&&this._keyStatus.altKey?this._keyStatus.lastKeyReleased="alt":!e.ctrlKey&&this._keyStatus.ctrlKey?this._keyStatus.lastKeyReleased="ctrl":!e.metaKey&&this._keyStatus.metaKey?this._keyStatus.lastKeyReleased="meta":!e.shiftKey&&this._keyStatus.shiftKey?this._keyStatus.lastKeyReleased="shift":this._keyStatus.lastKeyReleased=void 0,this._keyStatus.lastKeyPressed!==this._keyStatus.lastKeyReleased&&(this._keyStatus.lastKeyPressed=void 0),this._keyStatus.altKey=e.altKey,this._keyStatus.ctrlKey=e.ctrlKey,this._keyStatus.metaKey=e.metaKey,this._keyStatus.shiftKey=e.shiftKey,this._keyStatus.lastKeyReleased&&(this._keyStatus.event=e,this.fire(this._keyStatus)))},!0)),this._subscriptions.add(y(document.body,"mousedown",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(y(document.body,"mouseup",()=>{this._keyStatus.lastKeyPressed=void 0},!0)),this._subscriptions.add(y(document.body,"mousemove",e=>{e.buttons&&(this._keyStatus.lastKeyPressed=void 0)},!0)),this._subscriptions.add(y(window,"blur",()=>{this.resetKeyStatus()}))}get keyStatus(){return this._keyStatus}resetKeyStatus(){this.doResetKeyStatus(),this.fire(this._keyStatus)}doResetKeyStatus(){this._keyStatus={altKey:!1,shiftKey:!1,ctrlKey:!1,metaKey:!1}}static getInstance(){return eb.instance||(eb.instance=new eb),eb.instance}dispose(){super.dispose(),this._subscriptions.dispose()}}class ey extends g.JT{constructor(e,t){super(),this.element=e,this.callbacks=t,this.counter=0,this.dragStartTime=0,this.registerListeners()}registerListeners(){this._register(y(this.element,Z.DRAG_ENTER,e=>{this.counter++,this.dragStartTime=e.timeStamp,this.callbacks.onDragEnter(e)})),this._register(y(this.element,Z.DRAG_OVER,e=>{var t,i;e.preventDefault(),null===(i=(t=this.callbacks).onDragOver)||void 0===i||i.call(t,e,e.timeStamp-this.dragStartTime)})),this._register(y(this.element,Z.DRAG_LEAVE,e=>{this.counter--,0===this.counter&&(this.dragStartTime=0,this.callbacks.onDragLeave(e))})),this._register(y(this.element,Z.DRAG_END,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDragEnd(e)})),this._register(y(this.element,Z.DROP,e=>{this.counter=0,this.dragStartTime=0,this.callbacks.onDrop(e)}))}}let e_=/(?[\w\-]+)?(?:#(?[\w\-]+))?(?(?:\.(?:[\w\-]+))*)(?:@(?(?:[\w\_])+))?/;function ew(e,...t){let i,n;Array.isArray(t[0])?(i={},n=t[0]):(i=t[0]||{},n=t[1]);let r=e_.exec(e);if(!r||!r.groups)throw Error("Bad use of h");let o=r.groups.tag||"div",s=document.createElement(o);r.groups.id&&(s.id=r.groups.id);let a=[];if(r.groups.class)for(let e of r.groups.class.split("."))""!==e&&a.push(e);if(void 0!==i.className)for(let e of i.className.split("."))""!==e&&a.push(e);a.length>0&&(s.className=a.join(" "));let l={};if(r.groups.name&&(l[r.groups.name]=s),n)for(let e of n)e instanceof HTMLElement?s.appendChild(e):"string"==typeof e?s.append(e):(Object.assign(l,e),s.appendChild(e.root));for(let[e,t]of Object.entries(i))if("className"!==e){if("style"===e)for(let[e,i]of Object.entries(t))s.style.setProperty(eC(e),"number"==typeof i?i+"px":""+i);else"tabIndex"===e?s.tabIndex=t:s.setAttribute(eC(e),t.toString())}return l.root=s,l}function eC(e){return e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}},29278:(e,t,i)=>{"use strict";i.d(t,{Nw:()=>Q,ok:()=>X,v5:()=>J});var n,r=Object.hasOwnProperty,o=Object.setPrototypeOf,s=Object.isFrozen,a=Object.getPrototypeOf,l=Object.getOwnPropertyDescriptor,u=Object.freeze,d=Object.seal,c=Object.create,h="undefined"!=typeof Reflect&&Reflect,g=h.apply,p=h.construct;g||(g=function(e,t,i){return e.apply(t,i)}),u||(u=function(e){return e}),d||(d=function(e){return e}),p||(p=function(e,t){return new(Function.prototype.bind.apply(e,[null].concat(/*! @license DOMPurify 2.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.1/LICENSE */function(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,i=Array(e.length);t1?i-1:0),r=1;r/gm),j=d(/^data-[\-\w.\u00B7-\uFFFF]/),z=d(/^aria-[\-\w]+$/),U=d(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$=d(/^(?:\w+script|data):/i),q=d(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),K="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function G(e){if(!Array.isArray(e))return Array.from(e);for(var t=0,i=Array(e.length);t0&&void 0!==arguments[0]?arguments[0]:"undefined"==typeof window?null:window,i=function(t){return e(t)};if(i.version="2.3.1",i.removed=[],!t||!t.document||9!==t.document.nodeType)return i.isSupported=!1,i;var n=t.document,r=t.document,o=t.DocumentFragment,s=t.HTMLTemplateElement,a=t.Node,l=t.Element,d=t.NodeFilter,c=t.NamedNodeMap,h=void 0===c?t.NamedNodeMap||t.MozNamedAttrMap:c,g=t.Text,p=t.Comment,k=t.DOMParser,Y=t.trustedTypes,Q=l.prototype,J=D(Q,"cloneNode"),X=D(Q,"nextSibling"),ee=D(Q,"childNodes"),et=D(Q,"parentNode");if("function"==typeof s){var ei=r.createElement("template");ei.content&&ei.content.ownerDocument&&(r=ei.content.ownerDocument)}var en=Z(Y,n),er=en&&eA?en.createHTML(""):"",eo=r,es=eo.implementation,ea=eo.createNodeIterator,el=eo.createDocumentFragment,eu=eo.getElementsByTagName,ed=n.importNode,ec={};try{ec=L(r).documentMode?r.documentMode:{}}catch(e){}var eh={};i.isSupported="function"==typeof et&&es&&void 0!==es.createHTMLDocument&&9!==ec;var eg=U,ep=null,ef=E({},[].concat(G(N),G(A),G(T),G(M),G(P))),em=null,ev=E({},[].concat(G(O),G(F),G(B),G(V))),eb=null,ey=null,e_=!0,ew=!0,eC=!1,eS=!1,ex=!1,ek=!1,eE=!1,eL=!1,eD=!1,eN=!0,eA=!1,eT=!0,eI=!0,eM=!1,eR={},eP=null,eO=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eF=null,eB=E({},["audio","video","img","source","image","track"]),eV=null,eH=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eW="http://www.w3.org/1998/Math/MathML",ej="http://www.w3.org/2000/svg",ez="http://www.w3.org/1999/xhtml",eU=ez,e$=!1,eq=null,eK=r.createElement("form"),eG=function(e){eq&&eq===e||(e&&(void 0===e?"undefined":K(e))==="object"||(e={}),ep="ALLOWED_TAGS"in(e=L(e))?E({},e.ALLOWED_TAGS):ef,em="ALLOWED_ATTR"in e?E({},e.ALLOWED_ATTR):ev,eV="ADD_URI_SAFE_ATTR"in e?E(L(eH),e.ADD_URI_SAFE_ATTR):eH,eF="ADD_DATA_URI_TAGS"in e?E(L(eB),e.ADD_DATA_URI_TAGS):eB,eP="FORBID_CONTENTS"in e?E({},e.FORBID_CONTENTS):eO,eb="FORBID_TAGS"in e?E({},e.FORBID_TAGS):{},ey="FORBID_ATTR"in e?E({},e.FORBID_ATTR):{},eR="USE_PROFILES"in e&&e.USE_PROFILES,e_=!1!==e.ALLOW_ARIA_ATTR,ew=!1!==e.ALLOW_DATA_ATTR,eC=e.ALLOW_UNKNOWN_PROTOCOLS||!1,eS=e.SAFE_FOR_TEMPLATES||!1,ex=e.WHOLE_DOCUMENT||!1,eL=e.RETURN_DOM||!1,eD=e.RETURN_DOM_FRAGMENT||!1,eN=!1!==e.RETURN_DOM_IMPORT,eA=e.RETURN_TRUSTED_TYPE||!1,eE=e.FORCE_BODY||!1,eT=!1!==e.SANITIZE_DOM,eI=!1!==e.KEEP_CONTENT,eM=e.IN_PLACE||!1,eg=e.ALLOWED_URI_REGEXP||eg,eU=e.NAMESPACE||ez,eS&&(ew=!1),eD&&(eL=!0),eR&&(ep=E({},[].concat(G(P))),em=[],!0===eR.html&&(E(ep,N),E(em,O)),!0===eR.svg&&(E(ep,A),E(em,F),E(em,V)),!0===eR.svgFilters&&(E(ep,T),E(em,F),E(em,V)),!0===eR.mathMl&&(E(ep,M),E(em,B),E(em,V))),e.ADD_TAGS&&(ep===ef&&(ep=L(ep)),E(ep,e.ADD_TAGS)),e.ADD_ATTR&&(em===ev&&(em=L(em)),E(em,e.ADD_ATTR)),e.ADD_URI_SAFE_ATTR&&E(eV,e.ADD_URI_SAFE_ATTR),e.FORBID_CONTENTS&&(eP===eO&&(eP=L(eP)),E(eP,e.FORBID_CONTENTS)),eI&&(ep["#text"]=!0),ex&&E(ep,["html","head","body"]),ep.table&&(E(ep,["tbody"]),delete eb.tbody),u&&u(e),eq=e)},eZ=E({},["mi","mo","mn","ms","mtext"]),eY=E({},["foreignobject","desc","title","annotation-xml"]),eQ=E({},A);E(eQ,T),E(eQ,I);var eJ=E({},M);E(eJ,R);var eX=function(e){var t=et(e);t&&t.tagName||(t={namespaceURI:ez,tagName:"template"});var i=b(e.tagName),n=b(t.tagName);if(e.namespaceURI===ej)return t.namespaceURI===ez?"svg"===i:t.namespaceURI===eW?"svg"===i&&("annotation-xml"===n||eZ[n]):!!eQ[i];if(e.namespaceURI===eW)return t.namespaceURI===ez?"math"===i:t.namespaceURI===ej?"math"===i&&eY[n]:!!eJ[i];if(e.namespaceURI===ez){if(t.namespaceURI===ej&&!eY[n]||t.namespaceURI===eW&&!eZ[n])return!1;var r=E({},["title","style","font","a","script"]);return!eJ[i]&&(r[i]||!eQ[i])}return!1},e0=function(e){v(i.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){try{e.outerHTML=er}catch(t){e.remove()}}},e1=function(e,t){try{v(i.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){v(i.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!em[e]){if(eL||eD)try{e0(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},e2=function(e){var t=void 0,i=void 0;if(eE)e=""+e;else{var n=y(e,/^[\r\n\t ]+/);i=n&&n[0]}var o=en?en.createHTML(e):e;if(eU===ez)try{t=new k().parseFromString(o,"text/html")}catch(e){}if(!t||!t.documentElement){t=es.createDocument(eU,"template",null);try{t.documentElement.innerHTML=e$?"":o}catch(e){}}var s=t.body||t.documentElement;return(e&&i&&s.insertBefore(r.createTextNode(i),s.childNodes[0]||null),eU===ez)?eu.call(t,ex?"html":"body")[0]:ex?t.documentElement:s},e6=function(e){return ea.call(e.ownerDocument||e,e,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT,null,!1)},e3=function(e){return(void 0===a?"undefined":K(a))==="object"?e instanceof a:e&&(void 0===e?"undefined":K(e))==="object"&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},e8=function(e,t,n){eh[e]&&f(eh[e],function(e){e.call(i,t,n,eq)})},e5=function(e){var t=void 0;if(e8("beforeSanitizeElements",e,null),!(e instanceof g)&&!(e instanceof p)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof h)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore)||y(e.nodeName,/[\u0080-\uFFFF]/))return e0(e),!0;var n=b(e.nodeName);if(e8("uponSanitizeElement",e,{tagName:n,allowedTags:ep}),!e3(e.firstElementChild)&&(!e3(e.content)||!e3(e.content.firstElementChild))&&S(/<[/\w]/g,e.innerHTML)&&S(/<[/\w]/g,e.textContent)||"select"===n&&S(/